[Bug 1735193] Re: Netplan does not support onlink gateway
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Tue Mar 13 15:29:50 UTC 2018
Fix Released in netplan 0.34.
** Changed in: netplan
Status: Fix Committed => Fix Released
** Package changed: nplan (Ubuntu) => netplan.io (Ubuntu)
** Changed in: netplan.io (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1735193
Title:
Netplan does not support onlink gateway
Status in netplan:
Fix Released
Status in netplan.io package in Ubuntu:
Fix Released
Bug description:
There are cases where the gateway is not in the same subnet as the IP of the machine. The kernel will by default not allow adding such a route, unless some options are specified.
For example, I could add such route using:
sudo ip route add default via xxx.xxx.xxx.xxx dev ens3 onlink
The onlink keyword skips the sanity check, the route gets added, and
life is good.
systemd-network does support this, with a keywork in its .network file
called gatewayonlink, according to the systemd.network man page, but
netplan provides no option for me to tell it I want this option.
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1735193/+subscriptions
More information about the foundations-bugs
mailing list