[SOLVED]VLAN tag on WAN port lost connectivity on LAN ports.

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Odinos
DD-WRT Novice


Joined: 06 Aug 2019
Posts: 11

PostPosted: Fri Jan 13, 2023 9:51    Post subject: [SOLVED]VLAN tag on WAN port lost connectivity on LAN ports. Reply with quote
Hi everyone, my new ISP requires VLAN tagging the WAN port.

I used the 'switch config' GUI to add vlan300 to WAN as shown in the screenshot. I then assigned vlan300 to WAN in the 'networking' tab.

All seemed to work well (ISP assigned an IP and I have connectivity via wifi), but then I noticed that the LAN ports do not have connectivity anymore. Nothing plugged in there shows up as a client in the router's interface and devices report an 'unidentified network'.

The screenshots show all the configurations I have tried, but I'm starting to believe the solution lies elsewhere. Please advice Smile

dir868b Broadcom Northstar @ r48540
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jan 13, 2023 16:30    Post subject: Reply with quote
Modern Broadcom Northstar should have their LAN on VLAN 1 and the WAN on VLAN 2

I would reset to defaults and while you are at it upgrade to the most recent build.

First upgrade and *after* the upgrade reset to defaults, from Command Line interface (telnet/Putty/SSH): nvram erase && reboot

Put settings in manually.

About VLAN, what you can try is just to use the Switch Config TAB:
1. Add VLAN with PVID 300
2. Untick the WAN port on VLAN2
3. Tick the WAN port on the just created VLAN300
4. You might need to tag this port, try with and without

Maybe this works, maybe not Sad

_________________
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
Odinos
DD-WRT Novice


Joined: 06 Aug 2019
Posts: 11

PostPosted: Fri Jan 13, 2023 21:56    Post subject: Reply with quote
Thanks for the advice.

egc wrote:

About VLAN, what you can try is just to use the Switch Config TAB:
1. Add VLAN with PVID 300
2. Untick the WAN port on VLAN2
3. Tick the WAN port on the just created VLAN300
4. You might need to tag this port, try with and without


How does this differ from what I have already tried?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jan 13, 2023 22:01    Post subject: Reply with quote
Your Lan is on VLAN0 and you run an old build
_________________
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
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sat Jan 14, 2023 2:52    Post subject: Reply with quote
Also, this is not how you add a tagged VLAN of 300 to the WAN port (only)...
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Odinos
DD-WRT Novice


Joined: 06 Aug 2019
Posts: 11

PostPosted: Sat Jan 14, 2023 9:36    Post subject: Reply with quote
egc wrote:
Your Lan is on VLAN0 and you run an old build


I will flash a newer build. Isn't my LAN on vlan300 in the first screenshot? How else should I do it?

dale_gribble39 wrote:
Also, this is not how you add a tagged VLAN of 300 to the WAN port (only)...


I assumed I did it correct because my ISP accepts the setting and assigned an IP. What else is required?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Jan 14, 2023 10:57    Post subject: Reply with quote
Your LAN is on VLAN0 and normally it should be on VLAN1 for Broadcom northstar routers (older routers can use VLAN0)

See attachment for my EA6900 (which has VLAN3 on one of the ports which is bridged to br1 my guest network)

_________________
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
Odinos
DD-WRT Novice


Joined: 06 Aug 2019
Posts: 11

PostPosted: Sat Jan 14, 2023 11:39    Post subject: Reply with quote
egc wrote:
Your LAN is on VLAN0 and normally it should be on VLAN1 for Broadcom northstar routers (older routers can use VLAN0)


Thanks! I copied the screenshot (added all LAN ports to vlan1) and that worked. I guess I should have tried that from your first reply, but they were on vlan0 by default so I dismissed that.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Jan 14, 2023 11:42    Post subject: Reply with quote
They are probably on VLAN 0 because you ran an old build.

Upgrading and resetting to defaults after upgrade and setting up from scratch should have solved that

But glad you have it working Smile

_________________
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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