Request for testing LuCI on DSA devices

Yes, exactly. You can just use wan.6. That will instruct netifd to spawn a VLAN 6 device on top of wan. No need to setup bridge VLAN filtering for that. However, since your WAN is essentially a VLAN trunk and since you need to bridge at least one VLAN (4, for IPTV) with a LAN port, see below.

Yeah, assuming you need to pass-through WAN side VLAN 4 to to one of your LAN ports you need to change your configuration like this:

  1. Also add the WAN port to the br-lan bridge, add a VLAN 6 with local checked and only WAN port set to tagged
  2. Change your PPPoE interface from wan.6 to br-lan.6
  3. Add a VLAN 4, include WAN port as tagged and a LAN port of your choice as tagged (or is the IPTV STB expecting untagged traffic? In this case set the chosen LAN port to untagged). Local can be disabled for the VLAN 4 as the router itself does not really need to "see" / deal with bridged IPTV traffic

Assuming your IPTV STB is connected to LAN 1 and expects untagged traffic, the VLAN settings on br-lan should look like this:

VLAN ID Local lan1 lan2 lan3 wan
1 [x] - u u -
4 [ ] u - - t
6 [x] - - - t

Your logical interfaces should then use the following devices:

Logical interface Proto Zone Device
lan static lan br-lan.1
wan pppoe wan br-lan.6

Further notes:

  • you do not need to include eth0 in the bridge
  • to make the config slightly less confusing once all ports are bridged, I personally rename my br-lan bridge to a more generic name like switch0. You can easily do that on the cli using something like sed -i -e 's#br-lan#switch0#g' /etc/config/network && /etc/init.d/network restart
2 Likes