Netplan on Ubuntu 18.04 sets incorrect default route metric for DHCP/RA advertised routes

Bug #1823812 reported by Alexey Savva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
New
Undecided
Unassigned

Bug Description

We are running Ubuntu 18.04.

When netplan generates networkd configuration, it adds RouteMetric=100 to [DHCP] section of the interfaces. It overrides default networkd value of 1024 and gives priority to DHCP routes over static one. This breaks network on multi-homed hosts and blocking VM deployments on VMware platform.

From networkd man page:

UseRoutes=
When true (the default), the static routes will be requested from the DHCP server and added to the routing table with a metric of 1024, and a scope of "global", "link" or "host", depending on the route's destination and gateway.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.