New host interface

Discussions related to using VirtualBox on Linux hosts.
Post Reply
elbarjo
Posts: 3
Joined: 6. Feb 2009, 01:20

New host interface

Post 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
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

No, you just select the Host If and connect it to a host Ethernet device such as eth0. VBox does the rest.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
elbarjo
Posts: 3
Joined: 6. Feb 2009, 01:20

Post by elbarjo »

Hello,

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

Thanks.
Jo
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

Post by baf »

Hopefully nowhere VB doesn't create a new interface it's hidden somehow.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Just the same as VMware does.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
elbarjo
Posts: 3
Joined: 6. Feb 2009, 01:20

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply