group ip ranges
Ken Appell
ken at kyvyx.net
Fri Nov 9 20:47:39 UTC 2007
I have a small network with different appliances on it that all connect
to the same DHCP server to get their IP addresses. In order to simplify
maintenance, I'd like to group the IP addresses according to appliance
type. I know my example below doesn't work, but is there another way to
do it?
thanks,
ken
Example:
....
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option ntp-servers 192.168.0.4;
next-server 192.168.0.4;
subnet 192.168.0.0 netmask 255.255.255.0 {
authoritative;
range 192.168.0.100 192.168.0.119;
}
group {
use-host-decl-names on;
range 192.168.1.120 192.168.1.129;
host pc1 {
hardware ethernet 00:16:ec:cc:ae:0a;
}
host pc2 {
hardware ethernet 00:11:5b:c3:a2:dd;
}
}
group {
use-host-decl-names on;
option log-servers 192.168.0.4;
option root-path "192.168.0.4:/opt/ltsp-4.2/i386";
filename "/lts/2.6.16.1-ltsp-2/pxelinux.0";
range 192.168.1.130 192.168.1.139;
host ltsp1 {
hardware ethernet 00:b0:d0:da:b3:c8;
}
host ltsp2 {
hardware ethernet 00:b0:d0:da:b3:b5;
}
host ltsp3 {
hardware ethernet 00:40:63:d3:bd:d6;
}
}
More information about the dhcp-users
mailing list