NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dave_moo
Jun 16, 2021Tutor
LAG between GC752XP and GS728TPv2 giving incorrect bandwidth results
I have created a fiber dual SFP LAG using LACP between two netgear switches (GC752XP and GS728TPv2). I then have two linux servers connected to the GC752XP running iperf3 -s and two clients hooked ...
- Jun 22, 2021
So........
My two linux servers were not located on the GC752XP as I had thought. Instead they were located on an adjacent switch. After moving them over to the GC752XP I get ~940Mbps to both servers when running the links in parrallel.
I have another mystery on the "adjacent switch" regarding why it's LAG doesn't work back to the GC752XP, but that is not for here.
schumaku
Jun 17, 2021Guru - Experienced User
dave_moo wrote:What do try next?
Just for the reader's curiosity: Can you run the test the other way round, initiating sessions from the two servers to the two test systems? This would help identify the switch where the load distribution goes wrong.
- dave_mooJun 17, 2021Tutor
Running from the two linux servers as clients to raspberrypi and GP as servers.
root@external:~# iperf3 -c 192.168.8.22 -t 40 Connecting to host 192.168.8.22, port 5201 [ 5] local 192.168.9.2 port 56324 connected to 192.168.8.22 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 114 MBytes 954 Mbits/sec 0 523 KBytes [ 5] 1.00-2.00 sec 98.5 MBytes 826 Mbits/sec 43 373 KBytes [ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 0 382 KBytes [ 5] 3.00-4.00 sec 112 MBytes 940 Mbits/sec 0 413 KBytes [ 5] 4.00-5.00 sec 111 MBytes 935 Mbits/sec 0 434 KBytes [ 5] 5.00-6.00 sec 112 MBytes 937 Mbits/sec 0 440 KBytes [ 5] 6.00-7.00 sec 110 MBytes 922 Mbits/sec 89 161 KBytes [ 5] 7.00-8.00 sec 60.7 MBytes 509 Mbits/sec 25 168 KBytes [ 5] 8.00-9.00 sec 57.4 MBytes 481 Mbits/sec 30 158 KBytes [ 5] 9.00-10.00 sec 56.3 MBytes 472 Mbits/sec 28 192 KBytes [ 5] 10.00-11.00 sec 56.3 MBytes 472 Mbits/sec 38 188 KBytes [ 5] 11.00-12.00 sec 53.8 MBytes 451 Mbits/sec 36 153 KBytes [ 5] 12.00-13.00 sec 49.7 MBytes 417 Mbits/sec 24 147 KBytes [ 5] 13.00-14.00 sec 53.6 MBytes 449 Mbits/sec 21 197 KBytes [ 5] 14.00-15.00 sec 56.4 MBytes 473 Mbits/sec 35 165 KBytes [ 5] 15.00-16.00 sec 57.0 MBytes 479 Mbits/sec 31 194 KBytes [ 5] 16.00-17.00 sec 101 MBytes 849 Mbits/sec 42 370 KBytes [ 5] 17.00-18.00 sec 111 MBytes 935 Mbits/sec 0 421 KBytes [ 5] 18.00-19.00 sec 113 MBytes 947 Mbits/sec 0 426 KBytes [ 5] 19.00-20.00 sec 112 MBytes 939 Mbits/sec 0 430 KBytes [ 5] 20.00-21.00 sec 110 MBytes 926 Mbits/sec 0 440 KBytes [ 5] 21.00-22.00 sec 112 MBytes 942 Mbits/sec 0 458 KBytes [ 5] 22.00-23.00 sec 112 MBytes 938 Mbits/sec 0 462 KBytes
root@hoth:~# iperf3 -c 192.168.8.52 Connecting to host 192.168.8.52, port 5201 [ 5] local 192.168.9.12 port 48664 connected to 192.168.8.52 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 49.6 MBytes 416 Mbits/sec 42 134 KBytes [ 5] 1.00-2.00 sec 55.7 MBytes 467 Mbits/sec 13 182 KBytes [ 5] 2.00-3.00 sec 55.2 MBytes 463 Mbits/sec 16 168 KBytes [ 5] 3.00-4.00 sec 55.7 MBytes 468 Mbits/sec 6 168 KBytes [ 5] 4.00-5.00 sec 57.9 MBytes 485 Mbits/sec 24 211 KBytes [ 5] 5.00-6.00 sec 63.3 MBytes 531 Mbits/sec 23 238 KBytes [ 5] 6.00-7.00 sec 58.8 MBytes 493 Mbits/sec 42 180 KBytes [ 5] 7.00-8.00 sec 56.2 MBytes 472 Mbits/sec 20 147 KBytes [ 5] 8.00-9.00 sec 54.9 MBytes 461 Mbits/sec 22 165 KBytes
Same effect as before. Direction does not matter.
I changed hash to:
1 Src/Dest MAC, incoming port
on the GS728TPv2 and ran the tests again with the client being on the GS728TPv2 side. I also changed STP on both switches off for the LAG. After doing that, it worked. ONCE. I then tried changing hash and STP combinations again to see which it was and I can't get it to work again. Looks like a bug here somewhere.
GP# iperf3 -c 192.168.9.2 -t 40 Connecting to host 192.168.9.2, port 5201 [ 4] local 192.168.8.22 port 55606 connected to 192.168.9.2 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 113 MBytes 949 Mbits/sec 21 352 KBytes [ 4] 1.00-2.00 sec 112 MBytes 936 Mbits/sec 32 297 KBytes [ 4] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 20 461 KBytes [ 4] 3.00-4.00 sec 110 MBytes 923 Mbits/sec 64 372 KBytes [ 4] 4.00-5.00 sec 112 MBytes 940 Mbits/sec 10 419 KBytes [ 4] 5.00-6.00 sec 111 MBytes 935 Mbits/sec 99 461 KBytes
pi@raspberrypi:~ $ iperf3 -c 192.168.9.12 -t 40 Connecting to host 192.168.9.12, port 5201 [ 5] local 192.168.8.52 port 50430 connected to 192.168.9.12 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 89.7 MBytes 752 Mbits/sec 0 359 KBytes [ 5] 1.00-2.00 sec 86.9 MBytes 729 Mbits/sec 0 359 KBytes [ 5] 2.00-3.00 sec 86.9 MBytes 729 Mbits/sec 0 359 KBytes [ 5] 3.00-4.00 sec 89.5 MBytes 751 Mbits/sec 0 396 KBytes [ 5] 4.00-5.00 sec 87.1 MBytes 731 Mbits/sec 0 417 KBytes [ 5] 5.00-6.00 sec 87.1 MBytes 730 Mbits/sec 0 417 KBytes [ 5] 6.00-7.00 sec 87.2 MBytes 732 Mbits/sec 0 417 KBytes
Related Content
NETGEAR Academy

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