[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOHTApje2ABpRPghhqabD=JkBOzjFjVmc1N67ReDBLHeGGVe1Q@mail.gmail.com>
Date: Sun, 15 Oct 2017 13:02:20 -0400
From: Alexander Aring <aring@...atatu.com>
To: netdev@...r.kernel.org
Cc: Jamal Hadi Salim <jhs@...atatu.com>
Subject: routing UAPI mismatch invalid state behavior?
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
Powered by blists - more mailing lists