Use it on servers and containers that use networkd, or when an interface stays unconfigured.
systemd-networkd
systemd-networkd configures interfaces from .network, .netdev and .link files in /etc/systemd/network/. It is the server backend for Netplan and works on its own on minimal systems.
1. networkctl list — state configured / degraded / configuring?
2. networkctl status <if> — which .network file matched?
3. No match → check [Match] Name=/MACAddress=.
4. networkctl reload && networkctl reconfigure <if>.
5. Logs: journalctl -u systemd-networkd -e.
.link names the device → .netdev creates virtual devices → .network matched → addresses/routes applied → state configured
For Linux Networking → systemd-networkd, continue with the first unproven Topic check: List matching .link/.netdev/.network files in effective precedence for the interface. If that boundary is healthy, advance to the adjacent check: Inspect networkd setup/operational state and journal messages for address, DHCP and route events. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
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
systemd network unit files → match/precedence → netdev/link creation → networkd configuration/DHCP/RA → kernel address/route state → online semantics → packet path → workload
Healthy evidence: the intended unit files match the intended link, networkd reaches expected state without repeated acquisition errors, kernel state matches intent and the application flow succeeds.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - List matching .link/.netdev/.network files in effective precedence for the interface.
- Inspect networkd setup/operational state and journal messages for address, DHCP and route events.
- Compare configured intent with kernel link/address/route and resolver state.
- Verify the specific service dependency and original workload rather than relying on network-online alone.
Verification chain. systemd network unit files → match/precedence → netdev/link creation → networkd configuration/DHCP/RA → kernel address/route state → online semantics → packet path → workload
Step 3 Commands Verify boundary
networkctl status
ls /etc/systemd/network/
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: an earlier file matches unexpectedly, DHCP/RA never completes, a netdev is absent, network-online semantics are misunderstood or kernel state diverges from the unit configuration.
It does not show behavior outside the captured namespace, interface, local kernel, L2/path or workload scope. systemd-networkd configured/online state shows only its own readiness model, not end-to-end application connectivity or remote dependency health.
Step 5 Common mistakes Narrow the fault
- Two network managers configuring the same interface.
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.
A .network file applies to interfaces matched in [Match]. Virtual devices (VLAN, bond, bridge) are created by .netdev files. networkctl reload re-reads files. Pair with systemd-resolved for DNS.
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 the exact files matching a link and remember that the first matching .network file wins. Check networkd operational/setup states and logs, then compare kernel addresses/routes and any DHCP/RA behavior. network-online.target is not equivalent to arbitrary application reachability.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
systemd-networkd configured/online state shows only its own readiness model, not end-to-end application connectivity or remote dependency health.
In depth
systemd-networkd configuration files
systemd-networkd configures interfaces from .network files, with virtual devices defined in .netdev files and physical device properties in .link files. The systemd.network(5) manual page explains how the files are found and matched:
- Directories:
/usr/lib/systemd/network,/usr/local/lib/systemd/network,/run/systemd/networkand/etc/systemd/network. Files in/etchave the highest priority. - Ordering: files are processed in alphanumeric order regardless of directory. The first file whose
[Match]section matches an interface applies, and later matches are ignored. - Masking: an empty file, or a symlink to
/dev/null, masks a file of the same name. - Drop-ins:
foo.network.d/*.confdrop-ins are merged into the main file. - Naming: the manual suggests prefixes below 70, such as
10-eth0.network, to avoid conflicts with shipped or generated files.
Main sections and keys
| Section | Keys | Purpose |
|---|---|---|
[Match] | Name=, MACAddress=, Type=, Driver= | Which interfaces the file applies to |
[Network] | DHCP=, Address=, Gateway=, DNS=, Domains= | Addressing and resolver information (DNS goes to systemd-resolved) |
[Network] | VLAN=, Bond=, Bridge= | Stacked devices and membership |
[Network] | IPv6AcceptRA=, LinkLocalAddressing= | IPv6 behaviour |
[Route] | Destination=, Gateway=, Metric=, Table= | Extra routes |
[Link] | MTUBytes=, RequiredForOnline= | MTU; whether wait-online waits for this link |
An empty [Match] section matches every interface. networkd warns about it, so use Name=* if that's what you intend.
A static interface with an extra route
host$ cat /etc/systemd/network/10-eth0.network
[Match]
Name=eth0
[Network]
Address=10.110.0.64/24
Gateway=10.110.0.1
DNS=10.20.0.53
Domains=example.net
[Route]
Destination=10.40.0.0/16
Gateway=10.110.0.254
Metric=50
host$ sudo networkctl reload
host$ networkctl list
IDX LINK TYPE OPERATIONAL SETUP
2 eth0 ether routable configured
host$ networkctl status eth0
host$ journalctl -u systemd-networkd -b | tail
Reading networkctl
SETUP configured means a .network file matched and was applied. unmanaged means no file matched, or the interface is managed by another tool. That's the first thing to check when a setting seems to be ignored.
Documented example, not captured output.
How it works at runtime
systemd-networkd is part of Linux Networking → systemd-networkd. systemd-networkd configures links and networks from ordered .link, .netdev and .network units; file matching/precedence, generated virtual devices, address/route acquisition and network-online semantics must be validated separately.
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. systemd-networkd configures links and networks from ordered .link, .netdev and .network units; file matching/precedence, generated virtual devices, address/route acquisition and network-online semantics must be validated separately.
Interpretation rule. - Configuration file exists ≠ it matches the intended link.
Quick reference
systemd-networkd uses .network, .netdev and .link files in /etc/systemd/network/.
# /etc/systemd/network/10-eno1.network
[Match]
Name=eno1
[Network]
Address=10.0.10.21/24
Gateway=10.0.10.1
DNS=10.0.0.53
Domains=corp.example.com
systemctl enable --now systemd-networkd
networkctl list; networkctl status eno1
networkctl reload
Pair with systemd-resolved for DNS. systemd-networkd-wait-online blocks boot until links are configured — limit it to required interfaces (--interface=eno1) to avoid two-minute boot delays.
Limits and how it fails
Primary failure point. systemd-networkd configured/online state shows only its own readiness model, not end-to-end application connectivity or remote dependency health.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. systemd-networkd owns its unit matching and activation semantics. systemd & Services owns generic unit lifecycle; Netplan may render configuration consumed here.
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 → systemd-networkd. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/networking/index.html · confidence 94%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
systemd-networkd operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for systemd-networkd.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | systemd-networkd configures links and networks from ordered .link, .netdev and .network units; file matching/precedence, generated virtual devices, address/route acquisition and network-online semantics must be validated separately. | 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 | systemd network unit files → match/precedence → netdev/link creation → networkd configuration/DHCP/RA → kernel address/route state → online semantics → packet path → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | systemd-networkd configured/online state proves only its own readiness model, not end-to-end application connectivity or remote dependency health. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux networking evidence can establish this proof path: systemd network unit files → match/precedence → netdev/link creation → networkd configuration/DHCP/RA → kernel address/route state → online semantics → 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. systemd-networkd configured/online state proves only its own readiness model, not end-to-end application connectivity or remote dependency health. | 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. |
systemd-networkd · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | systemd-networkd |
|---|---|
| Topic path | Linux Networking → systemd-networkd |
| Runtime state | systemd-networkd configures links and networks from ordered .link, .netdev and .network units; file matching/precedence, generated virtual devices, address/route acquisition and network-online semantics must be validated separately. |
| Fast checks | - List matching .link/.netdev/.network files in effective precedence for the interface. - Inspect networkd setup/operational state and journal messages for address, DHCP and route events. - Compare configured intent with kernel link/address/route and resolver state. - Verify the specific service dependency and original workload rather than relying on network-online alone. |
| Verification chain | systemd network unit files → match/precedence → netdev/link creation → networkd configuration/DHCP/RA → kernel address/route state → online semantics → 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 | systemd-networkd configured/online state proves only its own readiness model, not end-to-end application connectivity or remote dependency health. Boundary chain: unit config/drop-ins → dependency/order/condition → exec/process → readiness/active state → owned socket/file/device → dependent client/workload. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |