欢迎各位兄弟 发布技术文章
这里的技术是共享的
DWS Management Console
DWS MMC 3.0 client
Requirements
• Microsoft .NET 2.0
• Microsoft Management Console (MMC) 3.0
o
MMC 3.0 is native for Windows Server 2003 R2 and Vista
o
MMC 3.0 for Windows Server 2003 and XP
Username: User account authorized to use DWS
DHCP servers added to the DWS MMC will be saved to the MSC file, allowing servers to be saved across
console shutdowns.
Subnets
DHCP subnets are networks in which connected network devices (DHCP clients) are served IP and
network configurations from DHCP server. To create a new subnet:
• Right click server node, ‘Create Subnet…’
• Name: A name for subnet
• Description: A description of subnet
• Range
o
The range of IP address belonging to subnet will be served IP and network
configurations
o
Start IP: Start IP address of range that the DHCP server will manage
o
End IP: End IP address of range that the DHCP server will manage
• Mask: Network mask of subnet
• Lease Time: Lease time duration of dynamic clients
• State: Refers to state of service for subnet. Enabled – Subnet is serving client, Disabled – Subnet
is not serving clients
DHCP subnets can be changed by right clicking the subnet node and selecting properties. Within
properties, Dynamic DNS (DNS tab) and BOOTP (Advanced tab) can be changed.
Search the subnet’s client lease database: right click a subnet node and select ‘Search…’
Address Pools
Address pools node contains a pool that makes up the subnet’s default IP range and zero or more
exclusion pools. The default pool can be type Dhcp, Bootp, or Both, configured in the subnet properties
advance tab. Exclusion pools are address ranges within the subnet and mark exclusion IP addresses that
should not be served leases by the DHCP server. To create a new pool:
• Right click Address Pools node, select ‘New Exclusion Range…’
o
Start IP: Start IP address of exclusion pool
o
End IP: End IP address of exclusion pool
Leases
Leases node is mostly a read only node, showing information about client leases that have been
established within the network via DHCP. A client lease can be deleted by right clicking the client lease
and selecting delete. This node will also show reservations that have been made in the same DHCP
subnet and whether the reservation is active or not.
3
Jason Rupard
School of Computing
University of North Florida
Reservations
The reservation node shows the current IP reservations made within the DHCP subnet. To create a new
reservation:
• Right click Reservations node, select ‘Add Reservation…’
o
Name: Name identifier of client, usually the client’s hostname
o
IP Address: IP address that should be assigned to client
o
MAC Address: Hardware address that identifies client to DHCP server
o
Description: A description for client
o
Client Type: DHCP, BOOTP, or Both allowed client type for this reservation
An IP reservation can be changed by right clicking the reservation and selecting properties.
DHCP Options
DHCP options are network related configurations that are sent to a DHCP client upon receiving a lease
from the DHCP server. DHCP options can be assigned values at three levels of the DHCP server and are
hierarchic. The three levels are server, subnet, and reservation. If an option’s value is set at the server
level, then subnets and reservations under that server will receive the same option value. Option values
can be set via the Options node under the server or subnet nodes in the MMC. To set a reservation’s
options, right click the reservation, select properties, and chose the Options tab.
Some common option and values type are:
DHCP Option
Data Type
Example values
003 – Router
Array of IP addresses
192.168.0.1
006 – DNS Servers
Array of IP addresses
192.168.0.5, 192.168.0.6
015 – DNS Domain Name
String
unf.edu
6
Jason Rupard
School of Computing
University of North Florida
RemoveOptionValue
Manager
Scope Specific
EnumOptionValues
Auditor
Scope Specific
GetOptionValue
Auditor
Scope Specific
Authorizations are enforced using two methods. The first is a direct allow/deny method. If a user does
not have sufficient authorization access to complete an operation, like CreateSubnet, the operation will
throw an unauthorized exception. Otherwise, the operation will allow the creation to occur. The
second method is security trimming. In this approach, DHCP operations that return a set of DHCP
objects are ‘trimmed’ to exclude objects to which the user does not have access. For example, if a user
has read access to a range of IP addresses within a subnet, and executes the EnumClients operation, the
operation would normally return all client leases within that subnet. With security trimming, however,
the caller will only receive client leases within the range of IP addresses to which he has been granted
read access. Furthermore, the set of client leases could be empty if the user does not have access to
read any leases within a subnet.
Searching
Searching allow users to query a DHCP server for client leases based on regular expression patterns. The
search filter allows three terms to be used in a query: client hostname, client IP address, and client MAC
address. The search filter matches based on a logical AND condition of non‐empty terms. The regular
expression patterns should follow the .NET regular expression language definition,
Requirements