ubuntu@new-man:~$ dpkg -l netplan.io | grep ii
ii netplan.io 0.40.1~18.04.1 amd64 YAML network configuration abstraction for various backends
Marking verification-done:
I have set a dummy route 9.9.9.0/24, with link scope, in netplan YAML. The route gets correctly installed by systemd-networkd:
ubuntu@new-man:~$ sudo vi /etc/netplan/50-cloud-init.yaml
ubuntu@new-man:~$ ip route
default via 10.3.16.1 dev ens6 proto static
10.3.16.0/20 dev ens6 proto kernel scope link src 10.3.21.28
ubuntu@new-man:~$ sudo netplan apply
ubuntu@new-man:~$ ip route
default via 10.3.16.1 dev ens6 proto static
9.9.9.0/24 dev ens6 proto static scope link
10.3.16.0/20 dev ens6 proto kernel scope link src 10.3.21.28
ubuntu@new-man:~$ dpkg -l netplan.io | grep ii
ii netplan.io 0.40.1~18.04.1 amd64 YAML network configuration abstraction for various backends
Marking verification-done:
I have set a dummy route 9.9.9.0/24, with link scope, in netplan YAML. The route gets correctly installed by systemd-networkd:
ubuntu@new-man:~$ sudo vi /etc/netplan/ 50-cloud- init.yaml
ubuntu@new-man:~$ ip route
default via 10.3.16.1 dev ens6 proto static
10.3.16.0/20 dev ens6 proto kernel scope link src 10.3.21.28
ubuntu@new-man:~$ sudo netplan apply
ubuntu@new-man:~$ ip route
default via 10.3.16.1 dev ens6 proto static
9.9.9.0/24 dev ens6 proto static scope link
10.3.16.0/20 dev ens6 proto kernel scope link src 10.3.21.28