Netdev List
 help / color / mirror / Atom feed
* set route
@ 2012-04-03  5:47 Jean-Jacques Sarton
  0 siblings, 0 replies; only message in thread
From: Jean-Jacques Sarton @ 2012-04-03  5:47 UTC (permalink / raw)
  To: netdev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I think there is a little bug within the portion of code
for setting the network routing.
If I issue the following

ip li se dev x down; ip li se dev x up;\
ip ad ad 2001:db8:1:1::2/64 dev X;\
ip ro ad 2001:db8:1:1::/64 via 2001:db8:1:1::2 dev X

All id OK. If I insert a sleep 2 between set addr
and set route, I will get the error message:
RTNETLINK answers: No route to host

This seem, for me to be a BUG. The address is known
and therefore there is a route.
If the addresse for the gateway is outside, this
may make sense, but for a static route I expect
that the route is set regardless of the knowledge
of the addresse.

Do you have an explanation for the problem and if
this is a bug, will it be fixed ?

Regards,

Jean-Jacques Sarton
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk96jvkACgkQM9JbiR3CwQskpACeMj0S6q5IYD9FhwGLOZZjWeKr
A3sAn1s99YK7aacxQ+Eiqb9MI4CaWDs+
=yLUY
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-03  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-03  5:47 set route Jean-Jacques Sarton

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