Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a small business network with the DNS server being run on Windows Server 2003. Most of the computers in the company have a dynamic IP address assigned through the aforementioned server. One of the Windows 7 computers has difficulty connecting to the internet unless we assign a static IP. It has no trouble connecting to the intranet though. I went through the DNS settings on the server and there are no conflicting IP addresses. Obviously this is trivial to solve by just assigning a static IP, but I would like to know why the dynamic IP is not working and how I could solve it.

Any ideas would be appreciated and I will be more than happy to provide more information if needed.

share|improve this question
add comment

5 Answers

up vote 1 down vote accepted

Is this machine on a domain?

Some squirrely issues can be caused by having a network set as something other than a "Home" network in Windows 7. Also, netsh winsock reset may help, so may Dial-A-Fix (Dial-A-Fix does not work with Windows 7, per here). Also, ensure the machine is getting the proper DNS suffix and the gateway is an IP (not a hostname).

Try a traceroute and see if it gets beyond the gateway, and check DNS servers per the other posts.

share|improve this answer
    
Yes, it is on a domain. I will verify if it is set to a Home network or not and will run the commands you listed and let you know –  shagism Jun 6 '11 at 19:40
add comment

Have you asigned a Default Gateway and DNS servers in the DHCP steup? This will assure teh clinet gets an IP address, a Gateway and DNS servers. Sometiimes I have found you may need to add the internal DNS server as teh first DNS server and then your ISPs DNS as second, third, etc.

share|improve this answer
    
The client is getting an IP address. They are being assigned 192.168.2.71 which is within the DHCP scope. And they are capable of getting on the intranet, but for some reason they have trouble getting outside of the intranet to the internet –  shagism Jun 6 '11 at 16:01
    
Look at the DHCP server under Scope Options and look for DNS server and Router (which assigns the gateway) If they cannot reach internet, the DNS or Gateway is the issue. Simply PING www.cisco.com or a know site and see if you get a reply that resolves the IP. If not, DNS has issues. – –  Dave M Jun 6 '11 at 16:13
add comment

Try running the following command from command prompt on the machine that is having issues connecting to the internet:

IPCONFIG /ALL

Confirm the machine has an IP address, Default Gateway and DNS assigned. Check these against another machine that is currently working and running DHCP.

share|improve this answer
    
I will do this at lunch time and post the answers –  shagism Jun 6 '11 at 16:06
add comment

DNS doesn't assign ip addresses. DHCP assigns ip addresses. Have you looked at your DHCP scope to make sure there are sufficient ip addresses for all of your hosts?

share|improve this answer
    
Okay, I opened up the DNS tool in Administrative tools in order to view the used ip addresses and their corresponding names. You are saying I should look at the DHCP tool? I just did that based on your answer and this particular computer is assigned 192.168.2.71 and everything else looks fine...The scope allows for everything from .50 to .199 –  shagism Jun 6 '11 at 15:58
add comment

Disable IPv6 on the NIC for the client. I've heard of issues created by having this enabled if you're not running IPv6 internally.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.