Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.