-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

   Hello,

   I am trying to create CBQ setup that would classify packets into
"high-priority low-latency" and "low-priority bulk" classes and handle
them appropriately:

#--- root ---
tc qdisc add dev ppp0 root handle 1:0 cbq bandwidth 38400bps avpkt 380 \
  mpu 64
#--- class 1:1 for interactive prioritized traffic ---
tc class add dev ppp0 parent 1: classid :1 est 2sec 16sec cbq \
  bandwidth 38400bps rate 10000bps allot 580b weight 1 prio 1 \
  maxburst 10 avpkt 512
tc qdisc add dev ppp0 parent 1:1 sfq quantum 1500b perturb 5
#--- class 1:3 for the rest of traffic ---
tc class add dev ppp0 parent 1: classid :2 est 1sec 8sec cbq bandwidth \
  38400bps rate 28400bps allot 580b weight 1 prio 7 maxburst 5 \
  avpkt 1000 defmap 3f
tc qdisc add dev ppp0 parent 1:2 sfq quantum 1500b perturb 5
#--- we will filter according to fwmark ---
tc filter add dev ppp0 parent 1:0 protocol ip prio 90 fw

   Strange thing 1:

class cbq 1: root rate 300Kbit (bounded,isolated) prio no-transmit

   Root class is created with bandwidth 300Kbit even if I specify
38400bps.

   Strange thing 2:

   For some reason no packets make it to class 1:2 and they show up in 1:0
instead, which is wrong. Packets that belong 1:1 go there as they should.


   Bye Borek

- --

=====================================================================
BOREK LUPOMESKY, network administrator    University of J. E. Purkyne
                                          Ceske mladeze 8
WWW:       http://www.ujep.cz/~lupomesk/  Usti nad Labem, 40096
IRCnet:    Borek @ #usti                  The Czech Republic
PGP keyid: B6A06AEB    ICQ: 10139578      tel: +420-602-376368
==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4p/JbA6dWI7agausRAlPdAJ9r52GvmK3VBpv4jbZguqg00xWhRQCgsdA7
7UjNHnuMwsPIDVj+xU0WmqE=
=1ONN
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to