Linux虚拟机ip为127.0.0.1的处理

Redhat系列(Cnetos)打配置文件在/etc/sysconfig/network-scripsts/ifcfg-eth0(在Centos6.5开始就有这种情况了)

打开配置文件找到ONBOOT=no 要改为ONBOOT=yes 默认是ONBOOT=no,它打意思是:是否随网络服务启动,eth0生效,如果为no,则ifconfig看不到eth0

posted @ 2017-03-26 22:13  ginkgolu  阅读(6749)  评论(0编辑  收藏  举报