NIC Teaming

Aggarwal Vivek-Q4997C Q4997C at motorola.com
Thu Mar 27 10:52:13 UTC 2008


Hi Gerard

Thanks for the information. 

I am running one problem, ping is running when both eth0 and eth1 ports
are up but as soon as Eth1 port is shut ping is running. But its not
working when eth0 port is shut

Can you help me in this 

Regards
Vivek Aggarwal

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Gerrard Geldenhuis
Sent: Thursday, March 27, 2008 3:52 PM
To: General Red Hat Linux discussion list
Subject: RE: NIC Teaming

Hi Vivek,
It is also called bonding which might yield better results in google.

It is actually very simple:
Create a new file called ifcfg-bond0 in /etc/sysconfig/network-scripts/
with the following data inside:
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
IPADDR=Your ip here
NETMASK=Your netmask here

In the interface that you want as part of the bond edit the appropriate
file. For example ifcfg-eth0 and ifcfg-eth2 which can also be found in
/etc/sysconfig/network-scripts/

You should edit out the ip address and netmask. Make sure the bootproto
is none, keep the hardware address, add slave=yes and add master=bond0

DEVICE=eth0
BOOTPROTO=none
HWADDR=AA:AA:C4:BE:AA:AA
ONBOOT=yes
TYPE=Ethernet
SLAVE=yes
MASTER=bond0

Lastly edit /etc/modprobe.conf and add the following lines:
alias bond0 bonding
options bond0 mode=active-backup primary=eth0 miimon=5

the miimon for our use is very low and you might want to make it a bit
higher

Also read:
http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Document
ation/networking/bonding.txt

look for the documentation on this page:
http://sourceforge.net/projects/bonding/

Regards


> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-
> bounces at redhat.com] On Behalf Of Aggarwal Vivek-Q4997C
> Sent: 27 March 2008 09:47
> To: redhat-list at redhat.com
> Subject: RE: NIC Teaming
> 
> 
> 
> 
> 
> Hi
> 
> 
> 
> Can anybody help me providing the configuration of NIC Teaming. I have
2
> NIC Cards and I want to run them in active standby configuration
> 
> 
> 
> Regards
> 
> Vivek Aggarwal
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list