Re: [LARTC] u32 filter

Linux Advanced Routing and Traffic Control

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

 



Looking at the LARTC document on page 65, the sample htb configuration,
it should be the first one.

cheers
yuan

On Tue, 2003-05-06 at 19:10, Vitor Carlos Flausino wrote:
> Hi all.
> 
> I have the following queue:
> 
> 
> tc qdisc add dev eth0 root handle 1:0 htb default 15
> 
> 
> tc class add dev eth0 parent 1:0 classid 1:1 htb rate 100mbit ceil 100mbit
> 
> tc class add dev eth0 parent 1:1 classid 1:7 htb rate 64kbit ceil 64kbit
> tc class add dev eth0 parent 1:1 classid 1:15 htb rate 102336kbit ceil 
> 100mbit
> 
> tc qdisc add dev eth0 parent 1:7 handle 10:0 sfq perturb 10
> tc qdisc add dev eth0 parent 1:15 handle 20:0 sfq perturb 10
> 
> Now, my question is, the filter should be:
> 
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip 
> 57.227.234.22 flowid 1:7
> 
> or,
> 
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip 
> 57.227.234.22 flowid 10:0
> 
> ?
> 
> What about the default?
> 
> Thankx,
> -vcf
> 
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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