Skip to contentSkip to conversation

TC Filter matching all

LARTC Michał Margula 2 participants 2 messages Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

Hello!

I was always using "default" in HTB to choose default class, but now I
need to do it with filters. Tried following command:

# tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2
Unknown filter "flowid", hence option "10:2" is unparsable

It is from example in LARTC Howto.

My question is then - how to make a filter matching all without eating too much CPU cycles?

Thanks

Signature · 6 lines
Micha³ Margula, [email protected], http://alchemyx.uznam.net.pl/
"W ¿yciu piêkne s± tylko chwile" [Ryszard Riedel]
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw

I use this one for "match anything"
http://mailman.ds9a.nl/pipermail/lartc/2005q3/016774.html

Andreas

Quoting Michał Margula <[email protected]>:

Quoted 8 lines

Hello!

I was always using "default" in HTB to choose default class, but now I
need to do it with filters. Tried following command:

# tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2
Unknown filter "flowid", hence option "10:2" is unparsable
Quoted 14 lines

It is from example in LARTC Howto.

My question is then - how to make a filter matching all without eating too much CPU cycles?

Thanks

Signature · 6 lines
Michał Margula, [email protected], http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc