No Internet with Static IP

Page 1 of 2 12 LastLast

  1. Posts : 5
    windows 7 pro 64bit
       #1

    No Internet with Static IP


    Hi everyone. Hope you can help. I ahve a number of windows 7 pro 64 bit computers. I have configured them with static IP addresses. None of them can get internet. I can ping other machines on the network and vice versa but cannot ping the router. If I configure an xp machine with these details then internet works fine. It Appears that the windows 7 machine only wants to work with dhcp. I have another domain running dhcp with a different set of ip credentials. Any help would be much apreciated as I have tried lots of solutions like disabling IPv6, removing and reinstalling adapter flushing dns and so forth.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Welcome to the Seven Forums.

    Please post the IPCONFIG info for one of the W7 computers while it is assigned a IP via DHCP.

    Then post the IPCONFIG info for the same W7 computer while it is assigned a static IP.
      My Computer


  3. Posts : 7,379
    Windows 7 ultimate x64
       #3

    Hi wevy69, Welcome to Sevenforums.

    If you're setting up a static address you also have to manually configure your Gateway and DNS server(s). Try plugging in the address of your router for these.

    Make sure your PC and router are on the same subnet as well.

    For example, your router has an address of 192.168.1.1 with a netmask of 255.255.255.0 and your PC has an address of 192.168.2.1 also with a netmask of 255.255.255.0. This puts your PC on a different subnet than your router and they won't be able to communicate regardless of your Gateway and DNS settings. In this case you would either change the netmask of both to include each other's subnets (255.255.0.0 for instance) or give the PC an address of 192.168.1.xxx to match the router's subnet.

    enable NetBios
      My Computer


  4. Posts : 5
    windows 7 pro 64bit
    Thread Starter
       #4

    Thanks for the replys. Information is as follows.

    Static IP Details

    C:\>ipconfig/all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : Officehp
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
    Physical Address. . . . . . . . . : 78-E3-B5-C5-80-76
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::9c25:f97d:1176:3784%13(Preferred)
    IPv4 Address. . . . . . . . . . . : 172.16.16.158(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.128
    Default Gateway . . . . . . . . . : 172.16.16.129
    DHCPv6 IAID . . . . . . . . . . . : 276358069
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-B0-C3-5A-78-E3-B5-C5-80-76
    DNS Servers . . . . . . . . . . . : 172.16.16.129
    172.16.16.130
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{724828DB-9D3C-4450-A14E-00E1E9925192}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 12:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft 6to4 Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 9:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    C:\>

    DHCP IP Details

    C:\>ipconfig/all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : Officehp
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : dspdom.northants.sch.uk
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . : dspdom.northants.sch.uk
    Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
    Physical Address. . . . . . . . . : 78-E3-B5-C5-80-76
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IPv4 Address. . . . . . . . . . . : 10.12.66.160(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.254.0
    Lease Obtained. . . . . . . . . . : 20 November 2013 12:31:41
    Lease Expires . . . . . . . . . . : 28 November 2013 12:31:41
    Default Gateway . . . . . . . . . : 10.12.66.1
    DHCP Server . . . . . . . . . . . : 10.12.66.3
    DNS Servers . . . . . . . . . . . : 10.12.66.3
    10.12.66.1
    Primary WINS Server . . . . . . . : 10.12.66.3
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.dspdom.northants.sch.uk:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . : dspdom.northants.sch.uk
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 12:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft 6to4 Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 9:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    C:\>

    As mentioned i have also used the static details on an xp machine and this works fine. These win 7 machines are to replace all of the xp machines that are using static IP's at the moment. The addresses I am using are not already used on the network as this has been checked.
      My Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    We will have to see if other forum members see where the problem is - I don't see it.
      My Computer


  6. Posts : 7,379
    Windows 7 ultimate x64
       #6

    UsernameIssues said:
    We will have to see if other forum members see where the problem is - I don't see it.
      My Computer


  7. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #7

    Is there a reason why you use two different reserved private IPv4 ranges, 10.12.X.X for DHCP and 172.16.X.X for static? If the router is the same with same settings on both examples, I mean if the router's IP is not changed it being 10.12.X.X while PCs are looking a default gateway at 172.16.X.X, it seems IMO logical that there's no internet connection.
      My Computer


  8. Posts : 7,379
    Windows 7 ultimate x64
       #8

    As already mentioned and now pointed by Kari as well, PC and router should have same DNS and subnet group for them to communicate.
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #9

    I'm guessing that the router is of commercial grade. It has multiple VLANs setup.

    My office uses 10... and 172... IP ranges too.

    Like the OP said...
    ...the XP boxes work using the 172.16.... static setups
    ...the W7 boxes don't.
      My Computer


  10. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #10

    That's why I asked if there's a reason for using different IP ranges.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:04.
Find Us