- Red Hat Enterprise Linux
- NetworkManager service
- Loopback network interface
- How do I manage the
loloopback interface using NetworkManager?
lointerface is shown as "unmanaged" in
- NetworkManager is not managing the loopback
Managing the loopback interface is possible in NetworkManager 1.41.6 and later in RHEL 9.2.
RHEL 9.1 and earlier
Depending on needs, there are multiple ways to configure the loopback interface or provide similar functionality:
- How to create a dummy interface via NetworkManager?
- How to write a systemd unit to manage the loopback interface?
- Add a secondary IP address to the
ifcfg-lofile and bring the interface up using the network service initscript.
NetworkManager traditionally did not manage the loopback interface by design.
Red Hat customer Requests For Enhancement resulted in upstream work to add it, which was done in NetworkManager 1.41.6 with:
This is a large feature and was deemed too risky to backport to RHEL 8's earlier NetworkManager code.
Check the device state using older NetworkManager:
# nmcli device show DEVICE TYPE STATE CONNECTION lo loopback unmanaged -- net0 ethernet connected net0
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.