How to Setup Networking when connected to 2 networks

G

Guest

I have 2 networks available to me. One is a wired network and the other is a
wireless network.

Each offers connectivity to a different set of services. The set of services
a single network provides (here in this case) is mutually exclusive of the
other.

I cannot move services from one network to another (in case you were going
to suggest that).

The wired lan 10.x.x.x offers connectivity to network shares and printers.
The wireless lan 192.x.x.x offers connectivity to the Internet.

Each network has its own DNS settings which are different between the
networks.

I can connect to my shared folders and printers with no issue.

Problem. When I try to use a web browser the pages do not render. (nor does
MSN Live Messenger work).

Theory: I believe this is b/c the route table's 0.0.0.0 pointing to 10.x has
a metric that favors the internal network for all traffic b/c its cheaper.

I have tried changing the metric for the 10.x.x.x wired network and this
does not solve the problem. I thought if I made the 10.x more expensive
traffic would first get routed to the internet but this does not work as
expected.

To date I have found that if I:

1. setup the wireless network's "alternate configuration" and hard code the
ip address (while it is a dhcp address it has not changed in 2 months) and
the DNS settings.
2. always connect to the wired network first with the wireless disabled.
3. perform a "DELETE ROUTE 0.0.0.0"
4. Connect to the wireless network

(I tried deleting the 0.0.0.0 entry for the 10.x.x.x network with but could
not figure out how to only delete it for the 10.x.x.x not both, so the above
workaround acheives that.

I can connect to both the shared folders, printers and internet resources.

Secondary problem: this only last for a while. It appears that something is
re-adding the 0.0.0.0 for the 10.x.x.x network and the the internet based
addresses no longer work (web pages and IM). <grrrrrrr/>

Anyone knowledgable in this area that could provide a long term workable
solution would be highly valued and greatly appreciated.

Further if you could explain why it works with any relevant reference
material where I could read more (might be free web pages or $ books, I'll
read anything) so I could understand the theory and operation behind it would
be invaluable.

Thanks in advance.
 
R

Robert L [MVP - Networking]

Posting the results of ipconfig /all and routing table here may help.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
I have 2 networks available to me. One is a wired network and the other is a
wireless network.

Each offers connectivity to a different set of services. The set of services
a single network provides (here in this case) is mutually exclusive of the
other.

I cannot move services from one network to another (in case you were going
to suggest that).

The wired lan 10.x.x.x offers connectivity to network shares and printers.
The wireless lan 192.x.x.x offers connectivity to the Internet.

Each network has its own DNS settings which are different between the
networks.

I can connect to my shared folders and printers with no issue.

Problem. When I try to use a web browser the pages do not render. (nor does
MSN Live Messenger work).

Theory: I believe this is b/c the route table's 0.0.0.0 pointing to 10.x has
a metric that favors the internal network for all traffic b/c its cheaper.

I have tried changing the metric for the 10.x.x.x wired network and this
does not solve the problem. I thought if I made the 10.x more expensive
traffic would first get routed to the internet but this does not work as
expected.

To date I have found that if I:

1. setup the wireless network's "alternate configuration" and hard code the
ip address (while it is a dhcp address it has not changed in 2 months) and
the DNS settings.
2. always connect to the wired network first with the wireless disabled.
3. perform a "DELETE ROUTE 0.0.0.0"
4. Connect to the wireless network

(I tried deleting the 0.0.0.0 entry for the 10.x.x.x network with but could
not figure out how to only delete it for the 10.x.x.x not both, so the above
workaround acheives that.

I can connect to both the shared folders, printers and internet resources.

Secondary problem: this only last for a while. It appears that something is
re-adding the 0.0.0.0 for the 10.x.x.x network and the the internet based
addresses no longer work (web pages and IM). <grrrrrrr/>

Anyone knowledgable in this area that could provide a long term workable
solution would be highly valued and greatly appreciated.

Further if you could explain why it works with any relevant reference
material where I could read more (might be free web pages or $ books, I'll
read anything) so I could understand the theory and operation behind it would
be invaluable.

Thanks in advance.
 
G

Guest

here's the route information (requested in earlier posting)

Additional question: is it possible that the Deterministic Network Enhancer
is doing something it "thinks" is helpful?

Thanks

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ........................... Integrated Controller - Packet Scheduler
Miniport
0x3 ........................... Wireless Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.82.16.1 10.82.19.157 20
0.0.0.0 0.0.0.0 192.168.1.199 192.168.1.212 25
10.82.16.0 255.255.248.0 10.82.19.157 10.82.19.157 20
10.82.19.157 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.212 192.168.1.212 25
192.168.1.212 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.1.255 255.255.255.255 192.168.1.212 192.168.1.212 25
224.0.0.0 240.0.0.0 10.82.19.157 10.82.19.157 20
224.0.0.0 240.0.0.0 192.168.1.212 192.168.1.212 25
255.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 1
255.255.255.255 255.255.255.255 192.168.1.212 192.168.1.212 1
Default Gateway: 10.82.16.1
===========================================================================
Persistent Routes:
None
 
R

Robert L [MVP - Networking]

Where is the result of ipconfig /all? Have you setup two default gateway?

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
here's the route information (requested in earlier posting)

Additional question: is it possible that the Deterministic Network Enhancer
is doing something it "thinks" is helpful?

Thanks

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ........................... Integrated Controller - Packet Scheduler
Miniport
0x3 ........................... Wireless Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.82.16.1 10.82.19.157 20
0.0.0.0 0.0.0.0 192.168.1.199 192.168.1.212 25
10.82.16.0 255.255.248.0 10.82.19.157 10.82.19.157 20
10.82.19.157 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.212 192.168.1.212 25
192.168.1.212 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.1.255 255.255.255.255 192.168.1.212 192.168.1.212 25
224.0.0.0 240.0.0.0 10.82.19.157 10.82.19.157 20
224.0.0.0 240.0.0.0 192.168.1.212 192.168.1.212 25
255.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 1
255.255.255.255 255.255.255.255 192.168.1.212 192.168.1.212 1
Default Gateway: 10.82.16.1
===========================================================================
Persistent Routes:
None
 
G

Guest

Sorry, I didn't see the request for 'ipconfig /all' everything is below.

=====================================

ipconfig /all
==========

Windows IP Configuration

Host Name . . . . . . . . . . . . : {name removed}
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : {name removed}
Ethernet adapter Wired Network Connection:

Connection-specific DNS Suffix . : {name removed}
Description . . . . . . . . . . . : Integrated Controller
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.82.19.157
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 10.82.16.1
DHCP Server . . . . . . . . . . . : 10.82.16.82
DNS Servers . . . . . . . . . . . : 10.82.16.82
10.82.12.129
Primary WINS Server . . . . . . . : 10.82.16.101
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
1:48:14 PM
Lease Expires . . . . . . . . . . : Monday, November 06, 2006
2:18:14 PM

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Wireless Network Connection
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.212
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.199
DHCP Server . . . . . . . . . . . : 192.168.1.199
DNS Servers . . . . . . . . . . . : 122.146.72.181 (changed slightly)
122.38.167.32 (changed slightly)
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
10:47:29 AM
Lease Expires . . . . . . . . . . : Tuesday, November 07, 2006
10:47:29 AM

=====================================

Route Print
=======

Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ........................... Integrated Controller - Packet Scheduler
Miniport
0x3 ........................... Wireless Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.82.16.1 10.82.19.157 20
0.0.0.0 0.0.0.0 192.168.1.199 192.168.1.212 25
10.82.16.0 255.255.248.0 10.82.19.157 10.82.19.157 20
10.82.19.157 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.212 192.168.1.212 25
192.168.1.212 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.1.255 255.255.255.255 192.168.1.212 192.168.1.212 25
224.0.0.0 240.0.0.0 10.82.19.157 10.82.19.157 20
224.0.0.0 240.0.0.0 192.168.1.212 192.168.1.212 25
255.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 1
255.255.255.255 255.255.255.255 192.168.1.212 192.168.1.212 1
Default Gateway: 10.82.16.1
===========================================================================
Persistent Routes:
None
 
G

Guest

Sorry, I didn't see the request for 'ipconfig /all' everything is below.

=====================================

ipconfig /all
==========

Windows IP Configuration

Host Name . . . . . . . . . . . . : {name removed}
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : {name removed}
Ethernet adapter Wired Network Connection:

Connection-specific DNS Suffix . : {name removed}
Description . . . . . . . . . . . : Integrated Controller
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.82.19.157
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 10.82.16.1
DHCP Server . . . . . . . . . . . : 10.82.16.82
DNS Servers . . . . . . . . . . . : 10.82.16.82
10.82.12.129
Primary WINS Server . . . . . . . : 10.82.16.101
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
1:48:14 PM
Lease Expires . . . . . . . . . . : Monday, November 06, 2006
2:18:14 PM

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Wireless Network Connection
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.212
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.199
DHCP Server . . . . . . . . . . . : 192.168.1.199
DNS Servers . . . . . . . . . . . : 122.146.72.181 (changed slightly)
122.38.167.32 (changed slightly)
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
10:47:29 AM
Lease Expires . . . . . . . . . . : Tuesday, November 07, 2006
10:47:29 AM

=====================================

Route Print
=======
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ........................... Integrated Controller - Packet Scheduler
Miniport
0x3 ........................... Wireless Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.82.16.1 10.82.19.157 20
0.0.0.0 0.0.0.0 192.168.1.199 192.168.1.212 25
10.82.16.0 255.255.248.0 10.82.19.157 10.82.19.157 20
10.82.19.157 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.212 192.168.1.212 25
192.168.1.212 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.1.255 255.255.255.255 192.168.1.212 192.168.1.212 25
224.0.0.0 240.0.0.0 10.82.19.157 10.82.19.157 20
224.0.0.0 240.0.0.0 192.168.1.212 192.168.1.212 25
255.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 1
255.255.255.255 255.255.255.255 192.168.1.212 192.168.1.212 1
Default Gateway: 10.82.16.1
===========================================================================
Persistent Routes:
None
 
R

Robert L [MVP - Networking]

Multihomed computer with two default gateway may cause the routing issue. This search result may help,

Routing Don't add default gateway across disjoint networks Is it possible both sites of the VPN using the same IP range Issues of a multihomed computer with two ...
www.chicagotech.net/routing.htm


Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Sorry, I didn't see the request for 'ipconfig /all' everything is below.

=====================================

ipconfig /all
==========

Windows IP Configuration

Host Name . . . . . . . . . . . . : {name removed}
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : {name removed}
Ethernet adapter Wired Network Connection:

Connection-specific DNS Suffix . : {name removed}
Description . . . . . . . . . . . : Integrated Controller
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.82.19.157
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 10.82.16.1
DHCP Server . . . . . . . . . . . : 10.82.16.82
DNS Servers . . . . . . . . . . . : 10.82.16.82
10.82.12.129
Primary WINS Server . . . . . . . : 10.82.16.101
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
1:48:14 PM
Lease Expires . . . . . . . . . . : Monday, November 06, 2006
2:18:14 PM

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Wireless Network Connection
Physical Address. . . . . . . . . : {removed}
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.212
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.199
DHCP Server . . . . . . . . . . . : 192.168.1.199
DNS Servers . . . . . . . . . . . : 122.146.72.181 (changed slightly)
122.38.167.32 (changed slightly)
Lease Obtained. . . . . . . . . . : Monday, November 06, 2006
10:47:29 AM
Lease Expires . . . . . . . . . . : Tuesday, November 07, 2006
10:47:29 AM

=====================================

Route Print
=======
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ........................... Integrated Controller - Packet Scheduler
Miniport
0x3 ........................... Wireless Network Connection - Packet
Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.82.16.1 10.82.19.157 20
0.0.0.0 0.0.0.0 192.168.1.199 192.168.1.212 25
10.82.16.0 255.255.248.0 10.82.19.157 10.82.19.157 20
10.82.19.157 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.212 192.168.1.212 25
192.168.1.212 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.1.255 255.255.255.255 192.168.1.212 192.168.1.212 25
224.0.0.0 240.0.0.0 10.82.19.157 10.82.19.157 20
224.0.0.0 240.0.0.0 192.168.1.212 192.168.1.212 25
255.255.255.255 255.255.255.255 10.82.19.157 10.82.19.157 1
255.255.255.255 255.255.255.255 192.168.1.212 192.168.1.212 1
Default Gateway: 10.82.16.1
===========================================================================
Persistent Routes:
None
 
G

Guest

ok, so it says "don't do that" but what's the solution?

Like I said, if I removed the 0.0.0.0 route entry for the 10.x.x.x network
its all works fine UNTIL something magical happens and decides to
automagically add back that deleted route.

What's doing that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top