AW: etherchannel

Rene Storm rene.storm at emplics.com
Tue Jul 8 06:42:16 EDT 2003


Hi,

Take a look at /usr/share/doc/kernel-doc-2.4.18/networking/bonding.txt (at RH 7.3, don't know for higher versions)
You will have to recompile ifenslave for network-trunking.
This will result in a higher bandwidth, but your latency will grow (don't do that for mpich jobs, won't perform).

Before starting to configure I would do some benches (ping, Pallas), cause latency gets really worse.

greetings Rene



########################################################################
To install ifenslave.c, do:
    # gcc -Wall -Wstrict-prototypes -O -I/usr/src/linux/include ifenslave.c -o ifenslave
    # cp ifenslave /sbin/ifenslave

3) Configure your system
------------------------
Also see the following section on the module parameters. You will need to add
at least the following line to /etc/conf.modules (or /etc/modules.conf):

        alias bond0 bonding

Use standard distribution techniques to define bond0 network interface. For
example, on modern RedHat distributions, create ifcfg-bond0 file in
/etc/sysconfig/network-scripts directory that looks like this:

DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

(put the appropriate values for you network instead of 192.168.1).

All interfaces that are part of the trunk, should have SLAVE and MASTER
definitions. For example, in the case of RedHat, if you wish to make eth0 and
eth1 (or other interfaces) a part of the bonding interface bond0, their config
files (ifcfg-eth0, ifcfg-eth1, etc.) should look like this:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

(use DEVICE=eth1 for eth1 and MASTER=bond1 for bond1 if you have configured
second bonding interface).

Restart the networking subsystem or just bring up the bonding device if your
administration tools allow it. Otherwise, reboot. (For the case of RedHat
distros, you can do `ifup bond0' or `/etc/rc.d/init.d/network restart'.)

If the administration tools of your distribution do not support master/slave
notation in configuration of network interfaces, you will need to configure
the bonding device with the following commands manually:

    # /sbin/ifconfig bond0 192.168.1.1 up
    # /sbin/ifenslave bond0 eth0
    # /sbin/ifenslave bond0 eth1
#####################################################



-----Ursprüngliche Nachricht-----
Von: Jyh-Shyong Ho [mailto:c00jsh00 at nchc.gov.tw] 
Gesendet: Dienstag, 8. Juli 2003 06:58
An: beowulf at beowulf.org
Betreff: etherchannel


Hi,

Does anyone know how to set up and configure etherchannel
on Linux system? 

I have a motherboard has two Broadcom gigabit ports, and 
a 24-port SMC Gigabit TigerSwitch which also has Broadcom
chip on it. Both support IEEE 802.3ad protocol which allows
to combine two physical LAN ports into a logical one and
double the bandwitch.There are several name for such feature, etherchannel is just one of them.

I wonder if anyone has try this on a Linux system, say
SuSE Enterprise Server 8 or RedHat 9 ? any help or suggestion 
will be appreciated.

Best Regards

Jyh-Shyong Ho, PhD.
Research Scientist
National Center for High-Performance Computing
Hsinchu, Taiwan, ROC _______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list