Menu

how do I test mode 4 (802.3ad)

Help
2004-03-30
2013-06-06
  • Anil V Gangur

    Anil V Gangur - 2004-03-30

    I want to test 802.3ad in bonding.
    Please provide me the details how to to do the LACP settings, bonding settings etc.
    I want to do the teaming between four ports.

     
    • spacetiller

      spacetiller - 2005-06-24

      Just do as the bonding readme file tell you.Ifenslave bond0 eth0;Ifenslave bond0 eth1,etc. But I don't think my words will benefit you any more.Anyway, one year later.

       
    • marcus

      marcus - 2005-11-17

      here is my config... RedHat ES 3.0... If this could help someone...

      = = = = =
      cat /etc/sysconfig/network-scripts/ifcfg-eth0
      DEVICE=eth0
      USERCTL=no
      ONBOOT=yes
      MASTER=bond0
      SLAVE=yes
      BOOTPROTO=none
      NOZEROCONF=yes

      cat /etc/sysconfig/network-scripts/ifcfg-eth1
      DEVICE=eth1
      USERCTL=no
      ONBOOT=yes
      MASTER=bond0
      SLAVE=yes
      BOOTPROTO=none
      NOZEROCONF=yes

      cat /etc/sysconfig/network-scripts/ifcfg-bond0
      DEVICE=bond0
      IPADDR=10.20.30.40
      NETMASK=255.255.255.0
      NETWORK=10.20.30.0
      BROADCAST=10.20.30.255
      GATEWAY=10.20.30.254
      ONBOOT=yes
      BOOTPROTO=static
      NOZEROCONF=yes
      USERCTL=no

      cat /etc/modules.conf
      alias bond0 bonding
      alias eth0 tg3
      alias eth1 tg3
      options bonding mode=4 miimon=100
      probeall bond0 eth0 eth1 bonding

      cat /proc/net/bonding/bond0                   
      Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)

      Bonding Mode: IEEE 802.3ad Dynamic link aggregation
      MII Status: up
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0

      802.3ad info
      LACP rate: slow
      Active Aggregator Info:
              Aggregator ID: 1
              Number of ports: 2
              Actor Key: 9
              Partner Key: 1
              Partner Mac Address: 00:0a:b7:4f:d3:c0

      Slave Interface: eth0
      MII Status: up
      Link Failure Count: 0
      Permanent HW addr: 00:14:38:be:d7:49
      Aggregator ID: 1

      Slave Interface: eth1
      MII Status: up
      Link Failure Count: 0
      Permanent HW addr: 00:14:38:be:d7:48
      Aggregator ID: 1

      = = = = =

       

Log in to post a comment.