View Full Version : Proxmox with 2 NICs on 2 different subnets - workable?

10-01-2010, 11:13 PM
I have a 1.6 server with 2 NICs. One is attached to a subnet and one is attached to a subnet. I want to be able to have my VMs appear on one or the other of these subnets. I have configured the first interface through the Proxmox ISO installer and the second with the web interface. The second shows up as interface: "


Is that feasible with Proxmox? Can anyone explain the general approach to how this should be configured and work? I am not super-familiar with all the nuances of Linux ifconfig, but I can research the details if someone can explain the general way it should work.

If there is documentation for this, I apologize, but I could not find it.



10-01-2010, 11:25 PM
You can do this. The key thing to understand is that you don't have to give the host an IP on all of the physical NIC if you don't want to.

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
bridge_ports eth0
bridge_stp off
bridge_fd 0

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

In this example your Proxmox host will respond on IP Any guests needing to talk on the 192.168.48.x LAN segment can use vmbr0. Guests needing the second LAN can have their virtual NIC bonded with vmbr1 and assigned an IP on the 192.168.240.x subnet.

10-02-2010, 12:09 AM
Actually, I figured it out. Sorry to trouble you...