Processors Motherboards Chipsets Memory Graphics Cards Storage Cases and Cooling Mobile Systems Displays Shows and Expos
Latest Sponsors

Powered By
Newegg
Tyan Motherboards
Corsair Memory
Western Digital Hard Drives
Red Hat Linux

PC Perspective Forums Sponsor

Go Back   PC Perspective Forums > General Tech > Networking And Associated Security
User Name
Password
Register FAQ Rules Members List iTrader Search Today's Posts Mark Forums Read

Networking And Associated Security Sort out your networking, security and Windows exploit issues here.

Reply
 §   #1  
Old 04-18-2009, 11:49 AM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
IP Address Issue

I have a desktop that I ran wireless for about a year trouble free. I just recently changed to a wired connection because of my crappy speeds. This morning, I have an error saying "The network did not assign a network address to the computer". Why did this happen suddenly? Also, how can I prevent this from happening again? I have 3 computers running on a home network, 2 are now wireless. The desktop is running XP Pro.

Also, is a Static IP just an IP address that never changes?

I have no idea about any of this, and am suprised I have made it this long without any issues.....thanks in advance!
Reply With Quote
 §   #2  
Old 04-19-2009, 12:30 AM
Mjölnir's Avatar
Mjölnir
Moderator
Inflatable Moderator
 
Profile
Joined: Jul 2003
Location: Australia
My System
Status: ( Offline )
Posts: 13,930
Re: IP Address Issue

Yes, a static IP address is one that doesn't change. A dynamic IP address is one that is assigned to the PC by the DHCP server (eg. by the router). A static IP address is usually configured on the computer itself through it's network settings.

A number of factors can contribute to that error you're seeing, including (but not limited to):
  • DHCP disabled in router
  • All IP addresses in the DHCP range are already in use
  • Faulty network cable, faulty router, faulty network adaptor
  • A glitch or corruption in Windows network settings (eg. caused by malware)
Given that you've got two network adaptors in that PC, it's a good idea to disable the one that you're not using, particularly if they're both trying to connect to the router. This can be done in the Network Connections window (right-click My Network Places and choose Properties).

Assigning a static IP will prevent this error, but be sure to assign an address that is outside of the DHCP range. This can also be done in the Network Connections window:
  1. Right-click the applicable network connection and choose Properties
  2. Double-click Internet Protocol in the General tab
  3. Select Use the following IP address and configure the network according to the router's setup:
    • IP Address should be a unique address in the same range that the router is using, and also should be outside of the DHCP range (eg: 192.168.0.??)
    • Subnet Mask should be the same as the router's subnet mask (eg: 255.255.255.0)
    • Default gateway should be the IP address of the router (eg: 192.168.0.1)
  4. Use the following DNS server addresses is now enabled. Set the Preferred DNS server to the address of the router (eg 192.168.0.1) or set both of the DNS servers to the DNS server addresses that your ISP uses (this will be listed on their support pages).
  5. Hit the OK button a couple of times to get out of there. It might take a few seconds to apply the changes. If you can't use the internet yet it may not have updated the IP address. Disabling and re-enabling the network adaptor or restartingthe PC will fix this.
__________________
| Forum Search | Google Search | Windows OS Links | Networking Links | Spyware, Virus & Trojans Sticky Post |
| Services Guide | Speeding Up Windows | Notebook Care & Maintenance | Heatsink Lapping | Windows 2K/XP Registry Recovery |
|
| There are 10 types of people in this world:
| Those who understand binary and those who don't.
Reply With Quote
 §   #3  
Old 04-19-2009, 01:24 PM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Ok, checked my settings in the router setup. DHCP is enabled. There are only 4 IP's in use. Connecting directly from the cable modem gives same issues, so I figured it wasn't the router. Ran a Malwarebytes scan, nothing came up.

Disabling the wireless and trying to reconnect with the wired still doesn't work.

Should I just set up the static IP, since it will prevent the error, or must I correct my issue first?

Thanks,
Reply With Quote
 §   #4  
Old 04-20-2009, 12:01 AM
Mjölnir's Avatar
Mjölnir
Moderator
Inflatable Moderator
 
Profile
Joined: Jul 2003
Location: Australia
My System
Status: ( Offline )
Posts: 13,930
Re: IP Address Issue

Give static addressing a go and see if it wants to communicate and then we'll take it from there
Reply With Quote
 §   #5  
Old 04-20-2009, 11:07 AM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Ok, I'm going to try that.

When inputting the IP, you said keep it in the range of what the router is using. It's using xxx.xxx.1.100-149. keep it within 100-149? But outside the DHCP range? I'm not sure I know what that means. Also, my router is xxx.xxx.1.1. I copied the dns info from doing ipconfig/all.Correct?

thanks a lot.
Reply With Quote
 §   #6  
Old 04-21-2009, 10:57 AM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

I swear this isn't working for me no matter what I do. Any ideas? Or am I just not doing it right?
Reply With Quote
 §   #7  
Old 04-21-2009, 10:40 PM
Mjölnir's Avatar
Mjölnir
Moderator
Inflatable Moderator
 
Profile
Joined: Jul 2003
Location: Australia
My System
Status: ( Offline )
Posts: 13,930
Re: IP Address Issue

Quote:
Originally Posted by KDuniverse View Post
Ok, I'm going to try that.

When inputting the IP, you said keep it in the range of what the router is using. It's using xxx.xxx.1.100-149. keep it within 100-149? But outside the DHCP range? I'm not sure I know what that means. Also, my router is xxx.xxx.1.1. I copied the dns info from doing ipconfig/all.Correct?

thanks a lot.
DHCP is the range of addresses that the router will assign automatic addresses in.

Let's say your router's IP Address is 192.168.1.1
So all IP addresses from 192.168.1.2 to 192.168.1.254 should talk to the router without issue, provided that no two computers are using the same IP. If they don't then there is something else we need to look at.

Now if the router is set to provide up to 50 automatically assigned IP addresses (DHCP range), they might start at 192.168.1.100 and end at 192.168.1.149.

That means you should allocate static IP addresses between 192.168.1.2 to 192.168.1.99 or between 192.168.1.50 to 192.168.1.254.

The subnet mask should be set to the same one as the router and the default gateway should be set to the router's IP address. The first DNS server address You can check this on another working PC:
Go to Start Menu > Run and type cmd
At the command prompt (DOS box), type ipconfig
Now look for the settings for that match the what your network is and copy details of the subnet mask and default gateway.

Don't worry about publishing IP addresses like 192.168.xxx.xxx or 10.0.0.0. They're not your public IP address

Here's an example of what it'll look like:
Reply With Quote
 §   #8  
Old 04-22-2009, 09:20 AM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Ok, I knew I couldn't be doing it wrong following your instructions. When I input everything, it will say "connected 100Mbps" but still won't load a page. Also, it will show no received packets, and the little icon in the taskbar will only show one "blue" screen, not two.

Does this mean there are other issues here?
Reply With Quote
 §   #9  
Old 04-22-2009, 09:14 PM
Mjölnir's Avatar
Mjölnir
Moderator
Inflatable Moderator
 
Profile
Joined: Jul 2003
Location: Australia
My System
Status: ( Offline )
Posts: 13,930
Re: IP Address Issue

Quote:
Originally Posted by KDuniverse View Post
When I input everything, it will say "connected 100Mbps" but still won't load a page.
Cool that answers another question - that Windows thinks the ethernet adaptor is installed properly.

Yeah, there's something else wrong.

First things first - let's try the basics - do you have another LAN cable that you can try? It could be that the LAN cable is faulty (yeah they can show a connection and still not work).

Next up, try running Winsockfix. You'll need to restart your PC after you run it. There's a pretty good chance that this program will fix it. Might be worth changing back to dynamic IP after the restart.

If that doesn't fix it, try running LSPFix. When it loads, just hit the Finish button. Don't change anything in there yourself - it lists essential providers. When it finishes, it'll state if any repairs were done. If it does repairs, do a restart and see if the network works.

If that doesn't work, can ya download DDS and run it? It'll generate two text logs. Save those to your Desktop and post the contents here.
Reply With Quote
 §   #10  
Old 04-22-2009, 09:30 PM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Another cable didn't do anything.

working on the second remedy.
Reply With Quote
 §   #11  
Old 04-22-2009, 09:38 PM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

winsocfix didn't work.....
Reply With Quote
 §   #12  
Old 04-22-2009, 09:40 PM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

LSPfix didn't find anything either.....


I'm actually starting to laugh now.

I'm not sure what DDS is. Do I just run it like the others?
Reply With Quote
 §   #13  
Old 04-22-2009, 11:59 PM
Mjölnir's Avatar
Mjölnir
Moderator
Inflatable Moderator
 
Profile
Joined: Jul 2003
Location: Australia
My System
Status: ( Offline )
Posts: 13,930
Re: IP Address Issue

Yep. Just double-click it - and in response to your email, ya can just email those logs
Reply With Quote
 §   #14  
Old 04-23-2009, 08:48 AM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Sent. Thanks
Reply With Quote
 §   #15  
Old 04-24-2009, 09:00 PM
KDuniverse
Registered User
 
Profile
Joined: Jul 2004
Status: ( Offline )
Posts: 280
Re: IP Address Issue

Were you able to view the attachments? Any issues in them?
Reply With Quote
Reply



Go Back   PC Perspective Forums > General Tech > Networking And Associated Security

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:08 PM.


Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© PC Perspective 2000 - Present