Network Teaming / Bonding
Smith, Albert
Albert.Smith at genexservices.com
Wed Aug 3 20:15:17 UTC 2005
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Byther, James
> Sent: Wednesday, August 03, 2005 4:05 PM
> To: 'redhat-list at redhat.com'
> Subject: Network Teaming / Bonding
>
>
> Has anyone been able to configure teaming or bonding on AS
> 3.0 using a Broadcom 5700 adapter to accept "TWO" ip
> addresses on an untagged vlan??
>
> I want to team or bond two interfaces and have the virtual
> interface respond to two untagged IP addresses.
>
> I've tried the "basp" driver and it ignores the second
> virtual interface unless there is a vlan set.
> I haven't have much luck with the bonding driver either..
>
> Any help would be greatly appreciated..
>
> Jim B.
>
>
>
>
>
>
Matter of fact I setup the bonding today but not for the usual of
virtual addressing but it should work the same though
vi /etc/modules.conf
Add
alias bond0 bonding
options bond0 mode=1 miimon=2
Reboot
lsmod |grep bond
and you should see the bonding module loaded
Then
cd /etc/sysconfig/network-scripts
touch ifcfg-bond0
touch ifcfg-bond0:1
ifcfg-bond0 = your primary address
ifcfg-bond0:1 = secondary address
vi ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
IPADDR=x.x.x.x
NETMASK=x.x.x.x
NETWORK=x.x.x.x
ONBOOT=yes
USERCTL=no
vi ifcfg-bond0:1
DEVICE=bond0:1
BOOTPROTO=none
IPADDR=x.x.x.x
NETMASK=x.x.x.x
NETWORK=x.x.x.x
ONBOOT=yes
USERCTL=no
vi ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no
ONBOOT=yes
vi ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no
ONBOOT=yes
vi ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=none
MASTER=bond0:1
SLAVE=yes
USERCTL=no
ONBOOT=yes
vi ifcfg-eth1:1
DEVICE=eth1:1
BOOTPROTO=none
MASTER=bond0:1
SLAVE=yes
USERCTL=no
ONBOOT=yes
service network stop
ifconfig eth0 down
ifconfig eth1 down
service network restart
You should see the bonding interface come up. Check your dmesg, ethtool
and syslog and you should be ok.
Albert Smith
Sr. Unix Systems Administrator
HPCSA, RHCT
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert.smith at genexservices.com
(610) 964-5154
More information about the redhat-list
mailing list