hi
I need a dhcp congfigured to give some of my clients IP regarding their MAC addresses and rest should get any IP from same pool. I am not sure what to add dhcpd.conf to provide such a pool or group or class. I tried with this but seems not good enough.
<<<<dhcpd.conf>>>>
ddns-update-style none;
ignore client-updates;
subnet 0.0.0.0 netmask 0.0.0.0 {
option routers 10.0.1.254;
option subnet-mask 255.255.255.0;
option mobile-ip-home-agent 10.0.3.254;
option domain-name "abc.net.tr";
option domain-name-servers 195.175.39.39;
class "aaaa" {
match option dhcp-client-identifier;
lease limit 2;
}
subclass "aaaa" 1:00:12:cf:89:61:76; # Dell wireless
subclass "aaaa" 1:00:19:cb:73:e0:06; # Dell wireless
subnet 10.0.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.1.255;
option routers 10.0.1.254;
pool {
allow members of "aaaa";
range 10.0.1.10 10.0.1.20;
}
pool {
option domain-name-servers 195.175.39.39;
range 10.0.1.21 10.0.1.100;
allow unknown-clients;
}
range dynamic-bootp 10.0.1.10 10.0.1.100;
default-lease-time 21600;
max-lease-time 43200;
}
}
Waiting for any suggestions...
thanks