Your device gets an IP address automatically from your router, which gets one from your internet service provider

Every device on your home network — your laptop, phone, smart TV, security camera — needs an IP address to send and receive data. You do not assign these manually in most cases. Instead, your router hands them out automatically using a system called DHCP (Dynamic Host Configuration Protocol). Your router itself gets a public IP address from your internet service provider, and that public address is how the outside internet finds your home network.

The process happens in layers. Your ISP assigns a public IP address to your modem or router (depending on your setup). Your router then creates a private network inside your home and assigns private IP addresses to everything that connects to it — your phone, laptop, printer, doorbell camera. Those private addresses stay inside your home network. Only your public IP address is visible to the outside internet.

Understanding this matters for security because it affects what you can see on your network, what outsiders can see, and how to spot devices that should not be there.

Key Takeaways

  • Your router automatically assigns private IP addresses to your devices using DHCP, so you rarely need to do anything manually.
  • Your public IP address (assigned by your ISP) is what the outside internet sees; your private addresses (assigned by your router) stay hidden inside your home network.
  • You can see what devices are connected to your network and what private IP addresses they have by logging into your router's admin panel.
  • Devices that request a static IP address (like printers or security cameras) stay at the same address, making them easier to find and configure, but you set this in your router, not on the device itself.

How DHCP assigns addresses automatically

When you turn on a new device and connect it to your Wi-Fi, it sends out a broadcast message asking for an IP address. Your router receives that request and assigns an available address from its pool — usually something like 192.168.1.50 or 10.0.0.75, depending on your router's settings. The router also tells the device how long it can keep that address (called a lease time, typically 24 hours). When the lease expires, the device asks for a new one, and the router usually gives it the same address back if nothing else has taken it.

This automatic system is why you do not have to configure anything when you buy a new phone or laptop. It also means devices can move between networks without breaking — your phone gets a different address at a coffee shop than at home, and both work without you doing anything.

The downside is that addresses change. If you need a device to stay at the same address (like a printer you want to find by IP), DHCP is not ideal. That is where static addresses come in.

Static IP addresses for devices that need to stay put

A static IP address is one that does not change. You set it in your router, not on the device itself. This matters for devices you access by IP address — a network printer, a security camera, a home server, or a smart home hub. If the address keeps changing, you have to hunt for it every time.

To assign a static address, you log into your router's admin panel (usually at 192.168.1.1 or 192.168.0.1), find the device in the connected devices list, and tell the router to always give it the same address. Some routers call this "DHCP reservation" or "static DHCP" — it is different from a truly static address (which you would set on the device itself), but it works the same way for home networks.

You can also set a static address directly on the device, but that creates a risk: if you misconfigure it, the device might conflict with another device or stop working on your network. Doing it through your router is safer because the router knows what addresses are already in use.

Public IP addresses and what your ISP controls

Your public IP address is assigned by your ISP and is visible to every website you visit, every email server you connect to, and anyone who wants to know where your internet connection is coming from. This is the address that identifies your home on the internet.

Most home internet plans use dynamic public IP addresses, which means your ISP can change it whenever they want — usually when you restart your modem, but sometimes without warning. Some ISPs offer static public IP addresses for an extra fee, which keeps your address the same. This matters if you run a web server from home or need remote access to your network that does not depend on your address changing.

You can find your public IP address by searching "what is my IP" in any search engine. You cannot change it yourself — only your ISP can. If you want to hide your public IP from websites you visit, you would use a VPN, which is a different tool with its own trade-offs.

How to see what devices are on your network and what addresses they have

Log into your router's admin panel by opening a web browser and typing your router's IP address (usually 192.168.1.1, 192.168.0.1, or 10.0.0.1 — check your router's manual or the sticker on the back). You will need your router's username and password, which are often printed on the router itself or in the manual. If you have never changed them, they are usually "admin" and "admin" or "admin" and the router's serial number.

Once you are logged in, look for a section called "Connected Devices," "DHCP Clients," "Device List," or "LAN Devices" — the exact name varies by router brand. You will see a list of everything connected to your network, the IP address each device has, and sometimes the device name and MAC address (a unique hardware identifier).

Check this list regularly. If you see a device you do not recognize, that is a sign someone else may have connected to your network. If your network is password-protected (which it should be), an unknown device means either someone guessed your password or found a way in through a security gap.

Private IP address ranges and what they mean

Not all IP addresses are public. Private IP addresses are reserved for use inside networks and are never routed across the internet. Your router uses one of three ranges: 192.168.0.0 to 192.168.255.255, 10.0.0.0 to 10.255.255.255, or 172.16.0.0 to 172.31.255.255. Any address in these ranges is private and stays inside your home network.

This matters because it means your devices can use these addresses without conflicting with anyone else's network. It also means if you see an address like 192.168.1.100 in your device list, you know it is a device on your home network, not something on the internet.

Some devices (like security cameras or smart home hubs) let you see their private IP address in their settings. If you need to access a device remotely from outside your home network, you would use your public IP address plus a port number, not the private address. That is a more advanced setup and introduces security questions of its own.

What happens when two devices try to use the same address

If you manually set a static address on a device and that address is already in use, you get an IP conflict. The device will either not connect or will disconnect and reconnect repeatedly. This is why setting static addresses through your router (DHCP reservation) is safer — the router prevents conflicts by keeping track of what it has assigned.

If you see a device disconnecting and reconnecting on your network, an IP conflict is one possible cause. Check your router's device list to see if two devices have the same address. If they do, remove the static assignment from one of them and let DHCP assign it a new address automatically.

Frequently Asked Questions

Can someone on the internet see my private IP address?

No. Private IP addresses are not routed across the internet — they stay inside your home network. Someone outside can see your public IP address, but not the private addresses of your devices. This is one reason private addresses exist.

Why does my device's IP address change sometimes?

DHCP leases expire and renew. When your device reconnects to the network or the lease runs out, your router may assign it a different address from its pool. If you need a device to keep the same address, set up a DHCP reservation in your router.

What is a MAC address and how is it different from an IP address?

A MAC address is a unique hardware identifier built into your device's network card. An IP address is assigned by your network and can change. Your router uses the MAC address to identify devices and assign them IP addresses. You will see both in your router's device list.

Do I need to change my router's default IP address for security?

Changing it from 192.168.1.1 to something else provides minimal security benefit — anyone on your network already knows it. What matters more is changing your router's default username and password and keeping your Wi-Fi password strong.

Can I assign the same static IP address to two different devices?

No. Each device on your network needs a unique IP address. If you try to assign the same address to two devices, you will get a conflict and both devices will have connection problems. Your router prevents this if you use DHCP reservation, but if you set static addresses on the devices themselves, you have to manage uniqueness manually.