Re: Vista (running ubuntu)
- From: Nils Kassube <kassube@xxxxxxx>
- Date: Thu, 12 Jun 2008 18:46:31 +0200
Derek Broughton wrote:
I'd really like to get network bridging working - that was trivial when
I used VMWare, so far impossible under Virtualbox.
This is how it works for me - and please note:
1. Here it doesn't really work if there is no network at the interface
configured for the bridge (eth0) when I boot the machine.
2. Booting takes considerably longer due to the bridge.
In the following setup, replace eth0 with the appropriate interface name
if necessary.
Get package bridge-utils:
sudo apt-get install bridge-utils
In /etc/network/interfaces remove the entry for eth0 (if it exists) and
add an entry for the bridge like this:
auto br0
iface br0 inet dhcp
bridge_ports eth0
Then restart networking:
sudo /etc/init.d/networking restart
Now you should have an interface br0. Next create the VirtualBox interface
vbox0:
sudo VBoxAddif vbox0 $USER br0
And the tun device should be accessible by VirtualBox users:
sudo chown root:vboxusers /dev/net/tun
Now start VirtualBox and select the network setup for your VM. At
the "Attached to" field select "Hostinterface" and enter "vbox0" for
the "Interface name".
Finally start the VM and check its IP address - it should come from your
DHCP server and it should be different from the host. Now you should be
able to ping the VM from other machines in your network.
Nils
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Vista (running ubuntu)
- From: Derek Broughton
- Re: Vista (running ubuntu)
- From: pat decampos
- Re: Vista (running ubuntu)
- References:
- Vista (running ubuntu)
- From: Rick
- Re: Vista (running ubuntu)
- From: NoOp
- Re: Vista (running ubuntu)
- From: Derek Broughton
- Vista (running ubuntu)
- Prev by Date: Re: update manager error
- Next by Date: Re: Plextor BLU-RAY Rewriter PX-B920SA
- Previous by thread: Re: Vista (running ubuntu)
- Next by thread: Re: Vista (running ubuntu)
- Index(es):
Relevant Pages
|