CentOS 7 - Device eth0 has different MAC address than expected или Device name does not seem to be present

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск

Доступная цена

CentOS 7 - Device eth0 has different MAC address than expected или Device name does not seem to be present

Не работает сеть с ошибками

[/etc/sysconfig/network-scripts/ifup-eth] Device  has different MAC address than expected, ignoring.
или
[/etc/sysconfig/network-scripts/ifup-eth] Device name does not seem to be present.

означает, что не прописан MAC адрес или прописан неверный в конфиге интерфейса:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR="02:00:00:16:ce:4f"

После исправления - нужно рестарнуть сеть:

# systemctl restart network


Фото ошибки:
Screenshot 123432.png

Индекс цитирования