Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to re-run the network configuration, as everything has changed. How can I re-run the auto-configuration?

This is on 12.04 Server

share|improve this question

sudo dhclient -r should release the current IP configuration, and sudo dhclient should get a new ip address after that. I'd personally prefer to run ifup ethX then ifdown ethX where ethX is the devicename to disconnect and reconnect the network, in case there's anything else that needs resetting

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.