Networking

What Is a Static IP Address? Manual Setup vs. DHCP

A static IP address is one that does not change. Compare manual static setup with a DHCP reservation, and check a planned address for conflicts first.

A static IP address is an address that stays the same, instead of being assigned afresh by DHCP. On a home network you get one in two ways: configure it manually on the device, or set a DHCP reservation on the router so it always hands that device the same address. A reservation is usually the safer choice. From your internet provider, a static IP means a fixed public address, normally a paid add-on.

Static, dynamic and reserved

Dynamic (DHCP)DHCP reservationManual static
Who chooses the addressrouter, from its poolrouter, fixed per device MACyou, on the device
Changes over timepossiblenono
Where it is configurednowhereroutereach device
Conflict risknonenoneyes, if it overlaps the pool or another device
Works if the router is downnonoyes, on the local network
Good forphones, laptopsprinters, NAS, game consoles, serversnetwork gear, labs, devices without DHCP

Check a planned static address

Before typing an address into a device, make sure it is on the router’s subnet, outside the DHCP pool and not a reserved address. You can find the subnet and pool on the router’s DHCP settings page.

Try itEnter your planned address, router, mask and DHCP pool to check for conflicts.

192.168.1.50 is a sensible static choice for this network.

Same subnet as the router
yes
Outside the DHCP pool
yes
Not a reserved address
yes

A DHCP reservation (set on the router) avoids these checks: the router always hands the same address to that device's MAC address.

Try 192.168.1.150: it falls inside the pool .100–.199, so the router could give the same address to another device, and the two would fight over it. Try 192.168.2.50: it is on a different subnet from the router, so the device could reach nothing beyond itself.

Setting a manual static IP: the four values

A device with a manual configuration needs all four, and the last three must match your network:

  1. IP address: for example 192.168.1.50.
  2. Subnet mask: for example 255.255.255.0 (/24). The subnet mask guide shows what it does.
  3. Default gateway: the router, for example 192.168.1.1.
  4. DNS servers: usually the router or a public resolver.

Forgetting the gateway produces a device that can reach the local network but not the internet. A wrong mask can make the gateway look off-subnet, which is one cause traced in the ERR_ADDRESS_UNREACHABLE guide.

Reservation: the low-maintenance static IP

A reservation ties an address to the device’s MAC address. The device keeps using DHCP and simply always gets the same answer, so if you later change the router’s DNS servers or gateway, every device picks up the change automatically. One caveat: phones and laptops may use a randomized MAC per Wi-Fi network; turn that off for the network if a reservation does not stick.

Public static IPs

Your router’s public address is normally dynamic too, assigned by the ISP. A static public IP matters if you host a service that others reach by address, or if a remote system allow-lists your IP. For most home uses, dynamic DNS achieves the same reachability without paying for a static address. With IPv6, devices usually have stable global addresses already, alongside rotating privacy addresses; the IPv4 vs. IPv6 guide explains the address formats.

Sources

  1. RFC 2131: Dynamic Host Configuration Protocol — IETF
  2. RFC 1918: Address Allocation for Private Internets — IETF
  3. RFC 5737: IPv4 Address Blocks Reserved for Documentation — IETF

How we made this

Computed and checked by tests. The conflict checker applies the subnet and range tests from src/lib/calc/subnet.js (tested). The home-network figures are an illustrative example; DHCP behaviour follows RFC 2131.

Performed by Claude, an AI assistant working in the BinConvert repository (Node.js 25), November 16, 2026.

This article was drafted with AI assistance. Every example, calculation and command output on this page was re-run or checked before release; the checker's verdicts for each example were recomputed. Review: automated test suite and source check, November 16, 2026.

Spotted an error? Tell us and we will correct it.

Copied to clipboard!