networking with two different subnets, two nics, one openvz container

lp86

Renowned Member
Mar 3, 2010
58
0
71
Ohio
www.ohiointernet.net
I have a machine with two network interfaces, eth0 and eth1
eth0 is connected to the WAN, it works, the openvz container can connect to the internet and works great, eth1 is connected to the LAN (private IP range). How would I go about setting that up?

I tried this, http://forum.proxmox.com/threads/5374-Networking-on-vmbr1-not-working.?highlight=vmbr1 ... didn't work


I tried to create vmbr1 on eth1, but I still can't connect to anything, here is my network config file.

-----
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
address xx.xx.xx.xx
netmask 255.255.255.0
gateway xx.xx.xx.xx
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
-----