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.
Latest posts by Admin (see all)
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
Leave a Comment