Netplan on Ubuntu 18.04 sets incorrect default route metric for DHCP/RA advertised routes
Bug #1823812 reported by
Alexey Savva
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.