X

How To Configure Static IP Address On Ubuntu 19.04

Grate new!  Recently Ubuntu release 19.04 Disco Dingo. So I want show how to setup static ip address on ubuntu 19.04. If you using Ubuntu 18.04 so it is very easy to setup static ip address on Ubuntu 19.04.

How To Configure Static IP Address On Ubuntu 19.04
How To Install Zabbix 5.0 On Centos 7

Step #01: Setup static ip address via GUI. Open your network console.

Click Setting icon. Then select IPv4.

IPv4 Method now select manual

Address  Netmask  Gateway
192.168.48.129 255.255.255.0 192.168.48.2

Add DNS server like as google DNS ip address 8.8.8.8

Then click Apply.

Step #02: Static IP address setup via command line. Open your netplan config file via any editor.

root@ubuntu:~# nano /etc/netplan/01-network-manager-all.yaml

Then delete all old line and then insert al below lines into yaml file. Example below just you copy and paste into your file.

network:
    ethernets:
        ens33:
            addresses:
            - 192.168.48.129/24
            dhcp4: false
            gateway4: 192.168.48.2
            nameservers:
                addresses:
                - 8.8.4.4
                - 8.8.8.8
                search:
                - workgroup
    version: 2

Note: If any space then can’t netplan apply work properly. So you all lines copy and past into your file.

root@ubuntu:~# netplan apply

That’s fine! If any problem so please see my YouTube video for more details. Please subscribe my channel for more update.

0 0 votes
Article Rating
Admin: I am system administrator as Windows and Linux platform. I have 4 years skilled from the professional period. I have to configure Linux based system such as an Asterisk VOIP system, Network monitoring tools (ZABBIX), Virtualization (XEN Server), Cloud computing (Apache CloudStack) etc. Now share my professional skill each interested person. Thanks to all.
Leave a Comment