RE: NIC Teaming



Leaving the values won't confuse the bonding driver. I leave them
specifically because that helps to tie down interface so they are always
the same. eth0 will thus always be the same physical interface and so
on.

Can you point me to the documentation that supports removing hwaddr
lines... It is also likely that the manipulation of configuration files
differs from distro to distro...

The bonding driver documentation states that you can specify options for
the bond interface in the ifcfg-bondX file but that has not been the
case for me. I still have to specify options in the /etc/modprobe.conf
file.

Regards

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of Michael Simpson
Sent: 31 March 2008 13:35
To: General Red Hat Linux discussion list
Subject: Re: NIC Teaming

On 3/27/08, Gerrard Geldenhuis <Gerrard.Geldenhuis@xxxxxxxxxxxx>
wrote:
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


Hi there

i thought that you were meant to remove the HWADDR= lines from
ifcfg-eth0 and ifcfg-eth1 as bonding manipulates these values to make
the necessary arp magic work.

the documentation seems to support this view.

mike

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

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



Relevant Pages

  • Re: Complicated networking problem
    ... > then look into bonding driver in failover mode with wired interface as ... I did not think linux would be that rigid. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Complicated networking problem
    ... > then look into bonding driver in failover mode with wired interface as ... I did not think linux would be that rigid. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Problem with 2.4.24 e1000 and keepalived
    ... > active interface. ... of the interface was usable by the bonding driver, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)