Setting up the network

This is for discussing general topics about how to use VirtualBox.
Post Reply
LBM
Posts: 3
Joined: 5. Jul 2010, 10:17
Primary OS: Debian other
VBox Version: OSE other
Guest OSses: Linux, Windows

Setting up the network

Post by LBM »

Hi Guys

I would like to have a setup like the following.
2, or more Vitualbox clients/hosts that can see each other, but all other clients on the network should not be able to see them!
Also these clients/hosts must be able to access the internet (most likely through the virtualbox host ???).

I asume I must setup some sort of network in virtualbox, but I simply cannot get it to work, at all.

How could I accomplish this task ?
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Setting up the network

Post by baf »

Easiest method:
Assign two network cards to each guest
One on nat to reach internet
One as "Host only" or "Internal network" to talk between them. HO or IN depends if you want the host to be able to reach them.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
LBM
Posts: 3
Joined: 5. Jul 2010, 10:17
Primary OS: Debian other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Setting up the network

Post by LBM »

Wow, that was simple! Thanks a lot :)
Post Reply