Custom settings in dhcpd.conf
-
I'm looking to find out if anyone has had trouble making custom entries directly in dhcpd.conf…
here's my situation: I was using ubuntu 12.4LTS as a router/DHCP server... my brother turned me onto pfSense and I've enjoyed it so far... I've got 30 PCs and 30 VOIP phones in my office... on my unbuntu box, I ran the following settings in dhcpd.conf:
_ddns-update-style none;
optional definitions common to all supported networks
default-lease-time 3600;
max-lease-time 7200;official DHCP server for LAN
authoritative;
keep a local log, can redirect log from here also
log-facility local7;
match the MAC addresses of our VoIP phones
class “polycom” { match if substring (hardware,1,3) = 00:42:f2; } # polycom
class “aastra” { match if substring (hardware,1,3) = 00:08:5d; } # aastrasetup shared network and DHCP ranges for each subnet
Shared-network pc-phone-net {
subnet declaration for the VoIP phones
subnet 192.168.1.0 netmask 255.255.255.0 {
pool {
range 192.168.1.20 192.168.1.200;
allow members of “polycom”;
allow members of “aastra”;
}
option domain-name-servers 8.8.8.8,8.8.4.4;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
}subnet declaration for the PCs
subnet 192.168.5.0 netmask 255.255.255.0 {
pool {
range 192.168.5.20 192.168.5.200;
deny members of “polycom”;
deny members of “aastra”;
}
option domain-name “domain.com”;
option routers 192.168.5.1;
option domain-name-servers 8.8.8.8,8.8.4.4,192.168.5.1;
option broadcast-address 192.168.5.255;
option subnet-mask 255.255.255.0;
}
}_so, what this all did was force my VOIP phones to one DHCP/network and allowed my PCs to connect to the other… it was a good option since not all my equipment didn't allow for VLAN IDs...
can anyone think why I can't put this into the dhcpd.conf in pfSense?
thanks
-
ok, no one has an opinion or experience with this… I guess I'll try it and report if it works or not... :-\