DSA Vlan Help on MX4200v2

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
mflorezm
DD-WRT Novice


Joined: 19 Feb 2018
Posts: 22

PostPosted: Mon Oct 27, 2025 3:00    Post subject: DSA Vlan Help on MX4200v2 Reply with quote
Hi Guys,

I am migrating from R8500 to MX4200; and my ISP needs tagged VLANID 100 (PPPoE) and tagged VLANID 101 for VoIp.

Thanks to ho1Aetoo and lexridge, we already know that creating a Wan.100 and using it as WAN interface instead of WAN solved the PPPoE but I can not find the way to connect the VLAN101 on the same WAN and link it LAN1 port as it was working on R8500.

I understand that MX4200 has DSA instead of internatl switch, but it was easy for me to config VLAN´s with the old switch tab.

Attached is my R8500 working VLAN config if anyone can take a look and help me to config VLAN Tagging, Bridging, Bridge VLAN Filtering sections to achieve the same result as the image below.

Thanks,

Mauricio F.



vlan on R8500.jpg
 Description:
 Filesize:  56.73 KB
 Viewed:  2115 Time(s)

vlan on R8500.jpg


Sponsor
matjazk
DD-WRT User


Joined: 21 Aug 2019
Posts: 250
Location: Here, There And Everywhere

PostPosted: Mon Oct 27, 2025 10:17    Post subject: Reply with quote
I guess you only have to create appropriate DSA VLAN filters to direct VLAN101 traffic to LAN port 1. Did you look at First Look: DSA VLAN Filtering [EA8500]?
mflorezm
DD-WRT Novice


Joined: 19 Feb 2018
Posts: 22

PostPosted: Mon Oct 27, 2025 13:15    Post subject: Reply with quote
Yes, I did it with no success, so, please any hint will be welcome. Should I create a new br1? thanks.
matjazk
DD-WRT User


Joined: 21 Aug 2019
Posts: 250
Location: Here, There And Everywhere

PostPosted: Mon Oct 27, 2025 16:39    Post subject: Reply with quote
It looks like your IP phone was on lan3, with tagged VLAN 101. The equivalent DSA filter would be:

Code:
      VLAN ID      PVID   Untagged
lan3   101         _      _       (both unchecked)


What is your current DSA filtering configuration (screenshot)?
mflorezm
DD-WRT Novice


Joined: 19 Feb 2018
Posts: 22

PostPosted: Mon Oct 27, 2025 21:26    Post subject: Reply with quote
Hi matjazk,

Do you mean like the attached screenshot? only with that it did not work. BYW, on MX4200 the voip is plugged on Lan1. Do i have to create tagged VLAN wan.101 and/or lan1.101? do I need to activate the trunking setting? thanks.



image.jpg
 Description:
 Filesize:  100.47 KB
 Viewed:  2047 Time(s)

image.jpg


mflorezm
DD-WRT Novice


Joined: 19 Feb 2018
Posts: 22

PostPosted: Mon Oct 27, 2025 23:33    Post subject: Reply with quote
Hi Again,

This is the only way that partially works. With the attached setup using br1 the ISP dhcp server gave me IP address, but nothing else from there with no comunication (i guess some kind of IP conflict or similar).

Thanks.

MFM



Captura1.png
 Description:
 Filesize:  55.32 KB
 Viewed:  2035 Time(s)

Captura1.png


matjazk
DD-WRT User


Joined: 21 Aug 2019
Posts: 250
Location: Here, There And Everywhere

PostPosted: Sat Nov 01, 2025 20:55    Post subject: Reply with quote
I was thinking if we follow the logic in "First look: DSA VLAN filtering..." the configuration below seems plausible to me. My intention is to use WAN port as a trunk for VLANs 100 and 101, tagged VLAN 101 on lan1 for VoIP, and untagged traffic (ex-VLAN 100) for the rest.

Note: this is purely hypothetical, only you can test it. Please let me know if this works.

Go to Setup->Networking.


Code:
Bridging:      check the following
br0            VLAN Filtering, Linklocal Learn, Trunking


Code:
Bridge VLAN Filtering:
        VLAN ID     PVID   Untagged
br0     100         x      x
br0     101         _      _
wan     100         _      _
wan     101         _      _
lan1    101         _      _
lan2    100         x      x
lan3    100         x      x
lan4    100         x      x
wlan0   100         x      x
wlan1   100         x      x
wlan2   100         x      x
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3976
Location: Germany

PostPosted: Mon Nov 03, 2025 16:53    Post subject: Reply with quote
@matjazk

So if the WAN port is used for Internet access, it cannot be a bridge member.

A bridge only bridges ports together, e.g., WAN and LAN.

But then there is no protective firewall between them.

So bridge filtering cannot be done with an active WAN port.

(This is possible with an IPTV VLAN, as it generally only transfers VIDEO and AUDIO data that remains within the provider's network).

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 25.12.5 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3976
Location: Germany

PostPosted: Mon Nov 03, 2025 17:16    Post subject: Reply with quote
@mflorezm

To simplify the setup, you can try the following... (based on your last screenshot)

Bridging:

Disable VLAN filtering for br0 and br1.

Bridge VLAN filter:

Delete the filter.

Network Configuration br1:

Do not assign an IP address under any circumstances.

Network Configuration lan1:

Set to unbridged and do not assign an IP address.

This should work, but since switching to DSA, things often don't work properly anymore.

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 25.12.5 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
mflorezm
DD-WRT Novice


Joined: 19 Feb 2018
Posts: 22

PostPosted: Sat Nov 15, 2025 17:26    Post subject: Reply with quote
Hi Guys,

I just want to let you know that thanks to ho1Aetoo and matjazk, now I migrated my VLAN config from R8500(internatl switch) to MX4200(DSA).

Attached are the pictures to achieve the same result using DSA.

Thanks,

Mauricio F.



dsa1.JPG
 Description:
 Filesize:  89.91 KB
 Viewed:  1741 Time(s)

dsa1.JPG



dsa2.JPG
 Description:
 Filesize:  59.6 KB
 Viewed:  1741 Time(s)

dsa2.JPG



dsa3.JPG
 Description:
 Filesize:  56.55 KB
 Viewed:  1741 Time(s)

dsa3.JPG


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