Renew IP address from the Mac OS X Terminal

Use this simple command in Terminal or in a remote SSH session to renew a Mac’s IP address:

sudo ipconfig set en0 BOOTP; sudo ipconfig set en0 DHCP

Be the first to comment

Leave a Reply

Your email address will not be published.


*