What a static IP does and why you need one

A static IP address is one that stays the same every time your device connects to your network. Your router normally assigns addresses automatically — a different one each time — which works fine for browsing. But when you want a device to stay reachable at the same address (a printer, security camera, or server), automatic assignment breaks things. You tell the printer to print from your computer, but tomorrow the printer has a new address and your computer can't find it.

Assigning a static IP means you pick an address and lock it in place. The device keeps that address until you change it. This is different from port forwarding or DNS — it's the foundation those tools need to work reliably.

Key Takeaways

  • Static IPs are set either on the device itself or in your router's DHCP reservation settings, and the router method is simpler and safer for most home networks.
  • You need to know your router's IP address (usually 192.168.1.1 or 192.168.0.1), your network's subnet mask, and which devices you want to lock down.
  • The address you assign must fall outside your router's DHCP range — the pool of addresses it hands out automatically — or conflicts will break your network.
  • Once set, test the connection by unplugging the device and plugging it back in to confirm it gets the same address every time.

Finding your router's address and login details

Before you can assign anything, you need to get into your router's settings. Open a web browser on any device connected to your network and type your router's IP address into the address bar. For most home routers this is 192.168.1.1 or 192.168.0.1. If neither works, check the sticker on the back or bottom of your router — it will list the address there.

The router will ask for a username and password. The default is usually admin for both, but check that sticker again — some routers ship with different defaults. If you changed the password before and don't remember it, you can reset the router to factory settings by holding a small reset button for 10 to 15 seconds, but this erases all your settings. Write down any passwords you've set before you do this.

Locating the DHCP reservation or static IP settings

Once you're logged in, look for a section called DHCP, Local Network, LAN, or Advanced. Different manufacturers use different names. You're looking for an option that says DHCP Reservation, Static IP, Reserved IP, or Address Reservation. Some routers put this under a submenu like "DHCP Settings" or "Connected Devices".

If you can't find it in the obvious places, check your router's manual or search the manufacturer's website for your exact model number. The manual will tell you the exact path through the menus. This step varies widely between Netgear, TP-Link, Asus, Linksys, and others, so there's no single set of instructions that works everywhere.

Identifying the device and its MAC address

To reserve an address for a device, your router needs to know which device you're talking about. It identifies devices by their MAC address — a unique code built into every network card. You can find the MAC address in a few ways.

On Windows, open Command Prompt and type ipconfig /all. Look for the line that says "Physical Address" — that's your MAC address, shown as six pairs of numbers and letters like 00:1A:2B:3C:4D:5E. On Mac, go to System Preferences, click Network, select your connection, and click Advanced. The MAC address is listed as "Wi-Fi Address" or "Ethernet Address". On Linux, open a terminal and type ip link show and find the "link/ether" line.

For devices like printers or cameras that don't have a keyboard, check the device's settings menu or print a network configuration page. Many printers have a button that prints this information. If the device has a web interface (you can visit it in a browser), the MAC address is usually listed under Network Settings or Device Information.

Creating the reservation in your router

In your router's DHCP reservation section, you'll see a form or a list of connected devices. Click the button to add a new reservation or select the device from a list of currently connected ones. The router will ask for the MAC address and the IP address you want to assign.

For the IP address, pick something outside your router's DHCP range. The DHCP range is the pool of addresses your router hands out automatically — usually something like 192.168.1.100 to 192.168.1.254. If your range ends at 192.168.1.254, assign static addresses in the 192.168.1.2 to 192.168.1.99 range. This prevents your router from accidentally assigning the same address to two devices at once.

Enter the MAC address exactly as it appears — some routers accept it with colons (00:1A:2B:3C:4D:5E) and some without (001A2B3C4D5E). If one format doesn't work, try the other. Save the reservation and restart your router by unplugging it for 30 seconds, then plugging it back in.

Testing the static assignment

After the router restarts, unplug the device you assigned an address to, wait 10 seconds, and plug it back in. Let it reconnect to the network. Then check what address it received. On Windows, open Command Prompt and type ipconfig. On Mac, go to System Preferences and check the Network settings. On a printer or camera, print a network configuration page or check the device's web interface.

The address should match what you entered in the reservation. Unplug the device again, wait, and plug it back in a second time. If it gets the same address both times, the reservation is working. If it gets a different address, go back into your router settings and check that the MAC address was entered correctly and that the address you chose is outside the DHCP range.

Setting a static IP directly on the device (less common)

Some people set static IPs on the device itself instead of in the router. This works, but it's riskier — if two devices end up with the same address, they'll conflict and neither will work properly. The router method prevents this because the router keeps track of what it's assigned.

If you do set it on the device, you need the same information: the IP address, the subnet mask (usually 255.255.255.0), and the gateway address (your router's IP, like 192.168.1.1). On Windows, go to Settings, Network, Change Adapter Options, right-click your connection, select Properties, double-click Internet Protocol Version 4, and choose "Use the following IP address". On Mac, go to System Preferences, Network, Advanced, TCP/IP, and change "Configure IPv4" to "Manually". Enter the address, subnet mask, and router address, then click OK.

Frequently Asked Questions

What happens if I assign an IP address that's already in use?

Both devices will have connection problems — they'll drop off the network, reconnect, and repeat. This is called an IP conflict. The router can't route traffic properly when two devices claim the same address. Fix it by changing one of the addresses to something outside the DHCP range, or by removing the conflicting reservation from the router.

Can I assign a static IP to a device that's not currently on my network?

Yes. You can create a reservation in your router without the device being connected. You just need the MAC address. The reservation will take effect the next time that device connects. This is useful for setting up printers or cameras before they arrive.

Do I need to set a static IP for every device on my network?

No. Set static IPs only for devices you need to reach at a fixed address — printers, security cameras, servers, or network storage. Computers and phones that just browse the internet work fine with automatic addresses. Most home networks have only three to five devices with static IPs.

What's the difference between a static IP and a reserved IP?

A reserved IP (set in the router) is what most people should use. A static IP (set on the device) is the same thing functionally, but the router doesn't know about it and can't prevent conflicts. Reserved is safer because the router manages it.

Will assigning a static IP make my network less find?

No. Static IPs don't change your security — they just make devices easier to find on your network. Security depends on your router's firewall, your Wi-Fi password, and whether you've updated the router's firmware. Assign static IPs to the devices that need them without worrying about this.