NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

mohankri's avatar
mohankri
Aspirant
Aug 08, 2016

XS712T problem 802.3ad LAG/LACP

Hi,

  I'm setting 2 Linux box(BOXA, BOXB) with dual port Nic and 1 XS71T switch.

BOXA  : I create bond0 and made appropriate changes(LAG: port0, port1) to XS712T

 

BOXA and BOXB can ping each other.

 

So far good..

 

I create bond0 on BOXB and made appropriate changes(LAG: port2, port3) on XS712T.

 

We are unable to communicate when bond interface is created on BOXB along configuration changes on the switch.

 

Hence, I'm wondering what mistake I'm doing when settting up the  2nd LAG on XS71T.

 

Any help really appreciated.

 

Thanks

Krishna

 

2 Replies

  • AlexPe's avatar
    AlexPe
    NETGEAR Expert

    Hi Krishna,

     

    What LAG type are you doing? Are you doing LAG LACP? Or Static LAG? What vlans are configured? Are the LAGS participating in the same vlan?

     

    AlexPe

    • mohankri's avatar
      mohankri
      Aspirant

      Hi Alex,

           Sorry for the late response as switch was busy for other ongoing testing.

           Really appreciate you help and guidance to resolve this issue for us.

       

           We are using Static LAG. We didn't do any VLAN setup as I'm assuming it's not required.

       

      Let me share complete configuration

      ============================

      On Linux1

      /etc/network/interfaces

       

      auto eth2

      iface eth2 inet manual

      bond-master bond0

       

      auto eth3

      iface eth3 inet manual

      bond-master bond0

       

      auto bond0

      iface bond0 inet static

          pre-up ifconfig bond0 up

          up /sbin/ifenslave bond0 eth2 eth3

          down /sbin/ifenslave -d bond0 eth2 eth3

          address 192.168.0.156

          gateway 192.168.0.1

          netmask 255.255.255.0

          broadcast 192.168.0.255

          slaves eth2 eth3

      #   bond-mode balance-rr

      #   bond-mode 802.3ad

          #bond-mode active-backup

          bond-mode 4

          bond-lacp-rate 1

          bond-miimon 100

          bond-slaves none

       

      on switch 

      =======

      Swithing -> LAG

              Select LAG ID (Ch 1)

       

      LAG ID: l1

      Admin Mode: Enable

      STP Mode: Enable

      Link Trap : Enable

      LAG Type: Static

      Active Port: xg11, xg12

      LAG State: Link Up

       

      bond0 comes up and I'm able to ping linux2

       

      Setup linux2

      =========

      /etc/network/interfaces

       

      auto eth2

      iface eth2 inet manual

      bond-master bond0

       

      auto eth3

      iface eth3 inet manual

      bond-master bond0

       

      auto bond0

      iface bond0 inet static

        pre-up ifconfig bond0 up

        up /sbin/ifenslave bond0 eth2 eth3

        down /sbin/ifenslave -d bond0 eth2 eth3

        address 192.168.0.157

        gateway 192.168.0.1

        netmask 255.255.255.0

        broadcast 192.168.0.255

        slaves eth2 eth3

        #   bond-mode balance-rr

        #   bond-mode 802.3ad

        #bond-mode active-backup

        bond-mode 4

        #    bond-lacp-rate 1

        bond-miimon 100

        #bond-slaves none

       

      On switch

      ========

      Switch -> LAG

              Select LAG ID (Ch 2)

       

      LAG ID: l2

      Admin Mode: Enable

      STP Mode: Enable

      Link Trap: Enable

      LAG Type: Static

      Active Port: xg1, xg2

      LAG State : Link Up

       

       

      As soon as the above configuration is applied on the switch ping stops...

       

      Reboot Linux 2 ping stills doesn't work, though bond0 interface on both the machine are up and running

       

      $ sudo ethtool bond0

      [sudo] password for hcd:

      Settings for bond0:

      Supported ports: [ ]

      Supported link modes:   Not reported

      Supported pause frame use: No

      Supports auto-negotiation: No

      Advertised link modes:  Not reported

      Advertised pause frame use: No

      Advertised auto-negotiation: No

      Speed: 10000Mb/s

      Duplex: Full

      Port: Other

      PHYAD: 0

      Transceiver: internal

      Auto-negotiation: off

      Link detected: yes

       

       

      $ ifconfig bond0

      bond0     Link encap:Ethernet  HWaddr a0:36:9f:3e:4b:84 

                inet addr:192.168.0.157  Bcast:192.168.0.255  Mask:255.255.255.0

                inet6 addr: fe80::a236:9fff:fe3e:4b84/64 Scope:Link

                UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

                RX packets:131 errors:0 dropped:0 overruns:0 frame:0

                TX packets:187 errors:0 dropped:0 overruns:0 carrier:0

                collisions:0 txqueuelen:1000

                RX bytes:12955 (12.9 KB)  TX bytes:15697 (15.6 KB)

       

       

      Please let me know, if you need any additional information.

       

      Thanks

      Krishna

       

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More