Linux with Operating System Concepts



Download 5,65 Mb.
Pdf ko'rish
bet188/254
Sana22.07.2022
Hajmi5,65 Mb.
#840170
1   ...   184   185   186   187   188   189   190   191   ...   254
Bog'liq
Linux-with-Operating-System-Concepts-Fox-Richard-CRC-Press-2014

*
/
dhcpd.
conf.sample
(where 
*
denotes the version, for instance 
dhcp-4.1.1
). As with most 
conf files, you will have to modify the directives to fit your particular situation. These 
directives are listed in Table 12.4.
The conf file begins with global directives that apply to all subnets of the local area net-
work. The 
domain-name
and 
domain-name-servers
directives might be defined 
here if they cover the entire network. The conf file will then contain one or more subnet 
entries. Each subnet entry includes a netmask and the range of IP addresses that the DHCP 


506

Linux with Operating System Concepts
will be able to issue to the clients on that subnet. Options include the broadcast IP address 
and router IP address.
Your DHCP may have multiple sets of entries if the DHCP is responsible for multi-
ple subnetworks. What follows is an example where the DHCP server hosts two subnets
10.11.0.0 and 10.11.128.0.
option domain-name somecompany.com;
option domain-name-servers 10.11.1.1 10.11.1.2;
subnet 10.11.0.0 netmask 255.255.128.0 {
range 10.11.12.0 10.11.12.20;
option broadcast-address 10.11.12.22;
option routers 10.11.12.21;
}
subnet 10.11.128.0 netmask 255.255.128.0 {
range 10.11.128.129 10.11.128.253;
broadcast-address 10.11.128.255;
option routers 10.11.128.254;
}
The two entries shown above specify two subnets that the DHCP server handles. You 
will notice that both subnets use the same netmask (255.255.128.0 corresponds to the first 
17 bits of the 32-bit address, that is, the network address is made up of the first 17 bits, 
and the machine address is the remaining 15 bits). This DHCP is allowed to hand out 
IP addresses within the range 10.11.12.0–10.11.12.20 for the first subnet and addresses of 
10.11.128.129–10.11.128.253 for the second subnet. The two subnets each have their own 
broadcast device and their own router; so, there are two sets of addresses, one per entry. 
TABLE 12.4 
DHCP Directives

Download 5,65 Mb.

Do'stlaringiz bilan baham:
1   ...   184   185   186   187   188   189   190   191   ...   254




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