OpenWrt Forum Archive

Topic: questions about qos on openwrt

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

1. Whether to support the dscp trusted mode and CoS trusted mode?
2. How to open a trust mode?

how to remarking 802.1p tag and dscp tag with ebtables+iptables+tc?
How to classify with he priority in the VLAN/802.1p tag and the dscp tag?

(Last edited by hu851211 on 21 Nov 2012, 09:12)

hu851211 wrote:

how to remarking 802.1p tag and dscp tag with ebtables+iptables+tc?
How to classify with he priority in the VLAN/802.1p tag and the dscp tag?

802.1p tag, VLAN/802.1p tag  - Interesting....
Unfortunately I do not think that ip/ebtables are capable of doing that.
However, if someone knows a way to trigger those fields of the ethernet frame

As it concerns the DSCP field of the IP packet - iptables can do the job.

DSCP target options
  --set-dscp value        Set DSCP field in packet header to value
                          This value can be in decimal (ex: 32)
                       or in hex (ex: 0x20)
  --set-dscp-class class    Set the DSCP field in packet header to the
                value represented by the DiffServ class value.
                This class may be EF,BE or any of the CSxx
                or AFxx classes.

                These two options are mutually exclusive !

dscp match options
[!] --dscp value        Match DSCP codepoint with numerical value
                          This value can be in decimal (ex: 32)
                       or in hex (ex: 0x20)
[!] --dscp-class name        Match the DiffServ class. This value may
                be any of the BE,EF, AFxx or CSx classes

                These two options are mutually exclusive !

thanks for your help!

dir2cas wrote:
hu851211 wrote:

how to remarking 802.1p tag and dscp tag with ebtables+iptables+tc?
How to classify with he priority in the VLAN/802.1p tag and the dscp tag?

802.1p tag, VLAN/802.1p tag  - Interesting....
Unfortunately I do not think that ip/ebtables are capable of doing that.
However, if someone knows a way to trigger those fields of the ethernet frame

As it concerns the DSCP field of the IP packet - iptables can do the job.

DSCP target options
  --set-dscp value        Set DSCP field in packet header to value
                          This value can be in decimal (ex: 32)
                       or in hex (ex: 0x20)
  --set-dscp-class class    Set the DSCP field in packet header to the
                value represented by the DiffServ class value.
                This class may be EF,BE or any of the CSxx
                or AFxx classes.

                These two options are mutually exclusive !

dscp match options
[!] --dscp value        Match DSCP codepoint with numerical value
                          This value can be in decimal (ex: 32)
                       or in hex (ex: 0x20)
[!] --dscp-class name        Match the DiffServ class. This value may
                be any of the BE,EF, AFxx or CSx classes

                These two options are mutually exclusive !

I wants to know more about openwrt.

urine drug test

(Last edited by Shoyeb56564 on 29 Mar 2013, 18:46)

why not read the wiki and docs?

Shoyeb56564 wrote:

I wants to know more about openwrt.

Looks like a spam preparation post - wouldn't surprise me if a signature link occurs within the next 24 hours.

The discussion might have continued from here.