Technical Anshu
Tutorials Blog
📌 Network Setup

How to Set a Static IP Address Safely in Windows

A static IP done carelessly causes the very outage it was meant to prevent. Done by this order — facts first, address outside the DHCP pool, all four fields exact — it takes five minutes and never moves again.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 6 minute read
🎥 Full video — see where the gateway, mask and DNS values come from

Printers, DVRs and servers need addresses that never change — but a hand-typed address is also the easiest way to knock a device off the network. The difference between the two outcomes is about three minutes of preparation. Here is the safe order.

Before you type anything — collect the facts (example)
📋 Router address (gateway): 192.168.1.1
📋 Subnet mask in use: 255.255.255.0
📋 DHCP pool range: 192.168.1.100 to 192.168.1.200
✅ Chosen static address: 192.168.1.50 — inside the street, outside the pool

☝️ Every safe static setup starts on paper. The pool range is shown in the router's DHCP or LAN settings page — example values above.

1

First, Write Down the Current Working Values

Never start from memory. On the PC (or for a printer, from its current network report), record what works today: run ipconfig /all and note the IP address, mask, gateway and DNS. Your static entry will copy the mask, gateway and DNS exactly — only the address itself changes, and only slightly.

Also open the router's settings and find the DHCP pool range — the block of addresses it hands out automatically, commonly something like 192.168.1.100 to 192.168.1.200. You need it for the next step.

2

Choose the Address — Inside the Street, Outside the Pool

Three rules decide the address:

  1. Same street: with mask 255.255.255.0 and gateway 192.168.1.1, your address must start 192.168.1.
  2. Outside the DHCP pool: if the pool is .100 to .200, choose something like .50. An address inside the pool can later be handed by DHCP to another device — an IP conflict waiting for its day.
  3. Never the reserved ends: not .0 (the network name) and not .255 (broadcast), and not the gateway's own address.
3

Type It In — All Four Fields, Exactly

  1. Open Settings → Network & internet, choose your adapter, and edit the IP assignment to Manual
  2. Turn on IPv4 and fill in: your chosen IP address, subnet mask 255.255.255.0, gateway 192.168.1.1
  3. Fill DNS with the router address, or a public DNS like 8.8.8.8, plus a second one if the screen offers it
  4. Save, then immediately test: ping the gateway, then open a website by name

Testing by name matters: pinging the gateway only proves the door. A website proves address, gateway and DNS all at once.

4

If It Breaks, Roll Back Without Panic

A static entry is fully reversible. Switch the assignment back to Automatic (DHCP) and the device returns to exactly how it was — no damage is possible from a wrong try, as long as you wrote down the original state first.

And keep a small register if you manage an office: device, address, date. The second static device is where memory starts failing, and a register is what stops two printers from being given the same number six months apart.

⚠️ The one warning that matters: if another device already holds the address you typed, Windows shows an IP address conflict and one or both devices drop off the network. It is not a disaster — change the last number and test again — but in a running office it is exactly the kind of self-inflicted outage the outside-the-pool rule exists to prevent.

🎥 Watch the Full Video

Watch the video first for the four values you will copy — knowing what mask and gateway mean makes every field on this screen obvious.

▶️ Watch Full Video
❓ Frequently Asked Questions

What IP address should I choose for a static device?

One that is inside your subnet but outside the router's DHCP pool. For example, with gateway 192.168.1.1, mask 255.255.255.0 and a DHCP pool of 192.168.1.100 to 192.168.1.200, an address like 192.168.1.50 is a safe choice. Never use .0, .255, or the gateway's own address.

What happens if I set a static IP that another device already has?

An IP address conflict. Windows warns about it, and one or both devices lose network access until one address is changed. This is why addresses are picked outside the DHCP pool and recorded in a small register.

Can I undo a static IP if something goes wrong?

Yes, completely. Change the IP assignment back to Automatic (DHCP) and the device returns to its earlier state. Nothing about a static entry is permanent — which is why writing down the original values before you start makes the whole job risk-free.

This guide is based on the Technical Anshu video on IP, DNS, gateway and subnet mask • Stuck on a step? Ask in the video comments — you will get an answer there 🙏