Skip to content

How to Configure Static IPv4 Address on Ubuntu 20.04

Advertisement

Question – How do I set a static IP Address on Ubuntu 20.04 LTS Desktop systems? Steps to set the static IP address on your Ubuntu Desktop system

Ubuntu 20.04 systems uses netplan from the previous LTS system. The desktop systems provide an attractive graphical user interface to work with it. Using the GUI, you can easily change or set a static IP address on your Ubuntu system.

Set A Static IP on Ubuntu 20.04

You must have a root or sudo privileged account in the Ubuntu system. Login to your Ubuntu 20.04 Desktop system. After that open settings on your machine as shown in the below screenshot.

Open Settings Ubuntu 20.04

In the settings window, click on Network tab in the left sidebar. After that click icon to open the setting for your systems network interface as shown on the below screen.

Open network connections Ubuntu 20.04

This window will show you the current IP address configured on your system.

Now select the IPv4 tab
Then under the IPv4 Method select the “Manual” option.
In the Addresses section and set your IP Address, Netmask, and Gateway. You may also set remote DNS IP addresses. If you don’t know what to set here use 8.8.8.8 and 8.8.4.4 as shown in below screenshot.

Set Static IP Ubuntu 20.04

View Current IPs on Ubuntu

You can view the current static IP under the details tab.

View IP Ubuntu 20.04

To view IP on the command line. Press CTRL + ALT + T to launch the terminal on your Ubuntu system. Then type the following command to view all IP addresses configured on your system.

ip addr show

Multiple static IP on Ubuntu 20.04

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top