VMWare 链接克隆OS后 网卡信息注入问题

发布时间:2020-04-19 18:41:09 作者:990487026
来源:网络 阅读:466
CentOS

1、[root@localhost ~]# ifconfig -a   
[root@localhost ~]# vim /etc/udev/rules.d/70-persistent-net.rules       
删除第一个MAC对应的不存在的记录,把下面的eth2改为eth0
[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0  
删除MAC地址与UUID,修改IP地址,
[root@localhost ~]# modprobe -r e1000
[root@localhost ~]# modprobe e1000
[root@localhost ~]# service network restart
重载网卡驱动,重启网络服务
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet

debian

  vim  /etc/udev/rules.d/z25_persistent-net.rules
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:39:a4:99", NAME="eth0"

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:16:17:c0:a3:66", NAME="eth2"


推荐阅读:
  1. VMware克隆虚拟机后出现Device does not seem to be present解决
  2. *VMware虚拟机克隆后解决网络冲突问题

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

vmware 链接克隆centos 网 wa

上一篇:第96课: 通过Spark Streaming的foreachRDD把处理后的数据写入外部存储系统中

下一篇:Oracle_071_lesson_p6

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》