SixXS::Sunset 2017-06-06

linux shaping
[be] Shadow Hawkins on Wednesday, 26 May 2004 10:55:52
I'm trying to set up traffic shaping for ipv6, using wondershaper as a basis. I'm using linux 2.4.26, and the htb qdisk I seem to be unable to match ipv6 traffic. For example, this puts IP protocol 1 (icmp) in the 1:10 class for ipv4: tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip protocol 1 0xff flowid 1:10 I can't find the ipv6 equivalent of the first "protcol ip" (and probably the second too, but I'm not there yet |:( ) Or am I missing something?
linux shaping
[ch] Jeroen Massar SixXS Staff on Wednesday, 26 May 2004 11:25:58
As the current line of IPv6-over-IPv4 tunnels use protocol 41 (RFC1933) you can shape on that protocol. Thus the following should do the trick: tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip protocol 41 0xff flowid 1:10 Alternatively you can also shape all the traffic going to the tunnelserver. Now if you want to shape the IPv6 traffic that goes in the tunnel seperatly you would need to use: tc filter add dev $DEV parent 1:0 protocol ip6 prio 10 u32 match tcp 22 0xff flowid 1:10 Or something similar, but I don't think that the shaping stuff can handle IPv6 yet, at least I never looked at it nor have tried it ;)

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker