Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Distributions»Ubuntu»How to Configure Static IP Address on Ubuntu 18.04 (Desktop)

    How to Configure Static IP Address on Ubuntu 18.04 (Desktop)

    By RahulOctober 7, 20192 Mins Read

    Question – How To Change IP Address on Ubuntu 18.04 Desktop? Steps to set the static IP address on your Ubuntu Desktop system

    Advertisement

    Ubuntu 18.04 systems are using netplan instead of older static interfaces. The desktop provides an attractive GUI for working with it. You can easily change or set a static IP address on your Ubuntu system.

    For the server edition, you can follow this tutorial to configure IP address on Ubuntu using the command line.

    Step 1 – Open Network Settings

    Login to your Ubuntu Desktop system. After that open settings windows on your Ubuntu Desktop machine as showing in the below screen.

    Ubuntu open settings

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

    Ubuntu open network settings

    This window will show you the current IP address configured on your system. Now select the IPv4 tab.

    Ubuntu IPv4 settings tab

    Step 2 – Setup Static IP on Ubuntu 18.04

    Under the IPv4 Method select the “Manual” option.

    Now go to the Addresses section and set your IP Address, Netmask, and Gateway.

    Ubuntu set IP address

    You can 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.

    Ubuntu set remote dns

    Step 3 – View Current IPs

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

    ip addr show
    

    Ubuntu check local ip command

    ip address static ip Ubuntu 18.04
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Setup DKIM (DomainKeys) with Postfix

    A Step-by-Step Guide to Installing OpenDKIM with Postfix on Ubuntu – Unleash the Power of DKIM!

    How to Install Composer on Ubuntu 22.04

    How to Install Composer on Ubuntu 22.04

    How to Install Apache Kafka on Ubuntu 22.04

    How to Install Apache Kafka on Ubuntu 22.04

    View 1 Comment

    1 Comment

    1. Michael Cooper on August 14, 2019 9:30 am

      So what file is the Static IP saved in? It used to be /etc/network/interfaces then recently it is usually saved to /etc/netplan/50-cloud-init.yaml?

      Thank you?

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to List Manually Installed Packages in Ubuntu & Debian
    • 10 Bash Tricks Every Developer Should Know
    • How to Validate Email Address in JavaScript
    • Firewalld: Common Firewall Rules and Commands
    • 12 Apk Commands in Alpine Linux Package Management
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.