netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RTA_SRC doesn't work?
@ 2013-05-02 18:31 Juliusz Chroboczek
  2013-05-02 19:21 ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Juliusz Chroboczek @ 2013-05-02 18:31 UTC (permalink / raw)
  To: netdev

Dear all,

We're trying to get RTA_SRC to work, and failing, both in IPv4 and
IPv6.  (We tried with Debian's kernels 3.2 and 3.8).  There are good
reasons why we want to avoid using multiple routing tables, so we'd
really like it to work, at least for v6.

In v4, RTA_SRC appears to be completely ignored:

  $ sudo ip route add default from 172.23.36.54/32 dev eth0
  RTNETLINK answers: File exists
  $

In v6, RTA_SRC appears to be passed to the kernel, but these routes
appear to be unused by the kernel:

  $ sudo ip -6 addr add fd51:92c5:dd08:0::1 dev eth0
  $ sudo ip -6 route add default from fd51:92c5:dd08::/48 dev eth0 via fe80::ea11:32ff:fecf:2dc2
  $ ip -6 route show default
  default from fd51:92c5:dd08::/48 via fe80::ea11:32ff:fecf:2dc2 dev eth0  metric 1024 
  $ telnet 2a00:1450:4007:809::1014
  Trying 2a00:1450:4007:809::1014...
  telnet: Unable to connect to remote host: Network is unreachable

Has anyone been able to make this work?  Any help?

-- Juliusz

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

end of thread, other threads:[~2013-05-02 21:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 18:31 RTA_SRC doesn't work? Juliusz Chroboczek
2013-05-02 19:21 ` David Miller
2013-05-02 19:58   ` Juliusz Chroboczek
2013-05-02 20:21     ` David Miller
2013-05-02 20:42       ` Juliusz Chroboczek
2013-05-02 20:54         ` David Miller
2013-05-02 21:04           ` Juliusz Chroboczek
2013-05-02 21:05           ` Juliusz Chroboczek
2013-05-02 21:10           ` David Miller
2013-05-02 21:18             ` Juliusz Chroboczek

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