APIPA - Automatic Private IP Addressing
Definition: A feature of Microsoft Windows, APIPA is a DHCP
failover mechanism for local networks. With APIPA, DHCP clients can
obtain IP addresses when DHCP servers are non-functional. APIPA exists
in all modern versions of Windows except Windows NT.
When a DHCP server fails, APIPA allocates IP addresses in the private
range 169.254.0.1 to 169.254.255.254. Clients verify their address is
unique on the network using ARP. When the DHCP server is again able to service requests, clients update their addresses automatically.
In APIPA, all devices use the default network mask 255.255.0.0 and all reside on the same subnet.
APIPA is enabled on all DHCP clients in Windows unless the computer's Registry is modified to disable it. APIPA can be enabled on individual network adapters.
In APIPA, all devices use the default network mask 255.255.0.0 and all reside on the same subnet.
APIPA is enabled on all DHCP clients in Windows unless the computer's Registry is modified to disable it. APIPA can be enabled on individual network adapters.
Also Known As: Automatic Private IP Addressing; AutoNet
Examples:
Because
APIPA uses IP addresses in the private Class B space, APIPA is a
feature generally only useful on home or other small intranet LANsImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
A Windows-based computer that is configured to use DHCP can automatically assign itself an Internet Protocol (IP) address if a DHCP server is not available. For example, this could occur on a network without a DHCP server, or on a network if a DHCP server is temporarily down for maintenance.
The Internet Assigned Numbers Authority (IANA) has reserved 169.254.0.0-169.254.255.255 for Automatic Private IP Addressing. As a result, APIPA provides an address that is guaranteed not to conflict with routable addresses.
After the network adapter has been assigned an IP address, the computer can use TCP/IP to communicate with any other computer that is connected to the same LAN and that is also configured for APIPA or has the IP address manually set to the 169.254.x.y (where x.y is the client’s unique identifier) address range with a subnet mask of 255.255.0.0. Note that the computer cannot communicate with computers on other subnets, or with computers that do not use automatic private IP addressing. Automatic private IP addressing is enabled by default.
You may want to disable it in any of the following cases:
- Your network uses routers.
- Your network is connected to the Internet without a NAT or proxy server.
Unless you have disabled DHCP-related messages, DHCP messages provide you with
notification when you change between DHCP addressing and automatic private IP
addressing. If DHCP messaging is accidentally disabled, you can turn the DHCP
messages back on by changing the value of the PopupFlag value in the following
registry key from 00 to 01:- Your network is connected to the Internet without a NAT or proxy server.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
Click Start, click Run, type "winipcfg" (without the quotation marks), and
then click OK. Click More Info. If the IP Autoconfiguration Address box contains an IP
address within the 169.254.x.x range, Automatic Private IP Addressing is
enabled. If the IP Address box exists, automatic private IP addressing is not
currently enabled.
For Windows 2000, Windows XP, or Windows Server 2003, you can determine whether your computer is using APIPA by using
the IPconfig command at a command prompt:
Click Start, click Run, type "cmd" (without the quotation marks), and
then click OK to open a MS-DOS command line window. Type "ipconfig /all" (without the quotation marks), and then hit the ENTER key.
If the 'Autoconfiguration Enabled' line says "Yes", and the 'Autoconfiguration
IP Address' is 169.254.x.y (where x.y is the client's unique identifier), then
the computer is using APIPA. If the 'Autoconfiguration Enabled' line says "No",
then the computer is not currently using APIPA.
You can disable automatic private IP addressing by using either of the following
methods.You can configure the TCP/IP information manually, which disables DHCP altogether. You can disable automatic private IP addressing (but not DHCP) by editing the registry. You can do so by adding the "IPAutoconfigurationEnabled" DWORD registry entry with a value of 0x0 to the following registry key for Windows Millennium Edition, Windows98, or Windows 98 Second Edition:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Adapter GUID>
Specifying a value of 1 for IPAutoconfigurationEnabled DWORD entry will enable APIPA, which is the default state when this value is omitted from the registry.
No comments:
Post a Comment