I have 2 servers hosted in the cloud. One an application server, one a VPN server, both running Win2008.

Both have a local IP address assigned by DHCP in different network subnets, (VPN) and (App Server). These servers can ping each other.

My VPN client connects in to the VPN server (using a L2TP connection on a Win7 client). It is assigned an IP Address from the VPN server's static pool (the VPN server takes, the client is given The client can ping both the address of the VPN server, and its 'local' IP address (10.227.55.X).

What the client can't do is ping the App Server. How can I configure routing so that my client can access the App Server, without hard-coding any of the DHCP IP addresses anywhere?




Without knowing how the subnets are setup on your cloud machines...Your VPN server is accessible from your remote client because its routing table is "aware" of both networks (10.x.x.x and 192.168.100.x). The application server likely doesn't know anything about the 192.168.100.x network so when it receives traffic with a source address from 192.168.100.x, it won't know what to do with it in response and will drop it because its routing table doesn't have what it needs. Try adding a static route to the application server for the network to route to 10.227.55.y (your app servers IP address). Don't forget to make it a persisent route so it survives reboots. It will look something like this:

route -p add mask 10.227.55.y 

This entry is assuming I've got your network subnets right, but you should be able to replace it as needed to make it work. You can also check the routing table of each server by doing a 'route print' command. Hope this helps.

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.