RE: Network Teaming / Bonding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx 
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Byther, James
> Sent: Wednesday, August 03, 2005 4:05 PM
> To: 'redhat-list@xxxxxxxxxx'
> 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@xxxxxxxxxxxxxxxxx
(610) 964-5154


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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux