Key Takeaways
- Every device on your home network gets a unique IP address so data reaches the right destination.
- Your router uses a protocol called DHCP to assign those addresses automatically, without any input from you.
- A device requests an address each time it connects, and the router lends one from a pool it manages.
- Addresses are temporary leases, not permanent assignments, which is why they can change between sessions.
- Most home networks work fine with automatic address assignment, though some setups benefit from fixed addresses.
Start here
What an IP address actually is
Next
How your router hands out addresses automatically
Then
What happens when a device joins your network
Go deeper
Why addresses sometimes change and when that matters
Apply it
What this means for your everyday home network
What an IP address actually is
Every device that communicates on a network needs a unique identifier so data arrives at the right place. An IP address (Internet Protocol address) is that identifier: a string of numbers that acts like a postal address for your phone, laptop, smart TV, or any other connected device.
On most home networks, addresses look like 192.168.1.42. These follow a format called IPv4, which divides the address into four groups of numbers separated by periods. Your internet provider assigns one address to your entire home (the public address your router shows to the outside world), and your router then creates a separate, private address for each device inside your home.
IP address
A unique number assigned to each device on a network, used to direct data to the correct destination. It works like a postal address for network traffic.
DHCP
Dynamic Host Configuration Protocol. The system your router uses to automatically hand out IP addresses to devices when they connect, so no manual setup is needed.
Private IP address
An address that exists only inside your home network and is not visible on the public internet. Ranges like 192.168.x.x are reserved for private use.
DHCP lease
A temporary loan of an IP address from the router to a device. The lease has an expiry time, after which it may be renewed or reassigned.
MAC address
A fixed hardware identifier built into a device's network adapter. Routers use it to tell devices apart when assigning or reserving IP addresses.
NAT
Network Address Translation. The process your router uses to convert private internal addresses into the single public address your internet provider assigned, and back again.
This separation matters. Devices on your home network communicate using private addresses that only exist within your network. When traffic needs to reach the internet, the router translates those private addresses to the single public address your provider assigned. That translation system is called NAT (Network Address Translation).
How your router hands out addresses automatically
Configuring a unique address on every device by hand would be impractical. A protocol called DHCP (Dynamic Host Configuration Protocol) handles the job automatically. Your router runs a DHCP server, a small program that maintains a pool of available addresses and lends them out on request.
The pool is a defined range, for example 192.168.1.100 through 192.168.1.200. When a device connects, it gets one address from that range. The router records which address went to which device so no two devices receive the same one at the same time.
DHCP is enabled by default on virtually every consumer router. Your devices are also set to request an address automatically by default, so the entire system runs in the background without any setup on your part. For a broader look at what else your router manages silently, see how your router handles network traffic.
What happens when a device joins your network
The address assignment process follows four short steps, sometimes called the DORA sequence.
- Discover. The device broadcasts a message across the network: "I need an IP address." Because it has no address yet, it shouts to every device in range.
- Offer. The router's DHCP server responds with an available address from its pool and holds that address temporarily.
- Request. The device formally asks to use that specific address.
- Acknowledge. The router confirms, records the assignment, and sets a lease timer.
The whole exchange takes milliseconds. By the time your Wi-Fi icon shows a connection, the device already has its address, a subnet mask (which defines the boundaries of the local network), a gateway address (the router itself), and the address of a DNS server for translating website names into numbers.
Check your device's IP address quickly
On most smartphones, you can see your assigned IP address under Wi-Fi settings by tapping the network name. On Windows, open Command Prompt and type ipconfig. On a Mac, open Terminal and type ifconfig. The address listed next to your active connection is the one your router assigned via DHCP.
Why addresses sometimes change and when that matters
DHCP assigns addresses as leases, not permanent grants. Each lease has an expiry time, often 24 hours on home routers. When a lease nears expiry, the device requests a renewal. If the device is off when the lease expires, the router returns that address to the pool. The device may receive the same address again when it reconnects, or it may receive a different one.
For general browsing, streaming, or messaging this makes no difference at all. The change is invisible to the user. It becomes noticeable only in specific cases: a printer whose address changes may temporarily disappear from other devices, or a home automation hub might need reconfiguring if its address shifts.
In those cases, most routers allow you to create a DHCP reservation, sometimes called a static lease. You tell the router to always assign the same address to a specific device (identified by its MAC address, a fixed hardware identifier). The device still uses DHCP, but the router always hands it the same number. For a look at how these settings fit into broader network security, see home network security practices.
What this means for your everyday home network
Understanding address assignment is useful context whenever something goes wrong with a device's connection, or when you move into managing more connected devices at home. If a device suddenly cannot reach the internet, checking whether it received a valid IP address is one of the first diagnostic steps. An address in the range 169.254.x.x means the device tried and failed to get a DHCP lease, and fell back to a self-assigned address that cannot reach the router.
If you are building out a smarter home setup, knowing that some devices benefit from reserved addresses saves troubleshooting time later. The getting started with smart home automation guide covers practical first steps once your network basics are in order.
For most households with phones, laptops, and a streaming device or two, the default DHCP setup your router shipped with handles everything without adjustment. The system was designed to be invisible, and for the vast majority of home users, it stays that way.
Your network also sits within the broader topic of internet and privacy, where understanding how your devices communicate is the foundation for making informed decisions about security and access.
