Reconfig of dhcp.conf
Chris Arnold
carnold at electrichendrix.com
Tue Nov 24 23:19:50 UTC 2009
So, since no one answered, I am thinking it should be something like this:
authoritative;
option domain-name "domain.com";
option domain-name-servers ns.server.here;
option ntp-servers ntp.servers.here;
ddns-update-style interim;
default-lease-time 14400;
max-lease-time 172800;
subnet 192.168.123.0 netmask 255.255.255.0 {
option routers 192.168.123.1;
range 192.168.123.20 192.168.123.250;
}
subnet 192.168.124.0 netmask 255.255.255.0 {
option routers 192.168.124.2;
range 192.168.124.20 192.168.124.253;
}
On 11/23/09 6:05 PM, "Chris Arnold" <carnold at electrichendrix.com> wrote:
> authoritative;
> option domain-name "domain.com";
> option domain-name-servers ns.server.here;
> option ntp-servers ntp.servers.here;
> ddns-update-style interim;
> default-lease-time 14400;
> max-lease-time 172800;
> Class "123 DHCP Clients" {
> match hardware;
> }
> subclass "123 DHCP Clients" 1:00:23:DF:86:6D:44;
> # HP a6313w builtin NIC subclass "123 DHCP Clients" 1:00:1E:8C:36:08:FB;
> subclass "123 DHCP Clients" 1:00:06:29:89:D6:CA;
>
> Shared-network EH {
> subnet 192.168.123.0 netmask 255.255.255.0 {
> option routers 192.168.123.1;
> pool {
> allow members of "123 DHCP Clients";
> range 192.168.123.20 192.168.123.250;
> }
> }
> subnet 192.168.124.0 netmask 255.255.255.0 {
> option routers 192.168.124.2;
> pool {
> deny members of "123 DHCP Clients";
> range 192.168.124.20 192.168.124.253;
> }
> }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091124/c756a722/attachment.html>
More information about the dhcp-users
mailing list