
Using Host-Interfacing and Bridging on VirtualBox
October 6, 2008NAT interface on guest OS gives limitation so we may need to add a new virtual interface to it. This is called ‘HIF’ (Host Interface).
Steps:
- Install bridge-utils, if not yet installed:
sudo yast -i bridge-utils
- edit /etc/sysconfig/network/ifcfg-br0 and write:
- Edit /etc/sysconfig/network/ifcfg-eth0 and change the content to:
BOOTPROTO='static'IPADDR='0.0.0.0'
- Create a new permanent interface:
VBoxAddIF tap0 br0
- Configure the guest to have the second Virtual Network Interace and assign ‘tap0′ as its name
BOOTPROTO='dhcp'NETMASK='255.255.255.0'STARTMODE='auto'USERCONTROL='no'DHCLIENT_TIMEOUT=30BRIDGE_PORTS='eth0'