hardware ethernet and option vendor-class-identifier
Rafal
golem at mtm-info.pl
Fri Oct 16 12:32:34 UTC 2015
Hello Dhcp-users,
I want to make my dhcp server verify hardware and
vendor-class-identifier to send reply.
This is how I expected it :
(not working example)
##########
subnet 192.168.30.0 netmask 255.255.255.192 {
option routers 192.168.30.1;
}
class "WINDOWS" {
match if substring(option vendor-class-identifier, 0, 8) = "MSFT";
}
class "LINUX" {
match if substring(option vendor-class-identifier, 0, 8) = "udhcp";
}
host windowspc {hardware ethernet 78:01:02:03:04:05; fixed-address 192.168.30.2; allow members of "WINDOWS";}
host linuxpc {hardware ethernet 44:11:02:03:04:05; fixed-address 192.168.30.3; allow members of "LINUX";}
#######
So while dhcp server receive dhcp request, he checks hardware address and
then vendor class identifier. If both match then he send reply.
Allow members need to be defined inside pool however I need static
IP configuration based on dhcp.
My example doesn't work. Can anyone help me to make it working ?
Thanks in advance.
--
Best regards,
Ozga Rafal mailto:golem at mtm-info.pl
More information about the dhcp-users
mailing list