This guide explains how to configure a static IP address on Windows so the computer always uses the same IP address inside the local network (LAN).
A static IP provides predictable and stable local networking.
It does not affect internet connectivity, VPN addresses, or public IPs.
Applies to both:
Configuring a static IP changes how the computer connects to the local network.
Incorrect values may cause:
Before continuing, make sure you know your current network information.
Before configuring a static IP, you must know:
If you do not know these values, follow this guide first:
→ How to find network information on Windows
Do not continue until you have this information.
The static IP you choose must:
Example network:
192.168.1.1255.255.255.0192.168.1.50Avoid using:
Static IP configuration is done through the network adapter settings.
This will open the classic network adapters window.
Select Use the following IP address and enter:
IP address
The static IP you chose (example: 192.168.1.50)
Subnet mask
Same as your current configuration (example: 255.255.255.0)
Default gateway
Router IP address (example: 192.168.1.1)
Then select Use the following DNS server addresses and enter:
Preferred DNS server
Router IP or a public DNS server
Alternate DNS server
Optional
Common public DNS servers:
1.1.1.18.8.8.8Apply the changes.
After saving the configuration:
This ensures the new IP configuration is applied correctly.