Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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, 10.227.55.0 (VPN) and 10.231.5.0 (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 192.168.100.1, the client is given 192.168.100.2). The client can ping both the 192.168.100.1 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?

thanks

Duncan

share|improve this question

1 Answer 1

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 192.168.100.0/24 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 192.168.100.0 mask 255.255.255.0 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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