Can't connect to internet with dynamic IP

10,679

Solution 1

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.

Solution 2

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.

Solution 3

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:
10,679

Related videos on Youtube

shagism
Author by

shagism

Updated on September 18, 2022

Comments

  • shagism
    shagism over 1 year

    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.

  • shagism
    shagism almost 13 years
    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
    shagism almost 13 years
    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
    shagism almost 13 years
    I will do this at lunch time and post the answers
  • Dave M
    Dave M almost 13 years
    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. –