How can I automatically adjust routing when connecting a VPN connection?

How can I automatically adjust routing when connecting a VPN connection?  The problem that I am having is that when I connect my VPN the routing updates to make it the primary path via a lower metric.  This is a pain because what's happening is that ALL of my computer traffic then travels through to this location and back out it's router.

What I would like to have automatically happen is when the VPN connects it will in-turn automatically update the routing so that only the traffic designated for that network is sent to it.

Any ideas?  Below is a route print from my vista business computer.  This seems really retarded that it works like this.  Is there a configuration that I have to update on the remote server?  Maybe the local computer?

Nevertheless, I could add a manual entry but I am looking for automation because of the number of computers that may or may not randomly connect.

Thank you,
John


Changed the Remote VPN IP to 123.123.123.123 otherwise all other information is the same.
===========================================================================
Interface List
 14 ........................... VPN Connection
  9 ...00 1a a0 a0 0c 30 ...... Intel(R) 82562V-2 10/100 Network Connection
  1 ........................... Software Loopback Interface 1
  8 ...02 00 54 55 4e 01 ...... Teredo Tunneling Pseudo-Interface
 10 ...00 00 00 00 00 00 00 e0  isatap.MyDomain.local
 15 ...00 00 00 00 00 00 00 e0  Microsoft ISATAP Adapter #2
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0        10.10.1.1      10.10.1.205   4245
          0.0.0.0          0.0.0.0         On-link       172.20.0.37     21
        10.10.1.0    255.255.255.0         On-link       10.10.1.205   4501
      10.10.1.205  255.255.255.255         On-link       10.10.1.205   4501
      10.10.1.255  255.255.255.255         On-link       10.10.1.205   4501
   123.123.123.123  255.255.255.255        10.10.1.1      10.10.1.205   4246
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      172.20.0.37  255.255.255.255         On-link       172.20.0.37    276
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link       10.10.1.205   4503
        224.0.0.0        240.0.0.0         On-link       172.20.0.37     21
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link       10.10.1.205   4501
  255.255.255.255  255.255.255.255         On-link       172.20.0.37    276
===========================================================================
Persistent Routes:
  None
LVL 3
jdraggiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kieran_bCommented:
There is an option in the connection dialog "Use default gateway on remote network"

Of course, if you untick this, you are breaching security...

Kieran
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
YGregersenCommented:
If you are using Cisco or other third-party IPSec VPN clients, that setting is controlled by the configuration file provided by the network administrator. On windows clients, the VPN setup for traffic routing is controlled by the default gateway setting.

For Windows XP:
VPN Connection >> Properties >> Networking >> Select TCP/IP >> Properties >> Advanced >> General Tab "Use default gateway on remote network"

If that check box is cleared, all traffic that is *not* going to the subnet on the far side of the connection is routed through the local default gateway (normally your internet router). I don't recall offhand where the precise settings for Vista is (no Vista at work).
0
jdraggiAuthor Commented:
That did the trick!

Thank you!
--John

UPDATED ROUTE INFO:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0        10.10.1.1      10.10.1.205     20
        10.10.1.0    255.255.255.0         On-link       10.10.1.205    276
      10.10.1.205  255.255.255.255         On-link       10.10.1.205    276
      10.10.1.255  255.255.255.255         On-link       10.10.1.205    276
   123.123.123.123  255.255.255.255        10.10.1.1      10.10.1.205     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
       172.20.0.0      255.255.0.0      172.20.0.49      172.20.0.31     21
      172.20.0.31  255.255.255.255         On-link       172.20.0.31    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       10.10.1.205    278
  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       10.10.1.205    276
  255.255.255.255  255.255.255.255         On-link       172.20.0.31    276
===========================================================================
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VPN

From novice to tech pro — start learning today.