You are not logged in.

#1 2009-03-13 18:06:35

fnbisson
Member
Registered: 2008-01-16
Posts: 9

Nic bonding with Bridged interface

Hi folks,

I have one VirtualBox server. I installed two NIC card in my server, for bonding purpose. I need to set up the bond0 interface in bridge mode to share my NIC card to my Guest VMs.


So I make this first : http://wiki.archlinux.org/index.php/Con … rk#bonding

Secondly, I installed brctl-utils to create my bridge.

brctl addbr br0
ifconfig bond0 0.0.0.0
brctl addif br0 bond0
ifconfig br0 x.x.x.x netmask x.x.x.x

My rc.conf looks like this :

eth0="eth0 up"
eth1="eth1 up"
bond0="bond0 up"
br0="br0 10.0.0.45 netmask 255.255.255.0 up"
INTERFACES=(lo eth0 eth1 bond0 br0)

My /etc/conf.d/bonding

bond_bond0="eth0 eth1"
BOND_INTERFACES=(bond0)

My /etc/conf.d/bridges

bridge_br0="bond0"
BRIDGE_INTERFACES=(br0)

So with those settings, when I reboot my server, I have a warning that said : Can't add bond0 to bridge br0: Invalid argument

After the boot process, I tried to ping.. and it says : Destination Host Unreachable.

I tried /etc/rc.d/network restart... and everything seems to be working but I have this anoying error :
Illegal operation: The specified slave interface "Eth0" is already a slave Master "bond0", Slave "eth0":Error: Enslave failed
Illegal operation: The specified slave interface "Eth1" is already a slave Master "bond0", Slave "eth1":Error: Enslave failed

I try to ping :
Archlinux ~]# ping www.google.com
PING google.navigation.opendns.com (208.67.217.231) 56(84) bytes of data.
64 bytes from google.navigation.opendns.com (208.67.217.231): icmp_seq=1 ttl=52 time=59.0 ms
64 bytes from google.navigation.opendns.com (208.67.217.231): icmp_seq=1 ttl=52 time=59.0 ms (DUP!)
64 bytes from google.navigation.opendns.com (208.67.217.231): icmp_seq=2 ttl=52 time=75.9 ms
64 bytes from google.navigation.opendns.com (208.67.217.231): icmp_seq=2 ttl=52 time=76.0 ms (DUP!)

So I need to fix all those bugs

Thanks for your help

Frank !

Offline

Board footer

Powered by FluxBB