Set DSCP field for ipv6 packets using ip6tables command

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

 



>>>-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.

Ok so now I understand using -j TOS --set-tos would help me to set the desired DSCP value based on the value I pass.

But does the current ip6tables command support TOS target for IPV6 packets?

--
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