Hello, I have an Asus AC56R with Merlins latest but I'm trying to figure out how to do the Link Aggregation...
newbie with Merlin, already did the jffs partition, and in the scripts folder created the services-start using nano with the code below.
not sure if this is right or not. but apart from this I want to actually TEAM port 1 with 2, AND 3 with 4. and I can just use the WAN port with the Modem/Router for my other devices...
I don't get what I need to change, barely understand the commands and definitely don't understand how your specifying the ports... ex. 0x05 0x83 0x0D06.....
newbie with Merlin, already did the jffs partition, and in the scripts folder created the services-start using nano with the code below.
not sure if this is right or not. but apart from this I want to actually TEAM port 1 with 2, AND 3 with 4. and I can just use the WAN port with the Modem/Router for my other devices...
I don't get what I need to change, barely understand the commands and definitely don't understand how your specifying the ports... ex. 0x05 0x83 0x0D06.....
Code:
# Remove ports 3 and 4 from VLAN 1
et robowr 0x05 0x81 0x01
et robowr 0x05 0x83 0x0D06
et robowr 0x05 0x80 0x0000
et robowr 0x05 0x80 0x0080
# Create VLAN 3 with port 3 untagged and port 8 tagged
et robowr 0x05 0x81 0x03
et robowr 0x05 0x83 0x1108
et robowr 0x05 0x80 0x0000
et robowr 0x05 0x80 0x0080
# Set port 3's default VLAN to 3
et robowr 0x34 0x16 0x03
# Create VLAN 4 with port 4 untagged and port 8 tagged
et robowr 0x05 0x81 0x04
et robowr 0x05 0x83 0x2110
et robowr 0x05 0x80 0x0000
et robowr 0x05 0x80 0x0080
# Set port 4's default VLAN to 4
et robowr 0x34 0x18 0x04
# Create the interfaces
vconfig add eth0 3
vconfig add eth0 4
# Bring up vlans
ifconfig vlan3 up
ifconfig vlan4 up
# Insert bonding module and set parameters
insmod /lib/modules/2.6.22.19/kernel/drivers/net/bonding/bonding.ko mode=4 miimon=100 lacp_rate=1
# Bring up bond0
ifconfig bond0 up
# enslave vlans to bond0
ifenslave bond0 vlan3 vlan4
# Bridge the bond0 allowing AP access
brctl addif br0 bond0
# We allow these VLANs to access the AP
iptables -I INPUT 1 -i vlan3 -j ACCEPT
iptables -I INPUT 1 -i vlan4 -j ACCEPT
iptables -I INPUT 1 -i bond0 -j ACCEPT