<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/28/2014 01:19 AM, Glenn Satchell
wrote:<br>
</div>
<blockquote
cite="mid:2741c438a62ac18305dfccbdd4f311d6.squirrel@mail.uniq.com.au"
type="cite">
<pre wrap="">On Tue, January 28, 2014 9:15 am, Simon Hobson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Steve Clark <a class="moz-txt-link-rfc2396E" href="mailto:sclark@netwolves.com"><sclark@netwolves.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">How will dhcpd give out ips? Will it alternate? Give all of one subnet
then start the other
subnet?
</pre>
</blockquote>
<pre wrap="">
The official answer is that it is not determinate - as in you cannot in
any way rely on any specific allocation order.
The practical answer is that *currently* the implementation dependent
order is that it will allocate unused addresses starting with the
numerically highest and working down - I believe this is due to the way
the internal hashing tables work. This is implementation dependent, not
officially documented, and liable to change at any time without warning -
if you want a specific allocation strategy then you will need to
explicitly define it in the config.
</pre>
</blockquote>
<pre wrap="">
Further, it doesn't really matter, as once it gets to steady-state it will
be issuing IPs on a least recently used basis, so will essentially be
random. Exactly the same way it is with a single subnet.
A common desire it to use fixed-address devices in one of the subnets, and
a dynamic range in the other. Another option is to use a class to select
some subset of devices and then use a pool in each subnet, one allowing
the class and the other denying the class.
regards,
-glenn
</pre>
</blockquote>
Thanks to all that answered. <br>
<br>
I just wanted to make sure that when all the ips from one subnet
were handed out<br>
then dhcpd would start handing out ips from the next subnet.<br>
<br>
Steve<br>
<br>
<br>
<div class="moz-signature">-- <br>
Stephen Clark<br>
<b>NetWolves</b><br>
Director of Technology<br>
Phone: 813-579-3200<br>
Fax: 813-882-0209<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
<a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
</div>
</body>
</html>