netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* routing UAPI mismatch invalid state behavior?
@ 2017-10-15 17:02 Alexander Aring
  2017-10-16  1:56 ` David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2017-10-15 17:02 UTC (permalink / raw)
  To: netdev; +Cc: Jamal Hadi Salim

Hi,

I figure out some problem, easy to reproduce:

# setup dummy
$ modprobe dummy
$ ip link set dummy0 up

# issue
$ ip route replace default via 169.254.65.37 dev dummy0
RTNETLINK answers: Network is unreachable

so it will forbid me to do that, but:

$ ip route replace 169.254.65.37 dev dummy0
$ ip route replace default via 169.254.65.37 dev dummy0
$ ip route del 169.254.65.37 dev dummy0

allows me to do that. Is there now a invalid state in my routing table
or is it an expected behavior?

- Alex

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

end of thread, other threads:[~2017-10-16  1:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-15 17:02 routing UAPI mismatch invalid state behavior? Alexander Aring
2017-10-16  1:56 ` David Ahern

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