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 0.0.0.0
brctl addif br0 eth0
ifconfig br0 192.168.1.54 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 br0
route add default gw 192.168.1.1 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

Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

Leave a Reply

Your email address will not be published. Required fields are marked *