Hi,
I have to do a very special dhcp setup:
A number of client (about 100) that have NICs from the same vendor have to get
fixed-addresses that are dependant from the dhcp-client-identifier.
With some host sections I managed to give thie client the correct fixed addresses,
but because of security reasons we have to forbit any client whose MAC address does not
fit to a specific mask (the first 3 bytes of the MAC have to be checked).
This means I need this:
if mac_address = 01.02.03:xx.xx.xx {
if option dhcp-client-identifier = "ID_1234" {
fixed-address 192.168.1.2;
} else if option dhcp-client-identifier = "ID_1235" {
fixed-address 192.168.1.3;
} else if .... {
}
} else ... no IP is assigned
Is this possible with the ISC dhcp-server ?
I tried host sections within a pools, but it does not seem to work. My idea was to create a pool
for all clients with the correct MAC addresses and to put some host section inside
the pool. But when the dhcp-client-identifier options was accepted, the pool allow rule was ignored.
Matthias