Where Does Netplan Store Network Config?
Netplan reads YAML in /etc/netplan and renders to NetworkManager or systemd-networkd. Edit YAML, apply, done.
Last updated
Netplan is a YAML frontend, not a network manager. Files in /etc/netplan describe intent, then render into NetworkManager or networkd backends on apply.
Edit the YAML, never the rendered output. Regeneration wipes hand edits in backend folders. The renderer line in each file names which backend receives it.
Where Netplan stores this, by platform
/etc/netplan/*.yaml
YAML intent files, commonly 01-netcfg.yaml. Renders to backends on apply. Version this folder.
Frequently asked questions
How do I change an IP with Netplan?
Edit the YAML in /etc/netplan, run netplan apply. It regenerates backend config and restarts networking. Keep a console open in case.
Which netplan file wins?
Run netplan get to dump the merged config. Files apply alphabetically, later files win. One interface configured twice means the later file rules.
Netplan warns about permissions. Why?
netplan apply warns about it. World-readable netplan with Wi-Fi passwords leaks secrets. Set 600 on files holding keys.
Notice an outdated path? Let us know.