Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: ip address issues


29 Mar 2011   #1

w7 64 bit
 
 
ip address issues

Hello folks,

1st off what an excellent forum and resource. Always come here to look up probs with Windows 7.

Here is my problem. Windows 7 seems to be holding onto my IP address and causing probs. let me explain further. Say I connect to network A and I am assigned an address from a DHCP server (I have no idea what underlying technology is supplying the IP address). then I go home and connect to my home network. Now at my home "network b" gives me another dhcp assigned IP address. I connect fine with a valid address.

If I return to network A the only way I am able to pickup a new IP address is by going to the command prompt and doing a release and renew. It doesnt matter if I am coming out of hibernation or booting up fresh, it always picks up the last IP address it had, which in some case may be already re-assigned elsewhere causing a conflict.

I have the latest service packs and OS updates as well as the latest drivers for my nic card. The problem only seems to occur when I connect to my corporate network. Any thoughts?


My System SpecsSystem Spec
.

29 Mar 2011   #2
TCG

 
 

This happens here where I work as well. When the system returns from a sleep state/hibernation, it seems to retain the old network info until it has been renewed. Rather than walking our users through command prompt we usually tell them to just reboot..... they don't like when we say this

I'd love to hear the solution to this, our laptop users would love to not have to restart every time they come back to their docking station.
My System SpecsSystem Spec
29 Mar 2011   #3

w7 64 bit
 
 

thx for the reply and bummer you have to live with that too. just to clarify i am pretty sure this doesnt just happen on resume from hibernation. it also happens when booting fresh. to me it seems like the ip address is being saved somewhere in the reg and next boot it just comes back with the same, regardless.

Hardware info - laptop dell latitude 6510 and nic Intel(R) 82577LM.
My System SpecsSystem Spec
.


29 Mar 2011   #4

Windows 7 Professional 64 bit
 
 

It's working the way it's supposed to, sort of.....

Your laptop, as the client, is requesting a renewal of the IP it was last assigned, which it's supposed to do. Your DHCP server at work either fails to "hear" the request or fails to check to make sure the IP is available.

You say it works fine when you go home from work, so all of the devices involved are working just fine there.

Talk to your IT folks at work. See what they suggest.

Meanwhile, change the subnet of your router at home so the IP it remembers isn't even available on your work network, assuming of course that you want to go to that much trouble.

I had a laptop running XP some time back that always did that. Annoying behaviour, but nothing I couldn't work around.

Another thought, from the redneck side of my brain; Create a batch file with "ipconfig / release" in it and run it before you shut down, or even put a shortcut for it in startup.
My System SpecsSystem Spec
29 Mar 2011   #5

Windows 7 Professional 64 bit
 
 

Quote   Quote: Originally Posted by TCG View Post
I'd love to hear the solution to this, our laptop users would love to not have to restart every time they come back to their docking station.
In your case, have them unplug the network cable for a few seconds. Sometimes that works.

A batch file like this:
Quote:
ipconfig /release
pause
ipconfig /renew
Might be a better solution than rebooting since it would take less time.
My System SpecsSystem Spec
30 Mar 2011   #6

w7 64 bit
 
 

yeah pricetech thanks for your reply i do appreciate the info - however i understand dhcp and also nobody else at my office has this issue across various operating systems, so i believe the problem to be specific to my Windows 7 build.

let me clarify this a bit further and also bump this back up to the top

so i was just connected to my corporate network, which is a 10.x network. I updated some software which caused me to reboot. Upon reboot when windows reloaded it decided to use a 192 address again instead of the previously assigned 10.x address. I did a release and renew and viola all is good again.
My System SpecsSystem Spec
30 Mar 2011   #7

W7 Professional x64
 
 

Quote   Quote: Originally Posted by davewave View Post
yeah pricetech thanks for your reply i do appreciate the info - however i understand dhcp and also nobody else at my office has this issue across various operating systems, so i believe the problem to be specific to my Windows 7 build.

let me clarify this a bit further and also bump this back up to the top

so i was just connected to my corporate network, which is a 10.x network. I updated some software which caused me to reboot. Upon reboot when windows reloaded it decided to use a 192 address again instead of the previously assigned 10.x address. I did a release and renew and viola all is good again.
What about shortening the dhcp lease time at your house to only like four hours? Then when you went into work it would most likely be forced to look for a new IP, knowing the last one used is no longer acceptable.


Also, unless you have this happen again/multiple times, I'd call it a fluke. If it continues to occur after reboots, let us know, and then I'd declare it a problem.
My System SpecsSystem Spec
30 Mar 2011   #8

w7 64 bit
 
 

greta suggestion matt however that address that my Windows 7 box keeps reverting to was not assigned from my home network.

it happens intermittently but fairly consistently. i am guessing i can see if i can search out that IP address somewhere in the reg and delete the associated keys. unless anyone else has more good ideas i will do that next time this pops up.
My System SpecsSystem Spec
31 Mar 2011   #9

Windows 7 Professional 64 bit
 
 

Quote   Quote: Originally Posted by davewave View Post
so i was just connected to my corporate network, which is a 10.x network. I updated some software which caused me to reboot. Upon reboot when windows reloaded it decided to use a 192 address again instead of the previously assigned 10.x address. I did a release and renew and viola all is good again.
That's a horse of somewhat different color then. Sorry if I misunderstood the original post.

Nothing comes to mind as a cause or solution, but I'll keep it in mind and maybe I'll come up with something. I think your trip through the registry would be worth a try.

Let us know what you find.
My System SpecsSystem Spec
15 Jan 2013   #10

Windows 7 Pro
 
 

Hi Dave, did you manage to solve the issue.

Thanks
My System SpecsSystem Spec
Reply

 ip address issues




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33