Hi
The two switches need to be aware that the interfaces is bonded.
Normally there is a thick cable running between the swithces. Config
will differ from manufacture to manufacturer.

I have copied settings from a kickstart file that is used to setup
bonding, specifically failover bonding.

#EXTRA_CONFIG_ETH_BONDING

# convert ethernet interfaces to bonded setup
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /root/ifcfg-eth0old
cp /etc/sysconfig/network-scripts/ifcfg-eth1 /root/ifcfg-eth1old
cp /etc/modprobe.conf /etc/modprobe.conf.old
cat /etc/sysconfig/network-scripts/ifcfg-eth0 |sed -e 's/eth0/bond0/' -e
's/HWADDR/#HWADDR/' > /etc/sysconfig/network-scripts/ifcfg-bond0

cat >/etc/sysconfig/network-scripts/ifcfg-eth0<<EOF
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
EOF

cat >/etc/sysconfig/network-scripts/ifcfg-eth1<<EOF
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
EOF

cat >>/etc/modprobe.conf<<EOF
alias bond0 bonding
options bond0 mode=1 primary=eth0 miimon=100
EOF

Regards


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:rhelv5-list-
> [EMAIL PROTECTED] On Behalf Of wolf2k5
> Sent: 24 January 2008 12:18
> To: [email protected]
> Subject: Re: [rhelv5-list] Linux Ethernet bonding and VLANs
> 
> Hi,
> 
> I'm seeking more reliability and I'm planning to connect each of the
> two NICs to a different network switch.
> 
> What Linix bonding more should I use for that?
> 
> Do I need any special settings on the two switches?
> 
> Thanks.
> 
> On Jan 23, 2008 8:28 PM, Jussi Silvennoinen
> <[EMAIL PROTECTED]> wrote:
> > Be sure to check portchannel capabilities of your switch before
> > proceeding. Are you seeking more bandwidth or reliability?
> 
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to