vim /etc/udev/rules.d/70-persistent-net.rules


添加以下内容:
SUBSYSTEM=="net", ACTION=="add", 
ATTR{address}=="b8:27:eb:f8:ba:ec",NAME="eth888"

ATTR{address}对应网卡mac
修改/etc/network/interfaces为对应的新网卡名,重启网络服务

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-12-06
  • 2022-02-10
  • 2021-09-19
猜你喜欢
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-02-02
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案