how to configure to accept both additional static routes AND a default gateway
Bruce Ferrell
Fri Jun 12 06:08:30 2020I have a number of Raspberry PIs in use and I'd long noticed that they didn't seem to get the default gateway sent by my DHCP server. I've been working around this but it has finally become vexing enough that I spent some time searching and trying to find a configuration that would do the right thing. No dice.
That server is ISC DHCP Server 4.1.1-P1. The host for this dhcp server also hosts an openvpn server and the additional route is so that hosts on my internal network know how to reach openvpn clients.
The Windows 7/8/10 dhcp client does the right thing... The OS X dhcp client does the right thing; sets the default gateway. Using wireshark, I can see both being sent from the server. Other linux systems that use ISC DHCPD in client mode does the right thing (kind of a no brainer). Only DHCPCD fails to set the default gateway while setting the static route for the vpn network.
Yes, I understand I can set a rule file on the individual endpoints or otherwise manually configure, but doesn't that sort of defeat the purpose of dhcp? So... What IS the solution? best regards
| Re: how to configure to accept both additional static routes AND a default gateway | Roy Marples |