Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[help] iptables and iproute2 with newer kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gutzu
n00b
n00b


Joined: 04 May 2008
Posts: 2

PostPosted: Sun May 04, 2008 3:43 pm    Post subject: [help] iptables and iproute2 with newer kernel Reply with quote

ive been following http://lartc.org/howto/lartc.cookbook.fullnat.intro.html

trying to setup QoS on my linux router and when i get down to the part where i type

"tc filter add dev eth1 parent 1:0 protocol ip prio 1 handle 1 fw classid 1:10"

i get an error telling me

"RTNETLINK answers: Invalid argument
We have an error talking to the kernel"

Here is my .config if this helps
http://rafb.net/p/mlEB0U44.html
I have built everything that i need into the kernel i'm almost positive.

I am also using the 2.6.23 hardened kernel, 2008.0_beta2

I think that guide was made for the 2.4 kernel, and a lot has changed in networking in those kernels, but if that is the reason this isn't working can anyone tell me how to do it with the 2.6 kernel
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sun May 04, 2008 9:10 pm    Post subject: Reply with quote

did you consider using a frontend for tc like shorewall?
Back to top
View user's profile Send private message
Gutzu
n00b
n00b


Joined: 04 May 2008
Posts: 2

PostPosted: Mon May 05, 2008 3:25 pm    Post subject: Reply with quote

no i didn't, id rather do it manually, than use a frontend.

Still need to figure what is wrong though, was thinking about rebuilding the router with a 2.4 kernel, i'd rather not but if i have too.....

Any suggestions?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum