📖 ~1 min read
Table of contents
Symptom & Impact
An interface stays disconnected and NetworkManager logs ‘connection not activating’.
Environment & Reproduction
Seen after cloning VMs or changing MAC addresses.
nmcli -t -f NAME,DEVICE,STATE connection show
ip link
Root Cause Analysis
Connection profile is locked to a different MAC or interface name.
Quick Triage
Compare profile MAC/device to the live interface.
nmcli connection show 'System eth0' | grep -Ei 'mac|interface|autoconnect'
Step-by-Step Diagnosis
Inspect NetworkManager journal for the activation error.
journalctl -u NetworkManager -n 200 --no-pager

Solution – Primary Fix
Update the profile to bind to the current device and reactivate.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
nmcli connection modify 'System eth0' connection.interface-name eth0 802-3-ethernet.mac-address ''
nmcli connection up 'System eth0'

Solution – Alternative Approaches
Recreate the profile from scratch if mods do not stick.
nmcli connection delete 'System eth0'
nmcli connection add type ethernet ifname eth0 con-name eth0
Verification & Acceptance Criteria
Interface shows connected and gateway is reachable.
nmcli -t -f NAME,DEVICE,STATE connection show
ping -c1 $(ip route | awk '/default/{print $3}')
Rollback Plan
Restore the previous connection profile.
cp /etc/NetworkManager/system-connections/eth0.nmconnection.bak /etc/NetworkManager/system-connections/eth0.nmconnection
Prevention & Hardening
Avoid binding profiles to MAC addresses on cloned hosts.
grep -RE 'mac-address' /etc/NetworkManager/system-connections/
Related Errors & Cross-Refs
No carrier, connection failed to activate, DHCP timeout.
Related tutorial: View the step-by-step tutorial for centos-stream-10.
View all centos-stream-10 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
NetworkManager docs, nmcli reference.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.