Assign different DHCP ranges depending on MAC address / vendor code?
-
Is it possible in pfSense to assign DHCP addresses from different ranges depending on MAC address / vendor code?
As an example of what I mean, if I were doing this in a recent ISC DHCP server, the relevant sections of dhcpd.conf would go something like this:
class "polycom" { match if substring (binary-to-ascii (16, 8, ":", hardware), 2, 6) = "0:4:f2"; } shared-network internal { subnet 10.67.0.0 netmask 255.255.240.0 { # Polycom Phones pool { range 10.67.12.50 10.67.12.200; allow members of "polycom"; } # Everyone else pool { range 10.67.0.50 10.67.1.200; deny members of "polycom"; } } }
-
hmmm no answers? I am interested in this as well.
-
Sounds like a feature request for >2.0
IIRC, the DHCP server is still ISC, so it might just be a matter of adding the option to the GUI. -
There is already a similar enhancement request in redmine for "future" - it should be possible, though generally if you have separate subnets they are on separate interfaces so doing exactly what you propose isn't necessary.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.