[LARTC] Re: [Linux Diffserv] Can Linux 2.4 support DiffServ under IPv6 ?

Linux Advanced Routing and Traffic Control

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

 



Scottin wrote:

> & If can HOW ?
> 
>  
> 
> thx
> 
>  
> 

IMO you have to do almost everything the same way as for ipv4 (see HOWTO). If
you are about writing tc filter rules, try the following syntax:

tc filter replace dev eth0 parent 1:0 protocol ipv6 prio 1 u32 \
    match ip6 dport 23 0xffff flowid 1:1

This is only one example but for a match on the destination port 23. For making
the match work on ipv6, be sure using the 'protocol ipv6' and the 'match ip6'
syntax.

If that is what you meant and if you need more info, feel free to contact me.

Viktor



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux