Affected versions: CentOS Stream 10

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

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
Illustrative mockup for centos-stream-10 — nm_act_fail
NM activation failure — Illustrative mockup — Progressive Robot

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'
Illustrative mockup for centos-stream-10 — nm_act_ok
Interface up — Illustrative mockup — Progressive Robot

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/

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.