RHEL 8에 이더넷 인터페이스가 없습니다.

RHEL 8에 이더넷 인터페이스가 없습니다.

이전에는 Network-scripts 디렉토리에 아무것도 없었지만 ISO에서 네트워크 스크립트를 설치한 후 거의 모든 파일이 나타 났지만 RHEL 8 VM에는 네트워크 인터페이스가 없습니다.

rhel8에 네트워크 인터페이스가 없습니다.

nmtui를 사용하여 이더넷 장치를 추가하려고 시도했는데 파일이 생성되었지만 네트워크 서비스를 다시 시작한 후 "장치를 찾을 수 없습니다"라는 오류가 발생했습니다.

Feb 28 12:02:57 localhost.localdomain network[9163]: 'network-scripts' will be removed>
Feb 28 12:02:57 localhost.localdomain network[9164]: It is advised to switch to 'Netwo>
Feb 28 12:03:00 localhost.localdomain NET[9284]: /etc/sysconfig/network-scripts/ifup-p>
Feb 28 12:03:00 localhost.localdomain network[9149]: [46B blob data]
Feb 28 12:03:01 localhost.localdomain NetworkManager[7515]: <info>  [1582909381.5032] >
Feb 28 12:03:01 localhost.localdomain NetworkManager[7515]: <info>  [1582909381.5842] >
Feb 28 12:03:01 localhost.localdomain network[9149]: Bringing up interface enp0s3:  Error: Connection activation failed: No suitable device found for this connection (device found for this connection (device virbr0 not available because profile is not available because profile is not compatible with device (mismatching interface name)).>
Feb 28 12:03:01 localhost.localdomain network[9149]: [13B blob data]
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:01 localhost.localdomain network[9149]: RTNETLINK answers: File exists
Feb 28 12:03:02 localhost.localdomain systemd[1]: network.service: Control process exi>
Feb 28 12:03:02 localhost.localdomain systemd[1]: network.service: Failed with result >
Feb 28 12:03:02 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down n>
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- Unit network.service has failed.
-- 
-- The result is RESULT.
lines 1389-1415/1415 (END)

장치를 추가한 후여기에 이미지 설명을 입력하세요.

의견에서 추가됨: 출력 ip link:

[root@localhost network-scripts]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:21:d2:2f brd ff:ff:ff:ff:ff:ff
3: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:21:d2:2f brd ff:ff:ff:ff:ff:ff
[root@localhost network-scripts]#
Thanks for your reply A B,
There is no change in Hardware or Accidental damage. i was able to use same VM 3-4 months ago. suddenly network was not working. i tried installing new VM with RHEL8, still same issue.

Adding Output of #lspci -n -n

00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 01)
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 01)
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 08)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
00:07.7 System peripheral [0880]: VMware Virtual Machine Communication Interface [15ad:0740] (rev 10)
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
00:10.0 SCSI storage controller [0100]: BusLogic BT-946C (BA80C30) [MultiMaster 10] [104b:1040] (rev 01)
00:11.0 PCI bridge [0604]: VMware PCI bridge [15ad:0790] (rev 02)
00:15.0 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.1 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.2 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.3 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.4 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.5 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.6 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:15.7 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.0 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.1 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.2 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.3 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.4 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.5 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.6 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:16.7 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.0 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.1 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.2 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.3 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.4 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.5 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.6 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:17.7 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.0 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.1 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.2 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.3 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.4 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.5 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.6 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
00:18.7 PCI bridge [0604]: VMware PCI Express Root Port [15ad:07a0] (rev 01)
02:00.0 USB controller [0c03]: VMware USB1.1 UHCI Controller [15ad:0774]
02:01.0 Ethernet controller [0200]: Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] [1022:2000] (rev 10)
02:02.0 Multimedia audio controller [0401]: Ensoniq ES1371/ES1373 / Creative Labs CT2518 [1274:1371] (rev 02)
02:03.0 USB controller [0c03]: VMware USB2 EHCI Controller [15ad:0770]
02:05.0 SATA controller [0106]: VMware SATA AHCI controller [15ad:07e0]
02:06.0 Ethernet controller [0200]: Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] [1022:2000] (rev 10)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

답변1

이전 RedHat 인스턴스를 RHEL 7로 업그레이드한 후 이 문제(또는 유사한 문제)가 발생했습니다. 일부 네트워크 관련 서비스가 시작 시 실패했습니다. 시간이 초과되어 시스템 부팅이 차단되지 않지만 네트워크에 연결할 수 없습니다.

편집: 이전 솔루션이 불완전하여 다음에 적용해야 할 때 실패했습니다. 이제 이것이 완전한 솔루션인 것 같습니다.

나는 Red Hat에서 나에게 도움이 되는 문제와 해결책을 설명하는 다음 기사를 찾았습니다.https://access.redhat.com/solutions/2592561 이 문서에서는 내 상황을 매우 정확하게 설명합니다. 이 문제를 방지하는 "정오표"가 포함되지 않은 DVD ISO 이미지를 사용하여 VMWare 게스트를 6에서 7로 업그레이드하는 것입니다.

결국 다음 명령을 실행했습니다.

nmcli connection modify 'System eth0' connection.interface-name ens192
nmcli connection modify 'System eth0' connection.id ens192
nmcli connection up ens192

다시 시작하면 시스템이 정상으로 돌아옵니다!

관련 정보