Earlier there was nothing in Network-scripts directory, but after installing network-scripts from ISO almost all files came and network interfaces went missing in RHEL 8 VM.
Network interfaces missing in rhel8
I have tried adding ethernet device using nmtui, it creates file but after restarting network service getting error "Device not found".
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) After Adding Device
Added from comment: output of 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ifconfigand in the wrong way (without-a). Please add the result of the commandip linkinstead.