Article ID: 164330
Article Last Modified on 11/1/2006
ARTICLE-ID: 129122
TITLE : DHCP: Excluding an Address Before Lease Expires Gives Error
NOTE: AND-ing is the process of comparing 2 bits (in this case, each
bit of the IP address and subnet mask). If both bits are 1, then the
result becomes 1. If either bit of the IP address OR subnet mask are
0, then the result is 0. In the result below, where there are 1
values, you can see that the IP address and subnet mask both have 1
for that particular bit. Otherwise, the result for that bit is 0.
NOTE: Windows NT Calculator, in scientific mode, can be used to convert decimal values to binary equivalent. Each binary octet should consist of eight (8) characters, if the calculator returns a value with only seven (7) or fewer characters, then append the appropriate number of zeroes (0) to the beginning of each octet so that all octets consist of eight (8) characters.
This example: 205.241.139.160 = 11001101.11110001.10001011.10100000
This example: 205.241.139.223 = 11001101.11110001.10001011.11011111
This example: 255.255.255.160 = 11111111.11111111.11111111.10100000
Start Address: 11001101.11110001.10001011.10100000 Subnet Mask: 11111111.11111111.11111111.10100000 -------------- ----------------------------------- Result #1: 11001101.11110001.10001011.10100000
Start Address: 11001101.11110001.10001011.10100000 Subnet Mask: 11111111.11111111.11111111.11011111 -------------- ----------------------------------- Result #2: 11001101.11110001.10001011.10000000
Result #1: 11001101.11110001.10001011.10100000
Result #2: 11001101.11110001.10001011.10000000
-------------- -----------------------------------
same .same .same .different --> different
subnets
This example: Scope #1:
Start Address - 205.241.139.160
End Address - 205.241.139.191
Subnet Mask - 255.255.255.160
Scope #2:
Start Address - 205.241.139.192
End Address - 205.241.139.223
Subnet Mask - 255.255.255.160
NOTE: Versions of Windows NT DHCP server prior to Windows NT 4.0
Service Pack 2 (SP2) are not capable of assigning addresses from more
than one scope to a given physical subnet. One workaround for this
situation is to add additional network interface cards (NICs) to the
server, and to address each of the NICs to a given logical IP subnet.
This involves additional and otherwise unnecessary hardware, so a new
solution was developed and implemented in Windows NT 4.0 SP2. The
enhanced DHCP server allows the administrator to create different
scopes (ranges of IP addresses), and then to group those scopes
together into a superscope. The procedure to create superscopes is
described in the following Microsoft Knowledge Base article:
ARTICLE-ID: 161571
TITLE : Using DHCP "Superscopes" to Serve Multiple Logical
Subnets
Keywords: kbenv kberrmsg kbhowto kbnetwork kbprb KB164330