• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 751
  • Last Modified:

Trouble with IP address

I am using a Windows XP PC to connect to a Netgear Router/Hub and to broadband. The PC did have a wireless and a 10/100 network cards fitted, but this was causing me problems connecting with the 10/100 card, so I removed the wireless card and reinstalled the 10/100. Everything worked fine until now. The NIC IP address has suddenly changed and is no longer recognised by the router.
My system is set up for the NIC to get an IP address automatically, which is provided by the router.

I have tried to reinstall the NIC but no change. Initially the IP address is but then it changes.

I have tried:
ipconfig /renew but with no luck - times out
repairing connection - no luck - IP address problem.

I can't understand why it was working fine and then suddenly stopping.

Could it be a hardware problem with the NIC or router?

Another PC works fine with the router, and notebook works fine with wireless connection to router.

I thought that I had got my network sorted.
  • 6
  • 5
  • 3
  • +6
1 Solution
colscreamAuthor Commented:
Have just looked at screen when I do ipconfig /all ; I notice that under Windows IP Configuration is says IP Routing Enabled  ....... No

Is this the correct setting?
Do a ipconfig /all
If dhcp is enabled then it is normal for addresses to change.
If you can't have the ip address changing then enter it in the IP settings of the network card ( control panel, network connections, highlight card, right mouse click, check all looks ok ( ie enabled etc) then properties.) In goto internet protocol ( tcp/ip) properties and put in ip address ( or check DHCP settings etc)

If you need more assistance please advise


No it needs to be enabled to do this go to start, run, and type regedit.
Now navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
make sure the IPENABLEROUTING has a REG DWORD Value of 0, just double click on the
entry and make sure the Hexidecimal Value is 0.  If this entry is not at this location then
add it.

Good Luck.
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!


Sorry colscream that should be spelled  IPEnableRouter.
>Initially the IP address is but then it changes

What does it change to?

Do any other workstations function properly on this network?

Hi all,
IP Routing enabled.
This is only required if you have more than one network card / device and need to send IP traffic from one card to the next like a poor mans firewall.
It is not required when only only one connection method is active
Laptop at work has wireless card and nic
Unless I enable bridging I can't have both active so I stop the wireless.
Bottom Line IP Routing only needs to be enabled if sending packets from one device to another that are on different subnets etc.


I agree - no need to enable routing.

If you get an all zero IP address it indicates that the IP it is trying to use is already being used on the network.

You'll need to investigate which host is using the same IP you are trying to.

read through the comments.I think the problem is with router .is there any other pc does it get an ip address and work fine
.if not then your router is the culprit

Back again,
You say "Another PC works fine with the router, and notebook works fine with wireless connection to router" with this in mind, please confirm that other pc works fine with Wireless card (NIC out). If this is fine then NIC in wireless out. What happens ?
I think you are going to find that the NIC has been damaged or device manager is out of "whack" if the above is correct and NIC still isn't working. However having said that before giving up on NIC , turn of PC remove NIC, Reboot, go to the device manager and delete the NIC from the networking components and then check device manager to make sure still not there. Turn off PC and allow hardware wizard to reinstall NIC.
WHY ???? Sometimes the TCP IP stuff justs gets stuffed and this is a quick way to reinstall the TCP / IP stuff.
There is some more info on this somewhere. When I find it I will post URL
I've seen "DHCP release" and "DHCP renew" used with my router so I agree with leork2004 try renewing on the router
colscreamAuthor Commented:
Yes - another PC connects fine to router with NIC (Windows ME).
Notebook with wireless connects fine.

When I connect NIC with XP machine the light on router just continues to flash.

IP address initially is , but can change to (no idea what that is?)

One new thought, I do have ZoneAlarm firewall installed - but have the IP addresses of my netwoek in the 'Trusted Zone. Could that be stopping it?

Connection has worked fine for 2 or 3 days, but then suddenly stopped mid way through using PC.

The above says to me that the NIC isn't getting the DHCP from the DHCP server.
Probably you have blocked a program with zone alarm by accident. is a default some companies use for NIC.
Suggest in first instance disable zone alarm at startup - must be startyp unloading it doesn't always work
Remove all blocked programs etc
Zone alarm off
start zone alarm - answer questions as they arise
go to dos
ipconfig /renew
answer zone alarm questions as you go.
then go to services restart the running and automatic ones - answer zone alarm as you go
retick load zone alarm at start
All should be sweet
colscreamAuthor Commented:
Hi Ian

I removed Zonealarm from startup, then did complete shutdown. Restarted PC, without Zonealarm running, but still couldn't get connection to router.

IP address initially , changed to

ipconfig /renew just timed out.

Therefore there was no point in restarting Zonealarm as connection won't work wihout firewall.

Tried to ping and but both unsuccessful.

Have checked that XP firewall is off, within LAC Advanced tab.

Any further ideas?

Hey colscream,

  Log into the router and see if you can find the DHCP log.  This should show the
attempts your PC Card was making to get an IP address.  On a D-link router it says
DHCP discover, DHCP lease X.X.X.X, if you have encryption setup it will usually say
Authentication success, Wireless PC connected.  To the right on mine it says
the MAC address of the PC attempting this.  This will narrow down if your router
even sees your Laptop or not.

  If there is encryption setup on the wireless side check the key in the router and
enter this same key again in the Encryption setup on the Laptop.  Sometimes
you think you have it exactly the same and it's something simple like this.

Good Luck.
colscreamAuthor Commented:
Have looked in log - can't find anything of use.

The wireless connection is no problem (this only feeds laptop)

Also the 10/100 NIC in my other PC is no problem - the router assigns IP addresses to both machines.

It is just my new XP PC that just doesn't seem able to talk to the router to get an IP. But as I said before, it was working with an IP address obtained.

Router is a Netgear DG824M - that has always worked brilliantly.
Ok thanks for trying suggestions and advising us of more info.
Suggest to now

Swap NIC's in both PC's.
This will tell whether NIC or PC.

Did you do the my computer, properties, hardware, device manager and remove the network adapters so TCP / IP would reinstall ? There may also be a clue there.

Microsoft suggests
But I'm sure we have covered all this.

I assume that the DHCP client service ( control panel, admin stuff, services DHCP client) is running.
TO be on the safe side highlight it and restart - check Event Viewer for details.

Finally, double check NIC site for updated driver. On a couple of occassions I have done MS critical updates and other things have stopped working.

Finally found URL for forcing TCP stack to reinstall
Comment from kabaam
Date: 04/11/2004 08:21AM NZST
reset your tcp stack

reset winsock

system file checker from command prompt
sfc /scannow

<<< is a default some companies use for NIC>>>
its not an ip which 'companies' use, its default for windows if there is no dhcp is availble or computer cant find one.
http://members.shaw.ca/techcd/WinsockXPFix.exe was the most prefered solution in the very beginning, but anyway its there now, i and i am positive it will help sort out the prob.
colscreamAuthor Commented:
I have taken the NIC from the working PC and put it into XP machine. At the moment it works fine. Will see how it goes - last time when I removed the wireless card the PC worked OK for a couple of days and then packed up.
Thanks for help - will get back to you later.
Sounds like you may have a wiring or autonegotiation problem. Was the XP station that worked using the same LAN cable and/or jack? Check your speed & duplex settings. The address that you are getting is assigned by the card itself because you are probably not getting a response from your DHCP server.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

  • 6
  • 5
  • 3
  • +6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now