VM11克隆CentOS6.5网络无法访问
2020-02-28 本文已影响0人
arrow_zh
1、修改主机名称
vi /etc/sysconfig/network
2、修改IP地址
vi /etc/sysconfig/network-script/ifcfg-eth0
service network restart
3、如果重启网卡出现错误Device eth0 does not seem to be present
rm -rf /etc/udev/rules.d/70-persistent-net.rules
init 6
删除配置文件/etc/udev/rules.d/70-persistent-net.rules 然后重启即可