[Bug 1872589] Re: systemd-networkd is not honoring UseRoutes=false

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Tue Apr 14 13:03:22 UTC 2020


*** This bug is a duplicate of bug 1867375 ***
    https://bugs.launchpad.net/bugs/1867375

Ahhh good to know, documentation in netplan.io doesn't reflect that
also, that is why I opened the bug. Funny because because of the
attribute name "UseRoutes" I was in doubt if it would get the default
gateway or just the published routes.. then the documentation said it
would get the default GW.

Thanks for letting me know Dan!

-> https://netplan.io/reference

Documenting it if anyone is confused by this as well:

"""
use-routes (bool)
Default: true. When true, the routes received from the DHCP server will be installed in the routing table normally. When set to false, routes from the DHCP server will be ignored: in this case, the user is responsible for adding static routes if necessary for correct network operation. This allows users to avoid installing a default gateway for interfaces configured via DHCP. Available for both the networkd and NetworkManager backends.
"""

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1872589

Title:
  systemd-networkd is not honoring UseRoutes=false

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1872589/+subscriptions



More information about the Ubuntu-server-bugs mailing list