虚拟机-克隆linux服务器

2018-01-08  本文已影响21人  丿易小易

虚拟机-克隆linux服务器

image

00:1c:42:94:0f:98

克隆后的服务器 eth0不能在ifconfig中显示, 问题原因是克隆时将hwaddr也克隆进来,所以需要修改
修改
/etc/udev/rules.d/70-persistent-net.rules

image image

记得修改主机名,不然名字一样

/etc/sysconfig/network
HOSTNAME=SN4

重启服务器 reboot 或者 shutdown -r now

查看是否能ping通主机和网关,以及外部网络

上一篇 下一篇

猜你喜欢

热点阅读