成都创新互联网站制作重庆分公司

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

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

创新互联公司是一家网站建设、网站设计,提供网页设计,网站设计,网站制作,建网站,按需定制设计,网站开发公司,自2013年起是互联行业建设者,服务者。以提升客户品牌价值为核心业务,全程参与项目的网站策划设计制作,前端开发,后台程序制作以及后期项目运营并提出专业建议和思路。

  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"

网站栏目:VMWare链接克隆OS后网卡信息注入问题
新闻来源:http://cxhlcq.com/article/ijsjhi.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部