fw and match filters (was NAT+mangle+tc)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Oct 2004, Robert Felber wrote:

> try:
>
> tc filter add dev eth2 protocol ip parent 1: prio 1 handle 1 fw classid 1:X
>
> X is your class, it should not be 1 since this is usually a root class (I
> guess you are using HTB). Example:

Ok. I created two special classes under '1:' for each interface to acomodate
the icmp traffic.
Now the 'tc filter ... fw ... ' lines works flawlessly.

But after I execute the 'tc filter ... fw ... ' command, every
'tc filter ... match ... ' after those gives me the
'RTNETLINK answers: Invalid argument' error.

Aren't they (fw and match) supposed to cohexist?

If I comment the 2 'filter fw' lines the errors desappear.
Any ideas?

Ethy H. Brito         /"\
InterNexo Ltda.       \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3941-6860     X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux