From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitor Carlos Flausino Date: Thu, 10 Jul 2003 14:28:41 +0000 Subject: [LARTC] Why aren't filters working (as I wanted)? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org First of all, the configuration....

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@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 10 Jul 2003 17:19:31 +0000 Subject: Re: [LARTC] Why aren't filters working (as I wanted)? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Can you resend your mesaage in plain text and not in html format? Thx Stef On Thursday 10 July 2003 16:28, Vitor Carlos Flausino wrote: > > > > > > > > First of all, the configuration....
>
> 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@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitor Carlos Flausino Date: Fri, 11 Jul 2003 08:40:10 +0000 Subject: [LARTC] Why aren't filters working (as I wanted)? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org First of all, the configuration.... 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@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Fri, 11 Jul 2003 11:52:57 +0000 Subject: Re: [LARTC] Why aren't filters working (as I wanted)? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/