> > DHCP server only supports the primary subnet, no way to do that > > without hacking the source. > Ok. I guess you mean through webConfigurator. > If I modify /var/dhcpd/etc/dhcpd.conf, could achieve my goal? May I > write a script and hook it with services_dhcp.php to do this?
I think you'd essentially have to overwrite dhcpd.conf every time config was regenerated from XML, since the current GUI management for DHCPd doesn't understand subnets. Feel free to rewrite the DHCP configuration GUI instead ;-). That's an ugly enough task that I just put DHCP on a separate server instead. (I spend about 20 minutes looking at the source and decided I didn't feel like re-designing it from the ground up, especially when so many other things make assumptions about the way DHCP works now.) Good luck, -Adam Thompson [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Commercial support available - https://portal.pfsense.org
