device eth0 does not seem to be present解决

    xiaoxiao2026-09-13  1

    问题:

    红帽Linux使用命令/etc/init.d/network restart时,出现如下问题: Shutting down loopback insterface: [ OK ] Bringing up loopback insterface: [ OK ] Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED] 用ifconfig查看发现缺少eth0,只有lo;用ifconfig -a查看发现多出了eth1的信息。

    解决:

    # vi /etc/sysconfig/network-scripts/ifcfg-eth0 将eth0的mac地址改为 /etc/udev/rules.d/70-persistent-net.rules中的mac地址,同时改变其DEVICE名称为eth1,再重启网络即可。
    转载请注明原文地址: https://ju.6miu.com/read-1312018.html
    最新回复(0)