Menu
Coddy logo textTech

Link-Local

Lesson 31 of 46 in Coddy's IP Addressing and Subnetting course.

When a machine asks for an address and no DHCP server answers, it gives itself one from 169.254.0.0/16. This is called a link-local address, or APIPA on Windows.

That makes 169.254 a diagnosis, not an address: a machine sitting on 169.254.x.x is telling you "I tried to join the network and nobody answered". Look at the DHCP server, the cable, or the Wi-Fi association, not at the machine itself.

Spotting this pattern instantly is one of the highest-value reflexes in IT support.

challenge icon

Challenge

Beginner

Three machines report their addresses. For each, print apipa if the address means DHCP failed, or normal otherwise. One word per line, in this order:

  1. 169.254.10.9
  2. 192.168.1.30
  3. 169.254.200.1

Expected output:

apipa
normal
apipa

Try it yourself

Terminal

All lessons in IP Addressing and Subnetting

Practice on your own: Terminal playground