2017-12-30 Centos6.5设置静态IP
查看vmnet8网卡的ip地址:ifconfig
(在centos中)关闭防火墙setup–>Firewall configuration–>关闭防火墙–>ok
设置静态IP
setup–>Network configuration–>Device configuration–>eth0…….- vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改ONBOOT=yes 使网卡自动启动 # service network restart 重启网络
# ifup eth0 **网卡最后检查网络,ping下vmnet8的地址