IPv6 QoS and Traffic Shaping

Bernhard Schmidt berni at birkenwald.de
Fri Aug 29 14:33:04 CEST 2008


Hallo,

> Thank you for the quick response.
> 
> I've already read about tc filters and 6to4, but I don't use IPv6
> tunnels. Fortunately I have native IPv6 to the world but I don't know
> how to filter it. That's the reason why I need some help. I suppose that
> can be made with u32 match as well, but I thought there was a simpler
> way to do it.

This is native (tc filter add dev _eth0_). I use it to limit the amount
of traffic sent by my natively connected box to 6to4 addresses, which
are encapsulated into IPv4 on _another_ box (the 6to4 relay) in the same
ASN. And thus don't appear as IPv6 in my edge stats which is all I care
about :-)

You can match arbitrary things with u32 if you know the offsets. tc
understands a few offsets by itself (see "match ip6 dst" and "match ip6
protocol"), but the more sophisticated things need to be done by hand.

Bernhard


More information about the ipv6-ops mailing list