📖 ~1 min read
Table of contents
Symptom & Impact
nmcli connection up succeeds but interface keeps DHCP from old config.
Environment & Reproduction
Hosts migrated to keyfile plugin where ifcfg-* still exists.
cat /etc/os-release
uname -r
rpm -qa | grep
Root Cause Analysis
Legacy ifcfg-* file shadows the keyfile profile.
Quick Triage
Confirm package, network, SELinux and firewall state.
nmcli -f NAME,DEVICE,UUID con show
ls /etc/NetworkManager/system-connections/
ls /etc/sysconfig/network-scripts/
Step-by-Step Diagnosis
Drill into network/nmcli state and recent journal entries to isolate the failure.
nmcli con show
journalctl -u NetworkManager -n 100

Solution – Primary Fix
Apply the standard remediation for network/nmcli on CentOS Stream 10.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo mv /etc/sysconfig/network-scripts/ifcfg- /root/backup/
sudo systemctl restart NetworkManager
sudo nmcli con up

Solution – Alternative Approaches
Convert legacy ifcfg-* via nmcli connection migrate.
Verification & Acceptance Criteria
Validate the fix with positive functional checks before closing.
ip a show
nmcli -f IP4 con show
Rollback Plan
Revert to the previous known-good configuration if the fix regresses.
cp /root/backup/ifcfg- /etc/sysconfig/network-scripts/
systemctl restart NetworkManager
Prevention & Hardening
Codify the fix in configuration management and add monitoring.
Manage profiles with nmstatectl declarative YAML.
Related Errors & Cross-Refs
DNS resolution loss and route metric conflicts.
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 keyfile documentation.
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.