I have a container with 2 network interfaces configured on different subnets. I would like to set the routing metric on one of the interfaces, but am not having any luck figuring out how to do so.
Running on proxmox 5.1 (all updates current). The container is Arch, using systemd-networkd, and both interfaces are currently set as DHCP in Proxmox.
I've tried putting in a .pve-ignore.eth0.network file in /etc/systemd/network and adding the metric to the eth0.network file, but then that interface isn't managed at all (and isn't brought up). I don't see any options to put into the container's configuration (/etc/pve/lxc/xxx.conf) to set a metric.
Anyone know how to do this?
Running on proxmox 5.1 (all updates current). The container is Arch, using systemd-networkd, and both interfaces are currently set as DHCP in Proxmox.
I've tried putting in a .pve-ignore.eth0.network file in /etc/systemd/network and adding the metric to the eth0.network file, but then that interface isn't managed at all (and isn't brought up). I don't see any options to put into the container's configuration (/etc/pve/lxc/xxx.conf) to set a metric.
Anyone know how to do this?