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:

Generate waveforms at 10 GS/s
Vepac Electronics Computer/Embedded Technology
New flagship arbitrary waveform generator cards from Spectrum Instrumentation generate waveforms with 2,5 GHz bandwidth and 16-bit vertical resolution.

Read more...
Quad-port 10GBASE-T controller
Rugged Interconnect Technologies Computer/Embedded Technology
he SN4-DJEMBE, available from Rugged Interconnect, is a networking adaptor card for CompactPCI Serial systems, equipped with four individual controllers for 10GBASE-T.

Read more...
HPE policy management platform
Computer/Embedded Technology
Duxbury Networking has announced the availability of the HPE Aruba ClearPass policy management platform, that enables business and personal devices to connect to an organisational level, in compliance with corporate security policies.

Read more...
IoT gateways
Brandwagon Distribution Computer/Embedded Technology
IoT Gateways are hardware and software devices that are responsible for collecting data from connected devices, managing communication between devices and the cloud, and processing and analysing the data before sending it to the cloud for further analysis.

Read more...
1.6T Ethernet IP solution to drive AI and hyperscale data centre chips
Computer/Embedded Technology
As artificial intelligence (AI) workloads continue to grow exponentially, and hyperscale data centres become the backbone of our digital infrastructure, the need for faster and more efficient communication technologies becomes imperative. 1.6T Ethernet will rapidly be replacing 400G and 800G Ethernet as the backbone of hyperscale data centres.

Read more...
Keeping it cool within the edge data centre
Computer/Embedded Technology
The creation of more data brings with it the corresponding need for more compute power and more data centres, which, in turn, can create unique challenges with regards to securing the environment and cooling the IT loads.

Read more...
NEX XON becomes Fortinet partner
NEC XON Computer/Embedded Technology
This designation demonstrates NEC XON’s ability to expertly deploy, operate, and maintain its own end-to-end security solutions, helping organisations to achieve digital acceleration.

Read more...
Online tool for data centre planning and design
Computer/Embedded Technology
Vertiv has unveiled a new tool, Vertiv Modular Designer Lite, designed to transform and simplify the configuration of prefabricated modular (PFM) data centres.

Read more...
Mission computer for HADES
Rugged Interconnect Technologies Computer/Embedded Technology
North Atlantic Industries’ latest product, the SIU34S, has been selected as the mission computer for the High Accuracy Detection and Exploitation System (HADES) program.

Read more...
14th Gen power to boost AI at the edge
Rugged Interconnect Technologies Computer/Embedded Technology
ADLINK’s inclusion of Intel’s 14th generation Core processors into its latest embedded boards and fanless computers is set to boost the AI and graphics capabilities.

Read more...