Page 1 of 1

New host interface

Posted: 6. Feb 2009, 01:28
by elbarjo
Hello,

This is a newbie question... I have installed the last version of Virtualbox on my ubuntu 8.10. With the previous version I created a bridge in order to have two separates IP addresses, one for Ubuntu and another for the guest OS. Then I could do some tests between both OS.

How to do this with the new system ? Do I still need to make a bridge and a virtual interface ?

Thank you
Jo

Posted: 6. Feb 2009, 14:13
by TerryE
No, you just select the Host If and connect it to a host Ethernet device such as eth0. VBox does the rest.

Posted: 7. Feb 2009, 21:07
by elbarjo
Hello,

I tried it but I don't see a new interface on the host. Where is the mistake ?

Thanks.
Jo

Posted: 7. Feb 2009, 21:32
by baf
Hopefully nowhere VB doesn't create a new interface it's hidden somehow.

Posted: 8. Feb 2009, 03:44
by TerryE
Just the same as VMware does.

Posted: 8. Feb 2009, 14:07
by elbarjo
I don't understand...
My real question is how to communicate between the host OS and the guest one using the network ?

Example I'm on the host os, I want to ping the guest os. How to do this ?
With the bridge, the host IP was 192.168.0.1 and the guest IP was 192.168.0.10, it was easy.

Thanks
Jo

Posted: 8. Feb 2009, 15:49
by Sasquatch
With the new HIF system, you select your physical interface. If there is no link on the adapter (that is, no cable attached), then it won't work for network connectivity. The Host and Guest use the same adapter and should be able to communicate with each other, but because there is no link on it, the device is brought down by the Host.
If you want Host <> Guest communications without the need of a link on the adapter, you can use the TAP adapter you create with the UML-Utilities package. It's in almost every distro repository. See the documentation of UML-Utilities and Tunctl for more information.