Posted: Thu Apr 07, 2016 22:17 Post subject: VLAN on DD-WRT (Kong builds)
Does anyone have a guide on how to get VLANs working on a Kong build (WRT)? All the guides I have found say they either only apply to certain hardware, builds, or a extremely dated.
I'd like to know about this too. I'm considering taking the plunge and loading DD-WRT for my first time, but I want vlan capability to isolate some network segments.
My only drawback is that I need a step by step to walk me through it, seeing as I don't normally get to touch routing/switch stuff in my day to day.
I've been digging around the past few weeks trying to figure out this same issue. I've tried an swconfig method once (which did not end well somehow) and I was able to setup vlan interfaces recently with nvram, but it still hasn't shown to be a complete solution to what I'm trying to do.
I think the most confusing part is that in swconfig it shows 7 ports and in nvram it shows 6. The only consistency I've seen is that port 5 is the CPU -- which is what it was listed as in the OpenWRT GUI as well.
Maybe together, if no other smarter experts chime in, we can help each other solve these setbacks by pooling our knowledge together.
My ideal end setup is to have all traffic segmented like:
WAN - (vLAN1 I believe it is)
LAN PORTS by # on back of router
Port 1, 2, & 3 LAG 802.3ad - vLAN 2, 3, 4, & 5 (all trunks)
Port 4 - vLAN sysAdmin (all vLANs)
wLAN - vLAN 4
vLAN2 = Internet traffic in/out
vLAN3 = NIC LAN traffic
vLAN4 = wLAN traffic to be monitored/filtered
vLAN5 = Guest WIFI to even stricter monitoring and policy filters
The reason I want to do 802.3ad is because with gigabit ethernet and multiple WiFi users, I'd like to not bottleneck any one port if not all traffic is needed for a specific purpose. I also want to be able to monitor WiFi closer and create stricter policies for my kids and guests to ensure my network stays healthy.
I have no code to provide at this time, as most of it is just trying to even figure out which port is actually labeled port 1 on the back. Any help would certainly be appreciated!
been strugling with the same for a couple of days now.
I want to assign a port of the switch as a second WAN port.
nvram show | grep vlan.*ports shows me:
vlan0ports=1 2 3 4 5
vlan1ports=0 5
making me assume that port 0 is my current WAN port.
So since I want to have port 4 as the second WAN port I tried to add it to vlan1ports.
it gets added fine but the resulting device on that port is not connected to the WAN.
By unplugging cables I was able to figure out that port 0 in this report corresponds to port 4 label.
So the ports are invers like the openwrt wiki page on the wrt1900ac status.
but how do I get my 4 switch port in the WAN vlan now? because I tried adding "4" to vlan1ports and that did not work. and "0" is already in vlan1ports...
We could really do with someone that can explain how this works in DD-wrt.
been strugling with the same for a couple of days now.
I want to assign a port of the switch as a second WAN port.
nvram show | grep vlan.*ports shows me:
vlan0ports=1 2 3 4 5
vlan1ports=0 5
making me assume that port 0 is my current WAN port.
So since I want to have port 4 as the second WAN port I tried to add it to vlan1ports.
it gets added fine but the resulting device on that port is not connected to the WAN.
By unplugging cables I was able to figure out that port 0 in this report corresponds to port 4 label.
So the ports are invers like the openwrt wiki page on the wrt1900ac status.
but how do I get my 4 switch port in the WAN vlan now? because I tried adding "4" to vlan1ports and that did not work. and "0" is already in vlan1ports...
We could really do with someone that can explain how this works in DD-wrt.
thanks
DicE
Tried the same as well and nothing works. I've tried several different things by changing VLAN ports and even removing some ports from the VLAN but they still work! I have the impression that these VLAN commands do not work at all on this router.