NETPLAN(8)
๐ NETPLAN(8) ๐
okay so welcome to the System Manager's Manual page for netplan, the Netplan runtime CLI. ๐
โจ NAME โจ
netplan - Netplan runtime CLI ๐ธ
๐ง SYNOPSIS ๐ง
netplan [--debug ] [generate|apply|try|get|set|status]
๐ DESCRIPTION ๐
this page gives you the highlights of the Netplan runtime CLI commands. it's giving "read this first" energy ๐ซถ
๐ OPTIONS ๐
--debugโ turns on debug messages, so you can see everything that's happening behind the scenes ๐
๐ฅ EXAMPLES ๐ฅ
netplan generateโ converts Netplan YAML into configuration files that the back ends ( systemd-networkd(8) or NetworkManager(8) ) actually understand. it does not apply the generated configuration, so nothing changes on your running system ๐netplan applyโ applies the current Netplan configuration to a running system. iconic โจnetplan try [ --timeout 120 ]โ takes a netplan(5) configuration, applies it, and automatically rolls it back if the user doesn't confirm the configuration within a time limit. no cap, this is a lifesaver ๐ญnetplan get [ network.ethernets.eth0 ]โ reads YAML files from/{etc,lib,run}/netplan/*.yamland returns a merged view of the current configuration ๐ฆnetplan set [ network.ethernets.eth0={dhcp4: true, dhcp6: true} ]โ writes a given key/value pair or JSON struct into a YAML file in/etc/netplan/and validates its format. the validation part is so important bestie ๐netplan status [ interface ]โ queries the current network configuration and displays it in a human-readable format. very main character energy ๐
๐ FILES ๐
/etc/netplan/โ the directory with YAML configuration files that describe your network configuration ๐
๐ฆ SEE ALSO ๐ฆ
netplan(5), netplan-generate(8), netplan-apply(8), netplan-try(8), netplan-get(8), netplan-set(8), netplan-status(8). go check these out, they're all iconic โญ
๐ AUTHOR ๐
Lukas Mรคrdian (slyon@ubuntu.com). the queen who made all of this happen ๐
okay bestie that's the whole thing, love you, mean it ๐โจ๐ NETPLAN(8), last updated 23 January 2025 ๐ซถ๐
๐ฆ where this page comes from
- debian trixie: netplan.io 1.1.2-7 ยท GPL-3.0-only
- ubuntu noble: netplan.io 1.1.2-8ubuntu1~24.04.3 ยท GPL-3.0-only
- ubuntu questing: netplan.io 1.1.2-7ubuntu3
- ubuntu questing: netplan.io 1.1.2-8ubuntu1~25.10.2 ยท GPL-3.0-only
- ubuntu resolute: netplan.io 1.2-1ubuntu5 ยท GPL-3.0-only
- ubuntu resolute: netplan.io 1.2-1ubuntu5.1 ยท GPL-3.0-only
- ubuntu stonking: netplan.io 1.2.2-3 ยท GPL-3.0-only
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms