NIC Bonding On Debian Lenny
NIC Bonding On Debian LennyEthernet bonding refers to aggregating multiple ethernet channels together to form a single channel. This is primarily used for redundancy in ethernet paths or for load balancing. This page refers in particular to performing ethernet bonding under Linux, and so does not limit itself to discussion of 802.3ad Trunk Aggregation.
Ethernet Bonding TypesThe Linux kernel bonding module supports a number of bonding types. mode=0 (balance-rr) mode=1 (active-backup) One slave interface is active at any time. If one interface fails, another interface takes over the MAC address and becomes the active interface. Provides fault tolerance only. Doesn’t require special switch support mode=2 (balance-xor) Tranmissions are balanced across the slave interfaces based on ((source MAC) XOR (dest MAC)) modula slave count. The same slave is selected for each destination MAC. Provides load balancing and fault tolerance. mode=3 (broadcast) Transmits everything on all slave interfaces. Provides fault tolerance. mode=4 (802.3ad) This is classic IEEE 802.3ad Dynamic link aggregation. This requires 802.3ad support in the switch and driver support for retrieving the speed and duplex of each slave. mode=5 (balance-tlb) Adaptive Transmit Load Balancing. Incoming traffic is received on the active slave only, outgoing traffic is distributed according to the current load on each slave. Doesn’t require special switch support mode=6 (balance-alb) Adaptive Load Balancing - provides both transmit load balancing (TLB) and receive load balancing for IPv4 via ARP negotiation. Doesn’t require special switch support, but does require the ability to change the MAC address of a device while it is open.
Set Up Bonding Ethernet on DebianTo use Bonding Ethernet for High-Availability (fail-over) on Debian Lenny you need to: Install package ifenslave-2.6. To install this package follow this command: #apt-get install ifenslave-2.6 Make sure the real NICs kernel modules are loaded automatically. Edit /etc/network/interfaces to look like this: iface bond0 inet static Comment or borrow the lines referring to your real NICs in the same file. Add the following lines to your /etc/modprobe.d/arch/i386: alias bond0 bonding options bonding mode=5 miimon=100 downdelay=200 updelay=200 Make sure you change your mode! Then restart your networking: #/etc/init.d/networking restart
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th







Recent comments
15 hours 10 min ago
18 hours 47 min ago
20 hours 44 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 13 hours ago
1 day 18 hours ago