rtnetlink answers file exists

When you replace dynamic IP to static IP, you may need to restart your netwrok on Debian as follows.

$sudo /etc/init.d/networking restart

…. reconfiguring network interfaces…rtnetlink answers file exists

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.

Weiwei Jia

Weiwei Jia is a Ph.D. student in the Department of Computer Science at New Jersey Institute of Technology since 2016. His research interests are include storage systems, operating systems and computer systems.

Leave a Reply

Your email address will not be published. Required fields are marked *