Device Gets 169.254.x.x? How to Fix DHCP Problems

A 169.254 address means one thing: the device asked for an address and nobody answered. Here is how to find out why.

If a computer shows an IP address that starts with 169.254, it asked for an address and no DHCP server answered. Windows then gives itself a temporary "APIPA" address so it can talk to nearby devices, but it can't reach the gateway or the internet.

Analogy: DHCP is like a hotel reception handing out room keys. A 169.254 address is a guest who waited at the desk, got no answer, and wrote a room number on a piece of paper. It isn't a real room.

How DHCP works, in 10 seconds

  1. Discover: the device shouts "Is there a DHCP server here?"
  2. Offer: the server replies with a free address.
  3. Request: the device asks to use that address.
  4. Acknowledge: the server confirms, and the address is leased.

Students remember this as DORA. A 169.254 address means this conversation didn't finish.

Step 1: Try to renew

ipconfig /release
ipconfig /renew

If the device now gets a proper address, the problem was temporary. If /renew fails or times out, keep going.

Step 2: Is it one device or many?

Do other devices on the same switch or Wi-Fi get addresses? If they do, the problem is this device, its cable or its port. If none of them do, the problem is the DHCP server or the path to it.

Step 3: Check the switch port and VLAN

If the port is in a VLAN that has no DHCP server, the request never reaches one. On a Cisco switch, show vlan brief shows which VLAN each port is in. Make sure the port is in the same VLAN as devices that work. (New to VLANs? Read Cisco VLAN basics.)

Step 4: Check the DHCP server is running

On a MikroTik router:

/ip dhcp-server print
/ip dhcp-server lease print

The server shouldn't be disabled (shown with an X flag), and it must be on the right interface, for example the LAN bridge rather than a single port that is already part of the bridge. The lease list shows which devices have received addresses.

Step 5: Check whether the pool is full

Every DHCP pool has a limited number of addresses. On a busy network or public Wi-Fi, they can all be handed out, and new devices get nothing.

/ip pool used print

If the pool is almost full, you can:

  • Shorten the lease time so addresses from devices that have left are freed sooner. One hour is common for guest Wi-Fi: /ip dhcp-server set lan-dhcp lease-time=1h
  • Make the pool bigger, if your network design has room.
  • Remove old static leases you no longer need.

Step 6: Look for a second DHCP server

Sometimes someone plugs a home Wi-Fi router into the office network. It starts handing out its own addresses (often 192.168.0.x or 192.168.1.x) with the wrong gateway. Run ipconfig /all and look at the DHCP Server line. If it isn't your real router, you've found the problem: find that device and remove it.

Quick reference

SymptomLikely cause
Only one device gets 169.254.x.xCable, port, Wi-Fi or device settings
All devices on one switch get 169.254.x.xSwitch uplink or VLAN problem
Every device gets 169.254.x.xDHCP server down or disabled
New devices fail, old ones workPool is full
Some devices get an unexpected rangeA second (rogue) DHCP server