How to Assign Static IP Address to Your Devices

IP address

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.

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.

adapter_name_command_line

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.

staticIP_cmd

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.

Network_Sharing_Center_Start_Menu

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

RightClickOnStartMenu_Windows10

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

Change_Adapter_Options

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

Right_Click_NetworkAdapter

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

IPv4_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.

Manual_IP_Settings

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.

OpenTerminal_Ubuntu

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.

how to assign a static ip to a device

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.

GUI_Network

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

Wired_Settings_GUI

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.

how to assign a static ip to a device

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

IPv4_Tab

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.

static_IP_GUI_Ubunty

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.

changed_IP_Config

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.

mac_systemPreferences

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

Network_Symbol

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.

network_on_spotlight

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 .

Network_Settings_menu

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

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.

change_tcp_ip_Settings

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

Settings_menu_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.

Wifi_connected_network

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.

IP_Settings_Android

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.

Manual_IP_Android

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.

ios_Settings

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

Settings_page_wifi_ios

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.

i_button_ios_wifi

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.

Configure_ip_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.

IPv4_Configuration_Menu

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.

ipaddr_ios

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.

MAC_address_Router

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.

Static_leases_router

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 .

staticIPSetting_Router

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.

ipconfig_newIP

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

' src=

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 assign a static ip to a device

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.

Access the Control Panel

If you are not using Windows 10, follow the steps below instead.

Note: Network connections will display the network adapters that are currently connected to your computer.

Access the Control Panel

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.

Select the Network Adapter

3. Select Properties

Select “Properties” from the drop-down menu.

Select Properties

4. Select Internet Protocol Version 4 (TCP/IPv4)

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

Select 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

Manually enter IP address and subnet mask

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.

Revert Back to DHCP

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.

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.

Whitson Gordon

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

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

how to assign a static ip to a device

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.

Tik Tok

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.

how to assign a static ip to a device

Jul 12, 2018

how to assign a static ip to a device

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.

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.

Want to read more like this?

Get the latest news and tips from NordVPN.

Tik Tok

Trending articles

Mar 07, 2023

How to ping an IP address

Charles Whitmore

Charles Whitmore

blog feature test

14 min read

How to check if your VPN is working

Jomilė Nakutavičiūtė

Jomilė Nakutavičiūtė

Mar 13, 2023

NordVPN places products under open source license

Malcolm Higgins

This website uses cookies. To learn more, visit our Cookie Policy .

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.

Change your DHCP settings

how to assign a static ip to a device

how to assign a static ip to a device

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.

Online Tech Tips logo

Assign a Static IP Address to a Printer or Any Network Device

A little work to set up but will make life easier

Author avatar

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 .

how to assign a static ip to a device

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:

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.

how to assign a static ip to a device

Some best practices for using ranges:

If you plan it on a spreadsheet, it may look like this:

how to assign a static ip to a device

How to Assign Static IPs to Devices in the Router

how to assign a static ip to a device

how to assign a static ip to a device

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

how to assign a static ip to a device

how to assign a static ip to a device

Assign Static IPs – Asus Router

how to assign a static ip to a device

how to assign a static ip to a device

how to assign a static ip to a device

how to assign a static ip to a device

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.

how to assign a static ip to a device

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

how to assign a static ip to a device

Assign Static IPs – TrendNet Router

how to assign a static ip to a device

how to assign a static ip to a device

how to assign a static ip to a device

how to assign a static ip to a device

Assign Static IPs – Belkin Router

how to assign a static ip to a device

how to assign a static ip to a device

how to assign a static ip to a device

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.

how to assign a static ip to a device

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:

how to assign a static ip to a device

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.

Related Articles

How to Set a Static IP Address On Your Device?

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,

Assign a Static Address:

There are two ways to assign a static address to your device:

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...

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.

Avatar for Mauro Huc

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.

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.

Wi-Fi settings

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

Wi-Fi IP settings on Windows 10

Using the drop-down menu, select the Manual option.

Turn on the “IPv4” toggle switch.

Wi-Fi edit IP address settings

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.

Wi-Fi TCP/IPv4 static configuration

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.

Control Panel's Network and Sharing Center

Right-click the network adapter and select the Properties option.

Select the “Internet Protocol Version 4 (TCP/IPv4)” option.

Click the Properties button.

Control Panel's network adapter properties

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.

Windows 10 network adapter TCP/IPv4 properties

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:

Windows 10 ipconfig command

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.

Windows 10 netsh command to set static IP 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: 

PowerShell's Get-NetIPConfiguration command

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

PowerShell's New-NetIPAddress command

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 :

PowerShell's Set-DNSClientServerAddress command

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.

We hate spam as much as you! Unsubscribe any time Powered by follow.it ( Privacy ), our Privacy .

IMAGES

  1. How to Assign Static IP Address to Your Devices

    how to assign a static ip to a device

  2. Can't access the My Cloud device

    how to assign a static ip to a device

  3. How To Assign A Static IP address ? Easy Solution. Follow the steps > BENISNOUS

    how to assign a static ip to a device

  4. How To Fix Wifi Failed To Obtain Ip Address On Your Android Devices

    how to assign a static ip to a device

  5. Set a Static IP Address for a Device

    how to assign a static ip to a device

  6. Windows Server 2019 : Initial Settings : Set Static IP Address : Server World

    how to assign a static ip to a device

VIDEO

  1. Connecting using static IP between client and server

  2. Tutorial : Make Your Ip Static From Dynamic [Source Site

  3. How to set up a Static IP with No-IP

  4. Connecting static IP address using host-only adapter network

  5. Manjaro / Arch

  6. Axis Lab

COMMENTS

  1. How to Assign Static IP Address to Your Devices

    Assigning Static IP address to most devices is easy, just go to its network settings, look for DHCP option and turn it OFF.

  2. How to Set a Static IP Address

    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/

  3. How to Set Up a Static IP Address

    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

  4. How to set up a static IP address

    How to set a static IP address on Android · Open “Settings” and select “Connections” > “Wi-Fi.” · Select the gear icon which appears beside your

  5. DHCP IP reservation or Set a Static IP address for a device

    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

  6. Assign a Static IP Address to a Printer or Any Network 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

  7. How to assign a static IP address to the device

    Visit https://support-fb.fujifilm.com for Drivers, Self Help, Documentation, Utilities, and Learning content. This video applies to the

  8. Beginner's guide to setting up static (and reserved) IP addresses on

    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

  9. How to 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

  10. How to set static IP address on Windows 10

    To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi. · Then click the connection, click on “Edit,” select “