[LARTC] GRED queues in Diffserv

Linux Advanced Routing and Traffic Control

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

 



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/

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