How to add and configure dhcp scope into dhcp server using cli?
Scenario:
DHCP server ip address: 192.168.201.1
Scope address range: 192.168.202.1 until 192.168.202.250 with subnet 255.255.255.0
Scope name: Level2
Exclusion: 192.168.202.1 - 192.168.202.10
Gateway: 192.168.202.254
Commands:
netsh dhcp server 192.168.201.1 add scope 192.168.202.0 255.255.255.0 Level2 Scope-Level2
netsh dhcp server 192.168.201.1 scope 192.168.202.0 add iprange 192.168.202.1 192.168.202.250
netsh dhcp server 192.168.201.1 scope 192.168.202.0 add excluderange 192.168.202.1 192.168.202.10
netsh dhcp server 192.168.201.1 scope 192.168.202.0 set optionvalue 003 IPADDRESS 192.168.202.254
netsh dhcp server 192.168.201.1 scope 192.168.202.0 set state 1
// you are done.
It is useful if you have more than one dhcp server for redundancy.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(62)
-
▼
September
(21)
- Jual nombor telefon
- How to Use Group Policy to Set Advanced Settings i...
- Jalan Pintas Ke Taskmanager
- Balik Kampung
- New Toy
- Unrecovered recovery
- Kembali
- Western Dinner
- Mengalih FSMO role secara paksa
- SGP - Pengujian dan Pentauliahan (II)
- SGP - Pengujian dan Pentauliahan
- How to modify NTFS permissions from CLI...?
- Selamat menyambut kedatangan Ramadhan 1428.
- Login tanpa masuk password.. (Windows XP)
- Panduan menangani buruk sangka
- Incident a.k.a. Accident
- Permata
- Configure DHCP scope usng CLI..
- Mission Accomplish
- Buah hati...
- Merdeka!
-
▼
September
(21)
Labels
- Catatan perjalanan (55)
- haji 1432 (1)
- Lakaran (34)
- Layan Jiwang (3)
- Merapu kepunden paran sekeper (46)
- Non-Technical (38)
- Panduan Hidup (1)
- Technical (28)
- Tips (4)
2 comments:
Hebatla tukang karut kita nih, kene menuntut banyak nih....onegaishimasu sensei
wakarimastak.
ada la sikit2 kalau ndak.. kalau tak diguna nanti basi
Post a Comment