I want to migrate my network configuration to netplan. I have been using ifup/down and the /etc/network/interfaces file to configure my static IPs, but this has been deprecated and support will be withdrawn in the 17.10 release.
sudo netplan ifupdown-migrate
enp0s3: method static is not supported
So how do I convert this
auto enp0s3 iface enp0s3 inet static address 192.168.0.123 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 126.96.36.199 188.8.131.52
- What does the complete file look like?
- How should it be named and placed?