The default behavior of the DHCP client service is to dynamically register the first IP address for an interface.

If you wish to dynamically register multiple IP addresses for an adaptor this is configured with more than one IP address, or is logically multihomed, you must set the MaxNumberOfAddressesToRegister Value Name, a REG_DWORD data type, at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\\{GUID\} to the maximum number of IP addresses that you wish to be registered.

To determine the \{GUID\}, open a CMD.EXE window and type:

call InterfaceGUID Name GUID

Where Name is the interface name, like Local Area Connection, and GUID is a call directed environment variable that will contain the \{GUID\}.

Example

<b>call InterfaceGUID "Local Area Connection" GUID
<font size="1">REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\%GUID% /V MaxNumberOfAddressesToRegister /T REG_DWORD /F /D 15</font></b>
NOTE: You must restart your computer for the change to become effective.

NOTE: If you set MaxNumberOfAddressesToRegister to 0, no addresses are registered for this adapter.

NOTE: REG.EXE is built into Windows XP and Windows Server 2003, or installed on Windows 2000 from the Support Tools on the operating system CD-ROM.