RenewIP

From Amahi Wiki
Revision as of 16:35, 3 February 2010 by Gboudreau (talk | contribs) (Created page with '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 you…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  1. Click on the "Start" button and choose "Run."
  2. Type "cmd" in the box and click on "OK." A window with a command prompt appears. It resembles the old DOS operating system.
  3. Type "ipconfig /release" and press "Enter." This releases your computers current IP addresses.
  4. Type "ipconfig /renew" and press "Enter." This assigns your computer a new set of IP addresses.
  5. 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

  1. Choose System Preferences from the Apple menu.
  2. Choose Network from the View menu.
  3. Choose Active Network Ports from the Show menu.
  4. Deselect the "on" checkbox for port you use to connect to the Internet (such as Built-in Ethernet or AirPort).
  5. Click Apply Now.
  6. Reselect the checkbox for the port.
  7. Click Apply Now.

Ref.: http://support.apple.com/kb/TS1920

Linux

  1. su -
    (Enter the root password.)
  2. dhclient -r
  3. dhclient

Ref.: http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/