Whenever I connect via RAS I cannot connect to local machines on my LAN.

A. To enable WWW and FTP browsing when you connect via RAS you enable the "use default gateway on remote network" of the RAS options. This has the effect of when the connection is made a new route is added to the route list superseding the existing LAN routes so any traffic destined for a node outside your local subnet will attempt to be sent using the RAS route. This is because a metric is used to identify the number of hops needed and once connected to RAS it will have a metric 1 and existing routes will be bumped out to a metric of 2.

To solve this a persistent route can be manually added for your LAN's subnet and the associated subnet gateway. While not connected via RAS you can examine your route information using the ROUTE PRINT command:

If your network was (your company has a class B address) and the gateway was for your local subnet you can add a route for the LAN only and all addresses outside of will be routed using the RAS gateway.

C:\>route -p add <ip network> mask <subnet mask> <local gateway for the route>
e.g. C:\>route -p add mask

This would mean all addresses from to would be routed via and anything else via the RAS gateway.

If you wanted to add a route for a single host (maybe your internet firewall which is on another subnet) use the following:

C:\>route -p add mask

Notice the subnet mask of which means only for this single host.

When connected via RAS you will still be able to access resources outside of your local subnet on the LAN with no problems.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.