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.
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 126.96.36.199
Then click Apply.
Step #02: Static IP address setup via command line. Open your netplan config file via any editor.
[email protected]:~# 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: - 188.8.131.52 - 184.108.40.206 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.
[email protected]:~# netplan apply
That’s fine! If any problem so please see my YouTube video for more details.
Thanks to all.
Latest posts by Admin (see all)
- How To Install OsTicket v1.14 On Centos 7 With Apache - January 17, 2020
- How To Install Bitwarden Password Manager On Ubuntu 18.04 Using Docker - December 13, 2019
- How To Convert Ubuntu 19.04 Server To MikroTik Router Using Script - December 1, 2019