Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2008 19:52:18 -0600
From:      Steven Susbauer <stupendoussteve@hotmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Jesse Sheidlower <jester@panix.com>, freebsd-questions@freebsd.org
Subject:   Re: Creating network interface in VM?
Message-ID:  <491F7CD2.3050403@hotmail.com>
In-Reply-To: <20081116022831.9b9ce368.freebsd@edvax.de>
References:  <20081115221725.GA16317@panix.com> <20081116022831.9b9ce368.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8392F638E5A127E8FAC0DA15
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Polytropon wrote:
> On Sat, 15 Nov 2008 17:17:25 -0500, Jesse Sheidlower <jester@panix.com>=
 wrote:
>> I'm running FreeBSD 7.1-BETA2 in a virtual machine in
>> VirtualBox, running on a Linux (Debian) host.
>> [...]
>> I tried to set this up on the FreeBSD side, but I am unable to
>> even create the vbox0 interface:
>>
>> ---
>> # ifconfig vbox0 create
>> ifconfig: SIOCIFCREATE2: Invalid argument
>> ---
>>
>=20
> I'm not sure, but I think what you're searching for would be to
> have VB "create" a NIC substitute for the FreeBSD guest OS. When
> you said, you could reach network from out of the FreeBSD VB,
> a virtual network adapter. Which interface did you use from
> within FreeBSD?
>=20
> As far as I know, there's no vbox (pseudo)interface driver in
> FreeBSD, that's why the ifconfig create command returned an error.
>=20
>=20
>=20
The guest machine is always going to use the virtual driver provided by
virtualbox, which is configured through the virtualbox gui control
before you start the machine. I suggest trying to configure that
interface, not vbox0. vbox0 is an interface on the host OS.

This howto from Ubuntu may help you out; notice that everything is
configured on the host machine, the guest machine has no real
differences: https://help.ubuntu.com/community/VirtualBox#Networking


--------------enig8392F638E5A127E8FAC0DA15
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkffNQACgkQ2i3YYzbDt08+WwCg8jU+K0oQ8sxLe/LB2JQgyH+q
k24AoLTNkc0ynP1oLO2FctEDVNjAUEAu
=RL77
-----END PGP SIGNATURE-----

--------------enig8392F638E5A127E8FAC0DA15--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491F7CD2.3050403>