What is DHCP Relay Agent? Detailed Explanation
What is DHCP Relay Agent? DHCP Relay Agent is a software program that relays DHCP messages between DHCP…

APIPA, or Automatic Private IP Addressing, is a Microsoft-specific protocol that automatically assigns an address in the private IP address range to computers on a local network when there is no DHCP server available.
This can be helpful in cases where there is a temporary failure of the DHCP server, or when multiple devices are connected to a network without a router. APIPA addresses are not accessible from the outside world, so they can be used safely for internal operations.
The APIPA IP address range is 169.254.0.1 through 169.254.255.254, with a subnet mask of 255.255.0.0 (/16).
Addresses in this range are automatically assigned to devices when they cannot reach a DHCP server and are not registered in the DNS.
If multiple devices on a network are using APIPA addresses, they will not be able to communicate with each other, since the addresses are not unique.

When a computer starts up, it sends out a DHCP request (called a DHCPDISCOVER) onto the network.
If there is no DHCP server available to respond to this request, the computer will automatically assign itself an APIPA address.
The computer will then continue to check for the presence of a DHCP server at regular intervals.
If a DHCP server becomes available, the computer will automatically switch to using that server and will no longer use the APIPA address.
If no DHCP server is ever present on the network, the computer will continue to use the APIPA address indefinitely.
There is no one central authority responsible for managing the APIPA address range. The addresses are managed automatically by the individual computers that use them. However, there are some tools available to help manage APIPA addresses on a network.
For example, the DHCP Console tool in Windows can be used to view and release APIPA addresses.
There are a few advantages to using APIPA addresses:
There are also a few disadvantages to using APIPA addresses: