How to Configure IP Address on Linux Debian

Опубликовано: 19 Июнь 2026
на канале: Luba Linux
9,263
302

Hey guys, what's up? In today's video I'm going to teach you how to set a static IP address in Debian 10 and 11 by editing the network settings in Linux.

🔻🔻 Important Links 🔻🔻

🔴 VIDEOS and LINKS Mentioned:

BLOG

👉 https://lubalinux.com.br

COURSES I TOOK AND RECOMMEND
👉 https://hotm.art/I30NDt

How to Download and Install the Debian Linux Distro
   • Como Baixar E Instalar A Distro Linux Debian  

How to Configure a Static IP Address in Linux Ubuntu
   • Como Configurar IP Fixo No Linux Ubuntu  

COMMANDS USED.

`ip addr show` (View network settings)

`cd /etc/network` (Change directory)

`ls` (List directory contents)

`su` (Log in to the terminal as root)

`nano interfaces` (Open a file in the nano editor with root privileges)

`Ctrl + O` (Save), Ctrl + X (Exit editor)

`nano /etc/resolv.conf` (Open a file in the nano editor with root privileges)

`systemctl restart networking` (Apply network changes)

`sudo reboot` (Restart the system if necessary)

`ping google.com` (Test connection to a host)

HOW THE FILE SHOULD LOOK

Interfaces file

`allow-hotplug enp0s3` `iface enp0s3 inet static` `address 192.168.1.50` `broadcast 192.168.1.255` `netmask` 255.255.255.0
gateway 192.168.1.1
dns-nameservers 1.1.1.1 8.8.8.8

resolv.conf file

nameserver 1.1.1.1
nameserver 8.8.8.8

How to Configure IP on Linux Debian
#lhinformatica #linux #debian #virtualbox #linux #tips #technologies #innovation #tutorials #freecourses #IT #programming