iproute2-2.6.38 + oif argument error

5 messages, 2 authors, 2012-01-26 · open the first message on its own page

iproute2-2.6.38 + oif argument error

From: Ganesh Reddy K <hidden>
Date: 2012-01-25 19:44:37

Hello,

I am trying to exercise 'ip rules'  command with some configuration on
 a PowerPC Processor. Version is iproute2-2.6.38


I tried "ip rule add oif eth1 table 100"
It  resulted with  error message "RTNETLINK answers: Invalid argument".

Can anybody tried this.

It is shown in the ip rule help all the possible options . Few of them
are iif, oif.    iif option is working . No issue observed.   oif
option is causing error.


Can you please share any patch fixes to proceed further ?

Thanks,
Ganesh

Re: iproute2-2.6.38 + oif argument error

From: Eric Dumazet <hidden>
Date: 2012-01-25 20:03:36

Le jeudi 26 janvier 2012 à 01:14 +0530, Ganesh Reddy K a écrit :
Hello,

I am trying to exercise 'ip rules'  command with some configuration on
 a PowerPC Processor. Version is iproute2-2.6.38


I tried "ip rule add oif eth1 table 100"
It  resulted with  error message "RTNETLINK answers: Invalid argument".

Can anybody tried this.

It is shown in the ip rule help all the possible options . Few of them
are iif, oif.    iif option is working . No issue observed.   oif
option is causing error.


Can you please share any patch fixes to proceed further ?
What is your kernel version ?

Re: iproute2-2.6.38 + oif argument error

From: Ganesh Reddy K <hidden>
Date: 2012-01-26 16:00:24

uname -a output is

Linux P2020RDB 2.6.32 #32 SMP Tue Dec 6 16:21:38 IST 2011 ppc GNU/Linux

Re: iproute2-2.6.38 + oif argument error

From: Eric Dumazet <hidden>
Date: 2012-01-26 16:13:27

Le jeudi 26 janvier 2012 à 21:30 +0530, Ganesh Reddy K a écrit :
uname -a output is

Linux P2020RDB 2.6.32 #32 SMP Tue Dec 6 16:21:38 IST 2011 ppc GNU/Linux
oif facility was added in 2.6.33 kernel

Re: iproute2-2.6.38 + oif argument error

From: Eric Dumazet <hidden>
Date: 2012-01-26 16:16:19

Le jeudi 26 janvier 2012 à 17:13 +0100, Eric Dumazet a écrit :
Le jeudi 26 janvier 2012 à 21:30 +0530, Ganesh Reddy K a écrit :
quoted
uname -a output is

Linux P2020RDB 2.6.32 #32 SMP Tue Dec 6 16:21:38 IST 2011 ppc GNU/Linux
oif facility was added in 2.6.33 kernel
If you need to backport this facility, check commit 1b038a5e60
(net 03/05: fib_rules: add oif classification)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help