Page 1 of 1

i need help :)

Posted: 18. Dec 2010, 03:30
by rns112
Hello,

I've purchased a block of ip addresses from my isp. I want to be able to have three of my virtual machines connected under the same ip through the router (that I can do) but where I'm stuck, and this is probably easy too, is how I can have the remaining two vms connected to the internet using 2 ips that I assign from my rented ips, not from the router's.

I predicted having a hard time to explain myself, so here is a little image I made outlining my needs:

Image

Does anybody know anything about how to do this? I would normally go to a different forum for this but considering I am using virtual machines I thought there may be extra concerns/complications.

Thankyou guys,

RS

Re: i need help :)

Posted: 18. Dec 2010, 17:44
by Sasquatch
How would you do it if these machines were physical? In what way would you connect them to the internet? You would probably have two or three routers, one for routing each IP (range), right? Then the Host has to have an equal amount of physical interfaces, with which you connect the VMs to the internet. The pink ones will use the same physical interface, the blue and yellow ones would each have their own.

If you can't figure it out with this, provide more information about your network setup at the moment.

Re: i need help :)

Posted: 20. Dec 2010, 04:14
by rns112
If the machines were physical I'd use a custom mini atx box with openbsd and just nat overload machines 1-3 and static nat machines 4-5.
Is it possible to do it the same way? vms are new to me.
As far as how I'm setup I just have one system that all the vms run under using bridged connection.

Re: i need help :)

Posted: 24. Dec 2010, 00:24
by Sasquatch
rns112 wrote:If the machines were physical I'd use a custom mini atx box with openbsd and just nat overload machines 1-3 and static nat machines 4-5.Is it possible to do it the same way?
You would do it similar to that, you just have to figure out how to properly integrate that into your virtual network. If you have different physical routers for each connection and enough physical interfaces on the Host (that would be 3), then it's easy with Bridged. Else you might need to figure out something else, like static addresses with Bridged, use Host-Only or other methods. Check out chapter 6 of the User Manual. It describes what networking options you have with VB. I'm sure the one you need is available.