Can't renew IP address between office and home

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hi,

My Dell Latitude is running Win2k Server. I have vanilla DHCP set up to
retrieve all settings from the DHCP server. I run a Linksys 4 port hub at
home and a windows DHCP server at the office. I go into my laptop's standby
mode and reconnect when I switch locations. This was working fine for many
months, but recently I've found that I need to restart my laptop to get
Windows to find the new DHCP server.

I've run into this in past so I purposely set up the gateway at home to be
in a different IP range than my office, thinking this might help. One
gateway is 172.16.16.1 and the other is 192.168.168.1. When I am unable to
get a connection, I've tried using ipconfig /release and\or /renew, but the
program never responds. I have to break (CTRL-C) it. If I try to ping the
gateway, it returns with "destination host unreachable". Is there any way to
get windows to refresh itself and look for the new gateway, as if I had
restarted the machine? I've tried disabling the network connection and then
enabling it. I've looked at the NET and ROUTE utilities, but nothing seems
to help. I'm thinking I might try listing both gateways in the Advanced
TCP/IP settings, but I don't know if this will work because I haven't had to
list anything in the past. Any ideas or settings I should look at?

Thanks!
Gary
 
The DHCP-assigned IP address you had at work might not work when you
come in from home (you're seen as a different user trying to use an IP
address already assigned to someone else). Release your DHCP-assigned
IP address and request a new one. From a DOS shell, run:

ipconfig /release *
ipconfig /flushdns
ipconfig /renew

The client-side DNS cache flush may not be necessary but there are times
when it is so it doesn't hurt to include it. If this happens a lot,
create a .bat file with a shortcut to it in your Start menu, QuickLaunch
bar, or on the desktop to do it quickly and easily.
 
Unfortunately, I have tried this and it does not work. When I try /renew,
the ipconfig program never responds. I have to CTRL-C out of it.


The DHCP-assigned IP address you had at work might not work when you
come in from home (you're seen as a different user trying to use an IP
address already assigned to someone else). Release your DHCP-assigned
IP address and request a new one. From a DOS shell, run:

ipconfig /release *
ipconfig /flushdns
ipconfig /renew

The client-side DNS cache flush may not be necessary but there are times
when it is so it doesn't hurt to include it. If this happens a lot,
create a .bat file with a shortcut to it in your Start menu, QuickLaunch
bar, or on the desktop to do it quickly and easily.
 
Hmm, maybe it's trying to use the same DHCP at work (which is
unreachable) when you are at home. Might a reset on the interface work?

netsh int reset all
 
Back
Top