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.
Step #01: At first netplan generate command run on terminal.
[email protected]:~# netplan generate
Then open netplan config file.
[email protected]:~# 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: [188.8.131.52,184.108.40.206] 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: - 220.127.116.11 - 18.104.22.168 search: - workgroup version: 2
Step #02: Now run netplan apply command.
[email protected]:~# netplan apply
That’s fine and using static IP configure. Also see my YouTube channel for more details.
- How To Install Apache Cloud Stack Management Server 4.14 On Ubuntu 16.04 - July 22, 2021
- How To Install Zabbix 5.0 On Debian 10 Server - July 18, 2021
- How To allow GUI root Login on Ubuntu 21.04 Hirsute Linux - July 12, 2021
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!