Two different routers, both losing 2.4ghz Internet

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Fri Sep 16, 2022 1:16    Post subject: Two different routers, both losing 2.4ghz Internet Reply with quote
EDIT: Changed the subject title to be more precise and I no longer think this is build related.

This is a very odd problem.

I have an EA8500 [r50146] and a R7800 [50057]. Both have been reset and set up from scratch with release 50057. The EA8500 was then updated to r50146. Since then, all worked well for a day or two, but now, while I can connect to the 2.4ghz, there is no internet access. Sometimes a reboot fixes it, sometimes not. Both radios were set up using the sticky QCA guide with one exception. I am NOT using Turbo QAM on either. If I turn that on, I cannot even see the 2.4ghz on either router. The 5ghz side seems to be perfectly fine on both routers.

This occurs on both Motorola Stylus G (2021) and an iPhone11. On the Motorola, it just says "Connected - No Internet". The iPhone is not as verbose. It just has no Internet access. All of my IoT devices (which are blocked from the Internet, connect just fine (except for one Alexa). I have no other wifi devices.

I am using Pi-Hole for a DNS server, which seems to be okay. My wired computers have no issues.

Any ideas or suggestions much appreciated. Let me know what I need to post additionally and I will.

EDIT: Here's the really weird thing, but may also be a clue. All the APs on VLANs work fine, both 2.4ghz and 5ghz. (Guest and Media VLANs, IoT is blocked) It's only the 2.4ghz that is NOT on a VLAN (br0) that is dropping it's Internet connection.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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 Fri Sep 16, 2022 14:04; edited 1 time in total
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Fri Sep 16, 2022 5:55    Post subject: Reply with quote
-check your pihole DNS...
-to diagnose better,full exposure of your wi-fi settings and network topology will help too..
-other factors could play role in this too...details needed..logs and ect.

many positive reports on R7800 and EA8500 on the last builds
i suspect a bad wifi client, may be congested wifi network or a bad config...
Rolling Eyes

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Fri Sep 16, 2022 13:57    Post subject: Reply with quote
I did find one setting on the Pi-Hole that didn't jive with the sticky on using Pi-Hole. I had "Use Conditional Forwarding" checked with nothing in the IP fields. Strange though, as I have not even logged into my Pi-Hole in several months. Whenever I changed the VLANs from GUI built to Startup Script built AND then later added the bridge connections to the vlans in the Startup (more info on this below), I started getting these errors on both the R7800 and the EA8500:
Code:

Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.1 successfully added to bridge br1
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 37
Sep  16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan11 successfully added to bridge br2
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.2 successfully added to bridge br2
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 38
Sep  16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface vlan12 successfully added to bridge br3
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep  16 22:11:20 DD-WRT_Garage2 user.info : [bridge] : interface wlan1.3 successfully added to bridge br3
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_msti_port_config: Couldn't find bridge with index 39
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39
Sep  16 22:11:20 DD-WRT_Garage2 daemon.info mstpd[494]: error, CTL_set_cist_port_config: Couldn't find bridge with index 39

I am pretty sure this is being caused by adding the connecting of bridges to the vlans in the startup AND adding them in the Networking tab for visual aid. So essentially there are added twice. This was advised by @egc as I was having to re-apply the Networking tab after rebooting because of a "timing issue" causing the bridges to not connect to the vlans. I figured the errors were harmless, but perhaps not. I also get these again when applying pretty much anything that restarts services, and I am thinking this is exactly what is causing the WLAN0 [8500] and WLAN1 [7800] to drop Internet connectivity. I have rebooted everything and will refrain from doing any Applies in order to test this theory. If it continues to work for a few days without dropping the 2.4ghz Internet connectivity on both routers, I will try an apply for something random, and see if the 2.4ghz drops again. Again, please note. I CAN connect to both 2.4ghz APs just fine, just they have no Internet connection whenever this occurs.
Code:

vconfig add eth1 10
vconfig add eth1 11
vconfig add eth1 12
brctl addif br1 vlan10
ifconfig vlan10 up
brctl addif br2 vlan11
ifconfig vlan11 up
brctl addif br3 vlan12
ifconfig vlan12 up


If this theory proves to be correct, the next step would be to remove the bridges creation from the Startup script and then put in some kind of delay to make sure they come up fully from the Networking tab.

Why this only affects WLAN0 [EA8500] and WLAN1 [R7800] and not the VAPs is still a mystery.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Fri Sep 16, 2022 15:06    Post subject: Reply with quote
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br1 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 8
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br2 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 9
Jan 1 02:00:23 R7800 user.debug : mac80211: start deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start delete_ath9k_devices
Jan 1 02:00:23 R7800 user.info : [bridge] : interface wlan0 successfully deleted from bridge br0
Jan 1 02:00:23 R7800 user.debug : mac80211: leave delete_ath9k_devices
Jan 1 02:00:23 R7800 user.debug : mac80211: leave deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.debug : mac80211: start delete_ath9k_devices
Jan 1 02:00:23 R7800 user.info : [bridge] : interface wlan1 successfully deleted from bridge br0
Jan 1 02:00:23 R7800 user.debug : mac80211: leave delete_ath9k_devices
Jan 1 02:00:23 R7800 user.debug : mac80211: leave deconfigure_single_ath9k
Jan 1 02:00:23 R7800 user.info : [bridge] : bridge br0 successfully added
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7
Jan 1 02:00:23 R7800 daemon.info mstpd[494]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 7

you can see i do have those too..

those are normal to have as creating the bridges starts later..

bear in mind on R7800 using GUI for Vlans is still bad idea as you know...
you can add those vlan's / bridges CLI commands to the firewall script instead of start up and add

sleep 20

on the top or whatever you'd need...in my case mines are in start up and those work as intended..
wlan is left by default on br0 where other vlans have their own bridge...

hit apply usually restarts processes services and re reads scripts and its not advised to fiddle with it very often...
on the new builds there ware changes how DNSmasq behaves and those could be the source of the issue...

to be honest if i need to apply things, i click only save and reboot ... it never fails...
or change nvram values and nvram commit via CLI and reboot...

My r7800 is rock solid with its x3 vlan's on br (via cli start up script commands) and DNSmasq on those works well with Stubby DoT... Cool

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Sat Sep 17, 2022 6:13    Post subject: Reply with quote
Alozaros wrote:

those are normal to have as creating the bridges starts later..

bear in mind on R7800 using GUI for Vlans is still bad idea as you know...
you can add those vlan's / bridges CLI commands to the firewall script instead of start up and add

sleep 20

on the top or whatever you'd need...in my case mines are in start up and those work as intended..
wlan is left by default on br0 where other vlans have their own bridge...

Interesting. So I assume the firewall script runs after startup. In which case instead of mixing vlan commands in the firewall script, what if /opt is mounted at this time, I could just put a script within the startup and run as it a new process, allowing the rest of the startup commands to execute. ie #RunVlanStartup.sh& with a sleep 20 as the first item in the script.

And yes, I gave up on the GUI completely a few weeks ago. Startup commands are really so much better and offer much more flexibility.
Alozaros wrote:

hit apply usually restarts processes services and re reads scripts and its not advised to fiddle with it very often...
on the new builds there ware changes how DNSmasq behaves and those could be the source of the issue...

Oh yea, I have been much fiddling with both. I have a huge amount of configuration. The most priority was the vlans in order to get the network functional again. The next came the wifi, and then after I realized I had forgotten to create the passwords for all the AP and VAPs, that was more fiddling, and so on and so on. Except I had been doing this on both routers, usually at the same times, give or take.
Alozaros wrote:

to be honest if i need to apply things, i click only save and reboot ... it never fails...
or change nvram values and nvram commit via CLI and reboot...

I know that is the best way, and in a normal situation that is what I have done too previously. I just had so many settings to put back, I wanted to avoid as much down time as possible. It's very possible this is what is causing these 2.4ghz routes to drop from stuff not coming back in the right order, or any slew of things.

I appreciate your insight. Thanks! I will continue to monitor and report when/if things go crazy again.....or if it continues to just work as it still is.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sat Sep 17, 2022 8:55    Post subject: Reply with quote
well mine vlan commands are still in start up script ... still and working...in my case i can share the setup if you need... Laughing
_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Sat Sep 17, 2022 14:10    Post subject: Reply with quote
Alozaros wrote:
well mine vlan commands are still in start up script ... still and working...in my case i can share the setup if you need... Laughing

As are mine now, and I think mine are fine. Please check them for errors if you would:

EA8500
Code:

swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 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
brctl addif br1 vlan10
ifconfig vlan10 up
brctl addif br2 vlan11
ifconfig vlan11 up
brctl addif br3 vlan12
ifconfig vlan12 up

R7800 (WAN port disabled):
Code:

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

vconfig set_name_type VLAN_PLUS_VID_NO_PAD

vconfig add eth1 10
vconfig add eth1 11
vconfig add eth1 12
brctl addif br1 vlan10
ifconfig vlan10 up
brctl addif br2 vlan11
ifconfig vlan11 up
brctl addif br3 vlan12
ifconfig vlan12 up

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Sat Sep 17, 2022 15:38    Post subject: Reply with quote
lexridge wrote:
As are mine now, and I think mine are fine. Please check them for errors if you would:

EA8500
Code:

swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 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
brctl addif br1 vlan10
ifconfig vlan10 up
brctl addif br2 vlan11
ifconfig vlan11 up
brctl addif br3 vlan12
ifconfig vlan12 up

prolly just me but I might have as ...changing the brctl & up order:
Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "4t 1 2 3 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
brctl addif br1 vlan10
brctl addif br2 vlan11
brctl addif br3 vlan12
ifconfig vlan10 up
ifconfig vlan11 up
ifconfig vlan12 up

then again ---whatever works for you Twisted Evil
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Sat Sep 17, 2022 17:19    Post subject: Reply with quote
Yours is definitely cleaner looking scripting for sure. I made the changes to match yours and rebooted. Now I'll just wait and see what happens. Thanks!
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sat Sep 17, 2022 17:49    Post subject: Reply with quote
p.s. this should be the correct order.... i believe...

on my R7800 i have

start up
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 6"
swconfig dev switch0 vlan 11 set ports "3 6t"
swconfig dev switch0 vlan 22 set ports "4 6t"
swconfig dev switch0 vlan 33 set ports "2 6t"
swconfig dev switch0 set apply
vconfig add eth1 11
vconfig add eth1 22
vconfig add eth1 33
ifconfig eth1.11 192.168.8.1 netmask 255.255.255.0
ifconfig eth1.22 192.168.9.1 netmask 255.255.255.0
ifconfig eth1.33 192.168.101.1 netmask 255.255.255.0
ifconfig eth1.11 up
ifconfig eth1.22 up
ifconfig eth1.33 up
brctl addif br1 eth1.11
brctl addif br2 eth1.22
brctl addif br3 eth1.33

firewall
iptables -t nat -I POSTROUTING -o `get_wanface` -j MASQUERADE
iptables -I FORWARD -i br+ -o br+ -m state --state NEW -j REJECT

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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


Last edited by Alozaros on Sun Sep 18, 2022 9:03; edited 1 time in total
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Sat Sep 17, 2022 18:27    Post subject: Reply with quote
Interfaces that is added to a bridge shall not have an IP address. The address is on the bridge.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Sun Sep 18, 2022 0:28    Post subject: Reply with quote
Alozaros wrote:
p.s. this should be the correct order.... i believe...

on my R7800 i have

start up...

@Alozaros I see you are setting your IPs via startup as well. I don't really have a desire to do that, unless deemed absolutely necessary.

It's interesting what @Per Yngve Berg commented. I would think that his statement is correct. However, it is obviously working for you so something doesn't entirely add up here. Looks like there may be several ways to potentially skin the proverbial cat.....or not.

But, back to meddling with things, I think you hit the nail on the head here. If I don't touch it, it continues to work. If I mess with things and apply them, things then go to hell. Lesson learned.

_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6858
Location: Romerike, Norway

PostPosted: Sun Sep 18, 2022 8:12    Post subject: Reply with quote
I have added the swconfig commands in the startup and added the bridges in the GUI.

After starting the router with the swconfig commands, you should see the VLANx interfaces in the Networking tab in the GUI.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6410
Location: UK, London, just across the river..

PostPosted: Sun Sep 18, 2022 9:01    Post subject: Reply with quote
Per Yngve Berg wrote:
Interfaces that is added to a bridge shall not have an IP address. The address is on the bridge.


yep true, but it wont hurt Rolling Eyes Cool

so, those lines are obsolete....as those refer if you have vlans only (unabridged)

ifconfig eth1.11 192.168.8.1 netmask 255.255.255.0
ifconfig eth1.22 192.168.9.1 netmask 255.255.255.0
ifconfig eth1.33 192.168.101.1 netmask 255.255.255.0

if you bridge vlan interfaces you have to give them address in GUI or this way i guess

brctl addif br1 eth1.33 192.168.101.1 netmask 255.255.255.0

never tried this before Razz

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 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 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 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
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 964
Location: WV, USA

PostPosted: Sun Sep 18, 2022 17:01    Post subject: Reply with quote
Ah okay. That makes perfect sense.
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate

Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r53562
Features in use: multiple VLANs over single trunk port

Linksys EA8500 WDS Station x2 - DD-WRT r53562

Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port.

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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum