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? -- Christoph Kling -- Christoph Kling Christoph-Kling@uni.de _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wednesday 16 October 2002 17:49, christoph-kling@uni.de wrote:> 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?You miss the filter you want to use. See the manpages and the howto on www.lartc.org. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
christoph-kling@uni.de wrote:> 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? >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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
medusaXX@uni.de 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 fault > > I 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/