How To Configure Static IP address On Ubuntu 18.041 min read
New release Ubuntu 18.04 Bionic Beaver. So I want to configure static IP address on Ubuntu 18.04. If your network dhcp server doesn’t enable. So static ip address configure needed.
★ Check Web Site URL From Zabbix Server
★ How To Install OsTicket On Ubuntu 16.04
Step #01: At first netplan generate command run on terminal.
root@technologyrsslocal:~# netplan generate
Then open netplan config file.
root@technologyrsslocal:~# vi /etc/netplan/50-cloud-init.yaml
Insert all config like as below.
network: ethernets: eth0: addresses: [ ] dhcp4: false optional: true eth1: addresses: [10.66.110.20/16] gateway4: 10.66.10.1 nameservers: addresses: [8.8.8.8,8.8.4.4] dhcp4: false optional: true version: 2
Or, try below details
network: ethernets: eth1: addresses: - 10.66.110.20/16 dhcp4: false gateway4: 10.66.10.1 nameservers: addresses: - 8.8.8.8 - 8.8.4.4 search: - workgroup version: 2
Step #02: Now run netplan apply command.
root@technologyrsslocal:~# netplan apply
That’s fine and using static IP configure. Also see my YouTube channel for more details.
- How To Install Apache Cloud Stack v4.15 On Centos 7 - January 21, 2021
- How To Install FreePBX 15 on CentOS 8 - January 20, 2021
- How To Install Jitsi Own Server For Video Conference On Ubuntu 20.04 - November 16, 2020
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!