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

Forum Discussion

no1dea's avatar
no1dea
Aspirant
Feb 08, 2022
Solved

inefficient Setup Layer 2+3 LAG with XS712Tv2 and Qnap NAS

Hi together
wanted to have better speeds when many users accessing files on a qnap NAS ( TVS-872XT + QXG-10G2T-107 ).
So I activated Link Aggregation. But in almost all cases the connections run on the same Link. So when i want to download two file simultaneously from different computers it works with half the speed.
This way all the trunking is worthless.
For setting up the qnap I used this tutorial: https://www.qnap.com/de-de/how-to/tutorial/article/portb%C3%BCndelung-an-ihrem-qnap-nas-zur-steigerung-der-bandbreite-via-802-3ad-protokoll-einrichten
I wanted to set up "Layer 2+3" inside the switch, but there is no such thing like "Layer2+3", as you can see in the attachment.
Is there a setting so the switch is using more likely different Links, when the qnap is sending data.

Thanks for any help

  • Für diesen Zweck sollten sowohl nur l2 wie auch L2+L3 funktionieren.

     

    Frag mal beim QNAP Support in München nach, ob der Virtual Switch und die LACP LAG config möglicherweise ein problem mit dem zusätzlichen dual-port 10g Interface hat. Bin überzeugt sie können dir da helfen, im Moment ist keiner meiner QNAP-Kollegen in Tw erreichbar. 

5 Replies

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    Wir sprechen vom LAG zwischen dem QNAP und dem Switch, an welchem mehrere Computer angeschossen sind.

     


    no1dea wrote:

    So I activated Link Aggregation. But in almost all cases the connections run on the same Link. So when i want to download two file simultaneously from different computers it works with half the speed.


    Denke in Deutsch wird das einfacher. 

     

    Fall A: Mehrere Computer machen gleichzeitige Downloads vom QNAP, also NAS -> PC1, NAS -> PC2, ....

     

    oder

     

    Fall B: Mehrere Computer schreiben gleichzeitig auf das QNAP, also PC1 -> NAS,  PC2 -> NAS, ....

     


    no1dea wrote:

    For setting up the qnap I used this tutorial: https://www.qnap.com/de-de/how-to/tutorial/article/portb%C3%BCndelung-an-ihrem-qnap-nas-zur-steigerung-der-bandbreite-via-802-3ad-protokoll-einrichten


    Diese Richtung (Fall A): Das NAS macht die Verteilung auf die Links.

     


    no1dea wrote:

    I wanted to set up "Layer 2+3" inside the switch, but there is no such thing like "Layer2+3", as you can see in the attachment.
    Is there a setting so the switch is using more likely different Links, when the qnap is sending data.


    Diese Richtung (Fall B): Der Switch regelt die Verteilung auf die Links.

     

    Kannst Du mir mal den Inhalt der /proc/net/bonding/bond* vom NAS zeigen (hintere hälfte der MAC auf xx:xx:xx ändern)? Hier ist es ein anderes Modell mit MultiGig/2.5G Ports:

     

    [~] # cat /proc/net/bonding/bond*
    Ethernet Channel Bonding Driver: v5.10.60-qnap

    Bonding Mode: IEEE 802.3ad Dynamic link aggregation
    Transmit Hash Policy: layer2+3 (2)
    MII Status: up
    MII Polling Interval (ms): 100
    Up Delay (ms): 0
    Down Delay (ms): 0
    Peer Notification Delay (ms): 0

    802.3ad info
    LACP rate: slow
    Min links: 0
    Aggregator selection policy (ad_select): stable
    System priority: 65535
    System MAC address: 24:5e:be:xx:xx:xx
    Active Aggregator Info:
    Aggregator ID: 2
    Number of ports: 2
    Actor Key: 11
    Partner Key: 1
    Partner Mac Address: 6c:cd:d6:xx:xx:xx

    Slave Interface: eth1
    MII Status: up
    Speed: 2500 Mbps
    Duplex: full
    Link Failure Count: 2
    Permanent HW addr: 24:5e:be:xx:xx:xx
    Slave queue ID: 0
    Aggregator ID: 2
    Actor Churn State: none
    Partner Churn State: none
    Actor Churned Count: 1
    Partner Churned Count: 1
    details actor lacp pdu:
    system priority: 65535
    system mac address: 24:5e:be:xx:xx:xx
    port key: 11
    port priority: 255
    port number: 1
    port state: 61
    details partner lacp pdu:
    system priority: 32768
    system mac address: 6c:cd:d6:xx:xx:xx
    oper key: 1
    port priority: 128
    port number: 6
    port state: 61

    Slave Interface: eth0
    MII Status: up
    Speed: 2500 Mbps
    Duplex: full
    Link Failure Count: 6
    Permanent HW addr: 24:5e:be:xx:xx:xx
    Slave queue ID: 0
    Aggregator ID: 2
    Actor Churn State: monitoring
    Partner Churn State: monitoring
    Actor Churned Count: 0
    Partner Churned Count: 0
    details actor lacp pdu:
    system priority: 65535
    system mac address: 24:5e:be:xx:xx:xx
    port key: 11
    port priority: 255
    port number: 2
    port state: 61
    details partner lacp pdu:
    system priority: 32768
    system mac address: 6c:cd:d6:xx:xx:xx
    oper key: 1
    port priority: 128
    port number: 5
    port state: 61
    Ethernet Channel Bonding Driver: v5.10.60-qnap

    Bonding Mode: load balancing (round-robin)
    MII Status: down
    MII Polling Interval (ms): 100
    Up Delay (ms): 0
    Down Delay (ms): 0
    Peer Notification Delay (ms): 0
    [~] #

     

    • no1dea's avatar
      no1dea
      Aspirant

      Oh, ich dachte das wäre ein englisches Forum..

      Danke für die Antwort!
      Achso. Ich kenne micht nicht so aus und wusste nicht, was da für das Senden und Empfangen zustänig ist.

      Hier der Inhalt:

      [~] # cat /proc/net/bonding/bond*
      Ethernet Channel Bonding Driver: v5.10.60-qnap

      Bonding Mode: IEEE 802.3ad Dynamic link aggregation
      Transmit Hash Policy: layer2+3 (2)
      MII Status: up
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0

      802.3ad info
      LACP rate: slow
      Min links: 0
      Aggregator selection policy (ad_select): stable
      System priority: 65535
      System MAC address: 24:5e:be:xx:xx:xx
      Active Aggregator Info:
      Aggregator ID: 1
      Number of ports: 2
      Actor Key: 15
      Partner Key: 18
      Partner Mac Address: 28:80:88:xx:xx:xx

      Slave Interface: eth6
      MII Status: up
      Speed: 10000 Mbps
      Duplex: full
      Link Failure Count: 0
      Permanent HW addr: 24:5e:be:xx:xx:xx
      Slave queue ID: 0
      Aggregator ID: 1
      Actor Churn State: none
      Partner Churn State: none
      Actor Churned Count: 0
      Partner Churned Count: 0
      details actor lacp pdu:
      system priority: 65535
      system mac address: 24:5e:be:xx:xx:xx
      port key: 15
      port priority: 255
      port number: 1
      port state: 61
      details partner lacp pdu:
      system priority: 32768
      system mac address: 28:80:88:xx:xx:xx
      oper key: 18
      port priority: 128
      port number: 9
      port state: 61

      Slave Interface: eth5
      MII Status: up
      Speed: 10000 Mbps
      Duplex: full
      Link Failure Count: 0
      Permanent HW addr: 24:5e:be:xx:xx:xx
      Slave queue ID: 0
      Aggregator ID: 1
      Actor Churn State: none
      Partner Churn State: none
      Actor Churned Count: 0
      Partner Churned Count: 0
      details actor lacp pdu:
      system priority: 65535
      system mac address: 24:5e:be:xx:xx:xx
      port key: 15
      port priority: 255
      port number: 2
      port state: 61
      details partner lacp pdu:
      system priority: 32768
      system mac address: 28:80:88:xx:xx:xx
      oper key: 18
      port priority: 128
      port number: 10
      port state: 61
      Ethernet Channel Bonding Driver: v5.10.60-qnap

      Bonding Mode: load balancing (round-robin)
      MII Status: down
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      Ethernet Channel Bonding Driver: v5.10.60-qnap

      Bonding Mode: load balancing (round-robin)
      MII Status: down
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      Ethernet Channel Bonding Driver: v5.10.60-qnap

      Bonding Mode: load balancing (round-robin)
      MII Status: down
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      Ethernet Channel Bonding Driver: v5.10.60-qnap

      Bonding Mode: load balancing (round-robin)
      MII Status: down
      MII Polling Interval (ms): 100
      Up Delay (ms): 0
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      [~] #
      [~] # [~] # cat /proc/net/bonding/bond*

      Bonding Mode: IEEE 802.3ad Dynamic link aggregation
      -sh: [~]: command not found
      [~] # Ethernet Channel Bonding Driver: v5.10.60-qnap
      MII Polling Interval (ms): 100
      -sh: Ethernet: command not found
      [~] #
      [~] # Bonding Mode: IEEE 802.3ad Dynamic link aggregation
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      -sh: Bonding: command not found
      [~] # Transmit Hash Policy: layer2+3 (2)
      -sh: syntax error near unexpected token `('
      [~] # MII Status: up
      802.3ad info
      -sh: MII: command not found
      [~] # MII Polling Interval (ms): 100
      -sh: syntax error near unexpected token `('
      [~] # Up Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Down Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Peer Notification Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] #
      [~] # 802.3ad info
      System priority: 65535
      -sh: 802.3ad: command not found
      [~] # LACP rate: slow
      -sh: LACP: command not found
      [~] # Min links: 0
      -sh: Min: command not found
      System MAC address: 24:5e:be:xx:xx:xx
      Active Aggregator Info:
      [~] # Aggregator selection policy (ad_select): stable
      -sh: syntax error near unexpected token `('
      [~] # System priority: 65535
      Aggregator ID: 1
      -sh: System: command not found
      [~] # System MAC address: 24:5e:be:xx:xx:xx
      -sh: System: command not found
      Actor Key: 15
      [~] # Active Aggregator Info:
      Partner Key: 18
      -sh: Active: command not found
      [~] # Aggregator ID: 1
      -sh: Aggregator: command not found

      [~] # Number of ports: 2
      Slave Interface: eth6
      -sh: Number: command not found
      [~] # Actor Key: 15
      -sh: Actor: command not found
      [~] # Partner Key: 18
      -sh: Partner: command not found
      Link Failure Count: 0
      [~] # Partner Mac Address: 28:80:88:xx:xx:xx
      Slave queue ID: 0
      -sh: Partner: command not found
      [~] #
      [~] # Slave Interface: eth6
      -sh: Slave: command not found
      [~] # MII Status: up
      -sh: MII: command not found
      [~] # Speed: 10000 Mbps
      -sh: Speed:: command not found
      Partner Churned Count: 0
      [~] # Duplex: full
      -sh: Duplex:: command not found
      details actor lacp pdu:
      [~] # Link Failure Count: 0
      system priority: 65535
      -sh: Link: command not found
      [~] # Permanent HW addr: 24:5e:be:xx:xx:xx
      -sh: Permanent: command not found
      port key: 15
      [~] # Slave queue ID: 0
      -sh: Slave: command not found
      port number: 1
      [~] # Aggregator ID: 1
      port state: 61
      -sh: Aggregator: command not found
      [~] # Actor Churn State: none
      -sh: Actor: command not found
      system priority: 32768
      [~] # Partner Churn State: none
      system mac address: 28:80:88:xx:xx:xx
      -sh: Partner: command not found
      [~] # Actor Churned Count: 0
      oper key: 18
      -sh: Actor: command not found
      [~] # Partner Churned Count: 0
      -sh: Partner: command not found
      port priority: 128
      port number: 9
      [~] # details actor lacp pdu:
      -sh: details: command not found
      [~] # system priority: 65535
      -sh: system: command not found
      [~] # system mac address: 24:5e:be:xx:xx:xx
      -sh: system: command not found
      [~] # port key: 15
      -sh: port: command not found
      [~] # port priority: 255
      MII Status: up
      -sh: port: command not found
      [~] # port number: 1
      -sh: port: command not found
      [~] # port state: 61
      -sh: port: command not found
      [~] # details partner lacp pdu:
      -sh: details: command not found
      [~] # system priority: 32768
      -sh: system: command not found
      [~] # system mac address: 28:80:88:xx:xx:xx
      -sh: system: command not found
      [~] # oper key: 18
      -sh: oper: command not found
      Slave queue ID: 0
      [~] # port priority: 128
      -sh: port: command not found
      [~] # port number: 9
      -sh: port: command not found
      Actor Churn State: none
      [~] # port state: 61
      Partner Churn State: none
      -sh: port: command not found
      [~] #
      [~] # Slave Interface: eth5
      -sh: Slave: command not found
      Partner Churned Count: 0
      [~] # MII Status: up
      -sh: MII: command not found
      [~] # Speed: 10000 Mbps
      -sh: Speed:: command not found
      system priority: 65535
      [~] # Duplex: full
      system mac address: 24:5e:be:xx:xx:xx
      -sh: Duplex:: command not found
      [~] # Link Failure Count: 0
      -sh: Link: command not found
      port priority: 255
      port number: 2
      [~] # Permanent HW addr: 24:5e:be:xx:xx:xx
      -sh: Permanent: command not found
      port state: 61
      [~] # Slave queue ID: 0
      -sh: Slave: command not found
      details partner lacp pdu:
      [~] # Aggregator ID: 1
      -sh: Aggregator: command not found
      system priority: 32768
      [~] # Actor Churn State: none
      -sh: Actor: command not found
      oper key: 18
      port priority: 128
      [~] # Partner Churn State: none
      -sh: Partner: command not found
      port number: 10
      [~] # Actor Churned Count: 0
      -sh: Actor: command not found
      port state: 61
      Ethernet Channel Bonding Driver: v5.10.60-qnap
      [~] # Partner Churned Count: 0
      -sh: Partner: command not found
      [~] # details actor lacp pdu:
      -sh: details: command not found
      [~] # system priority: 65535
      -sh: system: command not found
      MII Status: down
      [~] # system mac address: 24:5e:be:xx:xx:xx
      -sh: system: command not found
      [~] # port key: 15
      -sh: port: command not found
      Down Delay (ms): 0
      Peer Notification Delay (ms): 0
      [~] # port priority: 255
      -sh: port: command not found
      [~] # port number: 2
      -sh: port: command not found
      [~] # port state: 61
      -sh: port: command not found
      [~] # details partner lacp pdu:
      -sh: details: command not found
      [~] # system priority: 32768
      -sh: system: command not found
      [~] # system mac address: 28:80:88:xx:xx:xx
      -sh: system: command not found
      [~] # oper key: 18
      -sh: oper: command not found
      [~] # port priority: 128
      -sh: port: command not found
      [~] # port number: 10
      -sh: port: command not found
      [~] # port state: 61
      -sh: port: command not found
      [~] # Ethernet Channel Bonding Driver: v5.10.60-qnap
      -sh: Ethernet: command not found
      [~] #
      [~] # Bonding Mode: load balancing (round-robin)
      -sh: syntax error near unexpected token `('
      [~] # MII Status: down
      -sh: MII: command not found
      Ethernet Channel Bonding Driver: v5.10.60-qnap
      [~] # MII Polling Interval (ms): 100
      -sh: syntax error near unexpected token `('
      [~] # Up Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Down Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Peer Notification Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Ethernet Channel Bonding Driver: v5.10.60-qnap
      -sh: Ethernet: command not found
      Bonding Mode: load balancing (round-robin)
      MII Status: down
      [~] #
      [~] # Bonding Mode: load balancing (round-robin)
      -sh: syntax error near unexpected token `('
      [~] # MII Status: down
      -sh: MII: command not found
      MII Polling Interval (ms): 100
      [~] # MII Polling Interval (ms): 100
      -sh: syntax error near unexpected token `('
      [~] # Up Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Down Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Peer Notification Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Ethernet Channel Bonding Driver: v5.10.60-qnap
      -sh: Ethernet: command not found
      Bonding Mode: load balancing (round-robin)
      [~] #
      [~] # Bonding Mode: load balancing (round-robin)
      -sh: syntax error near unexpected token `('
      [~] # MII Status: down
      -sh: MII: command not found
      Up Delay (ms): 0
      [~] # MII Polling Interval (ms): 100
      -sh: syntax error near unexpected token `('
      [~] # Up Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Down Delay (ms): 0
      -sh: syntax error near unexpected token `('
      Peer Notification Delay (ms): 0
      Ethernet Channel Bonding Driver: v5.10.60-qnap
      [~] # Peer Notification Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Ethernet Channel Bonding Driver: v5.10.60-qnap
      Bonding Mode: load balancing (round-robin)
      -sh: Ethernet: command not found
      [~] #
      [~] # Bonding Mode: load balancing (round-robin)
      -sh: syntax error near unexpected token `('
      [~] # MII Status: down
      Up Delay (ms): 0
      -sh: MII: command not found
      [~] # MII Polling Interval (ms): 100
      -sh: syntax error near unexpected token `('
      [~] # Up Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Down Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # Peer Notification Delay (ms): 0
      -sh: syntax error near unexpected token `('
      [~] # [~] #
      -sh: [~]: command not found
      [~] #

      • schumaku's avatar
        schumaku
        Guru - Experienced User

        no1dea wrote:

        Oh, ich dachte das wäre ein englisches Forum..


        Sehe das nicht so strikt, manchmal ist es einfacher zu erklären 8-)

         


        no1dea wrote:

        Achso. Ich kenne micht nicht so aus und wusste nicht, was da für das Senden und Empfangen zustänig ist.


        Um welche Richtung der Datenübertragung geht es jetzt genau?

         

         

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