06 Dec

Enable Bridging for VirtualBox in Fedora 8

To access net on a guest OS installed within VirtualBox, you have to enable bridging. This is what I did…

Run as root

brctl addbr br0
ifconfig eth0
brctl addif br0 eth0
ifconfig br0 netmask up
route add -net netmask br0
route add default gw br0
VBoxTunctl -b -u binnyva
ifconfig tap0 up
brctl addif br0 tap0

Open VirtualBox, select the machine you want and go to the network section. Select ‘Host Interface’ in Attached to and enter ‘tap0’ in Interface name. Now you should be able to get the connection on the guest system.

Related Links

Advanced Networking Linux
HOWTO Automatically configure bridge interfaces on VirtualBox
bridging on Linux hosts over the VirtualBox
Bridge network interface on VirtualBox
Networking bridge for Virtualbox
Windows XP in Fedora 7
Bridged Networking with VirtualBox on Linux Hosts