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: [18.104.22.168,22.214.171.124] 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: - 126.96.36.199 - 188.8.131.52 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 On Ubuntu 20.04 - April 1, 2021
- How To Install Apache Cloud Stack Management Server On Ubuntu 18.04 - March 28, 2021
- How To Install Zabbix 5.0 On Ubuntu 20.04 Server - February 24, 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!