AutoIP

From SEGGER Knowledge Base
Jump to navigation Jump to search

The emNet AutoIP module adds the dynamic configuration of IPv4 Link-Local addresses to emNet. This functionality is better known as AutoIP. The AutoIP implementation covers the relevant parts of RFC 3972. In general, AutoIP is a method for negotiatiating an IPv4 address in a network without using a server (such as a DHCP server). AutoIP will try to use IPv4 addresses out of a reserved pool from the addresses 169.254.1.0 to 169.254.254.255 to find a free IP that is not used by another network participant in parallel. To achieve this objective, AutoIP sends ARP probes into a network to ask if the address to be used is already in use. This is determined by an ARP reply for the requested address. In the event of an address conflict, AutoIP will generate a new address and will try to use it by sending ARP probes again.