* [LARTC] Classid limit at 10000
@ 2005-07-06 12:39 Martin Schiøtz
2005-07-06 12:58 ` Michał Margula
2005-07-06 13:59 ` Michał Margula
0 siblings, 2 replies; 3+ messages in thread
From: Martin Schiøtz @ 2005-07-06 12:39 UTC (permalink / raw)
To: lartc
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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Classid limit at 10000
2005-07-06 12:39 [LARTC] Classid limit at 10000 Martin Schiøtz
@ 2005-07-06 12:58 ` Michał Margula
2005-07-06 13:59 ` Michał Margula
1 sibling, 0 replies; 3+ messages in thread
From: Michał Margula @ 2005-07-06 12:58 UTC (permalink / raw)
To: lartc
Martin Schiøtz wrote:
> 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?
>
Class ID is hex, and can go up to FFFF, which is 65535. I think it is
quite enough for everyone :-). It won't accept 10000 because it is not
legal 4 byte word written in hex.
--
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Classid limit at 10000
2005-07-06 12:39 [LARTC] Classid limit at 10000 Martin Schiøtz
2005-07-06 12:58 ` Michał Margula
@ 2005-07-06 13:59 ` Michał Margula
1 sibling, 0 replies; 3+ messages in thread
From: Michał Margula @ 2005-07-06 13:59 UTC (permalink / raw)
To: lartc
Michał Margula wrote:
>
>
> Class ID is hex, and can go up to FFFF, which is 65535. I think it is
> quite enough for everyone :-). It won't accept 10000 because it is not
> legal 4 byte word written in hex.
>
2 byte word of course, sorry.
--
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-06 13:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 12:39 [LARTC] Classid limit at 10000 Martin Schiøtz
2005-07-06 12:58 ` Michał Margula
2005-07-06 13:59 ` Michał Margula
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.