Finding a static route for a windows VPN connection

You may have stumbled upon this from this post.  If not and you are trying to figure this out then you are in luck.  I’m going to go through step by step how to figure out a static route for a windows XP VPN client connection.

Step 1: Make the VPN Connection

Setting up and connecting to a VPN in Windows XP is will documented so I’m not going to repeat it in this article.  When you make the VPN connection you should see a two computer blinking screen icon in the system tray:

VPN Icon in System Tray

VPN Icon in System Tray

Step 2: Look Up Client IP

Double click on the icon from step one.  In the window that pops up click the Details tab.  You need to find the address after Client IP address:

VPN Connection Details

VPN Connection Details

Step 3: Look Up Routing Table

Next open a command prompt.  You can find it under Accessories in the start menu:

Open Command Prompt

Open Command Prompt

In the command box type route print.

route print in Command Prompt

route print in Command Prompt

In the output of route print you should find only 2 lines where the Interface is the address we found in Step 2 and the Metric is 1.  One of those lines starts with 255.255.255.255, this is not the line we want.  We want the line that’s going to start out like the Interface address but end with zeros.  In my screenshot I’ve got the magic line hilighed in green.

A static route would be represented by the Network Destination and the Netmask combination.  You can google for subnet calculator to convert the 255.255.255.0 notation to a number of bits (ie 24 in our example).

Share and Enjoy:
  • Digg
  • Slashdot
  • E-mail this story to a friend!
  • Print this article!
  • del.icio.us
  • Facebook
  • MySpace
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Sphinn
  • Mixx
  • Yahoo! Buzz

Tags: , ,

One Response to “Finding a static route for a windows VPN connection”

  1. [...] My Notes and My Thoughts about Technology « Softdent Email Setup with Road Runner Finding a static route for a windows VPN connection [...]

Leave a Reply