EFW Support

Support => General Support => Topic started by: McFuzz on Saturday 05 March 2011, 05:43:19 pm



Title: Bonding interfaces in 2.4.1
Post by: McFuzz on Saturday 05 March 2011, 05:43:19 pm
Hi all!

I have two LAN devices - an embedded Marvell based NIC and a PCI Intel NIC (Pro/1000 Pro) that are on the "Green" zone (third device on the Red zone).

I'd like to bond them but would like some guidance... anyone done this before?

Thanks!


Title: Re: Bonding interfaces in 2.4.1
Post by: sree on Tuesday 08 March 2011, 12:47:39 am
We all are waiting for this for a long time till all the releases.
Hope Endian will launch it soon.


Regards,
Sree


Title: Re: Bonding interfaces in 2.4.1
Post by: mrkroket on Friday 11 March 2011, 09:57:16 am
I did some time ago....

Just create a file named
/var/efw/ethernet/bond0
Edit it and add the interfaces you want to bond, one on each line.
eth0
eth1
etc....
Save that file.

Edit the /var/efw/ethernet/br0 file and replace your old green interface for the new one (bond0). If your bond go to Orange edit the br1 file instead, or br2 for blue.
Restat and Voila! You should see your bond on GUI.
You can even have VLANs on top of the bonded interfaces (that I think you can create in GUI), and link each zone to a VLAN (on top of the bond0)

If you want to fine tuning your bond options, check the script
/etc/rc.d/rc.bondconfig
There you can edit the bond options. I changed the bond mode on the line:
modprobe bonding mode=balance-xor miimon=100 downdelay=2000 updelay=5000 max_bonds=$BONDCOUNT
to
modprobe bonding mode=802.3ad miimon=100 downdelay=2000 updelay=5000 max_bonds=$BONDCOUNT

To use the 802.3ad bonding mode.


Title: Re: Bonding interfaces in 2.4.1
Post by: sree on Monday 14 March 2011, 06:30:51 pm
Hi mrkroket,
Have u tried this in a production enviorment, I mean any bugs and issues for this configuration.

Regards,
Sree.