* [LARTC] tc filter protocol 47 issues
@ 2002-07-02 3:30 Jeremy Nelson
2002-07-02 5:06 ` Alexey Talikov
2002-07-02 6:33 ` Jeremy Nelson
0 siblings, 2 replies; 3+ messages in thread
From: Jeremy Nelson @ 2002-07-02 3:30 UTC (permalink / raw)
To: lartc
Hi Group....
Im trying to use tc to filter GRE (protocol 47) traffic. I have all my classes under one parent. I have all my qdiscs and classes setup.
When I use tc to filter GRE traffic it seems to work ok but as soon as I then try to filter IP traffic I get "Invalid argument"
See below
[root@scabeek rc.d]# tc filter add dev eth0 protocol 47 parent 1:0 prio 1 u32 match ip src 192.168.97.245 flowid 1:30
[root@scabeek rc.d]# tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
If I then delete all tc filters and then I add the IP tc filter first and it is ok. I then try to add the GRE filter and again I get the "Invalid argument"
See below
[root@scabeek rc.d]# tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip sport 80 0xffff flowid 1:10
[root@scabeek rc.d]# tc filter add dev eth0 protocol 47 parent 1:0 prio 1 u32 match ip src 192.168.97.245 flowid 1:30
RTNETLINK answers: Invalid argument
Can I filter both IP and GRE traffic or are they incompatible within tc ??
Cheers
Jeremy
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] tc filter protocol 47 issues
2002-07-02 3:30 [LARTC] tc filter protocol 47 issues Jeremy Nelson
@ 2002-07-02 5:06 ` Alexey Talikov
2002-07-02 6:33 ` Jeremy Nelson
1 sibling, 0 replies; 3+ messages in thread
From: Alexey Talikov @ 2002-07-02 5:06 UTC (permalink / raw)
To: lartc
tc filter add dev eth0 parent 1:0 prio 1 u32 match protocol ip 0x2f 0xff flowid 1:30
0x2fG (gre)
-----------------------------------
mailto:alexey_talikov@texlab.com.uz
BR
Alexey Talikov
FORTEK
-----------------------------------
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] tc filter protocol 47 issues
2002-07-02 3:30 [LARTC] tc filter protocol 47 issues Jeremy Nelson
2002-07-02 5:06 ` Alexey Talikov
@ 2002-07-02 6:33 ` Jeremy Nelson
1 sibling, 0 replies; 3+ messages in thread
From: Jeremy Nelson @ 2002-07-02 6:33 UTC (permalink / raw)
To: lartc
I gave that a go but come up with Illegal "match"
and unfortunatly the tc-filter man pages are still forthcoming
> -----Original Message-----
> From: Alexey Talikov [mailto:alexey_talikov@texlab.com.uz]
> Sent: Tuesday, 2 July 2002 3:07 PM
> To: LARTC mailing list (E-mail); Jeremy Nelson
> Subject: Re: [LARTC] tc filter protocol 47 issues
>
>
> tc filter add dev eth0 parent 1:0 prio 1 u32 match protocol
> ip 0x2f 0xff flowid 1:30
>
> 0x2f=47 (gre)
> -----------------------------------
> mailto:alexey_talikov@texlab.com.uz
> BR
> Alexey Talikov
> FORTEK
> -----------------------------------
>
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-02 6:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-02 3:30 [LARTC] tc filter protocol 47 issues Jeremy Nelson
2002-07-02 5:06 ` Alexey Talikov
2002-07-02 6:33 ` Jeremy Nelson
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.