I've tested netplan.io 0.103-0ubuntu5~21.04.3 from hirsute-proposed.
The netplan generator command was run successfully, producing correct
"scope: link" routes with empty gateway/next_hop:
root@sru-hh:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.103-0ubuntu5~21.04.3 amd64 YAML network configuration
abstraction runtime library
ii netplan.io 0.103-0ubuntu5~21.04.3 amd64 YAML network configuration
abstraction for various backends
root@sru-hh:~# mkdir -p tmp/etc/netplan
root@sru-hh:~# vim tmp/etc/netplan/test.yaml
root@sru-hh:~# cat tmp/etc/netplan/test.yaml
network:
renderer: NetworkManager
ethernets:
eth0:
addresses: [1.2.3.4/24, fe20::3/16]
routes:
- to: 2.2.2.2/7
scope: link
- to: 3.3.3.3/6
scope: link
metric: 4
- to: 4:5:6:7:8:9:0:1/63
scope: link
metric: 5
root@sru-hh:~# /usr/lib/netplan/generate -r tmp/
root@sru-hh:~# cat
tmp/run/NetworkManager/system-connections/netplan-eth0.nmconnection | grep
"route.="
route1=2.2.2.2/7
route2=3.3.3.3/6,,4
route1=4:5:6:7:8:9:0:1/63,,5
** Tags removed: verification-needed-hirsute
** Tags added: verification-done-hirsute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1949761
Title:
NM backend does not accept "scope: link" routes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1949761/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs