, as of 17.10 no longer using ifup / ifdown , netplan , , edit / create , /etc/netplan 01-netcfg.yaml , , # This file describes the network interfaces available on your system , # For more information, see netplan(5). , network: , version: 2 , renderer: networkd , ethernets: , enp2s0: , dhcp4: no , dhcp6: no , addresses: 192.168.0.125/24 , gateway4: 192.168.0.1 , nameservers: , addresses: 8.8.8.8,8.8.4.4 , , netplan apply , reboot ,