From: "Jeremy Nelson" <jeremy@thepulsegroup.net>
To: lartc@vger.kernel.org
Subject: [LARTC] tc filter protocol 47 issues
Date: Tue, 02 Jul 2002 03:30:45 +0000 [thread overview]
Message-ID: <marc-lartc-102558076011481@msgid-missing> (raw)
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/
next reply other threads:[~2002-07-02 3:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-02 3:30 Jeremy Nelson [this message]
2002-07-02 5:06 ` [LARTC] tc filter protocol 47 issues Alexey Talikov
2002-07-02 6:33 ` Jeremy Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-102558076011481@msgid-missing \
--to=jeremy@thepulsegroup.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.