Your IPv4 address:
Operating system:

DHCP: how devices obtain network settings

You join a network and a moment later your device has an IP address, a gateway and DNS servers, though you typed none of them. DHCP hands these settings out for a limited time called a lease. Renewing a lease does not mean the address has to change.

What a device gets from DHCP

A DHCP server gives a client its local network parameters: an IPv4 address, a mask or prefix length, a default gateway and usually DNS servers. The exchange takes four messages. The client broadcasts a request to discover a server, a server offers an address, the client requests it and the server acknowledges. Part-way through the lease the client asks the same server to extend it, and it normally keeps the same address.

How to check what your device received

Look at the address, prefix, default gateway and DNS servers assigned to the interface and compare them with what the network should hand out. The gateway normally lies in the same subnet as your address. The 2ip IP calculator shows which range an address and prefix cover, so you can confirm that.

When an address is missing or keeps disappearing

An address beginning with 169.254 is a link-local address that the device gave itself because no DHCP server answered. Renew the lease, then check the cable or Wi-Fi connection and whether DHCP is enabled on the router. In larger networks, check that DHCP traffic reaches the server or the relay that forwards it. An address conflict or settings that keep changing often point to a second DHCP server on the network or to a device with a manual address inside the DHCP range. The protocol is defined in RFC 2131.