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 (Simon Hobson)
2. Re: [Ext] Re: Static IP and IP management (Victoria Risk)
3. Re: [Ext] Re: Static IP and IP management (Michael Str?der)
----------------------------------------------------------------------
Message: 1
Date: Wed, 24 Feb 2016 19:15:02 +0000
From: Simon Hobson <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: Static IP and IP management
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Chuck Anderson <[email protected]> wrote:
> 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.
To expand on that ...
When you use a fixed-address statement to assign an address, no actual lease is
created. Since it's a fixed address, there's no real need for it - so the
server takes a shortcut, replies to the client, but doesn't actually store
anything. So the only DNS update possible is when the "lease" is given out.
A relatively new feature is a "reserved" lease. It acts the same as an ordinary
lease - including normal expiry and DNS updates/removals - with the one
difference of being tied to a single client.
To use this feature, you need to either modify an existing lease (add the
"reserved" statement), or you should be able to create a skeleton lease
(including reserved statement) in advance of the client connecting.
In either case, you probably need to be learning OMAPI to interact with the
server !
------------------------------
Message: 2
Date: Wed, 24 Feb 2016 11:21:46 -0800
From: Victoria Risk <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: [Ext] Re: Static IP and IP management
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Bernard,
I don?t have any experience with it, but there is an open source tool that aims
to do exactly what you are looking for, document what is on the network, what
addresses are in use, and which are available. It also has some integration
with both ISC DHCP and BIND.
It is NetDot (network documentation), published by the University of Oregon ?
https://osl.uoregon.edu/redmine/projects/netdot
Does anyone on the list have feedback about NetDot? Any users here?
Vicky
> On Feb 24, 2016, at 10:20 AM, Bernard Fay <[email protected]> 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:
>> <mailto:[email protected]>[email protected]
>> <mailto:[email protected]> [[email protected]
>> <mailto:[email protected]>] on behalf of Bernard Fay [
>> <mailto:[email protected]>[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
>> <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
>> <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
> <https://lists.isc.org/mailman/listinfo/dhcp-users>
>
> _______________________________________________
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users
Victoria Risk
Internet Systems Consortium
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160224/8389bc56/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 24 Feb 2016 21:44:59 +0100
From: Michael Str?der <[email protected]>
To: Users of ISC DHCP <[email protected]>
Subject: Re: [Ext] Re: Static IP and IP management
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
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?
Note that anything reyling on MAC addresses will fail with devices which are
frequently changing their MAC address (e.g. modern Android phones).
Ciao, Michael.
> On Wed, Feb 24, 2016 at 10:00 AM, Jim Glassford <[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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20160224/4e6dd7a6/attachment.bin>
------------------------------
_______________________________________________
dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
End of dhcp-users Digest, Vol 88, Issue 28
******************************************