Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarification on the use of use-ip-firewall=yes

...

Info

When packets are forwarded through a bridge, it is possible to change VLAN/WMM priority from DSCP you have to pass packets through IP firewall mangle rules with , to do so set use-ip-firewall=yes under the bridge settings. 

DSCP from Priority

...

Similarly, the DSCP value can be set if the received packet contains VLAN or WMM priority. This can be achieved with IP mangle rules with new-dscp=from-priority or new-dscp=from-priority-to-high-3-bits settings and change-dscp action property. Note that priority in VLAN or WMM packets can have values 0-7, but DSCP in IP headers are 0-63. When using the new-dscp=from-priority setting, the value of priority will set the 3 low bits of the DSCP, but when using new-dscp=from-priority-to-high-3-bits  the value of priority will set the 3 high bits of the DSCP. 

...

In this example, the AP device needs to set DSCP from WMM priority when packets are routed. First, add a rule to set priority, it will be needed for the DSCP rule in order to correctly change the DSCP value. This rule can take priority from ingress. Then add the DSCP rule to change its value.

...

Info

When packets are forwarded through a bridge, it is possible to change DSCP from VLAN/WMM you have to pass packets through IP firewall mangle rules with , to do so set use-ip-firewall=yes under  under the bridge settings.

Combining priority setting and handling solutions

...