Package: iproute2 Version: 3.16.0-2 Severity: normal The restore command tries to restore the default route first, and then the one to the network. I'm on debian jessie in a docker environment, however this bug also occurs on my standard debian installation. This is the bash session:
Steps to reproduce: root@localmachine:/# docker run -ti debian:jessie root@8d0984043e32:/# ip route show default via 172.17.0.1 dev eth0 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 root@8d0984043e32:/# ip route save all > backup root@8d0984043e32:/# ip route flush all root@8d0984043e32:/# ip route show root@8d0984043e32:/# ip route restore < backup RTNETLINK answers: Network is unreachable root@8d0984043e32:/# ip route show root@8d0984043e32:/# System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages iproute2 depends on: ii libc6 2.19-18+deb8u2 ii libdb5.3 5.3.28-9 ii libselinux1 2.3-2 Versions of packages iproute2 recommends: pn libatm1 <none> pn libxtables10 <none> Versions of packages iproute2 suggests: pn iproute2-doc <none> -- no debconf information