Nov 22, 2019 by Thibault Debatty | 1409 views
This seems easy, but... When you modify your static IP address in /etc/network/interfaces, the old IP is not removed. The new IP is simply added to your interface.
You can check this using the command
To remove the old IP address you can either:
sudo ip addr del 172.20.104.128/16 dev enp0s8 sudo service networking restart
sudo ip addr flush dev enp0s8 sudo service networking restart