How to Assign Static IP Address to Your Devices

By default, your router assigns dynamic IP Address to every device that connects to it. This is called DHCP (short for Dynamic Host Control Protocol). But sometimes, we need our devices to have same IP address (i.e. Static IP) every time it connects to the network.

Assign Static IP-Address

Related: 5 Ways To Kick People Off Your WiFi Network

There are several reasons why you want to assign a Static IP address to your devices.

Like, you want to —

  • Access your computer from the Internet.
  • Share data between two devices on the same network.
  • Quickly access your Network Printer or NAS.
  • Use your computer as a media server.
  • Or your work WiFi requires you to use Static IP address.

What IP address should you choose?

If two devices on the network have the same IP address, then there will be conflicts. The Internet won’t work on one of them or both, depending on your router. So, it’s important to assign a unique IP address to your computer. There are a couple of ways to pick an unused IP address.

For instance– first find your device’s IP address, say it’s; then keep the first three values (i.e. 192.168.1) as it’s and replace the last digit with some far number like Though make sure the last digit should be between a 0-255 range.

Related: How to Find IP Address of Any Device

How to Assign static IP address?

Assigning Static IP address to most devices is easy, just go to its network settings, look for DHCP option and turn it OFF. Once you do that, you’ll see a text area to enter Static IP address. Enter the new IP address there, save changes and that’s it.

So let’s see how to Assign Static IP address to various Operating Systems

#1 Assign Static IP Address in Windows 10/8/7

Open your cmd, type in ipconfig and hit enter. You’ll see a bunch of text, make a note of the values next to Subnet Mask and Default Gateway. We’ll need this later on. (see screenshot)

Now, click on Start Menu > type in Network and Sharing Center and hit enter.

A new window will open, click on Change Adapter Settings >  Right Click on your current Network Adapter ( like WiFi) and choose Properties > a new window will open, here click on Internet Protocol Version 4(TCP/IPv4)  then Properties  > Use Following IP address.

Enter the IP address you want and for Subnet Mask, Default Gateway, and DNS, enter the same values that you have copied from the cmd window. Next, click on OK to save changes.

To switch to dynamic IP, click on Obtain the IP address automatically.



#2 Assign Static IP Address in MAC

From the Apple menu, select System Preferences > select Network > select an active network interface, like if you are connected to WiFi then choose Wi-Fi > next click on Advanced.

A new window will open, select TCP/IP tab > from the Configure IPv4 menu, choose Manually > Enter a static IP address in the IPv4 Address > leave the Subnet Mask and Router field as default > save change by clicking on OK > Apply.

To switch to dynamic IP, choose the DHCP from the Configure IPv4 menu.



#3 Assign Static IP Address in Android

On your Android phone or tablet, go to Setting  > WiFi > Tap and hold on the WiFi network for which you want to get Static IP address > Modify network > Show advanced  > enter a static IP address. Leave the Default Gateway and DNS1/2 as default and tap on Save.

In some Android version (like Android N beta), the save settings option is unselectable. In such case, you can use third party app like WiFi Static. It’s free and doesn’t require ROOT.

To switch to dynamic IP, choose the DHCP from the drop down menu and save changes.


#4 Assign Static IP Address in iOS

On your iPhone or iPad go to Settings > General > Wi-Fi and look for the network name you are connected to, then tap the little (i) button next to it to get more information about that network.

A new screen will slide in, scroll down to DHCP and note down your Subnet Mask and Router IP address. Then tap on the Static tab and enter the desired IP address and in the submit mask and router IP address enters the settings that you were using in DHCP. And go back to save changes.

To switch to dynamic IP, choose the DHCP tab and go back to settings to save changes.


#5 Assign Static IP Address on Router Level

Other devices (like your Wireless Printer, PS4, NAS, IP Camera, Raspberry Pi, etc.) do not have an easy way to configure the network configuration. So, to assign Static IP Address to them, you need to make changes on router level.

Start by typing your Router’s IP address in your web browser > next, enter username and password. Now every router has a different web UI, but the overall structure is same. Basically,  you will have to link the IP Address to the Mac Address of the device. So, look for IP Mac binding or DHCP Static IP option (or Google it with your router’s model). Once you find it, enter the

Once you find it, enter the Mac address of the device (like your Printer or IP Camera) and desired IP Address and click on Add. If you don’t know the Mac Address of the device, look at the box or DHCP client list in your router settings.



Also Read: How To Change DNS on Windows|Mac|Android|iOS

About Mrinal Saha

Mrinal is a tech geek who spends half of his day reading and writing about tech. While the nights are spent on shooting or editing YouTube videos. Feel free to geek out with him on-