* [LARTC] TC filter error
@ 2007-11-22 21:15 Sean Coleman
2007-11-27 20:26 ` Andy Furniss
0 siblings, 1 reply; 2+ messages in thread
From: Sean Coleman @ 2007-11-22 21:15 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 866 bytes --]
When I enter the following,
tc filter add dev eth0 parent 1:0 protocol ip prio 0 u32 match ip src
192.168.0.61 flowid 1:10
Iget this response:
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
The qdiscs add fine, and show as expected, but I can't for the life of me
get the filter to apply.
Using Gentoo w/kernel 2.6.21.3. IPTABLES running as a basic NAT gateway. My
whole goal hinges on getting the filter to work, then I might understand
what the heck is going on with this stuff. I've added every
marking/netfilter kernel option I can find, both as a module and native. No
matter what I add or take away, I get the same error when I try to add the
filter.
It's probably one of those "simple" things, but I'm stumped. Please help, an
additional 200 connections is crimpling us at the moment!
Regards,
Sean
[-- Attachment #1.2: Type: text/html, Size: 3064 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] TC filter error
2007-11-22 21:15 [LARTC] TC filter error Sean Coleman
@ 2007-11-27 20:26 ` Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2007-11-27 20:26 UTC (permalink / raw)
To: lartc
Sean Coleman wrote:
> When I enter the following,
>
>
>
> tc filter add dev eth0 parent 1:0 protocol ip prio 0 u32 match ip src
> 192.168.0.61 flowid 1:10
I can't see anything wrong with that that should throw an error.
prio 1 is the top prio for filters, but it shouldn't matter.
does it work on something simple like -
tc qdisc del dev eth0 root &>/dev/null
tc qdisc add dev eth0 handle 1:0 root prio
tc filter add dev eth0 parent 1:0 protocol ip prio 0 u32 match ip src
192.168.0.61 flowid 1:3
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-27 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-22 21:15 [LARTC] TC filter error Sean Coleman
2007-11-27 20:26 ` Andy Furniss
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.