On 2016-01-21 00:27, Stuart Henderson wrote:
man dhcp-options(5) shows the option classless-static-routes, however,
when I use it, dhcpd fails to start and returns:
dhcpd: /etc/dhcpd.conf line 49: unknown option
dhcp.classless-static-routes
It looks like it should just be "classless-static-routes" without a
dhcp. prefix.
I didn't add a prefix, it's been added in the log by the program itself.
My config file looked like below:
option domain-name-servers 192.168.0.71, 192.168.0.149;
option classless-static-routes 192.168.32/24 192.168.0.1;
deny unknown-clients;
For the moment, I'll go with the following config, which works:
option domain-name-servers 192.168.0.71, 192.168.0.149;
option static-routes 192.168.32.7 192.168.0.1, 192.168.32.15
192.168.0.1;
deny unknown-clients;
Cheers,
--
Étienne