i need help :)

This is for discussing general topics about how to use VirtualBox.
Post Reply
rns112
Posts: 4
Joined: 10. Dec 2010, 22:32
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Sp3

i need help :)

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: i need help :)

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
rns112
Posts: 4
Joined: 10. Dec 2010, 22:32
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Sp3

Re: i need help :)

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: i need help :)

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply