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:

Rugged combo antennas cut multi-network installations down to one
iCorp Technologies Computer/Embedded Technology
Quectel Wireless Solutions has expanded its antenna portfolio with four rugged multi-network combo antennas.

Read more...
Intelligent video processing
Rugged Interconnect Technologies Computer/Embedded Technology
The CHARM150AGX is based on a NVIDIA AGX Orin embedded processor, which incorporates a multicore ARM processor and powerful AI/ML accelerator.

Read more...
Quectel’s single-board computers put industrial edge computing on one PCB
iCorp Technologies Computer/Embedded Technology
Quectel Pi series of single-board computers (SBCs), designed for a broad range of industrial applications, include three compact development platforms – the Quectel Pi M1, L1, and H1 boards.

Read more...
Nordic expands nRF Cloud with firmware vulnerability scanning
RF Design Computer/Embedded Technology
nRF Cloud identifies vulnerabilities in firmware and shows exactly which deployed devices are affected, empowering device manufacturers to address EU Cyber Resilience Act requirements.

Read more...
Arrival of the Epic-PTH9
Vepac Electronics Computer/Embedded Technology
AAEON introduces the EPIC-PTH9, a compact 4-inch industrial single-board computer powered by Intel Core Ultra Series 3 (formerly Panther Lake) processors.

Read more...
EPS-9600 Managed Layer 3 Ethernet Switch with next-generation Time- Sensitive Networking
Electronic Products Design Computer/Embedded Technology
Diamond Systems has introduced EPS-9610 (part of the EPS-9600 family), a rugged, ultra-compact embedded Ethernet switch which integrates military-grade ruggedness with next-generation Time-Sensitive Networking (TSN) capabilities.

Read more...
An industry-first Android 16 smart module solution
RF Design Computer/Embedded Technology Telecoms, Datacoms, Wireless, IoT
The MeiG Smart SLM580 4G Smart Module features native support for Android 16 and covers core frequency bands in major countries and regions worldwide.

Read more...
Accelerate STM32-based IoT development with SPI EEPROM board
Altron Arrow Computer/Embedded Technology
ST Microelectronics’ ready-to-use STM32 expansion board helps design more efficient battery-friendly IoT devices based on ultra low power 32-Mbit Page.

Read more...
Unleash the next generation of Intel Core power
Vepac Electronics Computer/Embedded Technology
The EPIC-BTS9 from AAEON, is tailor-made to bring unprecedented performance to smart manufacturing and industrial robotics.

Read more...
QMC series I/O modules for VITA 93 small form factor mezzanine
Rugged Interconnect Technologies Computer/Embedded Technology
The new line of VITA 93 QMC mezzanine modules, from Acromag, are engineered to meet increasing demands for smaller form factors and more performance.

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