How To Configure Static IP Address On Ubuntu 20.04 Server1 min read
Now I want to share how to configure static ip address on ubuntu 20.04. This is latest release ubuntu 20.04 beta version. So you can find how to setup static ip address on ubuntu 20.04.
Step #01: Generate netplan command on your ubuntu server
[email protected]:~# netplan generate
Now open netplan config file using any editor.
[email protected]:~# vi /etc/netplan/00-installer-config.yaml
Delete old text and insert below text then change ip address as your needed.
network: ethernets: eth1: addresses: - 10.66.10.15/24 dhcp4: false gateway4: 10.66.10.1 nameservers: addresses: - 126.96.36.199 - 188.8.131.52 search: - workgroup version: 2
N.B: Must be change ip address and gateway address as your network.
Then netplan apply command.
[email protected]:~# netplan apply
If you see any error so see my YouTube video for more details.
- How To Install KVM Server on CentOS 7 – Apache Cloud Stack KVM - September 16, 2021
- How To Install Apache Cloud Stack v4.15 On Centos 8 - September 7, 2021
- How To Install GitLab Community Edition On Ubuntu 20.04 - September 6, 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!