network issue with multiple NICs

rocketman

New Member
Feb 14, 2013
1
0
1
Hi,

I've installed Proxmox VE 2.2 on a Dell R420 server. The server has 2 network cards, the embedded dual port 1Gb (eth0, eth1) and a Dual port Intel 10Gb card (eth2, eth3). I have 2 networks, one public network (41.1.1.x, netmask 255.255.255.192) for management, etc. and a private network for storage traffic (192.168.10.x, netmask 255.255.255.0). The public network connects to 1 1Gb port (eth0) and the private network connects to 1 10Gb port (eth2). On proxmox I can configure both ethernet interfaces (eth0 & eth2) to work on their respective networks. From the console I can ping machines on both networks fine.

I then set up a KVM VM (CentOS 6.3) and configure 2 vistual network adaptors. vmbr0 (eth0) and vmbr1 (eth2). On the VM I set up net0 bridged to vmbr0 and net1 bridged to vmbr1.

Here is my /etc/network/interfaces file (proxmox):
# network interface settings
auto lo
iface lo inet loopback


iface eth0 inet manual


iface eth1 inet manual


iface eth2 inet manual


iface eth3 inet manual


auto vmbr0
iface vmbr0 inet static
address 41.74.147.101
netmask 255.255.255.192
gateway 41.74.147.65
bridge_ports eth0
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 192.168.10.110
netmask 255.255.255.0
bridge_ports eth2
bridge_stp off
bridge_fd 0

My issue is that from within the VM I can only ping the public network 41.1.1.x and not the private network 192.168.10.x. What am I doing wrong?

Regards,

Ferdl
 

oakleeman

New Member
Nov 28, 2006
19
1
3
You're probably going to want to SSH in and do "dmesg | grep eth" and confirm that the NIC mac addresses and names match up as you are wanting them to be. If it doesn't then you'll need to change the IP addresses around to match the NIC naming. I've found that in multi-NIC systems the eth names thend to change from what you are expecting.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!