Contact Us

Setting up static IP address in Windows 10

Reading Time: 4 min

Tags:  Windows

Setting up a static IP address is useful if you want other devices in the local network to initiate a connection to your computer.

External (public) IP Address vs Local IP Address

Each device you connect to your router has its own local IP address. These addresses are unique within your local network. But since local addresses use a small address range they are not unique globally. There will be many devices around the world which has the same local address as your computer. So local addresses cannot be used to send packets over the internet. This is where the external IP address comes in. An external IP address is the address of your routers interface with the internet.

The IP packets leaving your computer will have the local IP address as its source IP address. If the packet is destined for the internet, the router will replace the local address with the external address before sending it off. A reverse translation takes place when a packet arrives at the router from outside.

The external IP address can be static or dynamic. But this is determined by your ISP. This article is about setting the local address of your computer.

Static Local Address vs Dynamic Local Address

By default, Windows obtains a dynamic address from the router via DHCP. Dynamic addresses are convenient because all our devices get unique addresses automatically without the need for any configuration. Static addresses provide us with more networking options but it requires configuration. With static addresses, we have to make sure that we don’t end up with duplicate addresses.

Gather some information

Before we start, we need to gather some information about our current network configuration.

Output of ipconfig command

Find a suitable IP address

 Here comes the tricky part. We need to find a suitable static IP address.

Why can’t we use the old IP address returned by the ipconfig command?

The old dynamic address was assigned to us automatically by the router. It belongs to a range of IP addresses used by the router for DHCP. To be on the safer side, we need to choose an IP address that is beyond the DHCP range of the router. Otherwise, the router might assign the IP address to some other device before our computer gets a chance to latch on to it.

You don’t need to bother about DHCP ranges if any of the following apply to you.

Steps

Steps required to find the DHCP range differ between routers. I will describe the steps for my Tenda router. That should give you a reasonable idea as to how to go about it on other routers.

Set static IP address

IP setting with DHCP enabled
Manual IP Adrress configuration

Share