Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet371/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   367   368   369   370   371   372   373   374   ...   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)

[
 283 
]
Next, double-check that there were no errors by running the following command:
sudo systemctl status isc-dhcp-server 
The daemon should report that it's 
active (running)
, similar to what's shown in the 
following screenshot:
Figure 11.3: Checking the status of the isc-dhcp-server process after a successful start
Assuming all went well, your DHCP server should be running. When an IP lease is 
assigned to a client, it will be recorded in the 
/var/lib/dhcp/dhcpd.leases
 file. While 
your DHCP server runs, it will also record information to your server's system log, 
located at 
/var/log/syslog
. To see your DHCP server function in all its glory, you 
can follow the log as it gets written to with the following:
sudo tail -f /var/log/syslog 
We've discussed the 
-f
 flag of the 
tail
 command earlier in the book. This option 
is indispensable, and it's something you'll likely use quite often as a server 
administrator. With the 
-f
 option, you'll watch the log as it gets written to, rather 
than needing to refresh it manually. You can press 
Ctrl
 + 
c
 to break out of the file.
While your DHCP server runs, you'll see notices appear within the 
syslog
 file 
whenever a DHCP request was received and when a lease is offered to a client. A 
typical DHCP request will appear in the log similar to the following:
Oct  5 22:07:36 myserver dhcpd: DHCPDISCOVER from 52:54:00:88:f8:bc via 
enp0s3 
Oct  5 22:07:36 myserver dhcpd: DHCPOFFER on 192.168.1.103 to 
51:52:01:87:f7:bc via enp0s3 


Setting Up Network Services

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   367   368   369   370   371   372   373   374   ...   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