Creating network interface in VM?
jester at panix.com
Sat Nov 15 14:36:43 PST 2008
I'm running FreeBSD 7.1-BETA2 in a virtual machine in
VirtualBox, running on a Linux (Debian) host. I was able to
set up everything quite easily, and originally set up
networking over NAT. But after some questions on the VB
mailing list about accessing the guest from the host (so I can
use the FreeBSD VM as a test server from my host), I decided
to set up Host Interface Networking (without bridging, as I
only want the VM visible to the host, not the rest of the
The instructions I was following were pretty straightforward,
though they were for a Linux guest:
iface vbox0 inet static
is the setup for the Linux host, and the guest is supposed to
be the same thing with a different IP address. Using this alone,
I was already able to reach the Linux host from my FreeBSD VM.
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
Googling hasn't been much help. How do I get this done?
More information about the freebsd-questions