RenewIP
From Amahi Wiki
Sometimes, it's useful to force your computer to renew it's IP address lease from the DHCP server.
For example, when you change your DHCP server by disabling the DHCP in your router, and you want to start using Amahi's DHCP server, you'll need to do that.
Here's how to do it.
Windows
- Click on the "Start" button and choose "Run."
- Type "cmd" in the box and click on "OK." A window with a command prompt appears. It resembles the old DOS operating system.
- Type "ipconfig /release" and press "Enter." This releases your computers current IP addresses.
- Type "ipconfig /renew" and press "Enter." This assigns your computer a new set of IP addresses.
- Type "Exit" and press "Enter" to close the window. You computer now has a new IP address.
Ref.: http://www.ehow.com/how_2081578_renew-computers-ip-address.html
Mac OS X
- Choose System Preferences from the Apple menu.
- Choose Network from the View menu.
- Choose Active Network Ports from the Show menu.
- Deselect the "on" checkbox for port you use to connect to the Internet (such as Built-in Ethernet or AirPort).
- Click Apply Now.
- Reselect the checkbox for the port.
- Click Apply Now.
Ref.: http://support.apple.com/kb/TS1920
Linux
- su -
(Enter the root password.) - dhclient -r
- dhclient
Ref.: http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/