I have the following situation:

VPN with Server 1:
- Server IP:
- Client IP Range: to
- Netmask:

VPN with Server 2:
- Server IP:
- Client IP Range: to
- Netmask:

I control both servers completely. Now I want to connect with one and the same client to both servers while keeping a direct connection to the internet. Just requests to the network should go to and just requests to the network should go to

To reach this goal, I cleared the "Use remote gateway" checkbox in the two VPN connections. This allows me to simultaneously use the internet resources and the VPN connections. But the problem is, that both connections add a class based route to my routing table.

So, if I connect to both VPN servers simultaneously, I get the following two rules:

Now just one VPN connection (the one with the lower metric) works because the first route routes all traffic to to the first servers gateway. What I want to achieve is to get the following routes created on connecting to the VPN servers:

If I check the "Disable class based route addition" checkbox of the connection, the two routes are not being created. But I want them to be created, just not as but as or respecitvely.

I tried to add a static route in the dial-in users properties on the server. But this didn't have any effect neither. I understand that my goal could be achieved using a batch file which connects to the VPN server and subsequently modifies the routing table accordingly. But I wonder whether or not this can be configured on the server?


You need to fix the VPN servers so that they use and subnetworks in their configurations. After all, it is the VPN server that hands out IP configuration information to the clients.

  • This is what I expected as well. Actually I think the servers configuration is set to Let me describe my servers configuration in more detail: I use the "Routing and Remote Access" console. Right-click on the server > properties: Check "IPv4 Router" and "LAN and demand-dial routing" and "IPv4 Remote access server". On the tab IPv4: "Static address pool", From: "", To: "", IP Address: "", Mask: "". I understand, that this is the configuration for the DHCP clients in that network. But where can I configure the routes created on clients? – TOG Feb 8 '17 at 7:25

I found a solution which may be appropriate for certain environments (not for mine unfortunately, but anyway):

Just use a C class network instead of a A class network. You can e.g. use the following configuration for the server:
- Server IP: (instead of
- Client IP Range: to (instead of to
- Netmask: (same as in the questions configuration)

Using this configuration, the client creates a route for the C class network (if the "Enable Class Based Route Creation" switch in the connections properties is set accordingly).

I did not figure out though, how to configure RRAS the desired way (that the server informs the client about certain static routes).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.