Proxmox with several netcards

Morphy

Member
Jun 9, 2022
13
3
8
Hi everyone.

My current setup is Proxmox Host is running on a 2.5GB LAN with CIDR 192.168.0.100/24, GW 192.168.0.1 with vmbr0

Im trying to setup an LXC container to use a 10GB netcard - and only that specific card with CIDR 192.168.0.250/24, GW none with vmbr1

All my containers works just fine untill I plugin the lan cable to my 10GB card - everything seems to die on me. Take out the cable to the 10GB and a reboot, everything works just fine.
Dont know what im missing here - so I hope that you guys maybe could give me some assistance? :)


Thank you

Morphy
 
I think you will add some static routes to direct the overlaping network.
First, the default route will add "src"parameter to indicate the specified NIC device is used.
Second, For dest address inside some ips around 192.168.0.250/24, add src and dev parameters.
 
  • Like
Reactions: Morphy
Thanks for your reply - can you maybe show me the "line" i need to add in /etc/network/interfaces ?