On Tuesday 14 May 2002 11:38, Catalin BOIE wrote: > Hello! > > Seems that whatever I set for prio for a htb class it is always set to 3. Prio is a number between 0 and 3. Prio's > 3 are set to 3. Stef > Example script: > > ifconfig dummy1 up > ifconfig dummy1 200.200.200.200 netmask 255.255.255.248 > > tc qdisc del dev dummy1 root > > tc qdisc add dev dummy1 root handle 2: htb > > tc class add dev dummy1 parent 2: classid 2:1 \ > htb prio 7 rate 1000bps ceil 2000bps > ^^^^^ > > Dump: > # tc -s -d -r class show dev dummy1 > class htb 2:1 root prio 3 rate 1000bps ceil 2000bps burst 1609b/8 mpu 0b > ^^^^^ > cburst 1619b/8 mpu 0b quantum 100 level 0 buffer [00142000] cbuffer > [000a2000] Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > lended: 0 borrowed: 0 giants: 0 injects: 0 > tokens: 1318912 ctokens: 663552 > > > Thanks! > > --- > Catalin(ux) BOIE > catab@xxxxxxxxxxxxxxx > openh323://dino.rdsbv.ro > > _______________________________________________ > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -- stef.coene@xxxxxxxxx "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net