Posted: Thu Jun 07, 2018 15:07 Post subject: Any progress on Vlan setup in WRT1900ac V1 ?
Is there anyone got it working VLAN setup on WRT1900AC V1 using DD-WRT so far. There are lot of discussion in online but it seems everything is misleading (Port mismatch and confusing with two cpu ports and so on).
I am new to VLAN and stuck in WRT1900AC V1 router.
Please post VLAN config using swconfig (Since VLAN UI shows up by enabling vlan but it does not implemented for this router switch ports) setup here if you have working VLAN swconfig.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Mon Oct 15, 2018 21:18 Post subject:
Eventually I may start a new thread on this, but for now let me observe that the "mask" variables appear to show for each port the other ports to which it connects:
Code:
port connects to
0 1001110
1 1001101
2 1001011
3 1000111
4 0100000
5 0010000
6 0001111
The seven bits on the right represent ports 6543210. Ports 0...3 are rear-panel LAN ports 4...1 (per experiments by various posters), port 4 is the WAN port, ports 5 and 6 are internal CPU ports with 5 dedicated to the WAN port and 6 used for the LAN ports.
The many discussions of VLANs on the forum always talk about two default VLANs, but in every case the necessity of default VLANs is associated with the need to have one CPU port handle both WAN and LAN. Each of the latter is normally represented by a single VLAN. But in these two-cpu machines like yours and mine (a WRT1900ACSv2), there is no need for such sharing of the cpu port. Hence enable_vlan, which governs VLANs using tagging, here being set to 0 (I believe meaningful values are 0 and 1, not a vlan number like in many forum posts) with no VLANs showing in the output of "swconfig dev switch0 show." Our setup is port-based VLANning, not tagged 802.11q-based VLANning.
If we want to use VLANs of the 802.11q tagged type, necessary if we are to have more VLANs than CPU ports, we'll have to start from scratch. By default eth1 is the whole LAN and is part of bridge br0, so it looks like we'll have to delete eth1 from br0 and put a new vlan1 there in its place. I have no idea what becomes of eth1 itself. Does it need to be up to support its vlans? Or do we need to ifconfig it down? Someone who understands dd-wrt and networking is going to need to weigh in. This effort is not going to succeed by randomly trying things without understanding.
Anyone with a clue please correct or augment as appropriate!
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Tue Oct 23, 2018 20:18 Post subject:
I have VLANs working now on the WRT1900ACSv2, which per your "swconfig dev switch0 show" output for the WRT1900ACv1 seems to have the same switch configuration as my router. See https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=317199 for details.
And note that this was one of many forum threads that helped me get there. It takes a village and all that.