Well, the Linksys stock firmware supports VLANs pretty well so the chipset must support it. _________________ Routing:.......Asus RT-AX88U (Asuswrt-Merlin 384.14) Switching:....Netgear GS608_V3 & GS605_V4, TrendNet TEG-S82G & TEG-S50G
I am running the official release of dd-wrt (28628) on a WRT1900ACv1 and would like to set up a vlan on one of my lan ports to separate (eg. 192.168.2.0) it from the other 3. Any help would be appreciated. (Kong /BS ?)
Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Wed Jan 06, 2016 16:26 Post subject:
No one answered my Post, but I later found this:
<Kong> wrote:
E.g. working example for the 1900AC V1:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4"
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2
it should work exactly he way it does under openwrt.
But maybe I did something wrong and when I rebooted, no settings were saved
Could anyone help me in sort this out?
Any configuration change you make will not be saved unless you write it in the "Administration->Diagnostic->Commands" window and save it as "Save startup". That way it will be written in NVRAM and executed when the router reboots.
Or at least that's the way I do it. I think there must be another way using jffs, but I'm not very sure about how it's done.
So can I put nvram commands in there also?
or only swconfig? I'm trying to get an extra port on the WAN vlan.
And I still don't get what port number I need to get either. The port labeled 4 on my switch seems to correspond to port 0 in swconfig. But 0 is already part of the wan VLAN suggesting I should just use "4" then?
Sorry for the many questions, just trying to avoid even more questions if I break it