commands.sh

netplan

linux

Network configuration utility using YAML.

More info →

Examples (6)

Apply a network configuration and make it persistent

Generate backend configuration files

sudo netplan generate

Configure a network interface to use DHCP

sudo netplan set ethernets.interface_name.dhcp4=true

Try configuration changes without applying them permanently

sudo netplan try --timeout seconds

Return to previous working configuration after failed apply

sudo netplan --debug apply

Display the current netplan configuration status

netplan status
made by @shridhargupta | data from tldr-pages