OpenVZ Forum


Home » General » Support » Bonding eth0 and eth1 and use vlans in VE's does not work
Bonding eth0 and eth1 and use vlans in VE's does not work [message #43187] Thu, 04 August 2011 12:03 Go to previous message
Gerard64 is currently offline  Gerard64
Messages: 6
Registered: August 2011
Location: Eijsden / The Netherlands
Junior Member
Wen I use vlans in VE's without bonding eth0 and eth1 vlans are working. Wen I bond eth0 and eth1 I can't get an ip from dhcp, the vlan device is not reaching the outside anymore. Wen I remove eth0 or eth1 from the bond0 it is working again.

In 2006 there was a bond driver patch (Sorry can't post any links yet) for this problem and in openvz 2.6.17 it was build in accrding to this post? (Sorry can't post any links yet).

Does anybody know how i can fix this? I'm running openvz 2.6.32-5 debian 6 squeeze on host system and in VE's.

This is my /etc/network/interfaces file:

auto bond0
iface bond0 inet manual
up ifconfig bond0 0.0.0.0 up
# slaves eth0 eth1
slaves eth0
bond_mode balance-rr
# bond_mode balance-tlb
# bond_mode active-backup
bond_miimon 100
bond_downdelay 200
bond_updelay 200

auto vmbr0
iface vmbr0 inet static
address 192.168.166.4
netmask 255.255.255.224
network 192.168.166.0
broadcast 192.168.166.31
gateway 192.168.166.1
bridge_ports bond0
bridge_fd 0
bridge_stp off
 
Read Message
Read Message
Previous Topic: Upgrade VM Debian Lenny to Squeeze
Next Topic: kernel-debuginfo
Goto Forum:
  


Current Time: Mon Sep 16 07:16:08 GMT 2024

Total time taken to generate the page: 0.04110 seconds