Netplan is a network configuration utility found on some distributions. It uses YAML description files to configure network interfaces. These files are stored in the /etc/netplan/ directory. You will use a text editor to create or modify interface configuration files. Netplan includes subcommands to make configurations more reliable. For example, you can enter sudo netplan to have the configuration file checked for syntax errors before attempting to implement it. The sudo netplan apply command actually makes the configuration change.
If you encounter the below error while running the netplan command:
netplan: command not found
you may try installing the below package as per your choice of distribution:
|Debian||apt-get install netplan|
|Ubuntu||apt-get install netplan|
|Kali Linux||apt-get install netplan|
|Raspbian||apt-get install netplan|
Netplan uses simple YAML text files in the /etc/netplan folder to define the network settings for each network interface installed on the system. By default, Netplan just passes the network settings off to the NetworkManager tool, so you don’t need to worry about how the Netplan configuration files are set.