侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

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

2022-07-15 星期五 / 0 评论 / 0 点赞 / 61 阅读 / 1168 字

CentOS1、[root@localhost~]#ifconfig-a[root@localhost~]#vim/etc/udev/rules.d/70-persistent-net.rules删除

.

CentOS1、[root@localhost ~]# ifconfig -a   [root@localhost ~]# vim /etc/udev/rules.d/70-persistent-net.rules       删除第一个MAC对应的不存在的记录,把下面的eth1改为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 ~]# ifconfigeth0      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="eth1"


.

广告 广告

评论区