What configuring an IP address means and when you need to do it
Configuring an IP address means telling your device what number to use on your network so other devices can find and communicate with it. Most of the time your router assigns this number automatically — a process called DHCP — and you never think about it. You need to set a static IP address (one that does not change) when you want a device to stay reachable at the same address, such as a printer, security camera, home server, or a computer you access remotely.
The steps differ depending on whether you are using Windows, macOS, Linux, or a mobile device, and whether you want to set the address on the device itself or reserve it at your router. Both approaches work; setting it at the router is simpler if your device supports it, while setting it on the device gives you more control.
Key Takeaways
- A static IP address stays the same each time your device connects, making it reachable for printers, cameras, and remote access.
- You can set a static address either on the device itself or by reserving an address at your router — reserving at the router is usually easier.
- On Windows, go to Settings > Network > Advanced Network Settings > IP Settings and choose Manual; on macOS, use System Settings > Network and select Configure IPv4 Manually.
- When setting an address manually, use a number in your router's DHCP range but outside the pool it assigns automatically, typically something like 192.168.1.100 to 192.168.1.254.
- After you set a static address, test it by pinging the device from another computer to confirm it is reachable.
Setting a static IP address on Windows
On Windows 10 or 11, open Settings and go to Network & Internet. Click on the network you are connected to, then scroll down and select Advanced Network Settings. Find the IP Settings section and click Edit. Change the dropdown from Automatic (DHCP) to Manual, then turn on the IPv4 toggle.
Enter an IP address in the format your router uses — usually 192.168.1.X, where X is a number between 100 and 254. For example, 192.168.1.150. Enter your subnet mask, which is almost always 255.255.255.0. Enter your default gateway, which is your router's address — usually 192.168.1.1. Add a DNS server address; you can use 8.8.8.8 (Google's public DNS) or 1.1.1.1 (Cloudflare's), or ask your internet provider for theirs. Click Save.
If you are on an older version of Windows or prefer the traditional method, right-click the network icon in the system tray, select Open Network & Internet Settings, then Network and Sharing Center. Click Change Adapter Settings, right-click your network connection, select Properties, double-click Internet Protocol Version 4 (TCP/IPv4), and enter the same information in the dialog that opens.
Setting a static IP address on macOS
Open System Settings and click Network in the sidebar. Select your network connection from the list on the left, then click Details. Go to the TCP/IP tab and change Configure IPv4 from Using DHCP to Manually.
Enter an IP address using the same logic as Windows — a number in your router's range but outside what it assigns automatically, such as 192.168.1.150. Enter the subnet mask (usually 255.255.255.0) and router address (usually 192.168.1.1). If you want to specify DNS servers, click the DNS tab and add them there. Click OK to save.
Reserving an IP address at your router instead
Many routers let you reserve an address for a specific device without touching the device's settings. This is often simpler because you do it once in one place, and the device continues to work normally. Open your router's admin page by typing its address into a web browser — usually 192.168.1.1 or 192.168.0.1, or check the label on the router itself.
Log in with your router's username and password (the default is often admin/admin, but check your router's documentation). Look for a section called DHCP Reservation, DHCP Server, or Address Reservation — the exact name varies by manufacturer. Find the device you want to reserve an address for, usually by its name or MAC address, and assign it a static address in the same range you would use on the device itself.
This method works well for devices like printers and cameras that you cannot easily access to change settings. The device still uses DHCP, but your router always gives it the same address.
Choosing an IP address that will not conflict
Your router's DHCP server automatically assigns addresses from a pool — often 192.168.1.100 to 192.168.1.254. If you set a static address within that pool, your router might try to assign the same address to another device, causing a conflict. To avoid this, either set your static address outside the pool (like 192.168.1.50 or 192.168.1.200 if the pool starts at 100) or reduce the DHCP pool size in your router settings to leave room for static addresses.
Check your router's DHCP settings to see what range it uses. Most home routers let you change this in the DHCP configuration section. For example, you could set the pool to 192.168.1.100 to 192.168.1.150 and reserve 192.168.1.151 to 192.168.1.254 for static addresses. This prevents conflicts and keeps your network organized.
Testing your static IP address
After you set a static address, verify it is working by opening a command prompt or terminal on another computer and typing ping 192.168.1.150 (replace 150 with whatever address you set). If the device responds, the address is configured correctly and reachable on your network.
If the ping fails, check that the device is powered on and connected to the network. On the device itself, open a command prompt or terminal and type ipconfig (Windows) or ifconfig (macOS/Linux) to confirm the address was actually set. If it shows a different address, the device may have reverted to DHCP, or your changes did not save — go back and verify your settings.
Frequently Asked Questions
What is the difference between a static IP address and a reserved one?
A static IP address is set on the device itself and stays the same no matter what. A reserved address is set at your router and tells the router to always give that device the same DHCP address. Both achieve the same result — a device that stays at the same address — but reserving is usually easier because you configure it once at the router.
Can I use any IP address I want?
No. You must use an address in your local network range, which is usually 192.168.1.0 to 192.168.1.254 for home networks. The first three numbers match your router's address, and the last number is what you choose. Using an address outside this range will not work on your network.
What happens if two devices have the same IP address?
Both devices will have trouble communicating on the network, and one or both may lose connection. This is called an IP conflict. To fix it, change one device's address to something unused. You can avoid this by setting static addresses outside your router's DHCP pool, or by using reservation instead of manual configuration.
Do I need to restart my device after setting a static IP?
Usually not — the change takes effect immediately. However, if a device does not seem to recognize the new address, restarting it will force it to use the new configuration. You can also unplug the device for 10 seconds and plug it back in.
Can I set a static IP on my phone or tablet?
Most phones and tablets do not let you set a static IP directly in their settings. Instead, use your router's DHCP reservation feature to assign a fixed address to your phone's MAC address. Your phone will still use DHCP, but your router will always give it the same address.