I have an ubuntu 18.04 VPS with 2 additional IPs, this is the config file I'm using which config all IPs on ens3:
network:
version: 2
renderer: networkd
ethernets:
ens3:
dhcp4: no
addresses: [a.a.a.a/23,b.b.b.b/23,c.c.c.c/23]
gateway4: d.d.d.d
nameservers:
addresses: [108.61.10.10]
routes:
- to: 169.254.0.0/16
via: d.d.d.d
metric: 100
I want b.b.b.b and c.c.c.c to be on a different interface (like ens4), how should I change the config file?
This didn't help me: netplan config for two network interfaces no new interface in the output of "ifconfig -a" even after reboot
By the way, my vps is from vultr.com