Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Chandrashekhar Rane <chandrashekhar@netcore.co.in>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] HTB
Date: Fri, 08 Nov 2002 13:45:01 +0000	[thread overview]
Message-ID: <marc-lartc-103676248729714@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101661742904753@msgid-missing>

Dear Rimas,

I think you trying to remove any qdisc already present on your egress
queue.

If you have not created any qdisc before trying to remove it, then
defn't it will give such error.  

You need to redirect it to /dev/null. if you trying to do the same
before creating the root qdisc.

shekhar
On Fri, 2002-11-08 at 18:38, Rimas wrote:
> shekhar,
> 
> >Make sure you had enable the HTB support in Kernel for Fair Queuing.
> I did it.
> 
> When I look to htb-start (debug file) I seethe error message only in one
> place:
> 
> # Fri Nov  8 10:56:35 GMT 2002
> 
> # ip link show
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: shaper0: <> mtu 1500 qdisc noop qlen 10
>     link/ether
> 3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:50:04:6c:3c:5b brd ff:ff:ff:ff:ff:ff
> 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:50:da:3c:d9:8b brd ff:ff:ff:ff:ff:ff
> 5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:04:e2:26:3d:80 brd ff:ff:ff:ff:ff:ff
> 
> # tc qdisc del dev eth0 root
> RTNETLINK answers: No such file or directory
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> # tc qdisc add dev eth0 root handle 1 htb default 30 r2q 100
> 
> # ip link show
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: shaper0: <> mtu 1500 qdisc noop qlen 10
>     link/ether
> 3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc htb qlen 100
>     link/ether 00:50:04:6c:3c:5b brd ff:ff:ff:ff:ff:ff
> 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:50:da:3c:d9:8b brd ff:ff:ff:ff:ff:ff
> 5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:04:e2:26:3d:80 brd ff:ff:ff:ff:ff:ff
> 
> # tc class add dev eth0 parent 1: classid 1:2 htb rate 5Mbit burst 15k
> 
> # tc class add dev eth0 parent 1:2 classid 1:10 htb rate 5Mbit burst 15k
> 
> # tc qdisc add dev eth0 parent 1:10 handle 10 sfq perturb 10
> 
> # tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip sport
> 80 0xffff classid 1:10
> 
> # tc class add dev eth0 parent 1:2 classid 1:20 htb rate 3Mbit ceil 5Mbit
> burst 15k
> 
> # tc qdisc add dev eth0 parent 1:20 handle 20 sfq perturb 10
> 
> # tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dport
> 25 0xffff classid 1:20
> 
> # tc class add dev eth0 parent 1:2 classid 1:30 htb rate 1Kbit ceil 5Mbit
> burst 15k
> 
> # tc qdisc add dev eth0 parent 1:30 handle 30 sfq perturb 10
> 
> Any ideas?
> 
> Thnak you
> 
> Rimas
> 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-11-08 13:45 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  9:43 [LARTC] htb George Tsuladze
2002-03-20 12:20 ` Soulfly
2002-05-04 11:42 ` Stef Coene
2002-09-24 14:12 ` [LARTC] HTB Rimas
2002-09-24 14:12 ` Rimas
2002-09-24 14:17 ` Marc-Christian Petersen
2002-09-24 14:23 ` Esteban Maringolo
2002-09-24 14:30 ` Rimas
2002-09-24 14:55 ` Rimas
2002-09-24 15:00 ` Marc-Christian Petersen
2002-09-24 15:14 ` Rimas
2002-09-24 15:14 ` Rimas
2002-09-24 15:51 ` Esteban Maringolo
2002-09-24 16:16 ` Stef Coene
2002-09-25  4:27 ` mdew
2002-09-25  7:59 ` Stef Coene
2002-09-26 14:36 ` raptor
2002-11-08 13:45 ` Chandrashekhar Rane [this message]
2002-12-27 20:14 ` Reginald R. Richardson
2002-12-27 21:59 ` Stef Coene
2003-05-13 18:00 ` [LARTC] htb Evgeni Gechev
2003-05-13 18:34 ` Stef Coene
2003-05-13 19:03 ` Evgeni Gechev
2003-05-13 19:40 ` Stef Coene
2003-05-13 19:47 ` Evgeni Gechev
2003-05-13 19:53 ` Stef Coene
2003-05-13 20:47 ` Evgeni Gechev
2003-05-14 10:01 ` Stef Coene
2004-01-15  7:21 ` [LARTC] HTB Cristea Virgil Ionut
2004-01-15 12:12 ` Andre Correa
2004-04-09 23:09 ` Arturas Lapiene
2004-10-14 18:23 ` sistemas
2004-10-14 20:03 ` Jason Boxman
2004-10-17 11:44 ` [LARTC] htb James Lista
2004-10-17 12:08 ` James Lista
2004-10-17 12:19 ` Andreas Klauer
2004-10-17 12:41 ` James Lista
2004-10-17 12:53 ` ja
2004-10-17 13:02 ` James Lista
2004-10-17 13:20 ` Andreas Klauer
2004-10-17 13:22 ` Andreas Klauer
2004-11-10 14:48 ` [LARTC] HTB "Marcus Schäfer"
2007-06-10 16:27 ` Marco Aurelio
2007-06-11  8:09 ` m.innocenti
  -- strict thread matches above, loose matches on Subject: below --
2002-05-04  8:53 [LARTC] htb Anjaneya Pal
2002-05-04  8:56 ` Martin Devera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103676248729714@msgid-missing \
    --to=chandrashekhar@netcore.co.in \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox