How to config Static IP Address on Ubuntu 20.04 LTS
How to config Static IP Address on Ubuntu 20.04 LTS
– Open your terminal and head over to the /etc/netplan directory. You will find a YAML configuration file which you will use to configure the IP address.
– On Ubuntu server, the YAML file is 00-installer-config.yaml and these are the default settings.
– To configure a static IP, copy and paste the configuration below. Be mindful of the spacing in the YAML file.
network:
version: 2
ethernets:
enp0s3:
dhcp4: no
addresses: [192.168.65.140/24]
gateway4: 192.168.65.2
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
– Next, save the file and run the netplan command below to save the changes
$ sudo netplan apply
_______SUBSCRIBE TO THIS HTU CHANNEL!_______
If you like the video, why not subscribe, so you won’t miss future videos!
Subscribe Here: https://www.youtube.com/channel/UCwxMCQV019yan9qL3BgyT3g?sub_confirmation=1
📚📚 Learn more about Tuts 📚📚
How to install Ubuntu Server 20 04 LTS – https://youtu.be/x4Nf2fTA22k
How to Install CentOS 8 Core – https://youtu.be/NeQqFBYTbsA
How To Install CentOS 7 Core https://youtu.be/47Lx1-CnBAM
____________________________________________
📺Playlists:
macOS Tips: – https://www.youtube.com/watch?v=O6kjRirgc6k&list=PLuhXGJTh9FwEzLrS74FcDdyc7Yda2PSV-
Windows 10 Tips: – https://youtube.com/playlist?list=PLuhXGJTh9FwGODDmjB6d9O6wrU0mDds9_
Linux Installs: – https://youtube.com/playlist?list=PLuhXGJTh9FwGGTS6HIh1tfx3SD05PQOrC
Bash shell script tutorial: – https://youtube.com/playlist?list=PLuhXGJTh9FwFNzwFwrhnccw5conMlV-OI
Linux Commands: – https://youtube.com/playlist?list=PLuhXGJTh9FwFYGgkEyHIEr8VA7DDsPWgV
OpenStack Tuts – https://youtube.com/playlist?list=PLuhXGJTh9FwGdLVKLMaAN_0sj68bg1vE1
Graphics – Design: – https://youtube.com/playlist?list=PLuhXGJTh9FwENQMC6crbNcJutClAgR6fZ
Printer: – https://www.youtube.com/playlist?list=PLuhXGJTh9FwFalwKRrusH6L97IiMJtZrs
CCNA: – https://www.youtube.com/playlist?list=PLuhXGJTh9FwEzbFTN_geU1mWi2O_17Rr9
📺Latest Videos:
How to install HP LaserJet P2035n on Windows 10 – https://youtu.be/XYHvKqxtIrQ
How To install Wireshark on Windows 10 and macOS – https://youtu.be/g1FmqiDYryU
How to install Photoshop CC 2021 on Windows 10 – https://youtu.be/0QfJWLbuDB4
How to change the mouse pointer size and color in Windows 10 – https://youtu.be/4sxjt16SjSU
How to Install WiFi Explorer Pro Pro-level tool for Wi Fi diagnostics – https://youtu.be/FqTnF4dKBOg
_____________________________________________
Useful Links/Commands:
#linux #tutorial #macOS #Windows #Printer #Camera #CCNA #Graphic
Thank You For Watching and please visit my channel
Blog: http://howtoused.blogspot.com
YouTube Channel: http://youtube.com/howtoused
ubuntu