Hello,
I have a dhcp server set up (Using CentOS 5.2) and I want to set it up to only give addresses to certain mac-addresses. Sort of an access control list type of thing...
This is my current set up...
Code:
authoritative;
ddns-update-style interim;
default-lease-time 28800;
max-lease-time 28800;
option routers 192.168.2.1;
option broadcast-address 192.168.2.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.2.225, 192.168.2.223;
option domain-name "mydomain.org";
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.205 192.168.2.212;
host it-laptop {
hardware ethernet 00:16:cb:99:50:e0;
fixed-address 192.168.2.205;
}
}
I know that the above config will give the
it-laptop the fixed addess...but I would have to do that for each host.
Is there away to say "I only want these mac-addresses to get an ip address"?
I've read about "groups" but I'm getting lost.
Any help would be great, thanks! :-)
-C