bits n' bytes
home
windows
linux
photos
videos
Tuesday, November 22, 2011
Create DHCP Scope using Netsh command
1.
This shows current DHCP scope.
netsh dhcp server 192.168.0.2 show scope
2.
Adds a scope 192.168.0.0 named server02 to DHCP server 192.168.0.2.
netsh dhcp server 192.168.0.2 add scope 192.168.0.0 255.255.255.0 server02
3.
Sets useable IP range from 192.168.0.1 - 192.168.0.254
netsh dhcp server 192.168.0.2 scope 192.168.0.0 add iprange 192.168.0.1 192.168.0.254
4.
Exclude a range of IP addresses for router, servers, printers etc.
netsh dhcp server 192.168.0.2 scope 192.168.0.0 add excluderange 192.168.0.1 192.168.0.15
5.
This is to activate the scope.
netsh dhcp server 192.168.0.2 scope 192.168.0.0 set state 1
6.
Deleting the scope. 192.168.0.0.
netsh dhcp server 192.168.0.2 delete scope 192.168.0.0 dhcpfullforce
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment