Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:dsa:converting-to-dsa [2022/05/31 19:43] – [Egress untagged and PVID] Improve explanation for PVID arinc9docs:guide-user:network:dsa:converting-to-dsa [2023/05/17 02:11] – Adding a guided tutorial for DSA saudiqbal
Line 9: Line 9:
  
 **Note**: DSA support does not affect wireless configuration in ''/etc/config/wireless''. In particular the wireless config option ifname continues to be valid for specifying a custom name for a WiFi interface. **Note**: DSA support does not affect wireless configuration in ''/etc/config/wireless''. In particular the wireless config option ifname continues to be valid for specifying a custom name for a WiFi interface.
 +
 +**Note:** An easy to use [[https://www.saudiqbal.com/blog/openwrt-vlan-setup-guide-using-luci-for-iot-and-wireless-with-dsa.php|step by step]] tutorial for setting up VLANs for DSA.
  
 //This page is a Work In Process. If you can contribute your knowledge, we would be pleased for the help.// //This page is a Work In Process. If you can contribute your knowledge, we would be pleased for the help.//
Line 27: Line 29:
  
 Here is a comparison of VLAN configuration on swconfig and DSA. Here is a comparison of VLAN configuration on swconfig and DSA.
 +
 +swconfig:
  
 {{:media:dsa:dsa-simple-01.png|}} {{:media:dsa:dsa-simple-01.png|}}
Line 48: Line 52:
  option vid '2'  option vid '2'
 </code> </code>
 +
 +dsa:
  
 {{:media:dsa:dsa-simple-04.png|}} {{:media:dsa:dsa-simple-02.png|}} {{:media:dsa:dsa-simple-04.png|}} {{:media:dsa:dsa-simple-02.png|}}
Line 81: Line 87:
 If you don't want the router to be involved in that VLAN, you can disable this option and run ''service network restart'' for this change to take effect. If you don't want the router to be involved in that VLAN, you can disable this option and run ''service network restart'' for this change to take effect.
  
-==== Egress untagged and PVID ====+==== Egress Untagged, Egress Tagged and PVID ====
  
 **Untagged Traffic**: Traffic between devices where there's no VLAN ID in the frames. Computers, printers, etc. send and receive untagged traffic by default. **Untagged Traffic**: Traffic between devices where there's no VLAN ID in the frames. Computers, printers, etc. send and receive untagged traffic by default.
Line 90: Line 96:
   * **Egress untagged**: Frames will leave the bridge through the specified interface as untagged. Untagged ingress will be assigned to the specified VLAN ID unless PVID is set to a different VLAN ID on the interface. Tagged ingress is discarded.   * **Egress untagged**: Frames will leave the bridge through the specified interface as untagged. Untagged ingress will be assigned to the specified VLAN ID unless PVID is set to a different VLAN ID on the interface. Tagged ingress is discarded.
   * **Egress tagged**: Frames will leave the bridge through the specified interface as tagged with the specified VLAN ID. Untagged ingress is discarded unless PVID is set to a VLAN ID on the interface. Tagged ingress is discarded if the VLAN ID on the tag doesn't match the VLAN ID(s) assigned to the interface.   * **Egress tagged**: Frames will leave the bridge through the specified interface as tagged with the specified VLAN ID. Untagged ingress is discarded unless PVID is set to a VLAN ID on the interface. Tagged ingress is discarded if the VLAN ID on the tag doesn't match the VLAN ID(s) assigned to the interface.
 +
 +==== Egress Untagged, Egress Tagged and PVID Examples ====
 +
 +Untagged ingress from the second interface is assigned to VLAN ID 600 in both cases.
 +
 +{{:media:dsa:br-vid-filter-examples-01.png|}}
 +
 +{{:media:dsa:br-vid-filter-examples-03.png-05-29_13-48-41.png|}}
 +
 +Untagged ingress from the second interface is assigned to VLAN ID 601.
 +
 +{{:media:dsa:br-vid-filter-examples-02.png|}}
 +
 +Untagged ingress from the third interface is discarded.
 +
 +{{:media:dsa:br-vid-filter-examples-03.png-05-29_13-48-41.png|}}
 +
 +Untagged ingress from the third interface is assigned to VLAN 600.
 +
 +{{:media:dsa:br-vid-filter-examples-04.png|}}
 +
 +Untagged ingress from the third interface is assigned to VLAN 601.
 +
 +{{:media:dsa:br-vid-filter-examples-05.png-05-29_14-17-38.png|}}
  
 ==== Wireless ==== ==== Wireless ====
  • Last modified: 2023/12/21 21:55
  • by axx