Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Private IP Addressing

Status
Not open for further replies.

compgirlfhredi

Technical User
Aug 29, 2003
416
US
Windows 2000 supports a mechanism for automatic IP address assignment for simple LAN-based network configurations. This addressing mechanism, called Automatic Private IP Addressing, is an extension of dynamic IP address assignment for LAN adapters, enabling the configuration of IP addresses without using static IP address assignment or installing the DHCP Server service. Automatic Private IP Addressing is designed for small LANs that do not require a DHCP server.
You must configure Windows 2000 for the Automatic Private IP Addressing feature to function properly. Configure the network LAN adapter for TCP/IP, and then configure TCP/IP to obtain an IP address automatically.
The process for Automatic Private IP Addressing is as follows:
1.When Windows 2000 starts, TCP/IP attempts to find a DHCP server on the attached network to obtain a dynamically assigned IP address.
2.In the absence of a DHCP server, the client cannot obtain an IP address.
3.Automatic Private IP Addressing generates an IP address in the n the network that the client generates) and a subnet mask of 255.255.0.0.
Note Microsoft has reserved 169.254.0.1 through 169.254.255.254 and uses this range of addresses to support Automatic Private IP Addressing.
4.After generating the address, the client computer broadcasts it, and then, if no other computer responds, assigns the address to itself.
5.The computer continues to use this address until a DHCP server is installed on the network. The computer then detects and receives configuration information from the DHCP server. This allows the computer to be connected to a LAN hub, to restart without any IP address configuration information, and to be able to use TCP/IP for local network access.
Automatic Private IP Addressing Limitations
Although Automatic Private IP Addressing can assign an IP address to DHCP clients automatically, it does not generate all of the information that DHCP typically provides, such as the address of a default gateway.
Consequently, computers that are enabled with Automatic Private IP Addressing can communicate only with computers on the same subnet that have been assigned addresses through Automatic Private IP Addressing.
Disabling Automatic Private IP Addressing
You can disable Automatic Private IP Addressing to prevent computers from automatically being assigned IP addresses. This ensures that invalid IP addresses are not assigned to computers if a DHCP server fails.
By default, the Automatic Private IP Addressing feature is enabled. However, you can disable this feature by adding the IPAutoconfigurationEnabled entry to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Tcpip\Parameters\Interfaces\GUID_of_the_adapter subkey in the registry.
The IPAutoconfigurationEnabled entry takes a REG_DWORD data type. To disable Automatic Private IP Addressing, specify a value of 0 for the entry.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top