Ubuntu Server LTS restart networking

Those of you who have been using service networking restart to re-cycle your network interfaces will surely be surprised, when the command prompt spits back an error instead of doing what it is told to.

As it turns out I have faced a similar situation, to which the only remedy was to issue this command (for the interface you want to cycle, respectively)

sudo ifdown eth0 && sudo ifup eth0

Should you happen to receive another error, check out this post on RTNETLINK answers: File exists error.


Thanks for reading! Please consider Buying me a Coffee or checking out Colibri!