1. Home
  2. windows
  3. Cant Access Internet When Dhcp Is Disabled?

Cant Access Internet When Dhcp Is Disabled?

By WinPie Posted in: windows

My computer (Windows XP) is connected to a Windows 7 computer in a network. Whenever I try to assign a static IP to my Windows 7 computer, it does detect the internet in network, but doesn’t let me use it (i.e cant ping to any sites, cant browse sites, cant download) but when I leave it to automatically assign an IP, it connects. I want it to have a static IP for ease and still use internet in network. Any help?

Get Chitika Premium
  1. Chris Says

    Are you only filling in the IP and Subnet fields and leaving the gateway and/or DNS blank? If you don’t give it a gateway you won’t have internet, period so this sounds more like a DNS problem. Try pinging 8.8.8.8 from command and see if you get response. If you do then you need to put DNS info into your static configuration. Usually this is the gateway, but you can also use 8.8.8.8 which is google’s DNS (one of them). Once you have that entered you should be able to browse the Inet.
    DNS is required only if you use URL’s, which nearly 100% of people do, because otherwise we would all be trying to remember 74.125.113.99 instead of http://www.google.com. DNS is the service that translates http://www.google.com into 74.125.113.99, or other website url’s into their corresponsing IP addresses. So test those out and see what happens and post back here if you can. Hopefully this helps.
    The reason you are still seeing that you have Internet is because the computer uses IP addresses to test the Internet connection, however for normal useage of the Internet you MUST have at least 1 DNS server to translate website URL’s. So the computer thinks its online which from a technical standpoint it is, but you will never effectively surf the net in this situation unless you try browsing using IP addresses.
    NOTE: Ah I didn’t see the Default Gateway comment you added. Then yes this is most certainly a DNS issue.

  2. Chris Says

    When your computer is connect to DHCP then open command prompt and run the following command
    ipconfig /all
    it should list the your ip address and other details for your local area connection. Write this down on a paper the IP, subnetmask, deafualt gateway. Dns 1 and dns 2 are optional.
    type this information in your static configuration, but change the last digit after the dot to a higher number. Example; if you ip you wrote down was 192.168.1.5 then when you type it staticly you will insert 192.168.1.201. Bear in mind the range for an ip is from 1 – 255.
    Please remember that every computer on a network require a unique ip, there fore make a list of your ip
    For the DNS you can use the Google DNS server
    DNS1 8.8.8.8
    DNS2 8.8.4.4
    and that’s all folks

  3. JEFFREY Says

    Here is how to do it
    First set your self up so you can access the internet
    open a DOS window (cmd)
    Enter ipcofig /all
    Under the listing for your adapter, find the DNS server addresses
    Write them down
    Now check your router and find what the IP address of the router is and what is the range of addresses the DHCP server controls
    For example
    Router 192.168.0.1
    DHCP range .100 to .150
    Now go to your connection setup
    enter an IP address that does not conflict with the DHCP server ( example 192.168.0.25 and is in the same subnet as the router (192.168.0)
    set your subnet mask to 255.255.255.0
    Now enter the DHCP server addresses you wrote down into the fields provided.
    save your settings
    that should get you going

More Interesting Things

©2011 Windows Pie, All rights reserved.