Use it to configure interfaces persistently on RHEL-family systems, or when settings revert or a connection does not activate.
NetworkManager
NetworkManager manages network connections on RHEL, Fedora and desktops (and some servers): connection profiles stored in /etc/NetworkManager/system-connections/, controlled with nmcli or nmtui.
1. nmcli device status — connected, disconnected or unmanaged?
2. nmcli connection show <con> — ipv4.method, addresses, gateway, dns.
3. Modify: nmcli con mod <con> ipv4.addresses 10.0.0.5/24 ipv4.gateway 10.0.0.1 ipv4.method manual.
4. Apply: nmcli con up <con>.
5. Logs: journalctl -u NetworkManager -e.
connection profile → bound to a device → activated → addresses, routes and DNS applied → persists across reboot
For Linux Networking → NetworkManager, continue with the first unproven Topic check: Confirm NetworkManager version, device managed/unmanaged state and active connection UUID/name. If that boundary is healthy, advance to the adjacent check: Compare persistent profile properties with active addresses, routes, DNS and device state. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
connection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workload
Healthy evidence: the intended profile UUID is active on the expected device, effective kernel state matches relevant profile intent, logs show stable activation and the original flow succeeds.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Confirm NetworkManager version, device managed/unmanaged state and active connection UUID/name.
- Compare persistent profile properties with active addresses, routes, DNS and device state.
- Review NetworkManager logs/reason codes for activation, DHCP or carrier transitions.
- Verify kernel state and original workload after profile activation or modification.
Verification chain. connection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workload
Step 3 Specialized verification Verify boundary
Correlate device state, active connection identity and stored profile. Then inspect kernel link, addresses, routes and policy rules and verify the resolver path separately. For a remote change, show the management path remains reachable before removing the old state. After activation/reapply, run the original network transaction from the correct namespace and source address. A profile that looks correct on disk is not evidence it is active, and an activated profile is not evidence DNS or upstream reachability works.
Step 4 Commands Verify boundary
nmcli device status
nmcli connection show
nmcli con mod eth0 ipv4.addresses 10.0.0.5/24 && nmcli con up eth0
Step 5 Failure modes and next checks Narrow the fault
Suspicious evidence: the wrong profile autoconnects, a device is unmanaged, saved settings are not reactivated, DHCP overrides intent, or nmcli reports activation while kernel/workload state remains wrong.
Step 6 Special cases and limits Narrow the fault
NetworkManager “connected” is not end-to-end reachability. Kernel routes can be altered by other managers, containers or manual commands, and DNS behavior may be owned by resolved or another service. Unmanaged devices can legitimately sit outside NetworkManager. Reapplying a profile may not cover every property. Separate profile intent, active-connection state, kernel networking and remote service reachability.
Step 7 Common mistakes Narrow the fault
- Editing ifcfg/keyfiles by hand while NetworkManager runs.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Change settings with nmcli connection modify <con> … then nmcli connection up <con>. A device marked unmanaged is ignored. Do not mix with manual ifcfg/ip changes on the same interface.
ip -br addr— interfaces and addressesip route— routing table and default routeip neigh— ARP/neighbour cacheip route get <dest>— route, interface and source chosen for a destinationnmcli device status / networkctl— which tool manages each interface
ReferenceWhat it is1 section · depth on demand
Core model
Identify whether NetworkManager actually manages the device and which profile is active. Compare saved profile properties with active connection data and kernel state. Changes can be persistent but inactive, runtime-only, overridden by DHCP or competing renderers, so always perform read-back at the kernel and workload layers.
ReferenceImportant terms & boundaries6 sections · depth on demand
What this shows and what it does not
NetworkManager activation shows daemon-level profile processing, not complete network or application health; kernel and consumer-visible read-back remain required.
In depth
NetworkManager devices and connection profiles
NetworkManager separates devices (the interfaces) from connections, the saved profiles with settings. The nmcli manual puts it like this: a connection is active when a device uses its configuration. Several profiles can exist for one device, but only one can be active on it at a time. nmcli connection reload re-reads profile files from disk, because NetworkManager doesn't watch those files by itself.
Core commands (manual)
| Task | Command |
|---|---|
| Overall state | nmcli general status |
| Devices and their state | nmcli device status |
| Profiles | nmcli connection show [--active] |
| Activate a profile | nmcli connection up <name> |
| Deactivate a profile | nmcli connection down <name> |
| Create a profile | nmcli connection add type ethernet ifname eth0 con-name <name> ... |
| Change a profile | nmcli connection modify <name> <property> <value> |
| Re-read files edited by hand | nmcli connection reload |
Property syntax
| Form | Effect |
|---|---|
ipv4.addresses 10.110.0.64/24 | Replaces the list |
+ipv4.addresses 10.110.0.65/24 | Appends to the list |
-ipv4.dns 192.0.2.53 | Removes from the list |
connection.autoconnect no | The profile isn't activated automatically |
Changes don't apply until reactivated
nmcli connection modify saves the profile, but the running device keeps its old settings until the profile is activated again with nmcli connection up <name>. This is the most common reason why "I changed the DNS server but nothing happened".
host$ nmcli device status
DEVICE TYPE STATE CONNECTION
eth0 ethernet connected office-lan
wlan0 wifi disconnected --
host$ sudo nmcli connection modify office-lan ipv4.method manual ipv4.addresses 10.110.0.64/24 ipv4.gateway 10.110.0.1 ipv4.dns "10.20.0.53 10.20.0.54"
host$ sudo nmcli connection up office-lan
host$ nmcli -t -f NAME,DEVICE,TYPE connection show --active
office-lan:eth0:802-3-ethernet
host$ nmcli -g ipv4.addresses,ipv4.dns connection show office-lan
host$ nmcli -f GENERAL.STATE,IP4.ADDRESS,IP4.GATEWAY device show eth0
Scripting
Use -t (terse) and -f (fields) for output that scripts can parse, or -g for plain values only. Never parse the default table output, which changes width and layout between versions and locales.
Documented example, not captured output.
How it works at runtime
NetworkManager is part of Linux Networking → NetworkManager. NetworkManager is a Linux network configuration daemon that manages devices through persistent connection profiles and runtime activation state; profile intent, active connection, device state and kernel-effective configuration must be distinguished.
Runtime state ownership and mechanics. Linux networking spans netdevice/link state, addresses, neighbor cache, routing policy/tables, namespaces/VRFs, bridges/bonds/VLANs, socket state and user-space managers such as NetworkManager, netplan or systemd-networkd.
Topic-specific state model. NetworkManager is a Linux network configuration daemon that manages devices through persistent connection profiles and runtime activation state; profile intent, active connection, device state and kernel-effective configuration must be distinguished.
Interpretation rule. - Saved connection profile ≠ profile currently active.
Specialized mechanics
NetworkManager separates persistent connection profiles from devices and currently active connections. A profile contains intended L2/L3 settings; activation applies it to a device and interacts with kernel links, addresses, routes, DNS and policy routing. Multiple profiles can match a device, and autoconnect priority, device management state and dispatcher actions influence which profile becomes active. The kernel remains the final owner of interface/address/route state even though NetworkManager orchestrates it.
Quick reference
NetworkManager (RHEL, Fedora, desktops, many Ubuntu installs) manages connections stored as keyfiles in /etc/NetworkManager/system-connections/ (RHEL 9+; ifcfg files deprecated).
nmcli dev status; nmcli con show
nmcli con add type ethernet ifname eth1 con-name data ipv4.method manual ipv4.addresses 10.0.20.11/24 ipv4.gateway 10.0.20.1 ipv4.dns 10.0.0.53
nmcli con mod data +ipv4.routes '10.50.0.0/16 10.0.20.254'
nmcli con up data
nmcli -f all con show data | grep -E 'ipv4|connection.autoconnect'
nmtui
Changes via nmcli con mod apply after nmcli con up (or nmcli dev reapply). Use a console when changing the interface you are connected through.
Limits and how it fails
Primary failure point. NetworkManager activation shows daemon-level profile processing, not complete network or application health; kernel and consumer-visible read-back remain required.
ReferenceConfiguration & state2 sections · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. NetworkManager owns its connection/profile lifecycle and device management semantics. Netplan may render to NetworkManager on Ubuntu; kernel route/interface semantics remain in their dedicated Topics.
Specialized lifecycle
Edit profiles through NetworkManager-aware tools or supported keyfiles so its source of truth remains coherent. Distinguish modifying a stored profile from reapplying/reconnecting the active connection; some changes can reapply while others require reactivation and may interrupt connectivity. Preserve interface naming and stable identifiers, especially on remote hosts. DNS can be delegated to systemd-resolved or another resolver path, so profile DNS fields are only one input into final resolver behavior.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Linux Networking → NetworkManager. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/networking/index.html · confidence 94%Authoritative Linux project/vendor documentation reviewed for bounded reference claims: connection profiles, devices, active connections and runtime/persistent state. Documentation-based technical verification only; not lab or production-runtime proof. The schema vendor_doc method is used for authoritative project/vendor documentation; deployment applicability remains separate evidence.
Basis: https://networkmanager.dev/docs/api/latest/ · confidence 93%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
NetworkManager operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for NetworkManager.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | NetworkManager is a Linux network configuration daemon that manages devices through persistent connection profiles and runtime activation state; profile intent, active connection, device state and kernel-effective configuration must be distinguished. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin host + namespace + exact flow → identify configuration owner/renderer → identify ifindex/interface + topology → inspect link/carrier → inspect addresses → inspect neighbor resolution → reproduce route/rule lookup → verify VLAN/bond/bridge/MTU as relevant → inspect packets/socket → verify return path → repeat original workload. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | connection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | NetworkManager activation proves daemon-level profile processing, not complete network or application health; kernel and consumer-visible read-back remain required. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux networking evidence can establish this proof path: connection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured namespace, interface, local kernel, L2/path or workload scope. NetworkManager activation proves daemon-level profile processing, not complete network or application health; kernel and consumer-visible read-back remain required. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: confirm namespace and configuration owner, inspect ifindex/link/address/neighbor/route state for the exact flow, verify L2/MTU construction and packet movement, then test the listening service and return path before making additional changes. | Continue to the next unresolved boundary while preserving the original test condition. |
NetworkManager · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | NetworkManager |
|---|---|
| Topic path | Linux Networking → NetworkManager |
| Runtime state | NetworkManager is a Linux network configuration daemon that manages devices through persistent connection profiles and runtime activation state; profile intent, active connection, device state and kernel-effective configuration must be distinguished. |
| Fast checks | - Confirm NetworkManager version, device managed/unmanaged state and active connection UUID/name. - Compare persistent profile properties with active addresses, routes, DNS and device state. - Review NetworkManager logs/reason codes for activation, DHCP or carrier transitions. - Verify kernel state and original workload after profile activation or modification. |
| Verification chain | connection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary. |
| Failure boundary | NetworkManager activation proves daemon-level profile processing, not complete network or application health; kernel and consumer-visible read-back remain required. Boundary chain: process/socket namespace → source/rule/FIB → neighbor → netfilter/eBPF/qdisc → virtual/physical device → peer → return → application. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |
NetworkManager · specialized operational reference
Topic-specific Linux mechanics, lifecycle, proof path and failure-boundary lookup.
| Operational boundary | Topic-specific reference |
|---|---|
| Objects | profile · device · active connection |
| Apply boundary | Stored edit vs reapply/reactivation |
| Kernel proof | link/address/route/rule state |
| End proof | Original flow + resolver/upstream as required |