Advertisement

07.17.2008 at 05:05PM PDT, ID: 23575375
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

How to add custom static routes automatically for a RRAS VPN client?

Asked by itworksinc in Virtual Private Networking (VPN)

Tags:

Here's the situation. I have two networks connected by VPN routers, 192.168.0.x and 192.168.2.x. On the 2.x network I have a Windows 2008 server configured with RRAS for use by VPN clients. The RRAS server assigns addresses in its own subnet for VPN clients, i.e. a VPN client will receive a 192.168.2.x address. What I need is for VPN clients to be able to access the 192.168.0.x network. I have found that by adding a static route on a client machine with the "route add" command I can get it to work. Here's the command I have to use:

route add 192.168.0.0 mask 255.255.255.0 192.168.2.45

192.168.2.45 is the VPN client's assigned IP, which changes every time the client connects. Is there any way to add this static route automatically with the correct gateway, when the client connects? So no matter what IP the client gets, they will always have a static route with the gateway the same as their IP?

I've tried adding static routes in RRAS and in Active Directory Users and Computers (under the user's properties, dial-in tab), but neither of those work, I suspect because I can't specify the gateway.

While messing around, I've discovered that doing a route add with the gateway set to the VPN router's IP and specifying the dial-up interface works as well, i.e.:

route add 192.168.0.0 mask 255.255.255.0 192.168.2.1 if 0x120006

However this is not a solution either, because the interface name changes every time the VPN connection is dialed.

Is there any possible way to do what I need here?Start Free Trial
[+][-]07.20.2008 at 07:29AM PDT, ID: 22045881

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Virtual Private Networking (VPN)
Tags: vpn rras windows.server.2008 static static.route
Sign Up Now!
Solution Provided By: RobWill
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.22.2008 at 10:51AM PDT, ID: 22061841

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 10:55AM PDT, ID: 22061887

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 11:42AM PDT, ID: 22062295

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 11:50AM PDT, ID: 22062371

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:44PM PDT, ID: 22063487

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 02:47PM PDT, ID: 22064013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628