@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?
Sorry what I said was confusing, it was one of those statements that make sense in my head but not others.
vlan1 and vlan2 do not exist in the sense that they are no longer bound to single interface eth0 with vconfig.
They now exist as assigned to LAN CPU port and WAN CPU port and new default no longer uses enable_vlan.
Another oversight old default sw_cpuport is now unset and replaced with sw_wancpuport and sw_lancpuport.
This is why you want to enable_vlan 1 again, along with 'vconfig set_name_type VLAN_PLUS_VID_NO_PAD'.
I have discovered a potential bug however. After rebooting, the vlans are not reconnecting to the bridges.
Code:
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.149182673476 no eth1
wlan0
wlan1
br1 8000.149182673476 no
br2 8000.149182673476 no
br3 8000.149182673476 no
If I click apply in the Networking tab, it heals itself. _________________ 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 also connect the VLANs with the script, I think it is a timing issue that the VLAN's are not yet there when bridges are setup.
But I also do it in the GUI so that I have a nice overview
Yes, I had noticed you did it in your script, but doesn't doing it with both a script and the GUI create a conflict? _________________ 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.
"Why does it seem like we are doing the same thing twice in startup commands and in the GUI?"
AFAICT this is what I consider race conditions about what & when certain items are created ... Lets just say you
cannot set parameters on some things that are not yet there
Joined: 16 Nov 2015 Posts: 6445 Location: UK, London, just across the river..
Posted: Tue Aug 30, 2022 23:29 Post subject:
Router Model Netgear R7800
Firmware Version DD-WRT v3.0-r49976 std (08/29/22)
Kernel Version Linux 4.9.326 #1181 SMP Mon Aug 29 01:53:59 +07 2022 armv7l
update: CLI r49934 > r49976
reset: NO
mode: Gateway
status: Operational 13h+
errors: Nothing new, yet...and yea the GUI thing, but i carry out the old vlan config (start up )and its still working..
afraid to do reset reconfigure so, far... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
@lexridge Remember vlan1 and vlan2 are no longer required or exist, eth1 already has 6 1 2 3 4.
Edit: never mind what I said above this just adds to the confusion, will send you a list of defaults.
TLDR you don't need this line it is already set -> swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
So while I still have not put these changes on my EA8500 Gateway router, I did make the changes on my R7800 garage WAP/VAP with the three vlans. However, I DID have to tag vlan1 in order to even access the router, as the switch port it's plugged into is set to pass only vlans1, 10-12 and I am only using physical trunked port 4 on the 7800. This allowed it to work once in place, but did not until I added vlan1 with tagged 1t. So ultimately, depending on your setup, you MAY still need vlan1, even though it's apparently internal to the eth0/1 cpu ports.
Code:
#Startup
#vlans
# 1t is physical port 4, as they are reversed on this router.
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1t 2 3 4 6"
swconfig dev switch0 vlan 10 set ports "1t 6t"
swconfig dev switch0 vlan 11 set ports "1t 6t"
swconfig dev switch0 vlan 12 set ports "1t 6t"
swconfig dev switch0 set apply
Note that I am not bringing up vlan1 or doing anything with it other than tagging port 4 (1t). _________________ 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.
Well, it looks like whenever setting up bridges via startup, then setting them up again via the GUI causes this error on startup
Code:
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.1 successfully added to bridge br1
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep 3 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan11 successfully added to bridge br2
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.2 successfully added to bridge br2
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep 3 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan12 successfully added to bridge br3
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 3 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.3 successfully added to bridge br3
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep 3 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Not sure if they are bad, as everything is working, but something doesn't like it. _________________ 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.
Does anybody have this bin file for the R7800? I had this build installed on my R7800 and OpenVPN worked fine after reboot. I tried to update the FW and it now doesn't work until I go to Command, Edit Firewall, Save Firewall...