• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

networking problem in Win7

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Rcoe

Member
Joined
Jul 20, 2001
Location
Michigan
Kinda discovered an odd problem trying to set up a home network in Win7.

what I have is 2 pc's running Win7, I have them both networked together using an old router so they can share files and such. The network is not connected to the outside at all as I have no broadband where I live.

For the last couple weeks I have been using my droid phone as a tether and it was working very good so I decided to get the verizon mifi mobile hot spot. Basically it is a wireless 3g card with build in router so that it can share my verizon 3g with up to 5 pc at the same time.

Well here lies the problem I can get both pc's to connect to the wireless network, but for some reason windows will not let me use this wireless connection to get outside to the internet. For my new verizon wireless network to work I have to disable my internal lan network. The second I disable this network I get outside connectivity.

I am guessing that somehow this wired network is taking priority over the wireless one and not allowing it to connect.

Any ideas on how I can get this wireless network up and running while keeping my internal lan enabled? I would imagine that this is just a windows setting that needs to be set different can someone point me in the right direction.

Thanks.
 
Are the wired and wireless networks on the same subnet out of curiosity? In other words do you have them both set to something along the lines of 192.168.1.x?
 
Are the wired and wireless networks on the same subnet out of curiosity? In other words do you have them both set to something along the lines of 192.168.1.x?


Clicking on the properties of the wireless network show ipv4 192.168.1.3 the subnetmask is 255.255.255.0. the gateway, dhcp, and dns are all 192.168.1.1

Am I looking in the right place. What I am guessing you are thinking is that they are set to the same address, thus only one can function fully at a time.

Thanks for the speedy response.
 
Well if you have two network interfaces (one for your verizon wireless and one for your internal LAN) and if both are configured on the same network (192.168.1.x with a 255.255.255.0 subnet mask), then the route table will tell Windows to use the interface with the lowest cost (the fastest one).

The easiest fix would be to configure your internal LAN on a different subnet (such as 192.168.2.x with a 255.255.255.0 mask). You may also want to create a persistent static route designating that interface as the default interface for all traffic bound to that network.
 
So the one on the left is connected to your ISP through the Verizon modem/router and the one on the right goes to your LAN, correct? I see you have static IP's set up for your LAN and that both interfaces are on different subnets.

What device is 192.168.15.1? and why do you have what appears to be your ISP's DNS server set for your internal LAN? If your internal LAN is isolated (it does not have another router connecting you to another network), then remove the default gateway and DNS servers from that interface.

If it still does not work as desired after that, run from the command prompt:
route print >c:\RP.txt
Then either attach the text file or copy and paste the contents of it here. The file will be located in the root of your C: drive. This will help me get a better understanding of where your traffic is going.
 
So the one on the left is connected to your ISP through the Verizon modem/router and the one on the right goes to your LAN, correct? I see you have static IP's set up for your LAN and that both interfaces are on different subnets.

What device is 192.168.15.1? and why do you have what appears to be your ISP's DNS server set for your internal LAN? If your internal LAN is isolated (it does not have another router connecting you to another network), then remove the default gateway and DNS servers from that interface.


Yes the one on the left is the wireless network and the other my home lan.

I am not certain what any of these numbers mean, I am pretty much in the dark when it comes to networking. My home lan is run through and old linksys router that was being used as my main/voip router when I had comcast before I moved. So some of the settings might becoming from that previous time. Right now I just have my two win7 PC's plugged into it, nothing more.

Here are a couple shots of the ipconfig dump, first is just with the wireless and the second is with both.

http://docs.google.com/leaf?id=0BxvwRjVcKYk7NWM2MDc4NjktYTJmNy00ZWM5LTk4OGUtZjBlNGU3NGY1Mjg5&hl=en


http://docs.google.com/leaf?id=0BxvwRjVcKYk7Y2UzYWYzMjEtN2FiOC00NGUwLWFiZmYtMGNjN2NiNjVkOTJk&hl=en

Now in the second I do have both of the lan ports of this pc run into the router.

Thanks for the help.
 
Here is what I get in the text file.

Interface List
22...00 14 d1 6d c2 cc ......Realtek RTL8187B Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
13...00 1f bc 00 cb 62 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) #2
11...00 1f bc 00 cb 63 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
15...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.3 25
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.102 20
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.120 21
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.1.0 255.255.255.0 On-link 192.168.1.3 281
192.168.1.3 255.255.255.255 On-link 192.168.1.3 281
192.168.1.255 255.255.255.255 On-link 192.168.1.3 281
192.168.15.0 255.255.255.0 On-link 192.168.15.102 276
192.168.15.0 255.255.255.0 On-link 192.168.15.120 276
192.168.15.102 255.255.255.255 On-link 192.168.15.102 276
192.168.15.120 255.255.255.255 On-link 192.168.15.120 276
192.168.15.255 255.255.255.255 On-link 192.168.15.102 276
192.168.15.255 255.255.255.255 On-link 192.168.15.120 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 192.168.1.3 281
224.0.0.0 240.0.0.0 On-link 192.168.15.102 276
224.0.0.0 240.0.0.0 On-link 192.168.15.120 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 192.168.1.3 281
255.255.255.255 255.255.255.255 On-link 192.168.15.102 276
255.255.255.255 255.255.255.255 On-link 192.168.15.120 276
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.15.1 1
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
15 58 ::/0 On-link
1 306 ::1/128 On-link
15 58 2001::/32 On-link
15 306 2001:0:4137:9e74:201d:e1e:3f57:f099/128
On-link
22 281 fe80::/64 On-link
11 276 fe80::/64 On-link
13 276 fe80::/64 On-link
15 306 fe80::/64 On-link
15 306 fe80::201d:e1e:3f57:f099/128
On-link
 
OK now I see what's going on. According to the following lines in your active routes list:
Code:
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.3 25
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.102 20
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.120 21

Your wireless interface (192.168.1.3) is the least preferred interface since the other two have lower metrics (20, and 21 vs 25). Windows is sending traffic out of the interface assigned with 192.168.15.102.

To correct this, first try removing the default gateway and DNS information from your wired interfaces and reboot. If it still doesn't work, then you'll have to do the following commands to create persistent routes:

Code:
route delete 0.0.0.0
route -p add 192.168.15.0 mask 255.255.255.0 192.168.15.120 metric 33 if 13
route -p add 192.168.15.0 mask 255.255.255.0 192.168.15.102 metric 34 if 11
route -p add 0.0.0.0 mask 0.0.0.0 192.168.1.1 metric 5 if 22

This command should first delete the first three entries in your active routes. Then it will add persistent routes that will direct all traffic to the 192.168.15.0 network to your wired interfaces (the one assigned .120 in particular; you can unplug the other one, as it is not doing anything). All other traffic will then proceed out of your wireless interface.

If this doesn't work and/or for some reason you need to undo any of this, you can either open up regedit and delete all keys except for the (Default) in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
Or enter the following commands:
Code:
route delete 192.168.15.0
route delete 0.0.0.0
then do ipconfig /renew and/or reboot.

You can also enter the command route -f and reboot. route -f will clear all your default gateways and all other routes in your routing table.
 
Sorry I didn't get back sooner, been sick and zoning out - looks like you're in perfectly good hands though.
 
To correct this, first try removing the default gateway and DNS information from your wired interfaces and reboot.


How exactly should I do this? I have very little knowledge of this network stuff. Or is it done by entering the command line sequence you posted?

Thanks for the great help.
 
Thanks for the well illustrated directions, but I tried both that and the the command line string.

Now my wired lan cannot see my other pc and I still have no internet connectivity until I disable the lan.

Here is what it looks like now.

Interface List
19...00 14 d1 6d c2 cc ......Realtek RTL8187B Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
13...00 1f bc 00 cb 62 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) #2
11...00 1f bc 00 cb 63 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
15...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.102 20
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.3 25
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.1.0 255.255.255.0 On-link 192.168.1.3 281
192.168.1.3 255.255.255.255 On-link 192.168.1.3 281
192.168.1.255 255.255.255.255 On-link 192.168.1.3 281
192.168.15.0 255.255.255.0 192.168.15.102 192.168.15.102 54
192.168.15.102 255.255.255.255 On-link 192.168.15.102 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 192.168.15.102 276
224.0.0.0 240.0.0.0 On-link 192.168.1.3 281
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 192.168.15.102 276
255.255.255.255 255.255.255.255 On-link 192.168.1.3 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.15.0 255.255.255.0 192.168.15.120 33
192.168.15.0 255.255.255.0 192.168.15.102 34
0.0.0.0 0.0.0.0 192.168.1.1 5
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
15 58 ::/0 On-link
1 306 ::1/128 On-link
15 58 2001::/32 On-link
15 306 2001:0:4137:9e76:2074:1e35:3f57:f099/128
On-link
11 276 fe80::/64 On-link
19 281 fe80::/64 On-link
15 306 fe80::/64 On-link
15 306 fe80::2074:1e35:3f57:f099/128
On-link
19 281 fe80::31c5:9133:43e:b1d3/128
On-link
11 276 fe80::c58c:b6c8:5718:fc18/128
On-link
1 306 ff00::/8 On-link
15 306 ff00::/8 On-link
11 276 ff00::/8 On-link
19 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
 
It looks like you still have a default gateway set for one of your wired interfaces. Did you go through the steps I posted on both wired interfaces?

0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.102 20

I had disconnected and disabled the lan2 as it was really doing nothing.
 
Ok I did the reset procedure you posted above to get my lan back then renew/reboot.

Now I have my lan back on lan1.

Here is the dump.

Interface List
19...00 14 d1 6d c2 cc ......Realtek RTL8187B Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
13...00 1f bc 00 cb 62 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) #2
11...00 1f bc 00 cb 63 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
15...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.15.1 192.168.15.102 20
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.15.0 255.255.255.0 On-link 192.168.15.120 276
192.168.15.0 255.255.255.0 On-link 192.168.15.102 276
192.168.15.102 255.255.255.255 On-link 192.168.15.102 276
192.168.15.120 255.255.255.255 On-link 192.168.15.120 276
192.168.15.255 255.255.255.255 On-link 192.168.15.120 276
192.168.15.255 255.255.255.255 On-link 192.168.15.102 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 192.168.15.120 276
224.0.0.0 240.0.0.0 On-link 192.168.15.102 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 192.168.15.120 276
255.255.255.255 255.255.255.255 On-link 192.168.15.102 276
===========================================================================
Persistent Routes:
None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
13 276 fe80::/64 On-link
11 276 fe80::/64 On-link
13 276 fe80::8400:819d:2a6:2d69/128
On-link
11 276 fe80::c58c:b6c8:5718:fc18/128
On-link
1 306 ff00::/8 On-link
13 276 ff00::/8 On-link
11 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None


Now that I have my lan back I am going to disconnect and then disable the lan2.

Thanks again for walking me through this.
 
Back