Access the Netplan directory and list the configuration files available.
Here is the command output.
In our example, we found a file named: 00-INSTALLER-CONFIG.YAML
In our example, the system detected a network interface named ENP0S3.
Keep in mind that your file name may not be the same as ours.
Edit the network configuration file.
Here is the file content, before our configuration.
Here is the file content, after our configuration.
Be careful, YAML files are extremely sensitive to indentation errors.
Enable the new network configuration.
In our example, the network interface named ENP0S3 was configured.
This network interface was configured to use the IP address 192.168.100.100.