Le serveur Ubuntu définit IP statique

/* Manual Configuration */
#open the /etc/network/interfaces file
` vim /etc/network/interfaces`
#add
iface enp0s3 inet static
	address `your ip 10.0.1.20/24`
    gateway '10.0.1.1`
    dns-nameservers 8.8.8.8
 #restart the server to apply changes
 `sudo systemctl restart`
 
 #verify
 `ip a`
 `ping google.com`
nicholas karimi