Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

NetworkManager

Direct answer

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.

When to use this

Use it to configure interfaces persistently on RHEL-family systems, or when settings revert or a connection does not activate.

First 30 seconds

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.

Operational verification

connection profile → bound to a device → activated → addresses, routes and DNS applied → persists across reboot

Evidence · next step

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
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it to configure interfaces persistently on RHEL-family systems, or when settings revert or a connection does not ac…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

7 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points

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.

Key checks
  • ip -br addr — interfaces and addresses
  • ip route — routing table and default route
  • ip neigh — ARP/neighbour cache
  • ip route get <dest> — route, interface and source chosen for a destination
  • nmcli 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)

TaskCommand
Overall statenmcli general status
Devices and their statenmcli device status
Profilesnmcli connection show [--active]
Activate a profilenmcli connection up <name>
Deactivate a profilenmcli connection down <name>
Create a profilenmcli connection add type ethernet ifname eth0 con-name <name> ...
Change a profilenmcli connection modify <name> <property> <value>
Re-read files edited by handnmcli connection reload

Property syntax

FormEffect
ipv4.addresses 10.110.0.64/24Replaces the list
+ipv4.addresses 10.110.0.65/24Appends to the list
-ipv4.dns 192.0.2.53Removes from the list
connection.autoconnect noThe 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

  • Active profile ≠ every requested property successfully reached kernel-effective state.
  • nmcli success ≠ DHCP, DNS, route, neighbor or application health.
  • Device present ≠ device is managed by NetworkManager.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

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%
2026-09-13 · vendor docNetworkManager latest

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%
Technical changelog & impact

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.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

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.

Aliases that resolve here
NetworkManager linuxnmcli networkingNetworkManager profilesnm connection
Embedded reference data

Quick lookup tables

NetworkManager operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for NetworkManager.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateNetworkManager 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 verificationPin 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 chainconnection profile → NetworkManager policy/device ownership → activation transaction → DHCP/static acquisition → kernel link/address/route state → resolver integration → packet path → workloadTrace requested/configured state through effective state to the observed workload result.
Failure boundaryNetworkManager 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 evidenceCorrelated 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 → workloadUse this observation only for the specific claim it actually supports.
Evidence limitIt 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 checkContinue 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 boundaryNetworkManager
Topic pathLinux Networking → NetworkManager
Runtime stateNetworkManager 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 chainconnection 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 boundaryNetworkManager 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 ruleProve 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 boundaryTopic-specific reference
Objectsprofile · device · active connection
Apply boundaryStored edit vs reapply/reactivation
Kernel prooflink/address/route/rule state
End proofOriginal flow + resolver/upstream as required
Confirmation

Confirm action

Continue?