amplitube 5 forum
For static interfaces just skipping gateway4 (or gateway6) config option causes netplan to NOT create default route for that interface.Then, if you need extra routing using routes element (array of dicts) For DHCP interfaces you can do: dhcp4-overrides: route-metric: 100 Just increase metric for subsequent interfaces and you should be good. New way: ip route show Add route. Old way: route add-net 192.168.55.0/24 dev enp4s0 New way: ip route add 192.168.55.0/24 dev enp4s0 Old Dogs and New Tricks. I hated Netplan when I first installed Ubuntu 18.04.. Apr 18, 2018 · Using "routes" does not fix the problem, it still ignores them. Manually add routes via `ip` command; run `netplan. default via 10.0.0.1 dev eth0 proto static default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.53 metric 600. As you mentioned, when you unplug the eth0 port; the host can get to the internet via wlan connection; when you re-attach then outgoing traffic stays on the host. Once you've removed the gateway4 (then reboot or use ip route.