Your cart is currently empty!
How to Set a Static IP Address in Ubuntu
Your home network relies on IP addresses to route data between devices, and sometimes on reconnecting to the network a device’s address can change. Here’s how to give an Ubuntu Linux computer a permanent IP address that survives reboots.
Commands:
nmcli connection show
ip addr
ping 192.168.86.128
ip r
sudo nmcli con add con-name “static-ip” ifname enp0s3 type ethernet ip4 192.168.86.128/24 gw4 10.0.2.2
nmcli con mod “static-ip” ipv4.dns “8.8.8.8,8.8.4.4”
nmcli con mod “static-ip” ipv4.method manual
nmcli con up “static-ip” ifname enp0s3
nmcli con show
Chapters:
0:00 Intro
0:23 Setting a Static IP Address in Ubuntu
2:14 Using the GNOME Desktop and Applications
3:19 End screen
What you will learn:
1. Setting a Static IP Address in Ubuntu
a. How to take a look at the network connections that already exist on the computer
b. How to use the ip command to discover the IP address of computer
c. How to to choose the IP address youre going to set as our static IP address
d. How to know the IP address of your default gateway
e. How To make your IP address static
2. Using the GNOME Desktop and Applications
a. How to show the system menu
b. How To create a new connection using the “Settings” application
c. How to complete the “Address”, “Netmask”, and “Gateway” fields.
3. How to Configure Static IP Address on Ubuntu 22.04 LTS and 22.10
Song: DayFox – Riding The Wave
Music provided by Vlog No Copyright Music.
Video Link: https://youtu.be/g4_XaC8IJsg
#computereverywhere #howtoset #staticip #ipaddress #ubuntu
Leave a Reply