Page 1 of 1

another success with Hostinterface Networking

Posted: 15. Sep 2008, 15:05
by rm53
while I have reported Hostinterface to work when using static IP addresses both on Mac host and in Linux client, I was surprised to see it working for a typical on-the-road setup too.
On the road I use a Huawei UMTS (3G) modem connected via USB to my MacBook. Of course I have to use DHCP in Mac OS X in this case.
I use the airport to span up a new "ad-hoc" WLAN, so the other notebooks can use that UMTS cell phone connection too.
Now in this setup VirtualBox 2.0.2 clients can use this too, via DHCP. I.e. in this case DHCP works on host side and on client side for Hostinterface Networking! Nice.

Configuration:
MacBook: online via USB-connected Huawei UMTS 3G modem
Network: set up to use Huawei PPP and DHCP as usual and my phone provider's data like APN and username and password
Airport: used as ad-hoc network wireless access point to share internet access (to other WiFi computers)
Sharing: internet sharing set up to share Huawei modem for Airport clients
VirtualBox: set up with Hostinterface networking for each guest machine
openSUSE guest system: conf. to use DHCP
Ubuntu guest system: conf. to use DHCP

And this works.

Posted: 15. Sep 2008, 21:19
by mig
Hi,
thanks for that, i'm using the same hardware on the road.
I have another issue (?) at home with my wlan-router and airport. Using airport as Hostinterface for Linux (or Windows) client i thought the connection would be exclusively and only for the guest. But i have internet access also from Host (Macbook OS X 10.5). Could it be possible to use such a security feature (exclusive use of internet connection by Linux guest)?
In this way and using snapshots I would never more have problems with trojans and worms.
Is this (now or in the future) possible?
Thanks,
mig

exclusive host interface?

Posted: 15. Sep 2008, 22:56
by rm53
no, it is not meant to be exclusive. Most users would cry in pain if it was...

I do not know if VirtualBox does USB devices correctly. Parallels does, so in Parallels you could add an physical USB network device (WLAN, UMTS/3G, Bluetooth, Ethernet, whatever) while the VM is running, and Parallels would ask you if you want to have it connected to the virtual guest or to the Mac host. When you say, to the guest, the Mac OS would not see the device at all. This seems to be what you want.

But I dunno if VirtualBox does all that, I never tried.

Posted: 15. Sep 2008, 23:02
by mig
Hi,
yes, thanks, i'm just doing that way with umts/3G. Not already with usb-wlan, i have some problems on mac and also on win host (with linux guests).

But the possibility of exclusive use would be nice.... ;-)

Greets,
mig