Netplan - Configure Network Settings with YAML | Online Free DevTools by Hexmos
Configure network settings with Netplan, the YAML-based network configuration tool. Apply changes, generate configurations, and troubleshoot issues. Free online tool, no registration required.
netplan
Network configuration utility using YAML. More information: https://netplan.readthedocs.io/en/stable/cli/.
- Apply a network configuration and make it persistent:
sudo netplan apply
- 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