Netdev List
 help / color / mirror / Atom feed
* Adding routes to another table: no such process
@ 2012-08-07 14:13 Ignacy Gawędzki
  2012-08-07 15:57 ` Ignacy Gawędzki
  0 siblings, 1 reply; 2+ messages in thread
From: Ignacy Gawędzki @ 2012-08-07 14:13 UTC (permalink / raw)
  To: netdev

Hi,

I'm having a hard time setting some routes on a router and can't find any
relevant information anywhere, so I resort to asking on this list.

The router has one interface, say eth0, with configured address 10.0.0.1/32.

Now I would like to do:

  ip rule add from 10.0.0.1 table 100
  ip route add 10.0.0.2/32 dev eth0 table 100
  ip route add 10.0.0.3/32 via 10.0.0.2 table 100

but I get

  RTNETLINK answers: No such process

on the third command.  It's just as though the kernel refused to use a
gateway for which there's no route in the main table.  Is this an actual
requirement for gateways?  I could find some examples around the web setting
routes with gateways in other tables than main, but they obviously don't work,
yielding the same error message.

Thanks for your help.

Ignacy

-- 
The groove will take you through times without money
much better than money will take you through times without groove.

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

end of thread, other threads:[~2012-08-07 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-07 14:13 Adding routes to another table: no such process Ignacy Gawędzki
2012-08-07 15:57 ` Ignacy Gawędzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox