Page 1 of 1

Help with internal routing

Posted: Wed Mar 02, 2011 8:47 pm
by trondleim
Hi,

I'm new here and I have little experience when it comes to OpenVPN and computers overall, so I appreciate all help, but please keep it as simple as possible :D

I'll try to explain my stuation. I have a desktop computer on which I have XenServer installed. I use this computer for running several Windows XP virtual machines. I maneuver the host and the VMs fromm Xencenter installed on my laptop. My VMs run as they should, so far so good.

What I need to do now is assign a unique static IP to each one of the VMs. In other words, the when connecting to the internet from the VMs they should be identified as different computers each with a unique IP. There are probably different solutions for this but since I've used VPN-tunnels from http://prq.se/?p=tunnel&intl=1 before I decided to stick with their services. Until now I have bought one tunnel for each VM, but since I'm going to add more and more VMs it'd be a cheaper and more efficient solution to buy package 4 (as seen in the link) and then buy as many additional IPs as I need, one for each VM.

When buying a package I get one tunnel-IP which I am supposed to setup with a gatewaycomputer. Since I have no idea how to setup my Xenserver as gateway computer my plan is to use a Windows XP VM as gateway computer. Through the gateway I am supposed to assign the "extra IPs" to each of my clients. A guide on how to do this can be found here: http://forum.prq.se/viewtopic.php?f=2&t=12. However PRQ offer no support for this specific solution, so that's why I need your help.

Step 1 is no problem. OpenVPN is setup and working successfully on the VM I plan to use as gateway. Then, unfortunatly, I get stuck. Step 2 telling me to setup an internal network under the Advanced tab in the TCP/IP-settings. If someone could explain exactly what I'm supposed to do here it'd be nice.

Step 3: I'm not sure about this step either. I have setup one of the clients with one of the additional IPs by entering the required information in the TCP/IP-settings. I've given it the additional IP which is 88.80.19.218/32. I'm not sure what subnet mask I should enter? 255.255.255.252? As default gateway I've entered the gateway computers tunnel IP.

In Step 4 they tell me once again to setup an internal network, still not sure of what they want me to do here.

Step 5: I'm not sure of this step either. I've tried entering the command, but not sure of which netmask to use here and what internal IP I should enter. If I enter 255.255.255.252 as netmask I get an error message.


In short I need someone to explain exactly what I have to do and guide me through this :P I'm willing to make a donation to the person who exxplain this in a way that makes me get it working successfully.

Thank you

Re: Help with internal routing

Posted: Thu Mar 03, 2011 10:04 pm
by trondleim
Is there nobody here who knows how to handle this situation? The one who helps me solve this successfully will receive 50 bucks from me :roll: