Send dhcp-users mailing list submissions to
[email protected]
Advertising
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."
Today's Topics:
1. Re: Static IP and IP management (Bernard Fay)
2. ISC DHCP and Polycom Lync phones (Eustace, Glen)
3. Re: Static IP and IP management (Chuck Anderson)
4. Re: [Ext] Re: [Ext] Re: Static IP and IP management
(Jim Glassford)
----------------------------------------------------------------------
Message: 1
Date: Wed, 24 Feb 2016 13:24:22 -0500
From: Bernard Fay <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: Static IP and IP management
Message-ID:
<CAH3AE4Z416dnpHso=L_UqJsKOwaOiZ6DR4M=oc1zzv3urxb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Exactly Simon!
On Wed, Feb 24, 2016 at 12:04 PM, Simon Hobson <[email protected]>
wrote:
> Patrick Trapp <[email protected]> wrote:
>
> > If you are using host entries to dictate what address a device gets (and
> not allowing devices to grab random addresses - effectively making them
> static without having to configure it on the device), then when you delete
> that host entry from the dhcpd.conf, you would know that address is free.
>
> Yes, but I think the primary issue is knowing that the assignment is no
> longer needed - as in, that device hasn't been here for a while. Jim has
> given an example of how I suspect most systems manage it - literally keep
> track of what IPs and MACs are in use, and see if any of them go stale.
>
> An alternative approach could be to use reserved leases. That way, each
> usage of the assignment goes through the normal DHCP lifecycle - including
> DNS updates. By tracking lease usage etc you can then see if a lease is no
> longer being used.
>
> Basically it's the old problem - when something is needed for something
> else to work then it gets noticed, when that something is no longer needed
> then it just gets forgotten about.
> _______________________________________________
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160224/f3778233/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 24 Feb 2016 18:42:21 +0000
From: "Eustace, Glen" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: ISC DHCP and Polycom Lync phones
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
If anyone is using the ISC DHCP server for provisioning Polycom CX500/600 Lync
phones, could you contact me off-list.
We have been doing this for about 4 years and I now need to tweak what we are
doing and am not getting the results I expect. I would like to ?compare notes?
to see what others have done.
Glen.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Glen Eustace, Senior Systems Engineer
Information Technology Service, Massey University PN460
Tennent Drive, Palmerston North, New Zealand
Ph: +64-6-9516005, Fax: +64-6-3505607, Mob: +64-27-4500321
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160224/430df682/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 24 Feb 2016 13:44:40 -0500
From: Chuck Anderson <[email protected]>
To: [email protected]
Subject: Re: Static IP and IP management
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Wed, Feb 24, 2016 at 01:17:13PM -0500, Bernard Fay wrote:
> When the dhcpd server assign a static IP to a device, it also instruct bind
> to add an entry in the DNS zone file. One thing I realized is that if a
> device didn't renew his lease, the entry in the DNS zone file is not
> removed. I would have thought to use the zone files to know if a device is
> in use or not. I had in mind that the lease time would have help to know
> if a device therefore an IP is use or not. In other words, a device
> requires an IP and the dhcpd server assigned it a statically defined IP
> address. The dhcpd server also instruct bind to add an entry in the
> appropriate zone file. Eventually the device is turned off, the lease time
> reach its limit then I would have expected the dhcpd server to instruct
> bind to remove the entry regarding this device but it is not the case.
> Then I could have take a look at the zone files to know what is in used and
> I would know what is not in use.
>
> Either I made something in my configuration or I was expecting too much
> from dhcpd and bind.
You can do that, but you have to use "reserved" leases rather than
fixed-address statements. ISC dhcpd doesn't track the expiry of
fixed-address leases.
------------------------------
Message: 4
Date: Wed, 24 Feb 2016 14:12:03 -0500
From: Jim Glassford <[email protected]>
To: [email protected]
Subject: Re: [Ext] Re: [Ext] Re: Static IP and IP management
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Hi Bernard,
:-)
I'm the campus cable dog, I am no programmer so limited help. Another
wrote the original network scripts almost 20 years ago in Perl for our
10Mb shared Digital Equipment DECRepeaters and 3COM SuperStacks. (when
the good old days really were not that good)
Been hacking at the Perl since as generations of stuff has been upgraded
over the years. Working to move off it and go with something more
supported using Open Source.
I like Netdisco, does everything we are doing for pulling in the
information. No IPAM though so need to tie that in but the MAC and IP
addresses found on the layer two switches and routers are added to the
PostgresSQL db. Just need to compare what was found to what was expected.
https://metacpan.org/pod/App::Netdisco
best!
jim
On 2/24/2016 1:20 PM, Bernard Fay wrote:
> This is interesting! I'll have to find out how to write such
> scripts. Would you have some pointers related to this subject?
>
> Thanks Jim
>
> On Wed, Feb 24, 2016 at 10:00 AM, Jim Glassford <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi,
>
> This works for us, ymmv. We use home grown scripts that pull
> information from a database to build our dhcpd.conf and dns files
> for all static assignments. We also have different scripts that
> pull the arp tables from the routers each hour and from layer two
> switches ports to keep track of who is where.
>
> Put these together to keep some control for IPAM, sure the
> commercial products do a better job.
>
> As part of the hour run script, we do a compare on what is found
> in arp tables to what we have in the assigned database. If a
> match, the MAC and IP address match what is in the database,
> update a count field and the date it was found. If a MAC is found
> in arp table does not match the assigned IP address, send and
> email for a discrepancy (someone hard coded when they should not
> or other issue that needs addressed)
> Once in awhile (when I need more static IP addresses for a subnet)
> review the count and last updated fields, if older than a year +/-
> then safe to re-assign this IP address.
>
> best!
> jim
>
>
> On 2/24/2016 9:16 AM, Bernard Fay wrote:
>> I manage a lab where there is about 300-400 IPs assigned to
>> different network equipments, physical and virtual servers. So
>> IPs might be assigned for a while then equipments removed because
>> not needed anymore, remember this is a lab. I would like to know
>> which IPs are in used or not. Equipments removed means IPs not
>> used anymore so we could reuse those IPs.
>>
>> I hope I am clear enough
>> Thanks,
>>
>>
>> On Wed, Feb 24, 2016 at 9:06 AM, Patrick Trapp
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>> I believe a helpful answer will require some context. You
>> haven't told us what issues you are having with IP
>> management, so it's going to be difficult to identify how
>> static IP's might be beneficial.
>>
>> Are you having a specific issue you wish to address?
>>
>>
>> ------------------------------------------------------------------------
>> *From:* [email protected]
>> <mailto:[email protected]>
>> [[email protected]
>> <mailto:[email protected]>] on behalf of
>> Bernard Fay [[email protected]
>> <mailto:[email protected]>]
>> *Sent:* Wednesday, February 24, 2016 7:39 AM
>> *To:* Users of ISC DHCP
>> *Subject:* Static IP and IP management
>>
>> Hello everyone,
>>
>> I have been told that static IP assignation can help in IP
>> management. Of course, I can know which IPs are assigned by
>> looking in dhcpd.conf. But after a while an IP might not be
>> used anymore and nothing in dhcpd or bind will tell me if it
>> still in use or not. I have setup a lab to experiment where
>> I have configured dhcpd and bind and I cannot find out how
>> static IP can really help in IP management.
>>
>> Did I miss something somewhere?
>>
>> Thanks,
>> B
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>>
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
> _______________________________________________
> dhcp-users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>
>
> _______________________________________________
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160224/d81963f0/attachment.html>
------------------------------
_______________________________________________
dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
End of dhcp-users Digest, Vol 88, Issue 27
******************************************