Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COMPUTER NOT ASSIGNED IP ADDRESS ON BOOT UP 1

Status
Not open for further replies.
Aug 29, 2001
151
US
I am using XP Pro on a Dell desktop at home. Computer is connected to Netgear wireless router via an ethernet cable connection. When computer boots up, no IP address is assigned and therefore I cannot use cablemodem to access internet. TCPIP properties are set to OBTAIN AN IP ADDRESS AUTOMATICALLY & OBTAIN A DNS SERVER ADDRESS AUTOMATICALLY, as required by ISP.

If I disable network connection on computer and then enable it, IP address gets assigned correctly. Second computer on the network using XP Home and a wireless connection has IP address assigned properly on boot up.

This problem is NOT intermittent and can be replicated at will.

Can you recommend any settings to look at or change to correct this problem.
 
Anything here?

Router won't let me connect to internet
thread779-1057496

assigning an ip address
thread779-1114812

 
Sounds like its the computer if you can get an IP by simply disabling are enabling the connection. Have you looked at the DHCP client service to see if its running and set to automatic?

 
Thanks for the answers.

I am going to try and work on this over the weekend, using some ideas in the two recommended threads.

Where exactly will I set DHCP client service to automatic in XP Pro? Thanks
 
Right click on My Computer, select manager, then services and applications & then services.

Try also repairing the connection. Right click on the icon in Network Connections and select repair. I'll explain this in a mo.

Click on "My Network Places" icon on desktop or click on start and choose "My Network Places" from the menu.

Click on "view network connections". You should see an icon representing your LAN or High speed network connections. Right click on the icon. Some new menu options appear.

Click on the "Repair"


This performs the following actions.

• Attempts to renew the DHCP lease, if the connection obtains its IP address through DHCP, using a broadcast message.
• Flushes the Address Resolution Protocol (ARP) cache using the command
arp -d *
• Flushes the NetBIOS cache using the command
nbtstat -R
• Flushes the DNS cache using the command
ipconfig /flushdns
• Reregisters the NetBIOS name and IP address with WINS using the command
nbtstat -RR
• Reregisters the computer name and IP address with DNS using the command
ipconfig /registerdns
 
For details of the Winsock fix you should read the whole of this FAQ before using it.

WinXP Connectivity Issues
faq779-4625
 
The answer that worked for me was in this thread:
thread779-1057496

Answer appears below:
I followed the instructions to power down all equipment and restarted in the order specified. That's all it took and I have been able to get my dynamic IP address and connect to the internet without a problem.

Thanks to all (stars have been given.)

allteltec (IS/IT--Management) 10 May 05 21:40
Bcaster is right clone the MAC to the PC that works when hock up directly. It also helps to power down all equip. then turn on the cable modem first wait for it to sink up then power up the router, then the PC. Some cable modems has reset buttons then when pushed will have then reset the MAC that are looking for. holding in the reset while powering up the modem dose a more thorough hard reset on some models.
 
you have to make some changes in router configuration.
First of all, change the network id; i mean if the router has the following network 192.168.0.0, change for example
192.168.1.0 use the same subnet mask 255.255.255.0
and then go to all computers that you have and goto the command prompt, use ipconfig /release and renew.

very important assign ip router 192.168.1.1
 
PS - Resetting the modem and router works - but not permanently. Problem reappears. Not sure what to do.
 
I ended up upgrading and replacing my router..the poor old thing could not handle multiple connections that download managers and streaming media produce...most routers crap out well before the 255 max limit. bought a D-link gamers router and I am very happy with it.
To explain: you can have one computer access the net and be requesting 255 simultaneous connections to the router and this can cause the router to lock up and only a hard reset will work.
on my router I run 3 teenagers with assorted instant messengers and multiple pages open. One wife that likes her email and me I run four computers. one in the shop that is a private web server and FTP server. one that is a streaming media that feeds music for the rest of the bunch so we all listen to the same music at the same time (its supposed to work that way). an utility workhorse computer that does all the time consuming stuff. then this one that I am on right now that is my main computer.

when a router drops the DHCP and can no longer go on line sometimes only one computer is affected and sometimes all of them are affected. It always seemed that it was my wife's computer that was affected.

I swapped routers and was constantly doing the modem router reset .that can be a pain.

this new router I have not had to do this one single time.
here are the brands that I used before that did not work right.
Linksys (crappiest one)
Microsoft (liked the parent filters)
netgear (wireless b)(old)


hope this helps


when the router locks you out of the internet. Can you still access the Router Administration page?

 
Thought I would update final resolution for others with the same problem. I tried everything:
- eliminating router all together
- replacing cable modem, cables, and ethernet card
- IPCONFIG /RELEASE; IPCONFIG /RENEW
- netsh int ip reset C:\My Documents\Resetlog.txt
- winsockxpfix.exe

Some things worked temporarily. I could sometimes fuss with disabling and enabling the network connection to get it to work for a short period of time.

But there was some kind of permanent corruption that would not repair. I could not go back to any restore point, either. Finally I had to reinstall windows and start building my machine from scratch. Now things are good as new.

Many thanks to all those who took the time to suggest fixes.
 
Can you just clarify whether you had to do a repair install or a clean install (after a format)?
 
Sorry for the confusion - Yes, it was a clean install after format. No amount of fixing would work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top