Re: ip route JSON format is unparseable for "unreachable" routes

2019-07-29 Thread David Ahern
On 7/28/19 5:09 AM, Michael Ziegler wrote: > Hi, > > I created a couple "unreachable" routes on one of my systems, like such: > >> ip route add unreachable 10.0.0.0/8 metric 255 >> ip route add unreachable 192.168.0.0/16 metric 255 > > Unfortunately this results in unparseable JSON output fr

Re: ip route JSON format is unparseable for "unreachable" routes

2019-07-29 Thread David Ahern
On 7/28/19 5:09 AM, Michael Ziegler wrote: > Hi, > > I created a couple "unreachable" routes on one of my systems, like such: > >> ip route add unreachable 10.0.0.0/8 metric 255 >> ip route add unreachable 192.168.0.0/16 metric 255 > > Unfortunately this results in unparseable JSON output fr

Re: ip route JSON format is unparseable for "unreachable" routes

2019-07-28 Thread Stephen Hemminger
On Sun, 28 Jul 2019 13:09:55 +0200 Michael Ziegler wrote: > Hi, > > I created a couple "unreachable" routes on one of my systems, like such: > > > ip route add unreachable 10.0.0.0/8 metric 255 > > ip route add unreachable 192.168.0.0/16 metric 255 > > Unfortunately this results in unpar