Difference between revisions of "RenewIP"

From Amahi Wiki
Jump to: navigation, search
(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…')
 
 
(5 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
# Type "Exit" and press "Enter" to close the window. You computer now has a new IP address.
 
# 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
+
 
 +
Ref.: [http://www.ehow.com/how_2081578_renew-computers-ip-address.html Renew computer IP address]
  
 
== Mac OS X ==
 
== Mac OS X ==
Line 25: Line 26:
 
# Click Apply Now.
 
# Click Apply Now.
  
Ref.: http://support.apple.com/kb/TS1920
+
 
 +
Ref.: [http://support.apple.com/kb/TS1920 Renew IP address]
  
 
== Linux ==
 
== Linux ==
Line 33: Line 35:
 
# dhclient
 
# dhclient
  
Ref.: http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/
+
 
 +
Ref.: [http://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/ Renew DHCP client IP address]

Latest revision as of 20:35, 14 September 2015

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