Go Back   Cyber Tech Help Support Forums > Hardware > Networking

Notices

Networking Use this board for problem solving and the discussion of Networking, router, and Wi-Fi issues

Reply
 
Topic Tools
  #1  
Old June 8th, 2011, 09:33 PM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
No internet with static IP

I just installed windows 7 and I'm trying to set a static IP for this computer but whenever I do, I lose internet access. I've tried disabling/enabling the adapter and restarting after the changes. Neither worked. I also tried disabling IPv6 to no avail. I had the same setup working fine on vista just a few days ago. Here's the output from ipconfig /all when DHCP is enabled:

Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Antec
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : hsd1.nj.comcast.net.

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : hsd1.nj.comcast.net.
   Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
   Physical Address. . . . . . . . . : 00-0E-2E-32-91-06
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.40.9(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, June 08, 2011 4:18:38 PM
   Lease Expires . . . . . . . . . . : Thursday, June 09, 2011 4:18:38 PM
   Default Gateway . . . . . . . . . : 192.168.40.254
   DHCP Server . . . . . . . . . . . : 192.168.40.254
   DNS Servers . . . . . . . . . . . : 8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled
And here's the output when the static IP is set:

Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Antec
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
   Physical Address. . . . . . . . . : 00-0E-2E-32-91-06
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.40.5(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.40.254
   DNS Servers . . . . . . . . . . . : 8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled
I need the static IP so I can set up port forwarding on my router. Anyone know what would cause this?
Reply With Quote
  #2  
Old June 9th, 2011, 04:43 PM
z1p's Avatar
z1p z1p is offline
Cyber Tech Help Moderator
 
Join Date: Oct 2004
O/S: Windows Vista 64-bit
Location: Massachusetts
Posts: 6,668
What do you have for a modem/router?

With the static IP can you ping the default gateway?


Are there other machines on your LAN? You want to make sure you don't have an IP address conflict with one of them. It is best to use an IP address outside of the DHCP address range when assigning a static IP.
Reply With Quote
  #3  
Old June 9th, 2011, 08:23 PM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
I went to set up the static IP again today and for some reason it worked. Then I turned on my laptop and it stopped working. So I decided to try pulling out the cable connecting my desktop and laptop and it worked again. It seems like its trying to connect to the internet through the wrong adapter. I tried switching the order under advanced settings but that didn't help. Any ideas?

Oh and the static IP im assigning is outside of the DHCP range

Last edited by telanor; June 9th, 2011 at 08:29 PM.
Reply With Quote
  #4  
Old June 10th, 2011, 01:23 AM
z1p's Avatar
z1p z1p is offline
Cyber Tech Help Moderator
 
Join Date: Oct 2004
O/S: Windows Vista 64-bit
Location: Massachusetts
Posts: 6,668
SO the machine you are setting up with a static IP has two NICs.

Can you run ipconfig/all and route print on that machine and post the output back here? Maybe we can get a better idea as to what is up with it.
Reply With Quote
  #5  
Old June 10th, 2011, 01:54 AM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
Heres the full output from ipconfig

Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Antec
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : hsd1.nj.comcast.net.

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : hsd1.nj.comcast.net.
   Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
   Physical Address. . . . . . . . . : 00-0E-2E-32-91-06
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.40.9(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, June 09, 2011 7:04:23 PM
   Lease Expires . . . . . . . . . . : Friday, June 10, 2011 3:28:11 PM
   Default Gateway . . . . . . . . . : 192.168.40.254
   DHCP Server . . . . . . . . . . . : 192.168.40.254
   DNS Servers . . . . . . . . . . . : 8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter LAN:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 00-26-18-FA-51-63
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::18ca:dc9:309f:e6b5%11(Preferred) 
   IPv4 Address. . . . . . . . . . . : 1.0.0.1(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . : 0.0.0.0
   DHCPv6 IAID . . . . . . . . . . . : 301999640
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-80-9C-F8-00-0E-2E-32-91-06
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.hsd1.nj.comcast.net.:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : hsd1.nj.comcast.net.
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{E8F93D71-EF0A-4F29-BA82-D38AA10EFD47}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:100:1::100:1(Preferred) 
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Disabled
And route print:

Code:
===========================================================================
Interface List
 10...00 0e 2e 32 91 06 ......Realtek RTL8139/810x Family Fast Ethernet NIC
 11...00 26 18 fa 51 63 ......Realtek PCIe GBE Family Controller
  1...........................Software Loopback Interface 1
 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 14...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         On-link           1.0.0.1    266
          0.0.0.0          0.0.0.0   192.168.40.254     192.168.40.9     20
          1.0.0.0        255.0.0.0         On-link           1.0.0.1    266
          1.0.0.1  255.255.255.255         On-link           1.0.0.1    266
    1.255.255.255  255.255.255.255         On-link           1.0.0.1    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
     192.168.40.0    255.255.255.0         On-link      192.168.40.9    276
     192.168.40.9  255.255.255.255         On-link      192.168.40.9    276
   192.168.40.255  255.255.255.255         On-link      192.168.40.9    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link           1.0.0.1    266
        224.0.0.0        240.0.0.0         On-link      192.168.40.9    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link           1.0.0.1    266
  255.255.255.255  255.255.255.255         On-link      192.168.40.9    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0          1.0.0.1  Default 
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 14   1110 ::/0                     2002:c058:6301::c058:6301
  1    306 ::1/128                  On-link
 14   1010 2002::/16                On-link
 14    266 2002:100:1::100:1/128    On-link
 11    266 fe80::/64                On-link
 11    266 fe80::18ca:dc9:309f:e6b5/128
                                    On-link
  1    306 ff00::/8                 On-link
 11    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None
Those are without the static IP set. Not sure if you want it with it set as well.
Reply With Quote
  #6  
Old June 10th, 2011, 01:08 PM
z1p's Avatar
z1p z1p is offline
Cyber Tech Help Moderator
 
Join Date: Oct 2004
O/S: Windows Vista 64-bit
Location: Massachusetts
Posts: 6,668
yes, please provifr the route print with the static IP set and the laptop connected.
Reply With Quote
  #7  
Old June 10th, 2011, 08:36 PM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
Here ya go:

Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Antec
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Internet:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
   Physical Address. . . . . . . . . : 00-0E-2E-32-91-06
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.40.5(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.40.254
   DNS Servers . . . . . . . . . . . : 8.8.8.8
                                       8.8.4.4
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter LAN:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : 00-26-18-FA-51-63
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::18ca:dc9:309f:e6b5%11(Preferred) 
   IPv4 Address. . . . . . . . . . . : 1.0.0.1(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Default Gateway . . . . . . . . . : 0.0.0.0
   DHCPv6 IAID . . . . . . . . . . . : 301999640
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-80-9C-F8-00-0E-2E-32-91-06
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{BED8395F-A857-4376-B123-EC440700B0D8}:

   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 isatap.{E8F93D71-EF0A-4F29-BA82-D38AA10EFD47}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter 6TO4 Adapter:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:100:1::100:1(Preferred) 
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Disabled
Code:
===========================================================================
Interface List
 10...00 0e 2e 32 91 06 ......Realtek RTL8139/810x Family Fast Ethernet NIC
 11...00 26 18 fa 51 63 ......Realtek PCIe GBE Family Controller
  1...........................Software Loopback Interface 1
 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
 14...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         On-link           1.0.0.1    266
          0.0.0.0          0.0.0.0   192.168.40.254     192.168.40.5    276
          1.0.0.0        255.0.0.0         On-link           1.0.0.1    266
          1.0.0.1  255.255.255.255         On-link           1.0.0.1    266
    1.255.255.255  255.255.255.255         On-link           1.0.0.1    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
     192.168.40.0    255.255.255.0         On-link      192.168.40.5    276
     192.168.40.5  255.255.255.255         On-link      192.168.40.5    276
   192.168.40.255  255.255.255.255         On-link      192.168.40.5    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link           1.0.0.1    266
        224.0.0.0        240.0.0.0         On-link      192.168.40.5    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link           1.0.0.1    266
  255.255.255.255  255.255.255.255         On-link      192.168.40.5    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0          1.0.0.1  Default 
          0.0.0.0          0.0.0.0   192.168.40.254  Default 
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 14   1110 ::/0                     2002:c058:6301::c058:6301
  1    306 ::1/128                  On-link
 14   1010 2002::/16                On-link
 14    266 2002:100:1::100:1/128    On-link
 11    266 fe80::/64                On-link
 11    266 fe80::18ca:dc9:309f:e6b5/128
                                    On-link
  1    306 ff00::/8                 On-link
 11    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None
Reply With Quote
  #8  
Old June 10th, 2011, 09:38 PM
vive's Avatar
vive vive is offline
New Member
 
Join Date: May 2011
O/S: Windows 7 64-bit
Location: Texas
Posts: 7
Can you ping your default gateway? What happens if you set the static ip to the same one as DHCP assigns?

Just to make sure, the PC your are working on is not the laptop you mentioned above (and that one has DHCP on?

Last edited by vive; June 10th, 2011 at 09:46 PM.
Reply With Quote
  #9  
Old June 10th, 2011, 11:23 PM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
Yes I can ping the gateway when the static IP is set. And setting the static IP to the same as the DHCP given one still doesn't work. The PC I'm working on is not the laptop.

Just to explain my network setup (which is a bit weird):

Code:
Internet -> Modem -> Router A (No wireless) -> Desktop
                                   |
                                   ------> Router B (wireless) -> Laptop
And my desktop, which has 2 NICs, connects to both Router A and the laptop. Like I mentioned before, this exact same setup was working fine in vista but I cant seem to get it work with windows 7.
Reply With Quote
  #10  
Old June 11th, 2011, 12:11 AM
z1p's Avatar
z1p z1p is offline
Cyber Tech Help Moderator
 
Join Date: Oct 2004
O/S: Windows Vista 64-bit
Location: Massachusetts
Posts: 6,668
Just to keep the cross chatter down, I'm going to pipe in here quickly with an explanation of what I believe is happening, but will have to think about what the solution should be and get back to you.


The problem can be seen in the last route print.

Quote:
0.0.0.0 0.0.0.0 On-link 1.0.0.1 266
0.0.0.0 0.0.0.0 192.168.40.254 192.168.40.5 276
Since the metric for the 1.0.01 route is lower than the 192.168.40 route, that is what your PC will try for a default route.
Reply With Quote
  #11  
Old June 11th, 2011, 01:18 AM
vive's Avatar
vive vive is offline
New Member
 
Join Date: May 2011
O/S: Windows 7 64-bit
Location: Texas
Posts: 7
Based on z1p's comment, my first thought is to clear the table and see if it solves the problem.

If you choose to do this,
>ipconfig /flushdns
then ping the default gateway. This should add the IP into the table.

Post the new table if this doesn't work.
Reply With Quote
  #12  
Old June 11th, 2011, 01:44 AM
telanor's Avatar
telanor telanor is offline
Member
 
Join Date: Nov 2004
O/S: Windows 7 64-bit
Posts: 87
Since you guys were saying it was a problem with the metric, I tried changing the interface metric to 1 in the advanced settings page and that seems to have fixed it. Thanks for the help guys.
Reply With Quote
  #13  
Old June 11th, 2011, 05:51 PM
z1p's Avatar
z1p z1p is offline
Cyber Tech Help Moderator
 
Join Date: Oct 2004
O/S: Windows Vista 64-bit
Location: Massachusetts
Posts: 6,668
Glad to here you're all set. Not sure why win7 wants to set the metric so high, but obviously manually setting it does the trick.
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
Static IP komby Networking 1 August 17th, 2007 02:25 PM
Static IP linkmaster03 Networking 19 August 16th, 2006 09:48 PM
Static IP tom_36 Networking 5 March 28th, 2006 12:47 AM
Static. Jimmye Malware Removal 2 March 4th, 2006 04:53 AM
Setting up static IP stops internet gibson Internet / Browsers 5 December 31st, 2005 02:22 AM


All times are GMT +1. The time now is 03:08 PM.