[Bug 1735193] Re: Netplan does not support onlink gateway
Waleed Hamra
1735193 at bugs.launchpad.net
Wed Nov 29 20:09:29 UTC 2017
** Also affects: nplan (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1735193
Title:
Netplan does not support onlink gateway
Status in netplan:
New
Status in nplan package in Ubuntu:
New
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