Re: Set DSCP field for ipv6 packets using ip6tables command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2012-01-26 00:17, Mrunal Upadhyay wrote:

>>-j TOS sets the Class field in IPv6 and TOS field in IPv4.
>
>I tried to use the -j TOS option but it only sets the TOS field to 
>Minimize-Delay, Maximize-Throughput, Maximize-Reliability, 
>Minimize-Cost or Normal-Service.

It supports setting arbitrary values and optionally keeping certain 
prior bits: -j TOS --set-tos 0xab/0xcd, see manpage for details.

I guess we can add recognition of the "EF" strings et al to TOS as well, 
but then again, I don't see DSCP having set significant foot into the 
world. Even Linux's packet scheduler still uses the TOS mnemonics.

>I am more interested in setting the Differentiated Service Code Point 
>Bits to classes EF, BE or any of CSxx or AFxx classes just for ipv6 
>packets using ip6tables command.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux