<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFCC">
<br>
<div class="moz-cite-prefix">On 14/10/13 20.51, Doug Barton wrote:<br>
</div>
<blockquote cite="mid:525C3D21.2060200@dougbarton.us" type="cite">On
10/14/2013 11:46 AM, Sten Carlsen wrote:
<br>
<blockquote type="cite">You may want to look at the man page for
dhcpd.conf, the following
<br>
example is taken from that:
<br>
<br>
subnet 10.0.0.0 netmask 255.255.255.0 {
<br>
option routers 10.0.0.254;
<br>
<br>
# Unknown clients get this pool.
<br>
pool {
<br>
option domain-name-servers bogus.example.com;
<br>
max-lease-time 300;
<br>
range 10.0.0.200 10.0.0.253;
<br>
allow unknown-clients;
<br>
}
<br>
<br>
# Known clients get this pool.
<br>
pool {
<br>
option domain-name-servers ns1.example.com,
ns2.example.com;
<br>
max-lease-time 28800;
<br>
range 10.0.0.5 10.0.0.199;
<br>
deny unknown-clients;
<br>
}
<br>
}
<br>
<br>
As you see here you can put options in subnets as well as pools.
The
<br>
common options like router is in the subnet and the the more
specific
<br>
options are in the pools together with the allows and denys.
<br>
</blockquote>
<br>
Wouldn't that require host declarations to define the known hosts?
<br>
</blockquote>
No, being a member of a class can be specified here as well:<br>
allow members of xyzzy;<br>
<br>
I do use this for my network with 3 different routers to spread the
load and addresses evenly. I use 3 classes and subclass definitions
for every MAC. Very stable.<br>
<br>
<blockquote cite="mid:525C3D21.2060200@dougbarton.us" type="cite">
<br>
Doug
<br>
<br>
_______________________________________________
<br>
dhcp-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>