In /etc/network/interfaces I have the following entry right now:
auto ens3 iface ens3 inet static address 188.8.131.52 netmask 255.255.255.255 broadcast 255.255.255.255 up route add -host 123.12.456.70 dev ens3 up ip route add default via 123.12.456.70
Now I want to use netplan on a ubuntu system. I started to writing this:
network: version: 2 renderer: networkd ethernets: ens3: addresses: - 184.108.40.206/32
How do I do this with the lines starting with "up" (adding the route and set the default)?