Netplan is pretty simple for what it is. All you need is the interface, address, and route, maybe DNS if you don’t want to set that up another way. Because it’s yaml, spacing matters, so watch that. You can use netplan try which will automatically revert if you don’t give it any input for a certain amount of time.
Netplan is pretty simple for what it is. All you need is the interface, address, and route, maybe DNS if you don’t want to set that up another way. Because it’s yaml, spacing matters, so watch that. You can use
netplan try
which will automatically revert if you don’t give it any input for a certain amount of time.network: renderer: networkd ethernets: ens33: addresses: - 192.168.1.247/24 nameservers: addresses: [4.2.2.2, 8.8.8.8] routes: - to: default via: 192.168.1.1 version: 2
https://netplan.readthedocs.io/en/stable/index.html