2007-11-13

Virtualbox Host Interface Networking and bridging on Linux


[root@ns ~]# yum install bridge-utils.i386
[root@ns ~]# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.36
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

[root@ns ~]# echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
[root@ns ~]# /etc/init.d/network restart
[root@ns ~]# VBoxAddIF vbox0 tony br0

沒有留言: