Note: YAML is super-gevoelig aan correct inspringen, spaties, …!
systemctl disable systemd-resolved
network: ethernets: enp0s3: addresses: [] dhcp4: true optional: true version: 2
door
network: version: 2 renderer: networkd ethernets: ens160: dhcp4: no addresses: [x.x.x.x/24] gateway4: x.x.x.x nameservers: addresses: [x.x.x.x,x.x.x.x]
sudo netplan apply
ip a nslookup <hostBinnenSubnet>
sudo netplan --debug apply