Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet326/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   322   323   324   325   326   327   328   329   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 248 
]
We can review information regarding our network interfaces and manage them 
with the 
ip
 command. For example, we can use 
ip addr show
 to view our currently 
assigned IP address:
ip addr show
This will produce an output similar to that shown in the following screenshot:
Figure 10.3: Viewing IP information with the ip addr show command
Once you enter that command, you should see output that pertains to the network 
interfaces that you have available and their current status. Also, you can abbreviate 
the command all the way down to simply 
ip a
. The output will be the same in either 
case. From the output, we can see several useful tidbits, such as the IP address for 
each device (if it has one), as well as its MAC address.
Using the 
ip
 command, we can also manage the state of an interface. We can bring a 
device down (prevent it from connecting to networks), and then back up again:
sudo ip link set enp0s3 down 
sudo ip link set enp0s3 up 
In that example, I'm simply toggling the state for interface 
enp0s3
. First, I'm bringing 
it down, and then I'm bringing it back up again.
Bringing interfaces up and down is all well and good, but what's up with that 
naming convention? The convention used in Ubuntu 20.04 may seem a bit strange 
for those of you that have grown accustomed to the scheme used in earlier versions, 
which utilized network interface names such as 
eth0

wlan0
, and so on. Since Ubuntu 
is based on Debian, it has adopted the new naming convention that was introduced 
starting with Debian 9.0.


Chapter 10

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   322   323   324   325   326   327   328   329   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish