All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] flowid - classid ?
@ 2002-10-16 15:49 christoph-kling
  2002-10-16 16:27 ` Stef Coene
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: christoph-kling @ 2002-10-16 15:49 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] flowid - classid ?
  2002-10-16 15:49 [LARTC] flowid - classid ? christoph-kling
@ 2002-10-16 16:27 ` Stef Coene
  2002-10-16 17:28 ` Stephane Ouellette
  2002-10-17  4:02 ` Stephane Ouellette
  2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2002-10-16 16:27 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] flowid - classid ?
  2002-10-16 15:49 [LARTC] flowid - classid ? christoph-kling
  2002-10-16 16:27 ` Stef Coene
@ 2002-10-16 17:28 ` Stephane Ouellette
  2002-10-17  4:02 ` Stephane Ouellette
  2 siblings, 0 replies; 4+ messages in thread
From: Stephane Ouellette @ 2002-10-16 17:28 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] flowid - classid ?
  2002-10-16 15:49 [LARTC] flowid - classid ? christoph-kling
  2002-10-16 16:27 ` Stef Coene
  2002-10-16 17:28 ` Stephane Ouellette
@ 2002-10-17  4:02 ` Stephane Ouellette
  2 siblings, 0 replies; 4+ messages in thread
From: Stephane Ouellette @ 2002-10-17  4:02 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-17  4:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16 15:49 [LARTC] flowid - classid ? christoph-kling
2002-10-16 16:27 ` Stef Coene
2002-10-16 17:28 ` Stephane Ouellette
2002-10-17  4:02 ` Stephane Ouellette

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.