 |
 |
How do i renew my dhcp ip address
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2001
Location: Dallas, TX
Status:
Offline
|
|
Sometimes on my iBook after being a sleep I seem to have lost my ipaddress to the internet. If I reboot everything is fine.
My question is what is the easiest way to renew my ip address from the dhcp server. On a Windoze box they have a tool called ipconfig /renew.
Thanks in advance.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2002
Status:
Offline
|
|
There's probably a command-line instruction to do it, but one way I've done this when needed is to use the Network Preferences panel. Go to the TCP/IP tab. The 'Configure' pulldown menu should say 'Using DHCP'. Switch it to manual, apply the changes, and then change it back to DHCP. This should reset things.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2002
Status:
Offline
|
|
... If it doesn't then you probably have too strict firewall rules. I had the same problem, had to reboot to get a new IP. Turned out to be my firewall not allowing traffic from the DHCP server (port 68).
Terje
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2002
Location: Ashland
Status:
Offline
|
|
Enter:
sudo ifconfig en0 down
// enter password
sudo ifconfig en0 up
wait a few and your IP should be renewed
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 2001
Location: canada
Status:
Offline
|
|
Nah folks its even easier than that...
In the form field after DHCP Client ID, in your network control panel simply put three spaces ( hit the space bar three times ) and then hit save.
The IP will drop and renew immediately.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Oct 2002
Status:
Offline
|
|
Originally posted by bacchus:
Nah folks its even easier than that...
In the form field after DHCP Client ID, in your network control panel simply put three spaces ( hit the space bar three times ) and then hit save.
The IP will drop and renew immediately.
Wow! That's a great tip. Works with just one space for me. If this is your own discovery, you should pass it around more. Couldn't find it at osXhints.com
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2001
Location: Seattle, WA
Status:
Offline
|
|
I just switched to anyother form of connection (say dial up) apply and then go back to DHCP and reapply.
|
|
The spirit of resistance to government is so valuable on certain occasions, that I wish it always to be kept alive.
- Thomas Jefferson, 1787
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 1999
Location: Maynard, MA
Status:
Offline
|
|
Yeah, I do i the way you do, juanvaldez...I just select Automatic, then reselect the one I usually use.
|

"An argument isn't just saying 'No it isn't'!" "Yes it is!" "NO IT ISN'T!"
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|