netplan routes config scope link take no effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
my ubuntu os version: Ubuntu 18.04.2 LTS
netplan version:
ii netplan.io 0.40.1~18.04.4 amd64
my netplan config:
cat /etc/netplan/
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
addresses:
- 10.10.56.110/21
nameservers:
- 10.10.0.1
routing-
- from: 10.10.0.0/16
to: 10.0.0.0/8
table: 200
priority: 10001
routes:
- to: 10.10.56.0/21
scope: link
via: 10.10.63.254
table: 200
- to: 0.0.0.0/0
via: 10.10.63.254
table: 200
- to: 10.0.0.0/8
via: 10.10.63.254
current route table 200:
ip route list table 200
default via 10.10.63.254 dev eno1 proto static
I think it shoud be:
ip route list table 200
default via 10.10.63.254 dev eno1 proto static
10.10.56.0/21 dev eno1 scope link
i know there has bug report of this:
https:/
and i update my netplan to 0.96-0ubuntu0.
but it make no difference
and i can add scope link to route table 200 via ip command:
sudo ip route add 10.10.56.0/21 dev eno1 scope link table 200