When you replace dynamic IP to static IP, you may need to restart your netwrok on Debian as follows.
However, error happens here “rtnetlink answers file exists”. How to solve it???
Run following commands could solve this problem
# ip addr flush dev eth0 # /etc/init.d/networking restart
Answered by harryxiyou.