Using several networking modes at the same time
Posted: 4. May 2010, 11:04
Hi,
I use VirtualBox under Mac (and Linux) to host a Debian Linux guest.
Is it possible to use sevral networking modes at the same time ?
I explain. I'd like:
1- a Host-only interface for communicating between host and guest.
2- a NAT interface, in order to access the Internet from the guest (eg to apply software updates from time to time)
Guest is providing a service to host, but external internet communication is not permanent (eg, think of a roaming laptop).
So the NAT connection would be useful only when teh host is connected to Inernet, without disturbing the service provided by the "host-only" network (on fixed IP addresses).
What would be the best solution ?
Thanks for your help.
Emmanuel
I use VirtualBox under Mac (and Linux) to host a Debian Linux guest.
Is it possible to use sevral networking modes at the same time ?
I explain. I'd like:
1- a Host-only interface for communicating between host and guest.
2- a NAT interface, in order to access the Internet from the guest (eg to apply software updates from time to time)
Guest is providing a service to host, but external internet communication is not permanent (eg, think of a roaming laptop).
So the NAT connection would be useful only when teh host is connected to Inernet, without disturbing the service provided by the "host-only" network (on fixed IP addresses).
What would be the best solution ?
Thanks for your help.
Emmanuel