• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 867
  • Last Modified:

VPN Routing

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
jasonslogan
Asked:
jasonslogan
  • 5
  • 4
1 Solution
 
gemartiCommented:
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
 
gemartiCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
gemartiCommented:
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
 
jasonsloganAuthor Commented:
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
 
jasonsloganAuthor Commented:
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
 
jasonsloganAuthor Commented:
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
 
jasonsloganAuthor Commented:
Yes please, make it go away.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now