Loose all access to eth0 when adding VLAN

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
sapphireweb
DD-WRT Novice


Joined: 03 Nov 2013
Posts: 13

PostPosted: Thu Oct 20, 2022 17:06    Post subject: Loose all access to eth0 when adding VLAN Reply with quote
After doing a secondary search, I am retyping the question to add some clarity. While I found similar issues nothing very recent. For this issue, we are working with the WRT32X running firmware DD-WRT v3.0-r50474 (10/11/22)

I have both a Linksys WRT32X, and an WRT1900AC and this issue is happening on both of them. After adding a VLan, I loose all access to eth0. By which I mean, it appears as if it has failed. For example, the netgear cablemodem has an IP of 192.168.100.1. This is the status page and such. After adding a VLan, I cannot access this page. A ping to this address replies, no destination to host Even removing said vlan does not resolve the issue, and I have to do a factory reset. I am adding the vlan through the webgui.

Anyone else experience this? I know that eth0 (wan) is usually set as Vlan two, and the wan port is set to eth0. If I add an extra vlan, do I need to reassign the WAN port to Vlan2? Do I assign the wan port to a different vlan? Do I need to do it a different way?
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Thu Oct 20, 2022 17:51    Post subject: Reply with quote
sapphireweb wrote:
-snip-
I am adding the vlan through the webgui.
-snip-
Do I need to do it a different way?

WebUI does not work for VLANs on Marvell:

How to VLAN tag WAN traffic for ISP on WRT1900AC v1 - SOLVED

VLAN success on WRT1900ACSv2, WRT3200ACM, et al.

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


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

PostPosted: Thu Oct 20, 2022 17:57    Post subject: Reply with quote
When the processor port is tagged, the interface will be vlan2.
sapphireweb
DD-WRT Novice


Joined: 03 Nov 2013
Posts: 13

PostPosted: Fri Oct 21, 2022 16:37    Post subject: Reply with quote
Per Yngve Berg wrote:
When the processor port is tagged, the interface will be vlan2.


Well that explains a hell of a lot. Thanks Smile
sapphireweb
DD-WRT Novice


Joined: 03 Nov 2013
Posts: 13

PostPosted: Fri Oct 21, 2022 19:15    Post subject: Want to make siure I understand this Reply with quote
In reading through that, I need to put this into my startup script. Here is what I have so far:

swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
#
swconfig dev switch0 vlan 1 set ports "6 0 1 2"
#
swconfig dev switch0 vlan 2 set ports "5 4"
#
#
swconfig dev switch0 vlan 3 set ports "6t 3"
#
swconfig dev switch0 set apply
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth1 3
ifconfig vlan3 up
brctl addif br1 vlan3


I could not find anywhere how to add the "Label" on the networking tab. Is that only on the GUI?
I will be setting up multiple dhcp servers. Do I need to configure that in the startup script as well? I also need to add vlan3 to the dmz.

I am setting up a pair of acis rigs, well trying two. I I had problems where they would only connect briefly. The main router is my wrt32x. I have the wrt1900 confiugured as a routrer, with it's wan port connected to port 3 on the wrtx. I want to put the two acis machines on the dmz. I have turned off dhcp on the wrt1900, and it is on a subnet.
sapphireweb
DD-WRT Novice


Joined: 03 Nov 2013
Posts: 13

PostPosted: Fri Dec 09, 2022 5:14    Post subject: Reply with quote
dale_gribble39 wrote:
sapphireweb wrote:
-snip-
I am adding the vlan through the webgui.
-snip-
Do I need to do it a different way?

WebUI does not work for VLANs on Marvell:

How to VLAN tag WAN traffic for ISP on WRT1900AC v1 - SOLVED

VLAN success on WRT1900ACSv2, WRT3200ACM, et al.


I have gone through the forum posts and I am still having the wan port disappear until I reboot. Is there a known firmware issue?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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