linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iproute2-2.6.38 + oif argument error
@ 2012-01-25 19:44 Ganesh Reddy K
  2012-01-25 20:03 ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Ganesh Reddy K @ 2012-01-25 19:44 UTC (permalink / raw)
  To: Linux Kernel Mailing List, netdev; +Cc: Ganesh Reddy, ganeshreddy

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: iproute2-2.6.38 + oif argument error
  2012-01-25 19:44 iproute2-2.6.38 + oif argument error Ganesh Reddy K
@ 2012-01-25 20:03 ` Eric Dumazet
  2012-01-26 16:00   ` Ganesh Reddy K
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2012-01-25 20:03 UTC (permalink / raw)
  To: Ganesh Reddy K; +Cc: Linux Kernel Mailing List, netdev, ganeshreddy

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 ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: iproute2-2.6.38 + oif argument error
  2012-01-25 20:03 ` Eric Dumazet
@ 2012-01-26 16:00   ` Ganesh Reddy K
  2012-01-26 16:13     ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Ganesh Reddy K @ 2012-01-26 16:00 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Linux Kernel Mailing List, netdev, ganeshreddy

uname -a output is

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: iproute2-2.6.38 + oif argument error
  2012-01-26 16:00   ` Ganesh Reddy K
@ 2012-01-26 16:13     ` Eric Dumazet
  2012-01-26 16:16       ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2012-01-26 16:13 UTC (permalink / raw)
  To: Ganesh Reddy K; +Cc: Linux Kernel Mailing List, netdev, ganeshreddy

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: iproute2-2.6.38 + oif argument error
  2012-01-26 16:13     ` Eric Dumazet
@ 2012-01-26 16:16       ` Eric Dumazet
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Dumazet @ 2012-01-26 16:16 UTC (permalink / raw)
  To: Ganesh Reddy K; +Cc: Linux Kernel Mailing List, netdev, ganeshreddy

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 :
> > 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)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-26 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25 19:44 iproute2-2.6.38 + oif argument error Ganesh Reddy K
2012-01-25 20:03 ` Eric Dumazet
2012-01-26 16:00   ` Ganesh Reddy K
2012-01-26 16:13     ` Eric Dumazet
2012-01-26 16:16       ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).