All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] GRED queues in Diffserv
@ 2002-06-10 22:45 Amit Kucheria
  2002-06-11 13:34 ` Kurt Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: Amit Kucheria @ 2002-06-10 22:45 UTC (permalink / raw)
  To: lartc

Hi all,

I am setting up a Diffserv router. Part of the script that I use it as 
follows:

---------------------------------------------------
sudo /usr/bin/tc qdisc add dev r1p4 handle 1:0 root dsmark indices 64 
set_tc_index

sudo /usr/bin/tc filter add dev r1p4 parent 1:0 protocol ip prio 1 
tcindex mask 0xfc shift 2 pass_on

sudo /usr/bin/tc qdisc add dev r1p4 parent 1:0 handle 2:0 cbq bandwidth 
10Mbit allot 1514 cell 8 avpkt 1456 mpu 64

sudo /usr/bin/tc filter add dev r1p4 parent 2:0 protocol ip prio 1 
tcindex mask 0xf0 shift 4 pass_on

sudo /usr/bin/tc class add dev r1p4 parent 2:0 classid 2:1 cbq bandwidth 
10Mbit rate 6Mbit avpkt 1456 prio 5 bounded allot 1514 weight 600Kbit 
maxburst 21

sudo /usr/bin/tc filter add dev r1p4 parent 2:0 protocol ip prio 1 
handle 1 tcindex classid 2:1

sudo /usr/bin/tc qdisc add dev r1p4 parent 2:1 gred setup DPs 3 default 2 
grio
---------------------------------------------------

This last line where I setup the gred qdisc shows a message in the logs as 
"NO GRED Queues setup! ". Can anybody comment on what this could mean? I 
am using 2.2.18 with a Diffserv patch.

TIA,
Amit

PS.The remainin lines of the script include creating 3 gred qdiscs,
setting their limits and creating another CBQ class (2:2) for un(ds)marked
traffic.


-- 
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-11 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-10 22:45 [LARTC] GRED queues in Diffserv Amit Kucheria
2002-06-11 13:34 ` Kurt Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.