Centos6.5启用网络

今天在VirtualBox虚拟机中安装Centos6.5时,网卡选择的桥接网卡。
Linux-Network.png
运行ifconfig命令后,只有本地回还。

解决办法:
修改/etc/sysconfig/network-scripts/ifcfg-eth0文件
将ONBOOT=no
改为
ONBOOT=yes
然后重启网络服务。
network-restart.png

Last modification:September 27th, 2018 at 09:32 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment