[clug] What could be stopping dhclient from setting the default route?
tony at lewistribe.com
Mon Feb 14 00:46:10 UTC 2022
On 14/2/22 11:25 am, Michael Still wrote:
> Do you have use-routes set to false in
> /etc/netplan/...whatever.that.filename.is... ?
No, it's not mentioned at all.
> <https://github.com/canonical/netplan/blob/main/doc/netplan.md> for
> more details. Failing that, I'd run `netplan apply --debug` and see if
> that says anything helpful.
`netplan --debug apply` gave debug info but didn't indicate any
problems. Side note, `netplan apply --debug` gave nothing, and the
ubuntu man page's `netplan -debug apply` (single dash) didn't either.
> On Mon, Feb 14, 2022 at 11:11 AM Tony Lewis via linux
> <linux at lists.samba.org <mailto:linux at lists.samba.org>> wrote:
> I am installing a couple of servers; at the moment, using a very
> Ubuntu 20.04 install. When configuring the network, it selected DHCP
> and showed a valid IP, and I leave it at that. However after
> booting up,
> there is no default route set. I can't figure out why it's not
> being set.
> I can add the default route from the command line, and everything
> until a reboot or until dhclient decides to refresh things. I have
> wireshark to determine that the default route is being sent from the
> DHCP server, both as an option 3 and as a "Next Server IP Address".
> I have tried disabling apparmor (there was indications that a
> script was getting blocked), and I've tried tweaking parameters in my
> server's dnsmasq config, but nothing seems to help. I've also
> everything to the latest Ubuntu 20.04 packages.
> Google shows that some people report problems like this, but they
> exactly the same, and most are old. Either way they don't solve
> for me.
> Any clues?
> linux mailing list
> linux at lists.samba.org <mailto:linux at lists.samba.org>
More information about the linux