Ubuntu Server 18.04 (Bionic Beaver) – Set Static IP Address



bionic ubuntu beaver baby

The latest version of Ubuntu server has moved management of IP information from /etc/network/interfaces into a YAML file located here: /etc/netplan/

Example static IP address set below:

Step 1:

Edit the file: /etc/netplan/50-cloud-init.yaml 

Set the IP to: 192.168.100.201

Step 2:

Apply the change, run the command:

netplan apply