Skip to content
Minute Campus.

How the internet worksLesson 011 min

How does your phone get an address when it joins Wi-Fi?

A phone has no address when it first joins a Wi-Fi network, so it asks for one using DHCP. It broadcasts a discover message, a server answers with an offer, the phone accepts with a request, and the server confirms with an acknowledgement. Four messages, and nobody types an address in. The address is a lease, so when it runs out the server can give it to someone else.

Remember

The address on your phone belongs to the network and is only on loan.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1Dynamic Host Configuration Protocol, RFC 2131R. Droms · IETF · March 1997 · read 14 Nov 2026Describes the discover, offer, request and acknowledgement exchange, and the lease of an allocated address.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

Your phone has no address when it first joins a Wi-Fi network, so it asks for one. It broadcasts a discover message to everyone on the local network: I need an address, and whoever can give one, please reply. A DHCP server answers with an offer, an address it can spare, plus settings such as how long the loan lasts. The phone accepts one offer with a request, which also tells the other servers to drop their offers, and the server confirms it with an acknowledgement. Four messages, and nobody types an address in. Laptops, tablets and phones all do this the same way. An address from DHCP is a lease, not a gift. When the lease runs out, the server can hand that address to someone else. The lesson: the address on your phone belongs to the network, and it is only on loan.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.