Re: [LARTC] Why aren't filters working (as I wanted)?

Linux Advanced Routing and Traffic Control

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

 



On Friday 11 July 2003 10:40, Vitor Carlos Flausino wrote:
>   First of all, the configuration....
It's much easier for us if you post also your script.  Especially to 
understand the filter statements and the htb setup.

Stef

> qdisc sfq 29: quantum 1514b limit 128p flows 128/1024 perturb 10sec
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 26: quantum 1514b limit 128p flows 128/1024 perturb 10sec
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 25: quantum 1514b limit 128p flows 128/1024 perturb 10sec
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
>  qdisc sfq 21: quantum 1514b limit 128p flows 128/1024 perturb 10sec
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
> * qdisc htb 1: r2q 10 default 999 direct_packets_stat 0 ver 3.10
>  Sent 1077728 bytes 2244 pkts (dropped 908, overlimits 1027)*
>
>  class htb 1:22 parent 1:20 rate 10Kbit ceil 30Kbit burst 1611b/8 mpu 0b
> cburst 1637b/8 mpu 0b level 5
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 1031680 ctokens: 349439
>
> *class htb 1:2 root rate 512Kbit ceil 512Kbit burst 2254b/8 mpu 0b
> cburst 2254b/8 mpu 0b level 7
>  Sent 1077728 bytes 2244 pkts (dropped 0, overlimits 0)
>  rate 701bps 5pps
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 26788 ctokens: 26788*
>
> class htb 1:20 parent 1:2 rate 30Kbit ceil 30Kbit burst 1637b/8 mpu 0b
> cburst 1637b/8 mpu 0b level 6
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 349439 ctokens: 349439
>
> *class htb 1:21 parent 1:20 leaf 21: prio 0 quantum 1000 rate 6Kbit ceil
> 30Kbit burst 1606b/8 mpu 0b cburst 1637b/8 mpu 0b level 0
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 1714132 ctokens: 349439*
>
> class htb 1:26 parent 1:22 leaf 26: prio 0 quantum 1000 rate 14Kbit ceil
> 30Kbit burst 1616b/8 mpu 0b cburst 1637b/8 mpu 0b level 0
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 739199 ctokens: 349439
>
> class htb 1:25 parent 1:22 leaf 25: prio 0 quantum 1000 rate 6Kbit ceil
> 30Kbit burst 1606b/8 mpu 0b cburst 1637b/8 mpu 0b level 0
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 1714132 ctokens: 349439
>
> *class htb 1:999 parent 1:2 prio 0 quantum 6553 rate 512Kbit ceil
> 512Kbit burst 2254b/8 mpu 0b cburst 2254b/8 mpu 0b level 0
>  Sent 1077728 bytes 2244 pkts (dropped 908, overlimits 0)
>  rate 732bps 5pps
>  lended: 2244 borrowed: 0 giants: 0
>  tokens: 26788 ctokens: 26788*
>
> class htb 1:29 parent 1:22 leaf 29: prio 0 quantum 1000 rate 4Kbit ceil
> 30Kbit burst 1604b/8 mpu 0b cburst 1637b/8 mpu 0b level 0
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 2567999 ctokens: 349439
>
> filter parent 1: protocol ip pref 100 u32
> filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
> *filter parent 1: protocol ip pref 100 u32 fh 800::800 order 2048 key ht
> 800 bkt 0 flowid 1:21
>   match 39e3e903/ffffffff at 16*
> filter parent 1: protocol ip pref 100 u32 fh 800::801 order 2049 key ht
> 800 bkt 0 flowid 1:25
>   match 006e0000/ffff0000 at 20
>   match 39e3e900/ffffffe0 at 16
> filter parent 1: protocol ip pref 100 u32 fh 800::802 order 2050 key ht
> 800 bkt 0 flowid 1:26
>   match 0c380000/ffff0000 at 20
>   match 39e3e900/ffffffe0 at 16
> filter parent 1: protocol ip pref 100 u32 fh 800::803 order 2051 key ht
> 800 bkt 0 flowid 1:29
>   match 39e3e900/ffffffe0 at 16
>
>
> My question is why after pinging 57.227.233.3 I don't see traffic on
> class 1:21? Where is this traffic flowing?
> Thankx,
> -vcf
>
>
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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