Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    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)

    RahulBy RahulMay 8, 20182 Mins ReadUpdated:October 7, 2019

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

    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
    Previous ArticleHow to Check IP Address on Ubuntu 18.04 (Desktop)
    Next Article How to Install Ionic Framework on Fedora 32/31/30

    Related Posts

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Updated:May 9, 20222 Mins Read

    (Resolved) Please install all available updates for your release before upgrading

    2 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    Change Screen Resolution of An Ubuntu VM in Hyper-V

    Updated:May 2, 20222 Mins Read

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Configure Static IP Address on Ubuntu 22.04

    Updated:May 4, 20223 Mins Read

    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

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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