Package: ifupdown Version: 0.8.19 Severity: normal Tags: ipv6 Dear Maintainer,
when both IPv4 and IPv6 are statically configured, ifdown first removes the IPv4 addresses, then puts the interfaces down, and then tries to remove the IPv6 addresses, which results in the error message "RTNETLINK answers: Cannot assign requested address". Here is the verbose output: root@host:~# ifdown -v ens2 ifdown: reading directory /etc/network/interfaces.d ifdown: parsing file /etc/network/interfaces.d/ens2 ifdown: configuring interface ens2=ens2 (inet) /bin/run-parts --verbose /etc/network/if-down.d /bin/ip addr del 10.0.0.1/255.255.255.255 broadcast 10.0.0.1 dev ens2 label ens2 /bin/ip link set dev ens2 down /bin/run-parts --verbose /etc/network/if-post-down.d ifdown: configuring interface ens2=ens2 (inet6) /bin/run-parts --verbose /etc/network/if-down.d /bin/ip -6 addr del fd00::1/128 dev ens2 RTNETLINK answers: Cannot assign requested address /bin/ip link set dev ens2 down /bin/run-parts --verbose /etc/network/if-post-down.d