Computer/Embedded Technology


Automatic private IP addressing (APIPA) - tech update

6 April 2005 Computer/Embedded Technology

Ever notice the strange 169.254.x.x IP address your browser displays when you cannot connect to the Internet.

Beginning with Windows 98 (but not NT), APIPA became available for small non-routed LANs (under 25 clients) - although known by various other names (Auto-IP configuration, AutoNet, IP-Auto configuration). With APIPA, DHCP clients self-configure an IP address and subnet mask if a DHCP server is not available.

By default, all clients are configured to use DHCP. When a client boots, it queries the DHCP server for an IP address, subnet mask and possibly other options. If it cannot find a server, the client uses APIPA to get a random IP address in the range 169.254.x.x reserved by Microsoft. It also gives itself a Class B subnet mask of 255.255.0.0. These are used until a DHCP server becomes available.

When invoking APIPA, a client tests for address duplication by sending a gratuitous ARP. If no one answers, it keeps the address. If another client is already using the address, the new client tries a different address. A client can make this attempt up to 10 times. If using APIPA, a client checks for a DHCP server every five minutes. If one is found, the client updates its information from the server.

If a client has a previous lease from a server, it tries to renew the lease at boot time and, if unexpired, the server renews it. If the client cannot contact the server and the lease is unexpired, it tries to ping the default gateway assigned in the lease. If successful, the client continues to use the lease. If the ping fails, the client uses APIPA.

In some cases, disabling APIPA may be desired (if a server is available, APIPA can mask connectivity problems since the PC assigns itself an address instead of generating an error). APIPA can be disabled by modifying the client Registry. Extreme care should be exercised when making Registry changes.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Vertiv expands rack PDU portfolio
Computer/Embedded Technology
Vertiv has announced its new Vertiv PowerIT rack power distribution units designed to address the rising power needs of data-intensive workloads, including AI and high-performance computing.

Read more...
Bluetooth 6.0 module provides channel sounding
Avnet Silica Computer/Embedded Technology
The latest Bluetooth module from Panasonic Industry provides excellent performance and minimal power consumption.

Read more...
Rugged PoE switch built for industrial demands
Conical Technologies Computer/Embedded Technology
The rugged Planet IGS-5225-8P4S-12V comes in a compact, rugged, and highly efficient design, making it the switch of choice for engineers working in harsh environments.

Read more...
High-performance networking for demanding environments
Electronic Products Design Computer/Embedded Technology
The Raptor-Epsilon Ethernet switch system is a ruggedised networking solution engineered to deliver advanced switching capabilities, superior reliability, and energy-efficient operation in the most demanding environments.

Read more...
Rugged, I/O-rich NVIDIA Jetson solutions
Electronic Products Design Computer/Embedded Technology
Developed for the NVIDIA Jetson AGX Orin, the Osbourne carrier and development kit is a compact and rugged platform designed to support a wide range of embedded AI and edge computing applications.

Read more...
New generation of SBCs
Computer/Embedded Technology
HardKernel’s new generation of ODROID H4-series SBCs are more powerful; offering higher performance and richer interfaces than previous generations.

Read more...
Smallest 13th gen Intel SBC
Vepac Electronics Computer/Embedded Technology
At just 86 x 55 mm, the de next-RAP8 continues AAEON’s run of producing record-breaking single-board computers with embedded Intel technology.

Read more...
Versatile PoE extender
Vepac Electronics Computer/Embedded Technology
The GP-101ET PoE+ Extender is a 1-port Gigabit PoE extender with plug and play installation requiring neither configuration nor extra electrical power.

Read more...
First NVMe SSD Built with 8th-gen BiCS FLASH
EBV Electrolink Computer/Embedded Technology
KIOXIA recently announced the development and prototype demonstration of its new KIOXIA CM9 Series PCIe 5.0 NVMe SSDs, which incorporates CMOS directly Bonded to Array technology.

Read more...
QuecPi smart development board
iCorp Technologies Computer/Embedded Technology
The QuecPi Alpha smart MOB development board is Quectel’s smart development board based on Qualcomm’s QCS6490 high-performance 64-bit octa-core processor.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved