将克隆的eth3和eth4改为eth0和eth1

DEVICE=eth0

HWADDR=00:0C:29:D6:B7:0E(原来eth3的MAC地址)

BOOTPROTO=static

IPADDR=10.0.0.1

NETMASK=255.0.0.0


DEVICE=eth1

HWADDR=00:0C:29:D6:B7:04(原来eth4的MAC地址)

BOOTPROTO=static

IPADDR=172.16.0.2

NETMASK=255.255.0.0


2.查看网卡驱动程序

ethtool -i eth0 和 eth1(一般都一样)-----driver:e1000

将克隆的eth3和eth4改为eth0和eth1


3.卸载网卡

modprobe -r e1000(由上面得出)

将克隆的eth3和eth4改为eth0和eth1

4.重新加载驱动

modprobe e1000(由第2步得出)

将克隆的eth3和eth4改为eth0和eth1

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-09-16
  • 2021-09-26
  • 2021-06-12
  • 2021-10-03
  • 2022-02-05
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2021-10-20
  • 2021-10-12
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
相关资源
相似解决方案