Posted: Tue Jul 22, 2014 18:16 Post subject: [SOLVED] VLANs on RT-AC56U
I am trying to setup an isolated network on one of the ports of this router. I have read the wiki article on this subject:http://www.dd-wrt.com/wiki/index.php/Switched_Ports
I have previously set up VLANs on RT-N16 and WL-520gU.
However, there are some things that confuse me. After setting port 4 to VLAN3 in the GUI and saving I have the following setup:
vlan2 is WAN, and vlan1 is LAN.
First, what does the suffix 'u' mean in '5u' (vlan2ports)? Second, I need to assign
and remove some_port from vlan1ports. What is the value of some_port? I guess it is 3. However, port.vlans and vlan.ports variables seem to use different port numbering. For example, vlan2ports specifies port #4 as WAN port; on the other hand, port0vlans is 2, meaning port 0 is the WAN port... That may mean some_port == 1. (Just to note, I have not had such discrepancies on other routers mentioned in the beginning of the post).
I am running DD-WRT v24-sp2 (06/23/14) std (SVN revision 24461).
Thanks for any help.
Last edited by luscinius on Tue Jul 29, 2014 6:11; edited 1 time in total
By "as expected" I mean that the port numbering is consistent: 0 is WAN (vlan2), and 1-4 are LAN (vlan1).
This is not the case for my RT-AC56U: for port.vlans set of variables WAN is 0, and LAN is 1-4; while for vlan.ports set of variables WAN is 4, and LAN is 0-3. This has never been the case for the two routers I have had in the past (RT-N16 and WL-520gU).
Taking this reversal into account, the config seems to work (I connected a machine with a static IP to the new VLAN, and it is reachable there).
Also, I do not know what "5u" means (I mean, what is the suffix "u" for). Untagged?
Joined: 13 Aug 2013 Posts: 5964 Location: Romerike, Norway
Posted: Tue Jul 29, 2014 7:16 Post subject:
The first set is for displaying the GUI.
The second set configures the ports on the router.
The port numbering is dependant on the chip present in the router. The number in the first set will always have the same numbering as it's only displaying the VLAN page in the GUI.