Solved

VPN Routing

Posted on 2004-05-01
10
854 Views
Last Modified: 2012-06-27
I have clicked the use vpn gateway for all traffic but for some reason when I connect the metric of both my local area connection and my vpn is set to 1.  The default gateway listed when I do "route print" from the command line is still the local gateway.

I have manually set the local area connection to a metric of 20.  That displays fine until I connect my vpn connection.  Then both gateways set a metric of 1.

I even tried the microsoft registry hack to manually move the binding adapters and route adapters to an order that puts the remote connections first.  This is after, of course, manually moving them in the advanced section of "network connections".

Below should read the default gateway as 10.6.150.77 which is the remote connection's local ip address but still shows the local area connection as the default not the vpn gateway.  Plus the metric of the lan connection should be higher than the vpn connection which it's not.

Here is the output:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 09 6b 50 28 5c ...... Intel(R) PRO/100 VE Network Connection
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      10.6.150.77     10.6.150.77        1
          0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.18        1
      10.6.150.77  255.255.255.255        127.0.0.1       127.0.0.1        50
   10.255.255.255  255.255.255.255      10.6.150.77     10.6.150.77        50
     67.65.42.193  255.255.255.255      192.168.2.1    192.168.2.18        1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1        1
      192.168.2.0    255.255.255.0     192.168.2.18    192.168.2.18        20
     192.168.2.18  255.255.255.255        127.0.0.1       127.0.0.1        20
    192.168.2.255  255.255.255.255     192.168.2.18    192.168.2.18        20
        224.0.0.0        240.0.0.0     192.168.2.18    192.168.2.18        20
        224.0.0.0        240.0.0.0      10.6.150.77     10.6.150.77        1
  255.255.255.255  255.255.255.255     192.168.2.18    192.168.2.18        1
Default Gateway:       192.168.2.1
===========================================================================
Persistent Routes:
  None

I did create a persistent route but my IP changes everytime I log into my vpn at work.

Any help would be greatly appreciated!
0
Comment
Question by:jasonslogan
  • 5
  • 4
10 Comments
 
LVL 21

Expert Comment

by:gemarti
ID: 10969871
Seems to me that when connecting to your Remote Access Server from your Private network (192.168.2.1) the machine behind the gateway making the connection via VPN would first have to go through 192.168.2.1 before it could establish a connection with your Rremote Access Server's gateway (10.6.150.77).

0
 
LVL 21

Expert Comment

by:gemarti
ID: 10969880
0
 
LVL 21

Expert Comment

by:gemarti
ID: 10969905
You can try using the command ROUTE ADD to add a route if necessary. Just look in the Help and SUpport Center for information / syntax.
0
 
LVL 21

Expert Comment

by:gemarti
ID: 10969914
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 21

Accepted Solution

by:
gemarti earned 500 total points
ID: 10969949
This is probably rudimentary but it doesn't hurt to review:

HOW TO: Configure a VPN Connection to Your Corporate Network in Windows XP Professional
http://support.microsoft.com/default.aspx?scid=kb;EN-US;305550

SUMMARY
This step-by-step article describes how to configure a VPN connection to your corporate network in Windows XP Professional.

With the Point-to-Point Tunneling protocol (PPTP) or Layer Two Tunneling Protocol (L2TP) which are automatically installed on your Windows XP-based computer, you can securely access resources on a network by connecting to a remote-access server through the Internet or other network. The use of both private and public networks to create a network connection is called a virtual private network (VPN).

NOTE: In the following instructions, the user who is already connected to the Internet uses a VPN connection to dial the number for the remote-access server.

The information in this article applies to:
Microsoft Windows XP Professional
0
 
LVL 1

Author Comment

by:jasonslogan
ID: 10982842
Unfortunately none of these answers provided a long term solution.  The computer just wouldn't assign the appropriate metric to the gateway so the vpn's gateway would be default.

I already did the route add but it only provided a short term solution because once they connected later their ip changed.  And static ip's are not a solution in my case for a remote connection.

I think their is a problem with the way the Air Force sets up tcp/ip.  I've since formatted the laptop and installed xp fresh.  All is good now but it would have been great to get an answer.  It stumped me and a few of my felly IT friends as well.
0
 
LVL 1

Author Comment

by:jasonslogan
ID: 10982849
BTW I'm not sure what to do on answering the question.  This is the first time I've tried this service.  I paid for a whole year but haven't needed it until now.

Would anyone like to tell me how to proceed in making this question go away?
0
 
LVL 1

Author Comment

by:jasonslogan
ID: 10982863
Incidently to the first person who commented...

When you allow the remote connected gateway as your gateway then your ip address that you get when you log into the routing and remote access server becomes your new default gateway.  The routing table is changed so that all traffic goes through your remote server's connection.

Just in case anyone cares...

Thanks again, for commenting.
0
 
LVL 1

Author Comment

by:jasonslogan
ID: 11000097
Yes please, make it go away.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ROOT\*0700\1_0_13_0_0_0 8 141
outlook PST max size limit 3 102
Check network connectivity in DOS 11 97
My Documents Sync to shared location 4 71
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now