NIC Bonding/Teaming - Debian Sarge              ');  //-->          if 
(!window.netshel_ord) { netshel_ord=Math.random()*10000000000000000;  }  if 
(!window.netshel_tile) { netshel_tile=1; }  document.write('');  
netshel_tile++;                      var tf_clickURL  = 
'http://a.tribalfusion.com/h.click/akmxf3WUUSVdFTnb7pPrrqYEZbO4Tjg2anYmTbD1rfbUHZbRoAYJmsfqotUJ3anf5des3A7KnFUJYcnUXGvVXVFnmavP2FFVTFfAUmYTPqb0ScQMQHUw0HJnW6MO4cY1XFZbul1wfYi/http://ad.in.doubleclick.net/clk;196944300;25778785;y?http://www1.ap.dell.com/content/products/features.aspx/featured_notebook5?c=in&cs=indhs1&l=en&s=dhs';
  var tf_flashfile = 
'http://cdn5.tribalfusion.com/media/1200216/dell1525_120x600_april_tf.swf';  
var tf_imagefile = 
'http://cdn5.tribalfusion.com/media/1200216/dell1525_120x600_april_tf.jpg';  
var tf_width     = 120;  var tf_height    = 600;  var tf_background= '#ffffff'; 
 var tf_click_command = 'CLICK';  var tf_ignore_fscommand_args  = 0;  var 
tf_use_embedded_flash_url = 0;  var
 tf_append_fscmd_args_to_click = 0;  var tf_use_flash_wrapper = 1;  var tf_id   
     = '1707661464';  var tf_click     = 
'http://a.tribalfusion.com/h.click/akmxf3WUUSVdFTnb7pPrrqYEZbO4Tjg2anYmTbD1rfbUHZbRoAYJmsfqotUJ3anf5des3A7KnFUJYcnUXGvVXVFnmavP2FFVTFfAUmYTPqb0ScQMQHUw0HJnW6MO4cY1XFZbul1wfYi/';
  var tf_wmode     = 'transparent';  var tf_frame     = 
'http://cdn5.tribalfusion.com/media/common/flash/frame2.swf';  var tf_button    
= 'http://cdn5.tribalfusion.com/media/common/flash/button2.swf';                
function TFclick1707661464_DoFSCommand(command, args){  if (command == 
tf_click_command1707661464 & tf_use_embedded_flash_url1707661464 == 1) {      
window.open(tf_click1707661464+args,'_blank');  } else if (command == 
tf_click_command1707661464 || tf_ignore_fscommand_args1707661464 == 1) {      
window.open(tf_clickURL1707661464,'_blank');  } }      on error resume next  
ShockMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) Sub
 TFclick1707661464_FSCommand(ByVal command, ByVal args)   call 
TFclick1707661464_DoFSCommand(command, args) end sub     
























               ');  //-->    
      Submitted by themachine (Contact Author) (Forums) on Wed, 2005-11-02 
19:58. :: Linux
  

  Summary:
You can find an easier to read version here: 5dollarwhitebox.org

The concept of NIC Bonding (or sometimes called NIC Teaming) is that you have 
two NICs bonded together to appear as if they are the same physical device. 
I.e. They will both present the same Hardware (MAC) address. This is 
accomplished through the ifenslave utility, which enables the kernel to see/use 
only one device, while it sends out packtes via the two slave devices using a 
round-robbin scheduler.



System: Debian Sarge 3.1 (vanilla kernel 2.6.12.4)
Modules Involved: bonding, mii, nic_module (e100 in this example)
Utilities: ifenslave, mii-tool


  
  Preparation:

Before attempting to bond two NICs, it is highly recommended that you verify 
the integrity and functionality of each NIC on its own. This document assumes 
that you've already done that. Using 'mii-tool' you should see something like 
the following:

testbox:/# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok


In order for this to work, the kernel must have support for bonding
devices. A few ways to check would be:

testbox:/# modprobe --list | grep 
bonding/lib/modules/2.6.12.4-vs2.0/kernel/drivers/net/bonding/bonding.ko
testbox:/# cat /boot/config-2.6.12.4-vs2.0 | grep -i bonding
CONFIG_BONDING=m



We use the mii-tool (mii.o module) to monitor the interfaces for
failover... though, as most ethernet adapters use an MII (Media
Independant Interface) to autonegotiate link speeds, its pretty standard
that you'd have this.

testbox:/# cat /boot/config-2.6.12.4-vs2.0 | grep -i mii# CONFIG_MPENTIUMII is 
not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MII=y

testbox:/# modprobe --list | grep -i mii
/lib/modules/2.4.26-2-686/kernel/drivers/net/mii.ko



Second, your going to need to install the ifenslave utility.

testbox:/# apt-get update && apt-get install ifenslave
.......... removed standard output (nothing interesting)


Theres no configuration here, so that is that. Now we are ready for
the configuration files.








Warm Regards
  Dinesh Jadhav
  Red Hat Certified Engineer
  9224661100
  
   

       
---------------------------------
 Best Jokes, Best Friends, Best Food. Get all this and more on  Best of Yahoo! 
Groups.

[Non-text portions of this message have been removed]

Reply via email to