[LARTC] Classid limit at 10000

Martin Schiøtz malinux at gmail.com
Wed Jul 6 14:39:56 CEST 2005


Hi 

I'm setting up shaping using HTB and hashkey. It seems like there is a
limit on the number of classid's at 10000?
How can I go higher than 10000?
 
This is what my output say when I reach classid number 10000:
...
...

/sbin/tc class add dev eth0 parent 2:6 classid 2:9998 htb prio 5 rate
768kbit ceil 768kbit burst 0 cburst 0

/sbin/tc qdisc add dev eth0 parent 2:9998 handle 9998: sfq perturb 4

/sbin/tc filter add dev eth0 protocol ip prio 5 parent 2:6 u32 ht
12:93: match ip dst 10.50.157.147 flowid 2:9998

/sbin/tc class add dev eth0 parent 2:6 classid 2:10000 htb prio 5 rate
768kbit ceil 768kbit burst 0 cburst 0
Error: argument "invalid class ID" is wrong: 2:10000

/sbin/tc qdisc add dev eth0 parent 2:10000 handle 10000: sfq perturb 4
Error: argument "invalid parent ID" is wrong: 2:10000

/sbin/tc filter add dev eth0 protocol ip prio 5 parent 2:6 u32 ht
12:94: match ip dst 10.50.157.148 flowid 2:10000
Illegal "classid"


Best regards,
Martin


More information about the LARTC mailing list