What's new

Working Link Aggregation Config RT-AC66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Hey guys,
I run the script on a new ac3200 and it created everything! Very nice.

I'm using an HP procurve 1800 24port and synology 1813+

The synology and the switch are configured and working perfectly with LACP.

With the Asus router, after running script, there is no access to lan. I can see on the HP switch that a it creates the LACP but it disappears after a few seconds.

By looking at the bond0 info, it looks identical to the synology NAS except for up dely which is 100ms on the NAS compared to 0 on the router.

Any ideas?

Thanks a lot!!
 
Hey guys,
I run the script on a new ac3200 and it created everything! Very nice.

I'm using an HP procurve 1800 24port and synology 1813+

The synology and the switch are configured and working perfectly with LACP.

With the Asus router, after running script, there is no access to lan. I can see on the HP switch that a it creates the LACP but it disappears after a few seconds.

By looking at the bond0 info, it looks identical to the synology NAS except for up dely which is 100ms on the NAS compared to 0 on the router.

Any ideas?

Thanks a lot!!


Hey Guys,
I have modified the original script to support Asus AC3200.
Modified script is here:
https://github.com/necross2/asuswrt-merlin
All Credits goes to RMel for the original script.
 
Thanks, but it doesn't work for me.
Is it specific for the router mode? I need link aggregation in the wireless AP mode, there are only LAN ports and there's no WAN port.
I've found several issues with LACP on my AC3200.
1. Port numbers on the back of the router and in the LinkAgg script are present in the reverse order. The 1st port on the back of the router is the 4th logical port in the router config, the 2nd is 3rd and so on.
2. The MAC address of the 3rd logical port is changing randomly between three different values after enabling LACP. It's erratic behavior in my opinion, something is wrong.
 
Although a recent member here I am getting my head around a few things, slowly...

One main point of using Merlin and my new AC87U router was to get Link aggregation to work with my Nas4Free build with twin NICs.

My problem at the moment is that when I try to execute the LinkAgg script - LinkAgg 3 4 to bind the ports, my terminal freezes and I loose ethernet.

I ultimately have to do a factory reset from my phone (wifi is still working) followed by a settings restore.
I've had to do this twice now but can't figure what I'm doing wrong.

Might it be this is not compatible with the AC87U?
I'm on Merlin 378.55
and using LinkAgg 1.5

Any thoughts please?
 
I thought I had made a breakthrough there by running LinkAgg 3 4 over wifi from my android tablet (first time I've used SSH on there!)
The link seemed to happen and when I ran LinkAgg -s (from my tablet) the bond seemed to be working.

However, ethernet was completely out again so had to use tablet to restart my AC87U and then LinkAgg -s off course returns to original unbonded status :-(
 
Here's with LinkAgg 3 4 in services-start:

admin@RT-AC87U-0978:/# /jffs/scripts/LinkAgg -s

--- Bond Errors ---







--- Bond Status ---

Bond Status: bond0 UP
Bridge to WAN Status: Member of br0=bond0
Slave 1 Status: vlan=vlan3 Link=UP Port=3
Slave 2 Status: vlan=vlan4 Link=UP Port=4

which killed the ethernet, so I tried this from my tablet:

admin@RT-AC87U-0978:/# /jffs/scripts/LinkAgg -d

bond0 Deleted

vlan1 default ports restored to - 1 2 3 4 8t
Removed Dead vlan3
Removed Dead vlan4

admin@RT-AC87U-0978:/# /jffs/scripts/LinkAgg -s
cat: can't open '/sys/class/net/bond0/bonding/slaves': No such file or directory
cat: can't open '/sys/class/net/bond0/bonding/slaves': No such file or directory

--- Bond Errors ---
Status : bond0 not UP
Status : Slave 1 does not exist

Status : Slave 2 does not exist

Status : bond0 not part of br0 - no WAN Access

--- Bond Status ---

Bond Status: bond0 NONE
Bridge to WAN Status: Member of br0=NONE
Slave 1 Status: vlan=NONE Link=NONE Port=NONE
Slave 2 Status: vlan=NONE Link=NONE Port=NONE

which released the ethernet but not without rebooting the router, which invoked services-start again so I then had to go back in there and remove LinkAgg 3 4 to get ethernet back after another reboot.

Any suggestions what I should try now, please?
 
Reading a bit deeper (again...) is the port allocation on the 87U different at all?

Avoid LAN port 1, as it's not hosted by the Broadcom chipset.
 
Many thanks for this - makes sense, but how do I achieve this?
Presumably I have to edit theLinkAgg script?
I could really use some pointers, thanks.

Your own quote showed that you were using ports 3 and 4, so that's fine.
 
Your own quote showed that you were using ports 3 and 4, so that's fine.

Yeah but when I set LingAgg 3 4 the ethernet freezes until I reboot and the mappings are gone.

If I add it to services-start then it just knocks out the ethernet completely although wifi is fine.
 
Thanks, but it doesn't work for me.
Is it specific for the router mode? I need link aggregation in the wireless AP mode, there are only LAN ports and there's no WAN port.

I've found several issues with LACP on my AC3200.
1. Port numbers on the back of the router and in the LinkAgg script are present in the reverse order. The 1st port on the back of the router is the 4th logical port in the router config, the 2nd is 3rd and so on.
2. The MAC address of the 3rd logical port is changing randomly between three different values after enabling LACP. It's erratic behavior in my opinion, something is wrong.

Hi arabesc
I'm have same device and same config (AP)
Do you have solution for link aggregation?
Best rgs
Alex
 
I wanted to try to get LAG working on my router, the AC66U, and my Zyxel switch and I accidentally set off with data for the AC-68U.

I changed some settings in NVRAM and I want them back in stock settings, but my knowledge falls short.
How do I undo the following on my AC66U without resetting my router?

nvram set vlan4ports="3 5t"
nvram set vlan5ports="4 5t"
nvram set vlan4hwname=et0
nvram set vlan5hwname=et0
nvram commit


Thx in advance for the help
 
I managed to get LACP working on my RT-AC66U to my Switch. But I'm not able to access network devices connected to my switch, when using the wifi on my router. However, I am able to connect to those devices when I use the wifi access point connected to my switch.

So somehow after setting up LACP (using Saintdev's script), the connection between the wifi and wired is not accessible anymore on my router.

Is this because they are on a different vlan? Please help me out.
 
Can someone explain the vlan syntax? When I do a "robocfg show ports" on the router (RT-AC3200) I don't see a port 5, only 0 (WAN as far as I can tell), 1-4, and 8.
 
Last edited:
I've been looking into the reason why I have issues with LACP, but until now I still haven't found the reason .
I use my iPhone as a remote control for my network connected receiver, but for some reason the network connection to my receiver is blocked.

Here is a systematic of my network

RT-AC66U==========ZyXEL switch------------------TP-Link Switch----------Network Receiver


The Asus router is down stairs and the ZyXEL switch is in the attic and my Asus EA-N66 is connected to that ZyXel switch to provide better reception upstairs.

When I connected my iPhone to my AC66U I'm not able to control my my Network Receiver, but when I connect to my EA-N66 I am able to control my Network Receiver. I'm also not able to connect to the web servers (laser printer, network receiver and EA-N66) that run on devices connected to my ZyXEL switch.

Rebooting the router and switch doesn't work, neither does restarting my iPhone. Using Net Analyzer (iPhone app) I can see all network connected devices. In my search online I haven't found anyone that has the same issue and I wonder what could be the problem.

Does anyone know what could cause this?
 
OK, found the solution. I forgot to set the default gateway and dns server on the ZyXEL switch. My bad.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top