Contents
- What setting a fixed local IP means
- DHCP reservation or static IP: which is better?
- What to check before choosing an address
- How to set a fixed local IP in the router
- How to set a static IP manually
- How to do it on Windows
- How to do it on macOS
- How to do it on Android or iPhone
- Common mistakes to avoid
What setting a fixed local IP means
A fixed local IP means one device keeps the same private address inside your home or office network. Instead of receiving a new address automatically from time to time, the device stays reachable at a predictable address such as 192.168.1.50.
Local IPs are normally assigned automatically by DHCP. That is convenient for phones and laptops, but it can be annoying for devices you want to find again later, such as printers, NAS boxes or cameras.
Key idea: setting a fixed local IP only changes the private network inside your home or office. It does not change your public IP.
DHCP reservation or static IP: which is better?
In most cases, DHCP reservation in the router is better. The router still manages the network, but it always gives the same local IP to the same device.
Recommended
DHCP reservation keeps address control in the router and lowers the chance of conflicts.
Alternative
Manual static IP works, but you must enter IP, subnet mask, gateway and DNS correctly.
Manual static IPs are useful in special cases, but for everyday home networks, router reservation is the cleaner little traffic conductor.
What to check before choosing a fixed local IP
Before changing anything, check the basic network details. This avoids the classic “it was working until I touched it” gremlin.
- Find your router IP or default gateway, for example 192.168.1.1.
- Check the current local IP of the device you want to keep stable.
- Choose an IP in the same local range, such as 192.168.1.50 if your router is 192.168.1.1.
- Prefer an address reserved by the router or outside the automatic DHCP pool if your router shows that option.
- Make sure the address is not already used by another device.
Need the router address first? Start with Router IP or try common router pages like 192.168.1.1 and 192.168.0.1.
How to set a fixed local IP in the router
This is the best route for most users. The router keeps using DHCP, but it reserves the same IP for the same device, usually based on the device MAC address.
- Open the router admin page.
- Look for LAN, DHCP, address reservation, static lease or reserved IP.
- Find the device by name, current local IP or MAC address.
- Assign a safe local IP, for example 192.168.1.50.
- Save the change and reconnect or restart the device if needed.
Example:
Router: 192.168.1.1
Printer: reserve 192.168.1.50
NAS: reserve 192.168.1.60
IP camera: reserve 192.168.1.70
The exact menu name changes by router brand, but the idea is the same: the router remembers that device and always hands out the same local address.
How to set a static IP manually
The second option is to configure the IP directly on the device. This can work well, but you need to enter the network values correctly.
- Choose a free IP inside your local network range.
- Enter the subnet mask, often 255.255.255.0 in small networks.
- Set the gateway, usually the router IP.
- Set the DNS servers.
- Save and test access to the local network and the internet.
Important: never guess a random address. A static IP must belong to the same network as the router and must not be used by another device.
How to set a fixed local IP on Windows
On Windows, use the network adapter settings. Router reservation is still easier, but manual IPv4 settings are available when needed.
- Open Settings or Control Panel.
- Go to Network & Internet.
- Open the active Wi-Fi or Ethernet adapter.
- Open IPv4 properties.
- Select Use the following IP address and fill in IP, subnet mask, gateway and DNS.
First find your current values here: How to find your local IP on Windows.
How to set a fixed local IP on macOS
On macOS, the manual IP option is inside the network settings for the active connection.
- Open System Settings.
- Go to Network.
- Select the active Wi-Fi or Ethernet connection.
- Open the TCP/IP settings.
- Change IPv4 configuration to manual and enter the IP, subnet mask and router.
First check your current local address here: How to find your local IP on macOS.
How to set a fixed local IP on Android or iPhone
Phones can use manual IP settings for a saved Wi-Fi network, but it is usually only useful for testing or special setups.
Android
Open the saved Wi-Fi network, look for advanced options and change IP settings from DHCP to static.
iPhone
Open the Wi-Fi network details, go to Configure IP and switch from automatic to manual.
For a phone you use mostly at home, a router reservation is normally more robust than manual phone settings.
Common mistakes when setting a fixed local IP
Using an IP that already belongs to another device
That creates an IP conflict. Two devices on the same local network should not use the same address.
Choosing an address outside the local range
If your router is 192.168.1.1, a device address like 10.0.0.50 probably does not belong to the same network.
Entering the wrong gateway
The gateway should usually be the router IP. If it is wrong, the device may connect locally but lose internet access.
Forgetting DNS
The connection may look alive, but websites may fail to load if DNS settings are wrong.
Safe rule: reserve the address in the router when possible. Manual static settings are useful, but they leave more room for tiny network goblins.
If DHCP still feels fuzzy, continue with What is DHCP?.
Frequently asked questions
Is it better to set the IP on the router or on the device?
In most cases, it is better to set it on the router with DHCP reservation. It is cleaner, easier to manage and reduces configuration errors.
Why would I want to set a fixed local IP?
It keeps printers, NAS devices, IP cameras, smart home devices, local servers or remote access tools available at the same internal address.
Does a fixed local IP affect my public IP?
No. It only affects your private local network. Your public IP is the address visible to websites and external internet services.
What values do I need for a manual static IP?
You need a free local IP, subnet mask, default gateway and DNS servers. The default gateway is usually your router IP.
What happens if I configure it incorrectly?
The device can lose local network access, lose internet access or create an IP conflict with another device.
Can I do this on Android or iPhone?
Yes. Both can use manual IP settings for a Wi-Fi network, but for long-term stability a router reservation is usually safer.