Skip to content

Instantly share code, notes, and snippets.

@samirahmed
Last active December 11, 2015 11:18
Show Gist options
  • Save samirahmed/4592410 to your computer and use it in GitHub Desktop.
Save samirahmed/4592410 to your computer and use it in GitHub Desktop.
run these commands to renew your ip on OSX. The curl ip.appspot.com will tell you your external IP, run before and after to ensure there has been a change
curl ip.appspot.com
sudo ipconfig set en0 BOOTP
sudo ipconfig set en0 DHCP
curl ip.appspot.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment