Microsoft KB Archive/255999

= Increasing the number of IP addresses on a subnet in DHCP Server =

Article ID: 255999

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)

-



This article was previously published under Q255999



SYMPTOMS
You try to extend your scope in DHCP server, but when you change the scope in the Scope Properties dialog box, you receive the following error:

"The IP range has been changed, but not yet saved. Continuing will discard the changes. Proceed?"

Selecting either "yes" or "no" to this message causes no change to the existing scope.



RESOLUTION
This article describes methods that you can use to change the number of IP hosts on any particular subnet. The following three methods are covered:
 * Scope Extension
 * Resubnetting
 * Superscoping

Scope Extension
If you already have a DHCP scope and the Start Address and End Address do not currently include all addresses for your given subnet, you can increase the number of addresses in the scope by extending the Start Address or End Address in the scope properties.

The following example shows a Class C network with the following settings:

Subnet Address: 192.168.1.0

Subnet Mask: 255.255.255.0

This example yields a network of 254 hosts that occupy the range of addresses from 192.168.1.1 to 192.168.1.254.

The scope you created has the following properties:

Start Address: 192.168.1.50

End Address: 192.168.1.150

Subnet Mask: 255.255.255.0

To increase the number of addresses available to clients, you can change either the Start Address or End Address as far as 1 and 254, respectively.

Note In earlier versions of Dynamic Host Configuration Protocol (DHCP), you had to extend the Start Address or End Address in increments of 32. This is no longer the case if you are running Microsoft Windows NT 4.0 Service Pack 6 or later.

If your scope already covers the entire range and is fully used, you only have two other options: superscoping or resubnetting. Both of these options require you to make architectural changes to your network.

Simply changing the DHCP scope parameters does not give you more leases. DHCP runs on top of your network subnet architecture and can hand out addresses however you want. Always treat the need to expand address ranges as a subnet architecture exercise first and foremost. After you decide which architecture to use, you can configure DHCP to conform to your network design.

Resubnetting
Resubnetting is the recommended procedure for increasing a DHCP scope when the current scope has entirely consumed the current subnet mask. However, this method requires you to change all subnet hosts and gateways. If you have an address range that has run out of available host addresses, you may be able to change the subnet mask to include a larger share of host addresses. However, simply changing the subnet mask requires that all routers and other statically assigned computers be reconfigured and all DHCP clients have renewed their lease obtaining the new parameters.

Additionally, the entire DHCP scope or scopes must first be deleted and then re-created using the new subnet mask. The potential for duplicate addresses exists during this period if you do not take steps to prevent leasing addresses that other clients may use. Despite all of the aforementioned caveats, resubnetting is still the recommended procedure. The resubnetting configuration creates no additional overhead on the subnet routers or gateways, and keeps all hosts on the same broadcast address.

The following example shows a depleted subnet with the following settings:

Subnet Address: 192.168.1.0

Subnet Mask: 255.255.255.0

This yields a network of 254 hosts with addresses from 192.168.1.1 to 1921.68.1.254.

The following example shows the result if you use the resubnetting option:

Subnet Address: 192.168.1.0

Subnet Mask: 255.255.254.0

You now have a network of 510 hosts with addresses from 192.168.0.1 to 192.168.1.254 (for scope 192.168.0.0), or 256 newly available DHCP addresses.

Before:

-192.168.1.0/24---R---192.168.5.0/24-

After:

-192.168.0.0/23---R---192.168.5.0/24-

Superscoping
Superscoping (also referred to as multinetting) may meet your requirements. If you do not want to change the subnetting of an existing network, you can add additional logical networks to the same physical wire. This puts an additional burden on the router or gateway configured with multiple logical subnets running on a single physical port. The additional burden may result in reduced network performance. Hosts on one logical subnet must be routed through the gateway to communicate with hosts on the other logical subnet, despite sharing the same physical wire.

The following example shows a depleted subnet with the following settings:

Subnet Address: 192.168.1.0

Subnet Mask: 255.255.255.0

The following example shows the results if you use the superscoping option:

Subnet Address: 192.168.1.0 and 192.168.2.0

Subnet Mask: 255.255.255.0

You now have two networks of 254 hosts (508 hosts total) with addresses from 192.168.1.1 to 192.168.1.254 and 192.168.2.1 to 192.168.2.254, or 254 newly available DHCP addresses.

Before:

-192.168.1.0/24--R-192.168.5.0/24

After:

-192.168.1.0/24 and 192.168.2.0/24-R-192.168.5.0/24--

After you decide which option you want to use, you can choose the corresponding DHCP configuration.

If you use the resubnetting option, you need to delete and re-create the DHCP scope with the new subnet mask (it is not possible to change only the mask for a particular scope). If you are servicing existing clients within a portion of this range, you should turn on conflict detection until all your clients are migrated into the new scope. This action requires you to perform the following steps:
 * 1) Configure the interface of each connected router and change the IP address for the connected interface, its subnet address, and its subnet mask.
 * 2) Delete your current DHCP scope.
 * 3) Create a new DHCP scope with the new subnet mask.
 * 4) Enable the Conflict Retries option on the DHCP server (set to 1 or 2).
 * 5) Force your DHCP clients to renew their DHCP leases.
 * 6) Change the IP address, subnet mask, and/or default gateway on each statically-configured host.

When you use the superscoping option, you need to superscope a number of scopes together. Create each scope individually and then create a superscope to incorporate the individual scopes. This action requires you to perform the following steps:
 * 1) Add secondary IP addresses to the current router interfaces.
 * 2) Create a new DHCP scope for the new logical subnet.
 * 3) Create a superscope and add the old and new DHCP scopes as children.

Keywords: kbinfo kbnetwork KB255999

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.