On Wednesday 06 August 2008, Mag Gam wrote:
> Hello Everyone:
>
> I have begun to use VirtualBox and I love it, but the network
> configuration is very hard for my guests (Debian Linux).
>
> My host OS is Ubuntu with 2 ethernet cards, but I use only 1 wireless
> card (eth1). eth0 is disabled because I don't have a wired connection.
>
> My host's eth1 = 192.168.1.2; gw (netgear router): 192.168.1.1
>
>
> My guests are Debian Linux; I have 4 of them. I would like to setup this:
> debianbox0: 10.0.0.2
> debianbox1: 10.0.0.3
> debianbox2: 10.0.0.3
> debianbox3: 10.0.0.3
>
> I would like for these boxes to communicate to each other and the
> outside world (internet access). What would be the best way to do
> this?

If you set up host networking and attach all guest networks to a
host bridge (see user manual for details), all guests receive
an IP from your host's gateway and are attached to the same network
as your host. I would prefer this way.

The other choice is to configure two network interfaces for each
guest: The first instance would be NAT (for the internet access)
and the second instance would be an internal network (for
communication between the guests). But this way the host would
not be able to connect to the guest, except if you do some kind
of port forwarding.

In general, host networking is the preferred solution (for
performance reasons).

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to