Re: How to Setup Networking when connected to 2 networks



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?


"Robert L [MVP - Networking]" wrote:

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
"eAndy" <eAndy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A0AB28F2-FE63-4DF4-A216-54CB96C8B476@xxxxxxxxxxxxxxxx
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


"Robert L [MVP - Networking]" wrote:

> 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
> "eAndy" <eAndy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:92B766D8-6486-4988-AE08-69457326FC8A@xxxxxxxxxxxxxxxx
> 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
>
>
>
> "eAndy" wrote:
>
> > 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
.



Relevant Pages

  • Re: Bridging network adapters in Linux
    ... ip addr add $address/$netbits dev br0 ... Either a default route ... two network devices assuming, ... This is done using the iptables mechanism. ...
    (comp.os.linux.networking)
  • RE: ISA 2004 help please
    ... network, and I have set that as the gateway on those machines. ... When I set a persistant route on ... the server to their addresses (how I configured the ISA 2000 serverand they ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • [IPv6] PROBLEM? Network unreachable despite correct route
    ... I have several boxes with native IPv6 connectivity at various places. ... Some of them show symptoms of a lost default route for small periods of ... self built AMD Athlon64, Ubuntu Edgy, Distribution kernel ... At the same time, a sibling (same hardware, same switch, same network ...
    (Linux-Kernel)
  • Re: yet another vpn/routing question
    ... Route and that is the way it is supposed to look. ... RRAS and the problem has nothing to do with the Routing table. ... network is a single subnet private network, ... > with a internal network Nic and a Nic with Internet? ...
    (microsoft.public.windows.server.networking)
  • Re: load balancing with a failover
    ... The tunnel interfaces have addresses ... from other network though ... Enter configuration commands, one per line. ... 1w0d: RT: delete subnet route to 192.168.128.20/30 ...
    (comp.dcom.sys.cisco)

Loading