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 the same IP address (i.e. Static IP) every time it connects to the network. Reason being,
- 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 192.168.1.7 ; then keep the first three values (i.e. 192.168.1) as it’s and replace the last digit with some far number like 192.168.1.222 . Though make sure the last digit should be between a 0-255 range.
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 IP Address on Windows 10/8/7
You can do this quickly through the command line. You will need to first find your subnet mask, default gateway, and network adapter name. In my case, I’m on a Wi-Fi network, so the adapter name is Wi-Fi. To find yours just type the following command.
Once you get the output, find for the Network Adapter which has IP listed under it. The adapter name is a one-word name suffixed to the end of the Network Title. You will also need the Subnet mask and the Default Gateway Address.

Once you have the adapter name, Subnet Mask and Default Gateway, run the following command.
Wherein, Wi-Fi should be replaced by your adapter name and the IP, subnet mask and gateway address according to your configuration.

This will change your IP address from DHCP to manual with the static IP address you have specified.
In case you find it too confusing, you are not alone. You can do the same via GUI which is much more intuitive. You’ll need the Subnet Mask and Default Gateway Address . You can refer to the above step on how to find these details. Once you have noted down the address, click on Start Menu and type in Network and Sharing Center. Click once you see the Network and Sharing Center Icon.

Alternatively, if you are in Windows 10 then you can right-click on the Start menu and click on “ Network Connections “.

A new window will open, click on Change Adapter Options.

Right Click on your Current Network Adapter ( like WiFi) and choose Properties.

When the new window pops up, select Internet Protocol Version 4(TCP/IPv4) and click on Properties.

Once you get the pop-up window, select “ Enter the IP address you want ” and fil the IP Address, For Subnet Mask , and Default Gateway Address enter the values that you have noted down previously. Next, click on OK to save changes.

To switch to dynamic IP, click on Obtain the IP address automatically. Once this is enabled, your system will start picking an IP address dynamically from the router.
2. How to setup static IP on Ubuntu
On Ubuntu, you can set a static IP Address via the terminal or GUI. Firstly, let’s start with the command line. Right-click anywhere on the desktop to open the terminal.

Once the terminal window opens, we need to run a command. We need the subnet mask and network adapter name in order to set a static IP and to get that, run the following command on the terminal.

Once you have the subnet mask noted down, in my case, it’s 255.255.255.0, we can proceed further.
It is pretty simple and straight forward. We need to open the Network Adapter settings. To do that, click on the Network Icon at the top right corner of the desktop.

Now, navigate on the active network and click on the expand button for more options. Click on Wired Settings to open the Network menu.

Once you get the Wired Settings dialogue, make sure you are on the Network page. Click on the Settings icon beside the active network to open the adapter properties.

When you get the pop-up, navigate to the IPv4 tab to change the IP settings.

On the IPv4 tab, select the radio button which says “ Manual “. Some text fields will appear, you need to enter the IP address, Netmask and Gateway accordingly. Once it is validated, you can click on the Apply button to register the changes.

Again you need to restart the network for the changes to take effect. You can do it manually via command line or just switch off and switch on the Network adapter. Once done, run ifconfig on the terminal to check the IP address. It should be the same IP address which you have specified earlier.

3. How to setup static IP on Mac
If you are on macOS, setting static IP is quite similar to that of Ubuntu. But, here you don’t need the subnet mask or Default Gateway Address. Right click on the apple icon at the top left corner of the desktop. Click on System Preferences from the dropdown list.

Once the System Preferences dialogue box displays, navigate to Network and click on it to open the Network Settings

Alternatively, you can also hit Cmd+Space to trigger the Spotlight search. Type “ Network ” in the search bar and click on the icon once it appears. This will directly navigate you to the Network Settings.

From the pop-up window, select an active network interface. For example, I am connected to a WiFi network so my active network is Wi-Fi. Make sure you are on the active network tab and then click on Advanced .

A new window will open the configuration settings for that adapter. Move over to the IP settings by clicking on the TCP/IP tab .

From the Configure IPv4 menu, choose Using DHCP with manual address. Enter a static IP address in the IPv4 Address and leave the Subnet Mask and Router field as default. Click Ok to save the changes.

Now when you do an ifconfig, the system should be using the static IP you have defined in the previous times. If the IP’s have not changed, try restarting the Wi-Fi and it should fix it.
To switch back to dynamic IP, move back to “ Using DHCP ” from the Configure IPv4 menu.
4. How to setup static IP on Android

The network which you are connected to should be on top of the list. Tap on the settings icon beside the Wi-Fi network name.

Once the pop-up opens, you will see IP settings at the bottom of the menu. The default option is “DHCP”. Tap on it to change the IP configuration.

Select “ Static ” from the presented drop-down menu. Enter the desired IP address and leave the other options as default. Make sure that other devices are not using the same IP. You can see the IP address of the other devices in your network by using a small utility called Fing . For a detailed process, check our article on how to find the IP Address of any Device on your network . Once you have entered the IP, click on Save to register the change. Now, your Android phone should start using the desired IP Address.

In almost all the Android version, you get the option to set static IP Address. For some rare older Android versions, you can use a third-party app like WiFi Static . It’s free and it doesn’t require ROOT.
To switch back to dynamic IP, repeat the same procedure and select “DHCP” from the IP settings instead.
5. How to setup static IP on iPhone and iPad
If you are using an iPhone or iPad, then you can set static IP Address natively. You would need the Subnet Mask of your network. This can be obtained from the Wi-Fi settings and we would see to it in the further steps. To get started, click on the Settings icon in the dock to get to the Settings menu.

Now on the Settings menu page, tap on Wi-Fi to get to the Wi-Fi settings.

On the Wi-Fi page, you should see your connected Wi-Fi network at the top. Click on the “i” button beside it. This will open the Wi-Fi configuration window.

Once the Wi-Fi settings page appears, you will see an option called “ Configure IP “. By Default, this would be set to automatic. Just below this option, you will see “ Subnet Mask “, note it down as we will need it in the further steps. In order to set static IP, we need to change Configure IP it to Manual. Tap on it and it will open the IPv4 settings page.

There should be 3 options available on the “Configure IPv4” page. Select “ Manual ” from it. As soon as Manual IP is enabled, you will get extra text fields at the bottom to enter the IP Address, Subnet Mask, Router. We need to fill in the IP Address of our choice and Subnet Mask which we noted down in the previous step. Now, after you fill both the fields, the save button at the top right corner will be enabled. Click on it to save the static IP configuration.

Now, when you return to the Wi-Fi settings page, you will see your device is using the Static IP address. This should be the same IP address we have set in the IP configuration menu.

This static IP address will be applicable only to that particular Wi-Fi network. In case, you connect to some other Wi-Fi network the IP will change accordingly.
6. How to setup static IP to any Device from Router
Other network devices like your Wireless Printer, PS4, NAS, IP Camera, Raspberry Pi , etc. do not have an Interface. Hence, in order to configure the network, either you have to connect remotely or use the router. If you have access to the router, setting Static IP for network devices is the easiest and convenient way. I would recommend this method over any other.
So, to assign a Static IP Address to any network device, you need to login to the web portal of the router. The web portal address, username, and password are mostly printed behind the router. In case you don’t have physical access to the router, the web portal URL is mostly the PC’s gateway address. To find that, open command prompt and type the following command.
Once you have the web portal loaded, log in with the credentials. Now every router has a different web UI, but the overall structure is the same. Basically, you will have to link the IP Address to the Mac Address and Hostname of the device. So, we need to find the MAC address & Hostname of the network device. To do that, look for DHCP client list which should look something like the following screenshot.

You can get your MAC Address & Hostname under DHCP Client list. Once, you have the MAC address & Hostname noted down, we can proceed further. On most of the routers, you will have the option to set a Static IP under the section IP Mac binding or DHCP Static IP option. In case you are on a custom ROM like dd-wrt, head over to Services tab and you will have DHCP Server . Under DHCP Server, add an entry for Static Leases by clicking on the Add button.

Clicking on the Add button will create a new row. You have to enter the MAC Address, Hostname, desired Static IP and Lease time . Lease time is a unit in minutes after which your IP will be renewed. Since we are adding only 1 entry for the particular host the IP will be the same even after the renewal. Once, done click on Save changes .

Once you have configured successfully on the router, just restart the Wi-Fi on the device. When it connects it should start using the static IP. In case of issues, make sure that you have the correct MAC Address and Hostname. To check, just run the command ipconfig or look back again in the router’s DHCP client list.

These changes are written to the ROM so restarting the router won’t make changes to the static IP configuration. In order to get back to Dynamic IP, just remove the entry from the IP leases.
What’s next
Once you have started configuring the IPs on Router and network devices, you are good to go configure telnet and SSH. Have a look at our brief article on How to Enable Telnet Server in Windows 10 , Best SSH clients for iOS To Manages Remote Servers and 6 Best FTP Clients For Android . A word of caution would be to note down the static IPs assigned to devices as assigning the same IP to two network devices would render them useless.
Also Read: How To Change DNS on Windows|Mac|Android|iOS
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-
You may also like
How to use snapchat on web (pc and..., how to generate backup codes from google, 2 ways to add multiple links in instagram..., how to use new bing chat powered by..., how to remove phone number from instagram account, 10 things new ai bing chat can do..., how to sign out of amazon on all..., how to setup youtube premium family plan, how to see saved items on facebook marketplace, how to get microsoft teams status change notifications.
How to Set a Static IP Address
August 2021
There are many reasons that you may need to change and set a static IP address for your IP device, such as a managed switch , wireless router , or outdoor access point . One reason is because an installation scenario doesn’t have an active network with DHCP services. Some other reasons you may need to set a static IP are because you use a dedicated web server, host server, VPN, or VoIP services.
Setting static IP addresses can help to avoid network conflicts which could cause certain devices to stop working correctly. However, in most installation scenarios, users will use a regular network and will not need to use a static IP. Setting a static IP address is an advanced networking function, and a basic, fundamental knowledge of TCP/IP is needed.
In general, statically address devices outside of your DHCP pool range, which in most home networks is your router . For reference, the DHCP pool range for TRENDnet products is usually (but not always) 192.168.10.101 to 199.
1. Access the Control Panel
In the Windows search bar, type in “ncpa.cpl” and then press enter.

If you are not using Windows 10, follow the steps below instead.
- On your keyboard, press the “Windows” and “R” keys at the same time.
- Enter “ncpa.cpl” in the window that pops up.
Note: Network connections will display the network adapters that are currently connected to your computer.

2. Select the Network Adapter
Right click on the network adapter that is currently connected to the device that you are trying to configure. Usually, it will be the adapter with the word “Ethernet” in the name.

3. Select Properties
Select “Properties” from the drop-down menu.

4. Select Internet Protocol Version 4 (TCP/IPv4)
Double-click on “Internet Protocol Version 4 (TCP/IPv4)”.

5. Manually enter IP address and subnet mask
Select “Use the following IP Address” and then input the following information in the corresponding fields:
IP address: Check the device that you are connected to in order to locate the IP address. The first three sets of digits should match. For this tutorial, we will use IP address 192.168.10.10.
Subnet mask: The subnet mask between the device that you are trying to connect to needs to be the same as your PC. For this tutorial, we will use subnet mask 255.255.255.0

6. Save Settings
Click the OK button on “Internet Protocol Version 4 (TCP/IPv4) Properties” window, and also click the OK button on “Ethernet Properties” window.
Note: The OK buttons must be clicked in both instances or your settings will not be saved.
7. Revert Back to DHCP
To set your computer back to DHCP, repeat steps 1-4 again. When you get to the “Internet Protocol Version 4 (TCP/IPv4) Properties” window, click “Obtain an IP address automatically”. This will allow your PC to be assigned a random IP address on your network.

Operating System The operating system (often shortened to OS) is the software your computer or mobile device uses to perform basic functions. Microsoft Windows, Apple macOS, and Linux are the most popular operating systems for computers and laptops, with Android and iOS for mobile devices.
Browser A browser (short for web browser) is a software application that allows you to access the internet. Some of the most popular browsers are Chrome, Safari, Edge, Internet Explorer, and Firefox.
Network Adapter A network adapter allows a device to communicate and connect to a local area network (LAN), the internet, or other computers. Network adapters can be wired or wireless , and they can be visible or hidden from plain sight.
IP Address An IP address is a unique identifier for devices that access the internet or devices on a local area network. It uses a string of numbers and/or letters with periods or colons. To identify your IP address, type “what is my ip” into a search engine, like Google or Bing. You can also visit whatismyipaddress.com or whatismyip.com .
Dynamic IP address A dynamic IP address is an IP address that can change over time. Your IP address may change each time you connect. Most IP address assigned by your ISP will be dynamic IP addresses.
Static IP address A static IP address (also referred to as a manual IP address or static IP configuration) is an IP address that remains unchanged over time. Your IP address remains the same (or static) each time you connect (from the same location). Your IP address may change if you connect to a different network in a different location.
- {X-HTML Replaced}
How to Set Up a Static IP Address
DHCP is fine, unless you're looking to perform advanced networking tasks. Here's how to set a Static IP address (or DHCP reservation) for any device on your network.

An IP address is a unique identifier for a specific device on your network. Your router assigns them to these devices using Dynamic Host Configuration Protocol (DHCP). As you connect new devices to the network, they will be assigned the next IP address in the pool, and if a device hasn't connected in a few days, its IP address will "expire" so it can be assigned to something else.
For everyday use, this is perfectly fine, and you will never even notice it happening in the background. But if you regularly SSH into your Raspberry Pi , turn your computer on from across the house with Wake-on-LAN , or perform other advanced networking tasks, DHCP can become an annoyance.
It's hard to remember which IP address is assigned to which device, and if they ever expire, you have to look it up all over again. This is where a static IP address comes in handy. Here's how to set them up.
What is a Static IP Address?
Instead of letting your router assign whatever IP address is free at any given time, you can assign specific IP addresses to the devices you access frequently. For example, I have my home server set to 192.168.1.10, my main desktop to 192.168.1.11, and so on—easy to remember, sequential, and unchanging.
You can assign these static IP addresses on the device itself—using, say, Windows' network settings on each computer—or you can do it at the router level. If you do it through the router, it will likely be called a DHCP reservation, though many people (and even some routers ) still refer to it as a "static IP address."
DHCP reservations allow you to easily set everything up in one place with all your computers left at their default settings. Your computer will ask for an IP address via DHCP, and your router will assign it the one you reserved, with your computer being none the wiser.
How to Set Up a DHCP Reservation
To set up a DHCP reservation, you need to know your IP address , which is easy enough to find out. You must then head to your router's configuration page —usually by typing its IP address in your browser's navigation bar—and log in. (For mesh Wi-Fi systems , you would use an app instead of a config page.)
The location is different for every config page, but you're looking for something called "DHCP reservations," "static IP addresses," or similar. On my Asus router, for instance, it's in the LAN settings category.
To assign a reservation, you need the MAC address of the device in question. This is a unique string of characters that identifies a particular network adapter, and you can usually find it in your router's list of connected devices . Make sure you're getting the MAC address for the correct network adapter—if you have both Ethernet and Wi-Fi on your computer, you have one MAC address for each.
On your router's config page, enter an easy-to-remember label for the device (like "Whitson's Desktop PC"), the MAC address, and your desired IP address. Save your changes, and repeat the process for any other IP addresses you want to reserve.
From then on, those devices should have your reserved IP addresses assigned to them, and you will never have to look them up again.
Like What You're Reading?
Sign up for Tips & Tricks newsletter for expert advice to get the most out of your technology.
This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy . You may unsubscribe from the newsletters at any time.
Your subscription has been confirmed. Keep an eye on your inbox!
Dig Deeper With Related Stories
Pcmag stories you’ll like, about whitson gordon, contributing writer.

Whitson Gordon is a writer, gamer, and tech nerd who has been building PCs for 10 years. He eats potato chips with chopsticks so he doesn't get grease on his mechanical keyboard.
Read Whitson's full bio
Read the latest from Whitson Gordon
- 5 Ways to Run Android Apps on Your PC for Free
- How to Switch Between Games With Quick Resume on Xbox Series X/S
- Don't Start Over: How to Transfer PS4 Games and Save Data to a PlayStation 5
- How to Turn on Your Computer From Across the House With Wake-on-LAN
- What Graphics Card Do I Have?
- More from Whitson Gordon
- What Is a VPN?
- Download VPN
- Business VPN
- Get NordVPN
Show all categories Hide all categories
How to set up a static IP address
A static IP address can facilitate remote access solutions and enhance network security . Setting up a static IP address is a simple process on most operating systems. In this article, we’ll provide step-by-step instructions for configuring a static IP on all popular systems, as well as using your router.

Malcolm Higgins
Why use a static IP address?
How to set a static ip address in macos, how to set a static ip address on windows 10, how to set a static ip address on android, how to set a static ip address on ios, how to set a static ip address on linux, how to set a static ip address on raspberry pi, how to set a static ip address through a router.
A static IP address can be useful for remote access systems, like virtual private networks (VPNs) and proxy servers.
Unlike dynamic IP addresses, which most devices use, static IPs don’t change. If you’re setting up your own server — for example, if you want to host work resources for employees to access remotely — being able to designate a dedicated IP address can be useful.
Static IP addresses are also great for virtual private networks (VPNs) . If some members of your team work from home while others are in the office, you can host programs and sensitive files on a (with a static IP address), to which team members can connect with a VPN client (an application on their device). Now everyone has secure access to the same resources, wherever they are based. Services like NordVPN also offer their own dedicated IPs which can be used for work purposes.
On some occasions, you may need to change or reset your IP address to resolve errors and other problems, including the IP address conflict on Windows . That’s another way in which being able to change your IP settings is useful.
- Open “About Mac” and select “System preferences.”
- Select “Network” and then choose the network you’re using.
- Select “Advanced.”
- Select “TCP/IP.”
- Select “Configure IPv4” > “Manually.”
- Open “System preferences” > “Network.”
- Select “Advanced” > “TCP/IP” > “WiFi.”
- In the IPv4 address field, input the IP address you want to be static.
- Select “Apply.”
- Open “Settings” on your computer.
- Select “Network and internet.”
- Select your current connection.
- Select “Manage known networks” > “Properties” > “IP settings.”
- Select “Edit.”
- Select “Manual.”
- Select “IPv4” and switch it to “On.”
- Input the IP address you want to be static.
- In the “Subnet prefix length” field, input “24.”
- Type “ipconfig/all” into the window and input your gateway information.
- Select “Save.”
- Open “Settings” and select “Connections” > “Wi-Fi.”
- Select the gear icon which appears beside your current network.
- Select “IP settings” > “Static.”
- Input your static IP address.
- Open “Settings” and select “Wi-Fi.”
- Select “Network.”
- In “IPv4” select “Configure IP” > “Manual.”

Jul 12, 2018

Mar 17, 2022
15 min read
Input the “ifconfig” command, the name of your network interface, and your preferred static IP address.
$ ifconfig [ interface name ] [ ip address ]
For example, let’s say your network interface is called “etho1” and you want to set your IP address to “00.000.00.000” (for obvious reasons, this is not a real IP address). To do this, you would run the following command:
$ ifconfig etho1 00.000.00.000
To verify that the new IP address has been set, run the “ifconfig” command with the name of your network interface. Sticking with the interface name from the example above, it would look like this:
$ ifconfig etho1
A Raspberry Pi computer is a single board computer that’s extremely cost-effective and versatile. Here’s how you can set up a static IP address for the tiny computers.
- Click the Wi-Fi icon on the menu bar.
- Select “Wireless & wired network settings” and open the empty dropdown menu.
- Select a network interface.
- In the “IPv4 address” field, input your static IP address.
- In the “Router” field, input your router’s IP address.
- In “AS DNS servers” input “8.8.8.8.”
- Select “Disable IPv6.”
You can set a static IP address through your router for any device on its network. To do this, you’ll need the MAC address of whatever device you want to configure with a static IP address, and that device must be connected to the router.
NOTE: Different router brands use different systems, so these instructions won’t relate exactly to your router.
- Access your router’s configuration page (this can be done by typing your router’s current IP address into your browser search bar)
- Navigate to a section on the configuration page with a name like “LAN setting,” “static IP addresses,” or “DHCP reservations”
- Input the MAC address of a device on the router’s network
- Input the static IP address you wish to assign to that device
- Save changes
Want to read more like this?
Get the latest news and tips from NordVPN.

- Privacy on any Wi-Fi
- Malware protection
- One account, six devices
- 5,500+ servers in 60 countries
Trending articles
Mar 07, 2023
How to ping an IP address

Charles Whitmore

14 min read
How to check if your VPN is working
Jomilė Nakutavičiūtė
Mar 13, 2023
NordVPN places products under open source license

This website uses cookies. To learn more, visit our Cookie Policy .
- Help Center
- Speakers and Displays
- Nest Thermostat
- Cameras and Doorbell
- Locks and Alarm Systems
- Smoke Alarms
- Subscriptions and Services
- Nest Common Concerns
- Your privacy
- Google Nest
- Privacy Policy
- Terms of Service
- Submit feedback
- Speakers and Displays Get started Explore features Change your settings Troubleshoot an issue Warranty, manual and returns
- Nest Thermostat Introducing Nest thermostats Get started Explore features and settings Fix a problem Warranty, manual & returns
- Cameras and Doorbell Introducing Nest cameras and doorbells Get started Explore features and settings Fix a problem Warranty, manual & returns
- Locks and Alarm Systems Locks Alarm Systems
- Smoke Alarms Introducing Nest Protect Get started Explore features and settings Safety and certifications Fix a problem Warranty, manual & returns
- Wi-Fi Learn about Wifi products Get started Features and settings Fix a problem Warranty, manual & returns Your privacy
- Subscriptions and Services Nest Aware Nest Renew Rush Hour Rewards HVAC monitoring Nest Pro installation ADT
- Nest Common Concerns Nest Products Nest App Accounts Notifications and Emails
To get the most out of Google Home, choose your Help Center: U.S. Help Center, U.K Help Center , Canada Help Center, Australia Help Center .

DHCP IP reservation or Set a Static IP address for a device
When you use DHCP IP reservation, you're telling your Wi-Fi network to assign the same IP address to a specific device whenever that device connects to your network.
Why use DHCP IP reservation or Static IP
Most devices use DHCP, which assigns dynamic IP addresses, as a default. But sometimes, you want devices to always have the same IP address.
For example, a wireless printer. When you print something, your computer and printer locate each other using IP addresses. If your printer’s IP address keeps changing, your computer may not always be able to find it. Giving your printer a static IP address ensures that your computer always knows the address of your printer as it won’t change if it’s rebooted or if a DHCP IP lease expires.
- You'll need DHCP IP reservation (Static IP for your client) if you want to set up port forwarding to that device.
- You can customize the subnet you use under LAN settings (if you prefer to use a different subnet).
- This article applies only to local devices connected to your router (laptop, smartphone, tablet, etc.). They can have static IP addresses that only your router sees. The outside world won’t see these static IP addresses. But your router can also have a static IP address that the rest of the internet sees. Learn about Static IP for your Wifi point’s WAN .
Change your DHCP settings
- Tap the device for which you’d like to assign a static IP.
Note : You may need to disconnect this device from your Wi-Fi network and reconnect it before it is assigned the reserved IP.
Need more help?
Try these next steps:.
Get an answer from an expert on the Google Home Help Forum.

Assign a Static IP Address to a Printer or Any Network Device
A little work to set up but will make life easier
It’s handy and straightforward to let the router use DHCP to decide what IP addresses devices get. We don’t have to pick them, assign them, and better yet, try to remember them.
Devices like printers often have web-based management, which can be configured and maintained from anywhere. That makes printers a top candidate for static IPs .

Why Assign a Static IP Address to a Device?
It seems like more work, yet it does make life simpler and easier. If the device needs to be accessible from other devices, a static IP address is the way to go. Imagine having a web server where the IP address changes daily. It’s like changing your phone number every day.
When thinking of other devices that need to be accessible from anywhere, smart TVs , security systems , home automation , and camera systems come to mind.
Another reason, to a lesser extent, is security. A router can issue hundreds, if not thousands of IP addresses. It doesn’t care whose device it is. By using static IPs and limiting the number of IP addresses available, rogue devices have a harder time getting on the network. It can also help resolve an IP address conflict .
What IP Addresses Can I Use?
The Internet Assigned Numbers Authority (IANA) has set aside the following blocks of IPs for private use . Private use means you can only use the IP addresses in a private network. They aren’t for the outside world. IANA defines the following ranges for private IPs:
- 10.0.0.0 to 10.255.255.255 – equals 16,777,214 IP addresses
- 172.16.0.0 to 172.31.255.255 – equals 1,048,574 IP addresses
- 192.168.0.0 to 192.168.255.255 – equals 65534 IP addresses
If the router is being used already, it has a range. It’s easiest to stick with that range. Some routers pre-define the range.
Make a Static IP Plan
If the network has ten or fewer devices connected, a plan isn’t necessary. Just put them all in a single range, like 192.168.2.10 to 192.168.2.19. Skip the rest of this section.
If the network has more than ten devices, it’s wise to make a plan. This is just one way to make a plan. If it doesn’t work for you, change it.

- Count all the devices that will connect to the network.
- Group the devices by type. For example, there may be 3 phones, 2 smart TVs, 4 cameras and a DVR, 2 IoT devices like smart fridges, and a printer.
- Phones and tablets: 192.168.2.20 to 192.168.2.29
- TVs: 192.168.2.30 to 192.168.2.39
- Cameras and DVR: 192.168.2.40 to 192.168.2.49
- IoT devices: 192.168.2.50 to 192.168.2.59
- Printers: 192.168.2.60 to 192.168.2.69
Some best practices for using ranges:
- Begin a device type IP range with a number ending in zero and end the range with a number ending in 9
- Increment ranges in tens. Any less can become confusing, and you can easily outgrow them. Plus, it allows for additional devices of the same type in that range. If the number of devices is already close to 10, make the range cover 20 IP addresses, like 192.168.2.40 to 192.168.2.59.
- Whatever the router’s IP address is, leave its entire block open for the addition of networking equipment, like other routers, switches, firewalls, etc. For example, if the router uses 192.168.2.1, then reserve 192.168.2.2 to 192.168.2.9 for networking equipment.
- In a spreadsheet, assign the devices their IP addresses. This becomes an inventory of devices and makes it easier to identify the devices on the network. It’s a good idea to assign the first IP in a range to controller devices. For example, the DVR is the controller of the cameras , so it will have an IP of 192.168.2.50.
If you plan it on a spreadsheet, it may look like this:

How to Assign Static IPs to Devices in the Router
- Consult our article on how to find the IP address of the router if you’re using a Mac or not comfortable using the Command Prompt . Select the Start menu and search for CMD . Command Prompt will be the top result, so select it.

- When the Command Prompt window opens, enter the command <pre>ipconfig</pre> and press Enter .

The value for Default Gateway is the IP address of the router. Write this down somewhere.

- Open a web browser and enter the IP address of the router in the location bar , then press Enter . This will open the router’s web-based management page.

Assign Static IPs – Asus Router
- Login to the Asus router, find the LAN button, and select it.

- Select the DHCP Server tab. This router allows for staying in DHCP mode while assigning static IPs to selected devices. If desired, it can be configured to use only static IPs.

- Scroll to the Manual Assignment section. Where it reads Enable Manual Assignment , select Yes .

- Select the drop-down box under Client Name (MAC Address) and choose a device in the Manually Assigned IP around the DHCP list. All devices currently connected to the router are listed. To see devices that you previously connected, select Show Offline Client List .

It will show the device’s current IP address in the IP Address field. This can be left as is, or it can be changed at this point. Add the IP address of a DNS server in the DNS Server (Optional) field, if needed. Select the plus sign button to add the device to the list of manually assigned IP devices. Repeat this for all the desired devices.

Once all the desired devices have been assigned static IPs, select the Apply button to set the changes.

Assign Static IPs – TrendNet Router
- Log in to the TrendNet router and select the Advanced tab.

- In the left-side menu, select Setup , then select LAN Settings .

- Scroll down to the Add DHCP Reservations section. Check the Enable box, then enter the details of the device to receive a static IP address. Ensure the details are correct and then select Add .

- The device just added will show in the DHCP Reservations Ready Group . If everything is correct, select Apply and the device will have a static IP.

Assign Static IPs – Belkin Router
- Log in to the Belkin router and select the Configuration tab. Then under Connectivity select Local Network. Now select the DHCP Reservation button.

- In the DHCP Client Table window, any devices that are currently connected are shown. If it’s the device that requires a static IP address, check the Select box, then select Add Clients .

- In the same window, you can manually add clients as well. First, enter the device details, then select the Add button. Once all the devices requiring static IP addresses are defined, select Save to commit the changes.

What About Assigning Static IPs on Other Routers?
There are at least a dozen router makers out there, and each has several models of routers. It’s just far too many to cover all of them. Reading through the instructions above, though, you’ll see that there’s a pattern; find out where to work with the LAN, look for something named like DHCP Reservation, then follow through to assign IP addresses. If you’re running into issues, please let us know. One of our writers or knowledgeable readers will likely have the answer.
Guy has been published online and in print newspapers, nominated for writing awards, and cited in scholarly papers due to his ability to speak tech to anyone, but still prefers analog watches. Read Guy's Full Bio
Read More Posts:

Subscribe to Online Tech Tips
Join 25,000+ others who get daily tips, tricks and shortcuts delivered straight to their inbox.
Thanks for subscribing!
We will never spam you, unsubscribe at any time.
- Data Structure & Algorithm Classes (Live)
- System Design (Live)
- DevOps(Live)
- Explore More Live Courses
- Interview Preparation Course
- Data Science (Live)
- GATE CS & IT 2024
- Data Structure & Algorithm-Self Paced(C++/JAVA)
- Data Structures & Algorithms in Python
- Explore More Self-Paced Courses
- C++ Programming - Beginner to Advanced
- Java Programming - Beginner to Advanced
- C Programming - Beginner to Advanced
- Full Stack Development with React & Node JS(Live)
- Java Backend Development(Live)
- Android App Development with Kotlin(Live)
- Python Backend Development with Django(Live)
- Complete Data Science Program(Live)
- Mastering Data Analytics
- DevOps Engineering - Planning to Production
- CBSE Class 12 Computer Science
- School Guide
- All Courses
- Linked List
- Binary Tree
- Binary Search Tree
- Advanced Data Structure
- All Data Structures
- Asymptotic Analysis
- Worst, Average and Best Cases
- Asymptotic Notations
- Little o and little omega notations
- Lower and Upper Bound Theory
- Analysis of Loops
- Solving Recurrences
- Amortized Analysis
- What does 'Space Complexity' mean ?
- Pseudo-polynomial Algorithms
- Polynomial Time Approximation Scheme
- A Time Complexity Question
- Searching Algorithms
- Sorting Algorithms
- Graph Algorithms
- Pattern Searching
- Geometric Algorithms
- Mathematical
- Bitwise Algorithms
- Randomized Algorithms
- Greedy Algorithms
- Dynamic Programming
- Divide and Conquer
- Backtracking
- Branch and Bound
- All Algorithms
- Company Preparation
- Practice Company Questions
- Interview Experiences
- Experienced Interviews
- Internship Interviews
- Competitive Programming
- Design Patterns
- System Design Tutorial
- Multiple Choice Quizzes
- Go Language
- Tailwind CSS
- Foundation CSS
- Materialize CSS
- Semantic UI
- Angular PrimeNG
- Angular ngx Bootstrap
- jQuery Mobile
- jQuery EasyUI
- React Bootstrap
- React Rebass
- React Desktop
- React Suite
- ReactJS Evergreen
- ReactJS Reactstrap
- BlueprintJS
- TensorFlow.js
- English Grammar
- School Programming
- Number System
- Trigonometry
- Probability
- Mensuration
- Class 8 Syllabus
- Class 9 Syllabus
- Class 10 Syllabus
- Class 11 Syllabus
- Class 8 Notes
- Class 9 Notes
- Class 10 Notes
- Class 11 Notes
- Class 12 Notes
- Class 8 Formulas
- Class 9 Formulas
- Class 10 Formulas
- Class 11 Formulas
- Class 8 Maths Solution
- Class 9 Maths Solution
- Class 10 Maths Solution
- Class 11 Maths Solution
- Class 12 Maths Solution
- Class 7 Notes
- History Class 7
- History Class 8
- History Class 9
- Geo. Class 7
- Geo. Class 8
- Geo. Class 9
- Civics Class 7
- Civics Class 8
- Business Studies (Class 11th)
- Microeconomics (Class 11th)
- Statistics for Economics (Class 11th)
- Business Studies (Class 12th)
- Accountancy (Class 12th)
- Macroeconomics (Class 12th)
- Machine Learning
- Data Science
- Mathematics
- Operating System
- Computer Networks
- Computer Organization and Architecture
- Theory of Computation
- Compiler Design
- Digital Logic
- Software Engineering
- GATE 2024 Live Course
- GATE Computer Science Notes
- Last Minute Notes
- GATE CS Solved Papers
- GATE CS Original Papers and Official Keys
- GATE CS 2023 Syllabus
- Important Topics for GATE CS
- GATE 2023 Important Dates
- Software Design Patterns
- HTML Cheat Sheet
- CSS Cheat Sheet
- Bootstrap Cheat Sheet
- JS Cheat Sheet
- jQuery Cheat Sheet
- Angular Cheat Sheet
- Facebook SDE Sheet
- Amazon SDE Sheet
- Apple SDE Sheet
- Netflix SDE Sheet
- Google SDE Sheet
- Wipro Coding Sheet
- Infosys Coding Sheet
- TCS Coding Sheet
- Cognizant Coding Sheet
- HCL Coding Sheet
- FAANG Coding Sheet
- Love Babbar Sheet
- Mass Recruiter Sheet
- Product-Based Coding Sheet
- Company-Wise Preparation Sheet
- Array Sheet
- String Sheet
- Graph Sheet
- ISRO CS Original Papers and Official Keys
- ISRO CS Solved Papers
- ISRO CS Syllabus for Scientist/Engineer Exam
- UGC NET CS Notes Paper II
- UGC NET CS Notes Paper III
- UGC NET CS Solved Papers
- Campus Ambassador Program
- School Ambassador Program
- Geek of the Month
- Campus Geek of the Month
- Placement Course
- Testimonials
- Student Chapter
- Geek on the Top
- Geography Notes
- History Notes
- Science & Tech. Notes
- Ethics Notes
- Polity Notes
- Economics Notes
- UPSC Previous Year Papers
- SSC CGL Syllabus
- General Studies
- Subjectwise Practice Papers
- Previous Year Papers
- SBI Clerk Syllabus
- General Awareness
- Quantitative Aptitude
- Reasoning Ability
- SBI Clerk Practice Papers
- SBI PO Syllabus
- SBI PO Practice Papers
- IBPS PO 2022 Syllabus
- English Notes
- Reasoning Notes
- Mock Question Papers
- IBPS Clerk Syllabus
- Apply for a Job
- Apply through Jobathon
- Hire through Jobathon
- All DSA Problems
- Problem of the Day
- GFG SDE Sheet
- Top 50 Array Problems
- Top 50 String Problems
- Top 50 Tree Problems
- Top 50 Graph Problems
- Top 50 DP Problems
- Solving For India-Hackthon
- GFG Weekly Coding Contest
- Job-A-Thon: Hiring Challenge
- BiWizard School Contest
- All Contests and Events
- Saved Videos
- What's New ?
- Data Structures
- Interview Preparation
- Topic-wise Practice
- Latest Blogs
- Write & Earn
- Web Development
Related Articles
- Write Articles
- Pick Topics to write
- Guidelines to Write
- Get Technical Writing Internship
- Write an Interview Experience
- RIP Routing Configuration Using 3 Routers in Cisco Packet Tracer
- Wireshark - Packet Capturing and Analyzing
- Introduction to Wireshark
- Implementing Star Topology using Cisco Packet Tracer
- Email Protocols
- Configuring DHCP and Web Server in Cisco Packet Tracer
- DNS Message Format
- Basic Firewall Configuration in Cisco Packet Tracer
- Subnetting Implementation in Cisco Packet Tracer
- Implementation of Static Routing in Cisco - 2 Router Connections
- Link Local Address
- Implementation of Bus Topology in Cisco
- Difference Between Source Port and Destination Port
- Implementation of Ring Topology in Cisco
- Basic Switch Configuration in Cisco
- Default Gateway in Networking
- Implementation of Mesh Topology in Cisco
- DHCP Server Configuration in Cisco
- Configure IP Address For an Interface in Cisco
- What is Packet Forwarding?
- Implementation of Hybrid Topology in Cisco
- Configuring and Verifying VLANs in Cisco
- Default Route in Cisco Routers
- What is MAC Address Table ?
- Nmap Cheat Sheet
- Explain OSPF DR/BDR Election?
- Implementation of Tree Topology in Cisco
- Three-Layer Hierarchical Model in Cisco
- Implementation of VLSM in Cisco
- Implementation of RIP Routing in Cisco For Connecting Two Routers
How to Set a Static IP Address On Your Device?
- Last Updated : 26 Nov, 2022
A static IP address is one that does not change over time and can be assigned to a computer connected to the Internet. Every device that connects to your router receives a dynamic IP address by default. This is known as DHCP (short for Dynamic Host Control Protocol) . However, there are occasions when we require our devices to connect to the network using a static IP address or the same IP address each time. for this reason,
- Utilize the Internet to access your computer.
- Share information between two connected devices.
- Quickly gain access to your NAS or network printer.
- Use your PC to serve the media, or you must use a static IP address to connect to the Wi-Fi at work.
Assign a Static Address:
There are two ways to assign a static address to your device:
- Using the Control Panel
- Use Command Prompt
Here we are going to discuss the setting of static IP Addresses using the Control Panel.
Set a Static IP Address On Your Device:
To set a static IP address from the Control Panel, follow the steps below:
Step 1: Access the Control Panel.
Step 2: Then select Network and Internet. Click on Network and Sharing Center.
The following screen displays after clicking Network and Sharing Center.
Step 3: On the navigation bar on the left, select Change adapter settings. After clicking the following window appears.
Step 4: Choose Properties from the context menu when you right-click the network adapter.
Step 5: Decide the TCP/IPv4 option, or Internet Protocol version 4.
Step 6: Click on the Properties button from the above-displayed window.
Step 7: Select Use the following IP address from the menu.
Step 8: Give your computer a static IP address, such as 10.1.2.225.
Step 9: Put a subnet mask in. The subnet mask (255.255.255.0) is typically considered for a home network.
Step 10: Make the default gateway choice. (Typically, the IP address of your router. For illustration, 10.1.3.2)
Step 11: Set the preferred DNS server address under the “Use the following DNS server addresses to set Preferred DNS server” section. Typically, this is the IP address of your router or another server that resolves DNS queries (for example, 10.1.3.2).
Step 12: In the event that the computer is unable to connect to the selected DNS server, you can specify an alternative DNS server (optional).
Step 13: Choose the OK option.
Please Login to comment...
- CCNA IP Addressing
- Technical Scripter 2022
- Technical Scripter
New Course Launch!
Improve your Coding Skills with Practice
Start your coding journey now.
How to set static IP address on Windows 10
You can assign a static IP address manually on Windows 10 in many ways, and in this guide, you'll learn how.
- To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi .
- Then click the connection, click on “Edit,” select “Manual,” turn on “IPv4,” and set the static IP address.
- Alternatively, you can configure a static IP address from Command Prompt, PowerShell, and Control Panel.
On Windows 10, setting a static IP address to a computer is a configuration you may need to set up in many scenarios. For instance, if you plan to share files , a printer on a local network , or configure port forwarding.
If you don’t assign a static IP address, services or a port forwarding configuration may eventually stop working. The reason is that, by default, connected devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change anytime, as soon as you restart the machine or after the dynamically assigned configuration lease expires.
This guide will teach you the steps to set a static IP (version 4) address to a Windows 10 device when providing a service on the network or simply configuring port forwarding to your device on the router.
Set static IP address on Windows 10
Set static ip address on windows 10 from control panel.
- Set static IP address on Windows 10 from Command Prompt
- Set static IP address on Windows 10 from PowerShell
To assign a static IP address on Windows 10, use these steps:
Open Settings on Windows 10.
Click on Network & Internet .
Click on “Wi-Fi” or “Ethernet.”
Click on the current network connection.

Under the “IP settings” section, click the Edit button.

Using the drop-down menu, select the Manual option.
Turn on the “IPv4” toggle switch.

Set a static IP address to use by the Windows 10 computer.
Specify a “Subnet prefix length” (subnet mask). If the subnet mask is 255.255.255.0 , the subnet prefix length in bits is 24 .
Specify a “Default Gateway” address.
Specify a “Preferred DNS” address.
Specify an “Alternate DNS address” (if applicable).
Click the Save button.

After you complete the steps, you can test your settings using your web browser to open a website.
To assign a static IP from Control Panel on Windows 10, use these steps:
Open Control Panel .
Click on Network and Internet .
Click on Network and Sharing Center .
Click the Change adapter settings option on the left navigation pane.

Right-click the network adapter and select the Properties option.
Select the “Internet Protocol Version 4 (TCP/IPv4)” option.
Click the Properties button.

Select the Use the following IP address option.
Assign the static IP address – for example, 10.1.2.220 .
Specify a Subnet mask . Typically, on a home network, the subnet mask is 255.255.255.0 .
Specify a Default gateway . (Usually, your router’s IP address. For example, 10.1.2.1 .)
Under the “Use the following DNS server addresses set Preferred DNS server” section, set the Preferred DNS server address , usually your router’s IP address or server IP address providing DNS resolutions (for example, 10.1.2.1 ).
(Optional) Specify an Alternative DNS server , which the computer will use if it cannot reach the preferred DNS server.
Click the OK button.

Click the Close button again.
Once you complete the steps, you can open your web browser and load a website to see if the configuration works.
Set static IP address on Windows 10 from Command Prompt
To set a static IP address on Windows 10 from Command Prompt, use these steps:
Open Start on Windows 10.
Search for Command Prompt , right-click the top result, and select the Run as administrator option.
Type the following command to see your current networking configuration and press Enter :
Under the network adapter, note the name of the adapter as well as the following information in these fields:
- Subnet mask
- Default Gateway
- DNS Servers

Type the following command to assign a static IP address on Windows 10 and press Enter :
In the above command, replace Ethernet0 with the name of your network adapter. Change 10.1.4.220 255.255.255.0 10.1.4.1 with the device IP address, subnet mask, and default gateway address corresponding to your network configuration.
Type the following command to set a DNS server address and press Enter :
In the command, make sure to change Ethernet0 with your adapter’s name and 10.1.4.1 with the DNS server address of the network.
Type the following command to set an alternate DNS server address and press Enter :
In the command, replace Ethernet0 with your adapter’s name and 8.8.8.8 with an alternate DNS server address.

After you complete the steps, you can test the new configuration using the ping command (for example ping google.com ) to see if the internet is working. Alternatively, you can open a website to see if the configuration works.
Microsoft is in the process of retiring netsh from Windows 10. As a result, you should start using the “NetTCPIP” networking module available in PowerShell instead.
Set static IP address on Windows 10 from PowerShell
Windows 10 also includes the PowerShell command line platform that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change the IP address settings of your computer.
To set a static IP address with PowerShell, use these steps:
Open Start .
Search for PowerShell , right-click the result, and select the Run as administrator option.
Type the following command to view your current network configuration and press Enter :
After running the command, note the following information:
- InterfaceIndex
- IPv4Address
- IPv4DefaultGateway

Type the following command to set a static IP address and press Enter :

In the command, replace the InterfaceIndex number (5) with the corresponding number of your adapter. Change IPAddress with the static IP address you want to assign to your device. Change PrefixLength (subnet mask) with the correct bit number if necessary. Typically on a home network, the setting is 24 . Also, change the DefaultGateway option with the default gateway address of the network.
Type the following command to assign a DNS server address and press Enter :

If you need to set a secondary DNS server address, use a comma to use the same command with another address. For example:
In the command, replace the InterfaceIndex number (5) with your network adapter’s corresponding number. Also, change ServerAddresses with the DNS IP address.
After you complete the steps, you can test the new configuration by opening your web browser and navigating a website.
Whatever method you use, assigning an IP address within the network range and outside of the DHCP server scope is recommended to allow proper connectivity and avoid address conflicts. If multiple devices share the same address, this will cause a networking conflict, preventing connection to the internet.
- Windows 11 build 25314 rolls out new features in Canary Channel
- How to completely remove a printer driver on Windows 10
We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .

IMAGES
VIDEO
COMMENTS
Assigning Static IP address to most devices is easy, just go to its network settings, look for DHCP option and turn it OFF.
How to Set a Static IP Address · 1. Access the Control Panel · 2. Select the Network Adapter · 3. Select Properties · 4. Select Internet Protocol Version 4 (TCP/
On your router's config page, enter an easy-to-remember label for the device (like "Whitson's Desktop PC"), the MAC address, and your desired IP address. Save
How to set a static IP address on Android · Open “Settings” and select “Connections” > “Wi-Fi.” · Select the gear icon which appears beside your
Open the Google Home app . · Tap Wi-Fi and then Settings and then Advanced Networking. · Tap DHCP IP reservations and then Add IP reservations . · Tap the device
Make a Static IP Plan · Count all the devices that will connect to the network. · Group the devices by type. For example, there may be 3 phones, 2
Visit https://support-fb.fujifilm.com for Drivers, Self Help, Documentation, Utilities, and Learning content. This video applies to the
Do you know the difference between setting a static IP and reserving an IP address? Knowing how to do both can be very useful, especially if
To set a static IP address from the Control Panel, follow the steps below: Step 1: Access the Control Panel. Step 2: Then select Network and
To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi. · Then click the connection, click on “Edit,” select “