[Pkg-virtualbox-devel] Bug#484998: suggestion for README.Debian

Michael Schmitt mschmitt at unixkiste.org
Sat Jun 7 16:48:16 UTC 2008


Package: virtualbox-ose
Version: 1.5.6-dfsg-7
Severity: wishlist

Hi,

yesterday I tried to switch from NAT to a bridged setup with virtualbox
but due to lack of imho proper documentation it was fairly confusing.
After all it worked like a charm and was fairly easy to set up.
I suggest adding somthing like this in README.Debian:


First, install bridge-utils, then edit /etc/network/interfaces, here is
a simple example:

auto lo
iface lo inet loopback
auto eth1 vbox0 br0
iface br0 inet static
    address 192.168.1.3
    gateway 192.168.1.1
    broadcast 192.168.1.255
    network 192.168.1.0
    netmask 255.255.255.0
    bridge_ports eth1 vbox0

Of course dhcp is also possible, see interfaces(5) for more details.

The "bridge_ports eth1 vbox0" actually forms your bridge, this is
important! Your real network card, here eth1, "looses" its IP settings
and is just brought up. Same for the virtual vbox0 interface. From now
on the interface br0 must be seen as it would be your real network
interface.
Add something like "vbox0 username br0" to /etc/vbox/interfaces, where
"username" is the login name of the user who wants to use virtualbox,
configure virtualbox to use vbox0 as its host interface and set the
network within your virtual operating system accordingly, just as it
would be another box in your local subnet.

regards
Michael






More information about the Pkg-virtualbox-devel mailing list