flowid - classid ?
root@Delta:~# tc filter add dev ppp0 parent 1:1 flowid 1:5 protocol ip Unknown filter "flowid", hence option "1:5" is unparsable
root@Delta:~# tc filter add dev ppp0 parent 1:1 classid 1:5 protocol ip Unknown filter "classid", hence option "1:5" is unparsable
I don't understand why it does not work. Can anybody explain me this problem?
Signature · 9 lines
Christoph Kling -- Christoph Kling [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines · On Wednesday 16 October 2002 17:49, [email protected] wrote:
root@Delta:~# tc filter add dev ppp0 parent 1:1 flowid 1:5 protocol ip Unknown filter "flowid", hence option "1:5" is unparsableroot@Delta:~# tc filter add dev ppp0 parent 1:1 classid 1:5 protocol ip Unknown filter "classid", hence option "1:5" is unparsableI don't understand why it does not work. Can anybody explain me this problem?
You miss the filter you want to use. See the manpages and the howto on www.lartc.org.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines · [email protected] wrote:
root@Delta:~# tc filter add dev ppp0 parent 1:1 flowid 1:5 protocol ip Unknown filter "flowid", hence option "1:5" is unparsableroot@Delta:~# tc filter add dev ppp0 parent 1:1 classid 1:5 protocol ip Unknown filter "classid", hence option "1:5" is unparsableI don't understand why it does not work. Can anybody explain me this problem?
Christoph,
it seems that you haven't created classes and queue disciplines.
Classes are used to divide the available bandwidth of a device. Queue disciplines are algorithms that decide which packet to send first in a given class. Filters are used to identify which packets belong to a given class.
Regards,
Stephane.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 12 lines · [email protected] wrote:
The qdiscs and classes are set up correctly. I've forgot to add the filter I want to use (htb). After I added this option, tc segfaults:
root@Delta:/sbin# tc filter add dev ppp0 htb parent 1:1 flowid 1:5 protocol ip prio 1 u32 match ip dport 4662 0xffff Segmentation faultI tried this twice with the original tc binary and with the one coming with the htb kernel patch.
Am 16 Oct 2002 um 13:28 hat Stephane Ouellette geschrieben:
Christoph,
HTB is not a filter. Examples of filters are : u32, fw, route, rsvp,
etc. HTB is a queue discipline :-)
A filter is used to select desired trafic and put it in classes.
Stephane.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/