<div dir="ltr">Check my answers in caps below....<br><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 9:55 AM, Patrick Trapp <span dir="ltr"><<a href="mailto:ptrapp@nex-tech.com" target="_blank">ptrapp@nex-tech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Much clearer, thanks. Disclaimer: I'm far from the most experienced DHCP person haunting this list, so I'm sure there are options I'm not aware of. Some thoughts, in no particular
 order:<br>
<br>
Since you say you can look in dhcpd.conf to see what addresses are assigned, I have to ask: Are you using "static" addresses in dhcpd.conf to assign an address to a given MAC address?  YES STATIC WITH MAC ADDRESSES<br>
<br>
Is this a single flat network where everything can reach everything or do you have it segmented for various tests?  YES SEGMENTED WITH MANY VLANs<br>
<br>
Is the issue knowing which addresses are available or just knowing how many addresses are available?  WHICH ADDRESSES SO THEY CAN BE REASSIGNED IF NOT USED<br>
<br>
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.     INDEED BUT THE PROBLEM IS THAT SOMEONE MIGHT HAVE SHUTDOWN OR REMOVED AN EQUIPMENT HE DOES NOT NEED ANYMORE.<br>
<br>
I'm not sure if that's what you are doing or if that's what your advisor had in mind. Depending on how often equipment comes in and goes out, that could become pretty tedious, but you would have that control/knowledge in return.
<br>
<br>
I have include files on my server that are assigned to a particular type of device that I manage. Within each include file, the host entries are sorted as I enter them so the data is organized. If I was doing this for a lab, I might (this is off the cuff and
 untested) allocate an include file for a particular subset of addresses (not knowing what you are testing, I don't know what would be a reasonable scope). Then I would use that include file for all devices on a particular test. When the test is complete, I
 clear the file and I know those addresses are available for the next test. Obviously not foolproof, but it might be an idea you could build on.<br>
<br>
Patrick<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><span class=""><b>From:</b> <a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a> [<a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a>] on behalf of Bernard Fay [<a href="mailto:bernard.fay@gmail.com" target="_blank">bernard.fay@gmail.com</a>]<br>
</span><b>Sent:</b> Wednesday, February 24, 2016 8:16 AM<span class=""><br>
<b>To:</b> Users of ISC DHCP<br>
</span><b>Subject:</b> Re: Static IP and IP management<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>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.
<br>
<br>
</div>
I hope I am clear enough<br>
</div>
Thanks,<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 24, 2016 at 9:06 AM, Patrick Trapp <span dir="ltr">
<<a href="mailto:ptrapp@nex-tech.com" target="_blank">ptrapp@nex-tech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">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.<br>
<br>
Are you having a specific issue you wish to address?<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b>
<a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a> [<a href="mailto:dhcp-users-bounces@lists.isc.org" target="_blank">dhcp-users-bounces@lists.isc.org</a>] on behalf of Bernard Fay [<a href="mailto:bernard.fay@gmail.com" target="_blank">bernard.fay@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, February 24, 2016 7:39 AM<br>
<b>To:</b> Users of ISC DHCP<br>
<b>Subject:</b> Static IP and IP management<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>Hello everyone,<br>
<br>
</div>
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.<br>
<br>
</div>
Did I miss something somewhere?<br>
<br>
</div>
Thanks,<br>
</div>
B <br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br></blockquote></div><br></div></div></div></div>