RenewIP

From Amahi Wiki
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.: Renew computer IP address

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.: Renew IP address

Linux

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


Ref.: Renew DHCP client IP address