Re: Create bonded interfaces

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

 



On Thu, 2006-10-19 at 17:16 -0400, Mark Haney wrote:
> Marc wrote:
> > google for 'ethernet channel bonding'....commands should be the same 
> > as RHEL. 
> >
> > Never done this in FC.  Is this a clustered environment as in GFS/RHCS? 
> >
> > Marc
> >
> > On 10/19/06, **
> Nope, it's just a dual Opteron SAN server with 2 dual port Gbit NICs.
> 
> It worked on the upgrade to FC4, I just wanted to set it up again since 
> I just freshly installed FC5.

You simply configure the slaves in /etc/sysconfig/network-scripts:

/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
SLAVE=yes
MASTER=bond0

/etc/sysconfig/network-scripts/ifcfg-eth1:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
SLAVE=yes
MASTER=bond0

And set up your bond device:

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
BONDING_MASTER=yes
BONDING_SLAVE0=eth0
BONDING_SLAVE1=eth1
IPADDR=www.xxx.yyy.zzz
NETMASK=aaa.bbb.ccc.ddd

Edit /etc/modprobe.conf and add these lines if they're not already
there:

	alias bond0 bonding
	options bond0 mode=mode-string miimon=100

"mode-string" is one of the available mode strings:

	balance-rr ("0"): Balanced round-robin (default)
	active-backup ("1"): Active-passive failover
	balance-xor ("2"): Use transmit hash algorithm
	broadcast ("3"): Broadcast (transmit on all slaves)
	802.3ad ("4"): Use dynamic link aggregation
	balance-tlb ("5"): Transmit load balance based on NIC load
	balance-alb ("6"): Adaptive load balance

(you can use the number in the parenthesis instead of the string, e.g.
"mode=2").

Then "service network restart" and it should be alive and kicking in
whatever mode you specified.

This is all described in the

	/usr/share/doc/kernel-doc*/Documentation/networking/bonding.txt

file if you installed the kernel-doc RPM.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    I don't suffer from insanity...I enjoy every minute of it!      -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux