VirtualBox网络中选择“桥接”,CentOS中配置网络信息
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:44:21:DB
TYPE=Ethernet
UUID=de4081f5-a28c-4e37-a9c6-445f764faa5a
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
先不设置下面的试试看
NETMASK=255.255.255.0
GATEWAY=172.16.100.1
[root@localhost ~]# service network restart #重启网络服务
参考资料:
CentOS网络接口配置文件ifcfg-eth详解
http://www.cnblogs.com/dkblog/archive/2011/12/28/2305004.html
CentOS下网卡启动、配置等ifcfg-eth0教程
http://www.jb51.cc/article/p-nnesqwrd-rq.html