On Sun, 04 Mar 2018 22:07:37 +0000 Luca Boccassi <bl...@debian.org> wrote:
> On Mon, 26 Feb 2018 12:05:05 +0100 Wolfgang Walter <wolfgang.walter@stw > m.de> wrote: > > Package: iproute2 > > Version: 4.15.0-2 > > > > Hello, > > > > after upgrading iproute2 from 4.14.1-2 to 4.15.0-2 > > > > ip route flush all > > > > seems not to work any more. It does not remove all ipv4 routes from > the main > > table as it did before. Downgrading to 4.14.1-2 fixes the problem. > > > > Basically 4.15.0-2 removes the default route, but other routes are > not > > removed. > > > > What still works is > > > > ip route flush table main > > > > > > Another thing which changed is that > > > > ip route ls all > > > > now does not show anything but the default route whereas it used to > show all > > routes of the main table. > > Hi, > > Yes can confirm, it's easily reproduced. > > Stephen, do you know if is this a known change in behaviour? > > With 4.14.0: > > $ ip route ls all > default via 192.168.1.1 dev wlp2s0 proto static metric 600 > 169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown > 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.5 metric 600 > 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown > > With 4.15.0: > > $ ip route ls all > default via 192.168.1.1 dev wlp2s0 proto static metric 600 > > Further tests with 4.15.0: > > $ ip route ls table main > default via 192.168.1.1 dev wlp2s0 proto static metric 600 > 169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown > 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.5 metric 600 > 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 > linkdown > $ sudo ip route flush all > $ ip route ls all > $ ip route ls table main > 169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown > 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.5 metric 600 > 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 > linkdown > > $ sudo ip route add default via 192.168.1.1 > $ ip route ls table main > default via 192.168.1.1 dev wlp2s0 > 169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown > 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.5 metric 600 > 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 > linkdown > $ ip route ls all > default via 192.168.1.1 dev wlp2s0 > $ sudo ip route flush table main > $ ip route ls all > $ ip route ls table main Is it a kernel or iproute issue? Should be bisectable.
pgpr9ZZ4F74PZ.pgp
Description: OpenPGP digital signature