3.2.2.3 Ethernet - APIPA
Automatic Private IP Addressing (APIPA) is a feature in Windows operating systems that enables
computers to automatically self-configure an IP address and subnet mask when their DHCP
server isn’t reachable. When connecting the MPLAB ICD 5 In-Circuit Debugger to the
Ethernet, if the network does not have a DHCP server or is unavailable, the network
device will use APIPA to assign itself an IP address. APIPA is a network capability
feature that allows network devices to automatically assign IP addresses to themselves.
It was developed for small non-routable networks as it removes the hassle of figuring
out which IP addresses are available and manually assigning your device a static IP
address.
Note: If your network device is only using a
self-assigned APIPA address, it will only be able to connect with other network
devices on that same APIPA subnet.
The use of APIPA addresses is useful for a temporary connection when a DHCP server is experiencing issues or needs to be offline for a while or the goal is for a separate or dedicated network. Ideally, the APIPA should be used when troubleshooting DHCP issues with the DHCP server or a device is unable to obtain an IP address. Connecting to a network and using its DHCP server is the recommended practice when using Microchip’s network capable debugging tools.
The APIPA IP address range is from 169.254.0.1 to 169.254.255.254.