Bonding + VLAN

jandoe

New Member
Jul 31, 2012
6
0
1
Hi :)

Another important problem in my 2-Node Cluster configuration. I have 2 bonds, one for the storage network and on for LAN. In the LAN i have the vlan 78, there is my fence device (APC Switched RACK PDU). So my LAN configuration is like that:

auto bond0
iface bond0 inet manual
slaves eth1 eth5
bond_miimon 100
bond_mode active-backup

auto bond0.78
iface bond0.78 inet static
address 192.168.78.xx
netmask 255.255.255.0
broadcast 192.168.78.255
vlan-raw-device bond0

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

Now it's not possible to reach the VLAN 78 when both bond devices are plugged. If i remove the cable from the second nic i can ping the fence device. Same on the second server, just the first nic can reach the subnet. I have no ideas why. Does someone know the problem, can someone help?

Thanks in advance,

Jan D
 
your version?
 
post your 'pveversion -v'
 
Ah, here it is:

root@123:~# pveversion -v
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-12-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 
root@abc:~# pveversion -v
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-12-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1