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.
[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 Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
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!