Hi,
I have a bunch of NICs in my server and want to distribute the VMs to different NICs. However all the VMs are on the same subnet and it seems to give me some trouble when routing.
The general subnet is 255.255.224.0. If I add a machine to vmbr1 with e.g. 192.168.31.230 I am not able to ping either to/from the machine. Any one done a similar setup? Is it required to enter an IP for each vmbrX?
My configuration is the following:
Best regards,
Bo
I have a bunch of NICs in my server and want to distribute the VMs to different NICs. However all the VMs are on the same subnet and it seems to give me some trouble when routing.
The general subnet is 255.255.224.0. If I add a machine to vmbr1 with e.g. 192.168.31.230 I am not able to ping either to/from the machine. Any one done a similar setup? Is it required to enter an IP for each vmbrX?
My configuration is the following:
Code:
# 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
iface eth4 inet manual
iface eth5 inet manual
auto eth6
iface eth6 inet static
address 172.16.31.12
netmask 255.255.255.0
auto eth7
iface eth7 inet static
address 172.16.32.12
netmask 255.255.255.0
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode balance-xor
auto bond1
iface bond1 inet manual
slaves eth2 eth3
bond_miimon 100
bond_mode balance-xor
auto bond2
iface bond2 inet manual
slaves eth4 eth5
bond_miimon 100
bond_mode balance-xor
auto vmbr0
iface vmbr0 inet static
address 192.168.31.12
netmask 255.255.224.0
gateway 192.168.0.254
bridge_ports bond0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports bond1
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports bond1
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet manual
bridge_ports bond2
bridge_stp off
bridge_fd 0
Best regards,
Bo