Good luck with that. .... Switch Config page is a mess.
thanky Sir
yeahuh I seen the Switch Config page is borked from looking at the WNDR3700v4
I really have never paid much attention to that page anyways
----
damnit I hate when electricty blinks out in middle of writing sompin
oh well all good now and my Debian machine recovers very nicely.
ONT, main router & webserver is all on UPS so that worky good for me.
I'll tinker with it someday --- AFAIK it will be just like the R7800.
AND I never use VLAN tagging ...just use VLANs for detached networks & such.
That should be simple BUT it all worked just fine for years the way it was
I put a note on my EA8500 VLAN page saying none of it works with new DD-WRT builds ...just barely got that done before electricity blinked --- lil storm moving thru here tonight
Good luck with that. I have been trying now for a few days to reconfigure vlans on a spare EA8500. The last release seems to nullify any working vlans on the EA8500. Make one change, you can no longer get into it (via GUI). This one I cannot tell, since the Switch Config page is a mess. Next release may be the tail tell signs. Please post your results.
Since r49866 EA8500 is no longer single CPU port but dual WAN0 LAN6 like R7800, R7500v2 & ASRock G10 r49934.
After reset simply do not click Switch Config tab Save or Apply for any dual dedicated WAN 0 LAN 6 cpu port router.
Otherwise at this point congrats the config is now broken so router is useless as both ports 0 and 6 are now tagged!
I think we all would like to see Switch Config more versatile, adaptable, functional representative of default settings.
Currently it is nothing more than VLAN tab, so please at least for now pretend it does not exist for dual port routers!
I'll tinker with it someday --- AFAIK it will be just like the R7800.
AND I never use VLAN tagging ...just use VLANs for detached networks & such.
That should be simple BUT it all worked just fine for years the way it was
I put a note on my EA8500 VLAN page saying none of it works with new DD-WRT builds ...just barely got that done before electricity blinked --- lil storm moving thru here tonight
Unfortunately, I will be stuck on 49838 for the foreseeable future, as I use three tagged vlans on both my EA8500 (Gateway) and my R7800 (WAP w/no WAN port). Hopefully this will get sorted out in a timely manner and CPU ports will appear on the SC page. Dare I hold my breath? _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Exactly if you want to selectively tag ports use startup script methods. For interfaces there is always networking tab.
Included everything needed in previous post to make necessary changes, and with links to mrjcd and egc examples.
I missed something for mrjcd examples 'swconfig dev switch0 set enable_vlan 1' in addition to replace all 0t with 6t.
Also optionally if you want to restore the vlan interface naming, 'vconfig set_name_type VLAN_PLUS_VID_NO_PAD'.
Exactly if you want to selectively tag ports use startup script methods. For interfaces there is always networking tab.
Included everything needed in previous post to make necessary changes, and with links to mrjcd and egc examples.
I missed something for mrjcd examples 'swconfig dev switch0 set enable_vlan 1' in addition to replace all 0t with 6t.
Also optionally if you want to restore the vlan interface naming, 'vconfig set_name_type VLAN_PLUS_VID_NO_PAD'.
egc's document already covers these things.
Good info. So I think my confusion came from (among other things) the command is slightly different than what I had been using previously I think. The difference is I was using eth0/1 as the device, and not switch0.
ie.
swconfig dev eth0 vlan 10 set ports "4t 6t"
instead of
swconfig dev switch0 vlan 10 set ports "4t 6t"
I guess this is the difference between single CPU port and dual CPU port, or am I entirely off base here?
It has occurred to me that I was able to get away with using the GUI on the R7800 to set up my VLANs previously because I have the WAN port disabled. Does that make sense? _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Forum member #248
Last edited by lexridge on Tue Aug 30, 2022 13:28; edited 1 time in total
My bad. I pasted the wrong command. I corrected it in my post, but it should have been:
swconfig dev eth0 vlan 10 set ports "4t 6t"
instead of
swconfig dev switch0 vlan 10 set ports "4t 6t" _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I have set this up on my spare EA8500 for testing. Seems to be working as the vlans show up on the networking page and via swconfig. I will manually add the bridges via the Networking tab later today. This hopefully will tag all the vlans on the router's physical port 4 (would be physical router port 1 if this were a R7800 I believe)
Code:
#Startup
#vlans
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
swconfig dev switch0 vlan 10 set ports "4t 6t"
swconfig dev switch0 vlan 11 set ports "4t 6t"
swconfig dev switch0 vlan 12 set ports "4t 6t"
swconfig dev switch0 set apply
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth1 10
vconfig add eth1 11
vconfig add eth1 12
ifconfig vlan10 up
ifconfig vlan11 up
ifconfig vlan12 up
I assume this would work on either the EA8500 and/or the R7800 (with ports reversed). _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Tue Aug 30, 2022 14:23 Post subject:
That is more or less how I have described it for the R7800 (for the R7800 you have to use Port 1 which is port 4 on the router) and I have tagged VLAN 1 on the trunk port as the other side of the trunk is an R7000 which does not support an untagged vlan when setup via the GUI (yes on those routers you can use the Switch config tab although with restrictions like not being able to have one untagged and one or more tagged vlans on the same port (I could use swconfig to do that)) _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399 Install guide R7800/XR500:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614 Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
@egc Yep, I used your guide as a comparison between new, and mrjcd's for the old.
@blkt Oh right. I have removed vlan1 from my startup. I knew vlan2 was a goner. Stupid question, since they no longer exist, why do they still show when doing a swconfig dev switch0 show? _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.