O'rnatilgan dhcp serverini sozlang


# [-LeaseDuration] ⇒ lease period [day.hrs:mins:secs] (if not specified, default is 8 days)


Download 0.93 Mb.
bet2/2
Sana06.02.2023
Hajmi0.93 Mb.
#1170409
1   2
Bog'liq
2-tajriba

# [-LeaseDuration] ⇒ lease period [day.hrs:mins:secs] (if not specified, default is 8 days)
PS C:\Users\Serverworld> Add-DhcpServerv4Scope -Name "Internal Network" `
-StartRange 10.0.0.200 `
-EndRange 10.0.0.254 `
-SubnetMask 255.255.255.0 `
-LeaseDuration 8.00:00:00 `
-State Active `
-PassThru

ScopeId SubnetMask Name State StartRange EndRange LeaseDuration
------- ---------- ---- ----- ---------- -------- -------------
10.0.0.0 255.255.255.0 Internal Ne... Active 10.0.0.200 10.0.0.254 8.00:00:00

# set Domain Name, DNS Server, Gateway(Router) to the Scope
PS C:\Users\Serverworld> Set-DhcpServerv4OptionValue -DnsDomain "srv.world" `
-DnsServer "10.0.0.100" `
-Router "10.0.0.1" `
-ScopeId "10.0.0.0" `
-PassThru

OptionId Name Type Value VendorClass UserClass PolicyName
-------- ---- ---- ----- ----------- --------- ----------
15 DNS Domain Name String {srv.world}
3 Router IPv4Add... {10.0.0.1}
6 DNS Server IPv4Add... {10.0.0.100}

PS C:\Users\Serverworld> Restart-Service DHCPServer
WARNING: Waiting for service 'DHCP Server (DHCPServer)' to start...




DHCP-server: DHCP-serverni (GUI) sozlash
GUI-ni o'rnatishda quyidagicha sozlang.

[2]

Server Manager-ni ishga tushiring va chap menyuda [DHCP] tugmasini bosing, so'ngra o'ng tomondagi [More...] havolasini bosing.







[3]

Yuqoridagi o'ngdagi [Complete DHCP configuration] havolasini bosing.







[4]

[Next] tugmasini bosing.







[5]

Agar sizning serveringiz yakka server bo'lsa, [Skip AD authorization] -ni tanlang va [Commit] tugmachasini bosing.
Agar sizning serveringiz AD domenida bo'lsa, hozirgi foydalanuvchi avtomatik ravishda AD avtorizatsiyasi uchun o'rnatiladi, lekin uni o'zgartirmoqchi bo'lsangiz, foydalanuvchini AD avtorizatsiyasi uchun sozlang va [Commit] tugmasini bosing.







[6]

Avtorizatsiya odatdagidan so'ng, [Close] tugmasini bosing.







[7]

Server Manager-ga qaytib, [Tools] - [DHCP] -ni oching.







[8]

Chap paneldagi [IPv4] -ni o'ng tugmasini bosing va [New Scope ...] -ni tanlang.







[9]

[Next] tugmasini bosing.







[10]

Ushbu ko'lam uchun har qanday nom va kodni kiriting.







[11]

Ijara va subnet maskasi uchun IP-manzillar oralig'ini kiritish.







[12]

Agar ma'lum bir IP-manzillarni avvalgi qismda belgilangan qatordan chiqarib tashlamoqchi bo'lsangiz, uni shu erda sozlang.







[13]

Kirish ijarasi muddati.







[14]

[Next] tugmasini bosing.







[15]

Tarmoqning standart shlyuzini kiriting.







[16]

Tarmoq domen nomini va DNS-serverni kiriting.
Agar sizning serveringiz AD domenida bo'lsa, u avtomatik ravishda o'rnatiladi, unga ishonch hosil qiling va keyingisiga o'ting.







[17]

WINS serverini kiritish. Agar kerak bo'lmasa, bu erda bo'sh joyni saqlash yaxshi.







[18]

[Next] tugmasini bosing.







[19]

Konfiguratsiyani yakunlash uchun [Finish] tugmasini bosing.







[20]

Yangi DHCP ko'lami qo'shildi.





Download 0.93 Mb.

Do'stlaringiz bilan baham:
1   2




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