Birmingham mumbai



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

[
 281 
]
When a device connects to your network and requests an IP address, the expiration 
of the lease will be set to the number of seconds in 
default-lease-time
 if the device 
doesn't explicitly ask for a longer lease time. Here, I'm setting that to 
43200
 seconds, 
which is equivalent to half a day. This basically means that the device will need to 
renew its IP address every 
43200
 seconds, unless it asks for a longer duration.
max-lease-time 86400; 
While the previous setting dictated the default lease time for devices that don't ask 
for a specific lease time, 
max-lease-time
 is the most that the device is allowed to 
have. In this case, I set this to one day (
86400
 seconds). Therefore, no device that 
receives an IP address from this DHCP server is allowed to hold onto their lease for 
longer than this without first renewing it.
option subnet-mask 255.255.255.0; 
With this setting, we're informing clients that their subnet mask should be set to 
255.255.255.0
, which is for a default 24-bit network. If you plan to subnet your 
network, you'll put in a different value here. 
255.255.255.0
 is fine if all you need is 
a 24-bit network.
option broadcast-address 192.168.1.255; 
With this setting, we're telling the client to use 
192.168.1.255
 as the broadcast 
address, which is the last address in the subnet and cannot be assigned to a host.
option domain-name "local.lan"; 
Here, we're setting the domain names of all hosts that connect to the server to 
include 
local.lan
. The domain name is added to the end of the hostname. For 
example, if a workstation with a hostname of 
muffin
 receives an IP address from our 
DHCP server, it will be referred to as 
muffin.local.lan
. Feel free to change this to 
the domain name of your organization, or you can leave it as is if you don't have one.
authoritative;
With the 
authoritative;
 setting (the opposite is 
not authoritative;
), we're 
declaring our DHCP server as authoritative to our network. Unless you are planning 
to have multiple DHCP servers, the 
authoritative;
 option should be included in 
your 
config
 file. We won't use the 
non authoritative;
 option as it's beyond the 
scope of this chapter.


Setting Up Network Services

Download 15,21 Mb.

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