Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:network:dsa:converting-to-dsa [2022/02/25 11:19] – Clarify DSA config does not apply to wireless config bluewavenet | docs:guide-user:network:dsa:converting-to-dsa [2023/05/17 02:11] – Adding a guided tutorial for DSA saudiqbal | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Some OpenWrt 21.02 (and newer) devices use DSA for configuring network interfaces. | Some OpenWrt 21.02 (and newer) devices use DSA for configuring network interfaces. | ||
| - | If you are upgrading your router to a firmware version that uses DSA, you will need to do the following: | + | If you are upgrading your router to a firmware version that uses DSA, you should read this page. |
| - | (Note: There is a companion [[: | + | **Note:** There is a companion [[: |
| - | (**Note**: DSA support does not effect | + | **Note:** Also check the [[https:// |
| + | |||
| + | **Note**: DSA support does not affect | ||
| + | |||
| + | **Note:** An easy to use [[https:// | ||
| //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 12: | Line 16: | ||
| ===== Bridge all switch ports ===== | ===== Bridge all switch ports ===== | ||
| - | Gather all of the switchport | + | Gather all of the interfaces |
| ===== VLAN Configuration ===== | ===== VLAN Configuration ===== | ||
| Line 24: | 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: | ||
| {{: | {{: | ||
| Line 45: | Line 52: | ||
| option vid ' | option vid ' | ||
| </ | </ | ||
| + | |||
| + | dsa: | ||
| {{: | {{: | ||
| Line 74: | Line 83: | ||
| ==== Local ==== | ==== Local ==== | ||
| - | Local option will automatically assign the specified VLAN ID on the bridge interface | + | Local option will automatically assign the specified VLAN ID to the bridge interface and create a VLAN interface of the bridge interface. So the router can use the VLAN interface |
| - | If you don't want to tag the router | + | If you don't want the router |
| - | ==== Egress | + | ==== Egress |
| - | + | ||
| - | // | + | |
| **Untagged Traffic**: Traffic between devices where there' | **Untagged Traffic**: Traffic between devices where there' | ||
| - | **Ingress**: | + | **Ingress**: |
| - | * **PVID**: | + | * **PVID**: |
| - | **Egress**: Traffic going out of the switch | + | **Egress**: Traffic going out of the bridge |
| - | * **Egress untagged**: | + | * **Egress untagged**: |
| + | * **Egress tagged**: Frames will leave the bridge | ||
| + | |||
| + | ==== Egress Untagged, Egress Tagged and PVID Examples ==== | ||
| + | |||
| + | Untagged ingress from the second interface is assigned to VLAN ID 600 in both cases. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Untagged ingress from the second interface is assigned to VLAN ID 601. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Untagged ingress from the third interface is discarded. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Untagged ingress from the third interface is assigned to VLAN 600. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Untagged ingress from the third interface is assigned to VLAN 601. | ||
| - | To be able to transmit and receive packets on the same VLAN (default way of swconfig), have the PVID and egress untagged on the same VLAN ID for a port. | + | {{: |
| ==== Wireless ==== | ==== Wireless ==== | ||