Hi,
I have a problem configuring BONDED VLAN using vSwitch on Proxmox 3.3. I can see all the interfaces as ACTIVE and ifconfig indeed show that they are up and running. I have searched thoroughly Proxmox site and Googled for a couple of days but did not find exactly what I'm looking for. However, I made some progress and hopefully might help someone in the future.
I posted the Screenshot of the GUI just in case someone with the same problem can relate to it and be able to solve it.
Here's the /etc/network/interfaces
# network interface settings
auto vlan10
iface vlan10 inet manual
vlan_raw_device bond1
auto vlan100
iface vlan100 inet manual
vlan_raw_device bond1
auto vlan125
iface vlan125 inet manual
vlan_raw_device bond1
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto eth2
iface eth2 inet manual
bond-master bond1
auto eth3
iface eth3 inet manual
bond-master bond1
auto bond1
allow-vmbr1 bond1
iface bond1 inet manual
ovs_bonds eth2 eth3
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options lacp=active bond_mode=balance-slb
auto vmbr0
iface vmbr0 inet static
address 192.168.125.13
netmask 255.255.255.0
gateway 192.168.125.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet static
address 192.168.100.222
netmask 255.255.255.0
broadcast 192.168.100.255
ovs_type OVSBridge
ovs_ports bond1
You will get this error because bond1 "Recieved a packet with it's own address" errors.
Oct 13 13:34:28 prox13 kernel: [ 2409.104092] 8021q: adding VLAN 0 to HW filter on device bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.104993] 8021q: VLANs not supported on bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.355777] 8021q: VLANs not supported on bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.514515] 8021q: VLANs not supported on bond1
To fix above error, add these entries to /etc/sysctl.conf:
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
sysctl -p
I'm close but still have some error:
bond1: Warning: the permanent HWaddr of eth2 - 00:15:17:27:f0:92 - is still in use by bond1. Set the HWaddr of eth2 to a different address to avoid conflicts.
root@prox13:~# ifconfig | grep -A 1 HWaddr
bond1 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
inet6 addr: fe80::215:17ff:fe27:f092/64 Scope:Link
--
eth0 Link encap:Ethernet HWaddr 00:1b:21:3a:7d:78
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
--
eth2 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
--
eth3 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
--
vmbr0 Link encap:Ethernet HWaddr 00:1b:21:3a:7d:78
inet addr:192.168.125.13 Bcast:192.168.125.255 Mask:255.255.255.0
--
vmbr1 Link encap:Ethernet HWaddr aa:97:37:49:c9:45
inet6 addr: fe80::a897:37ff:fe49:c945/64 Scope:Link
QUESTION:
1. I noticed that bond1, eth2 and eth3 uses the same MAC address. Is this normal behavior due to Bonded interface?
2. I still can't ping vmbr1 IP address. And ifconfig shows no ip address even it was configured in the /etc/network/interfaces. How can I fix this?
3. Any comment with the config posted above? Pls, pls?
I'm stuck now for 3days and is losing direction. I'll appreciate any help please.
Many thanks in advance.
I have a problem configuring BONDED VLAN using vSwitch on Proxmox 3.3. I can see all the interfaces as ACTIVE and ifconfig indeed show that they are up and running. I have searched thoroughly Proxmox site and Googled for a couple of days but did not find exactly what I'm looking for. However, I made some progress and hopefully might help someone in the future.
I posted the Screenshot of the GUI just in case someone with the same problem can relate to it and be able to solve it.
Here's the /etc/network/interfaces
# network interface settings
auto vlan10
iface vlan10 inet manual
vlan_raw_device bond1
auto vlan100
iface vlan100 inet manual
vlan_raw_device bond1
auto vlan125
iface vlan125 inet manual
vlan_raw_device bond1
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto eth2
iface eth2 inet manual
bond-master bond1
auto eth3
iface eth3 inet manual
bond-master bond1
auto bond1
allow-vmbr1 bond1
iface bond1 inet manual
ovs_bonds eth2 eth3
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options lacp=active bond_mode=balance-slb
auto vmbr0
iface vmbr0 inet static
address 192.168.125.13
netmask 255.255.255.0
gateway 192.168.125.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
allow-ovs vmbr1
iface vmbr1 inet static
address 192.168.100.222
netmask 255.255.255.0
broadcast 192.168.100.255
ovs_type OVSBridge
ovs_ports bond1
You will get this error because bond1 "Recieved a packet with it's own address" errors.
Oct 13 13:34:28 prox13 kernel: [ 2409.104092] 8021q: adding VLAN 0 to HW filter on device bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.104993] 8021q: VLANs not supported on bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.355777] 8021q: VLANs not supported on bond1
Oct 13 13:34:28 prox13 kernel: [ 2409.514515] 8021q: VLANs not supported on bond1
To fix above error, add these entries to /etc/sysctl.conf:
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
sysctl -p
I'm close but still have some error:
bond1: Warning: the permanent HWaddr of eth2 - 00:15:17:27:f0:92 - is still in use by bond1. Set the HWaddr of eth2 to a different address to avoid conflicts.
root@prox13:~# ifconfig | grep -A 1 HWaddr
bond1 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
inet6 addr: fe80::215:17ff:fe27:f092/64 Scope:Link
--
eth0 Link encap:Ethernet HWaddr 00:1b:21:3a:7d:78
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
--
eth2 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
--
eth3 Link encap:Ethernet HWaddr 00:15:17:27:f0:92
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
--
vmbr0 Link encap:Ethernet HWaddr 00:1b:21:3a:7d:78
inet addr:192.168.125.13 Bcast:192.168.125.255 Mask:255.255.255.0
--
vmbr1 Link encap:Ethernet HWaddr aa:97:37:49:c9:45
inet6 addr: fe80::a897:37ff:fe49:c945/64 Scope:Link
QUESTION:
1. I noticed that bond1, eth2 and eth3 uses the same MAC address. Is this normal behavior due to Bonded interface?
2. I still can't ping vmbr1 IP address. And ifconfig shows no ip address even it was configured in the /etc/network/interfaces. How can I fix this?
3. Any comment with the config posted above? Pls, pls?
I'm stuck now for 3days and is losing direction. I'll appreciate any help please.
Many thanks in advance.
Attachments
Last edited: