network:
version: 2
renderer: networkd
ethernets:
ens3:
addresses: [192.168.3.15/24]
dhcp4: no
routes:
- to: 0.0.0.0/0
via: 192.168.3.1
metric: 100
table: 101
routing-policy:
- from: 192.168.3.0/24
table: 101
ens2:
addresses: [192.168.5.100/24]
dhcp4: no
gateway4: 192.168.5.1
nameservers:
addresses: [1.1.1.1]
isto foi confirmado por 'cyphermox' no IRC, lead dev em netplan.io.
Verifique com ip route e ip regra se systemd criou tudo o necessário e se não reiniciá-lo - > sudo service systemd-netword restart