Linux DHCPD Mac-Address based Groups
- by GruffTech
Our Current DHCPD.conf looks like the following.
subnet 10.0.32.0 netmask 255.255.255.0
{
range 10.0.32.100 10.0.32.254;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.32.255;
option domain-name-servers 208.67.222.222,208.67.220.220;
option routers 10.0.32.5;
host Dev-ABaird-W {
hardware ethernet 00:1D:09:3E:49:13;
fixed-address 10.0.32.94;
}
... more static hosts ....
}
About as basic as it gets. The old router is 10.0.32.1, our company wanted to implement a squid proxy to better monitor web traffic while at work, and if necessary block large time-wasters, IE Facebook.com.
However, we've quickly realized that this change has played a mean prank on our Polycom SIP Phones. Occasionally our phones will not ring, the end recipient hears ringing (this is artificially created by our PBX) however the handset never rings. The ONLY thing that has changed in our network is the option routers line.
So, Since all Polycom MAC addresses begin with 00:04:F2 would it be possible in DHCP to say any 00:04:F2:::* MAC addresses get option routers 10.0.32.1, and anything else must talk with our Gateway?