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: [126.96.36.199,188.8.131.52] 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: - 184.108.40.206 - 220.127.116.11 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.
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!