How to set static IP address on Windows 10

You can assign a static IP address manually on your computer in more than one way, and in this guide, I'll show you four ways on Windows 10.

Avatar for Mauro Huculak

  • To set a static IP address on Windows 10, open Settings > Network & Internet > Wi-Fi (or Ethernet ), click the connection, click “Edit,” select “Manual,” turn on “IPv4,” and set the static IP address.
  • To manually configure a static network configuration from Control Panel, open Control Panel > Network and Internet > Network and Sharing Center > Change adapter settings , open the network adapter properties, check the “Internet Protocol Version 4 (TCP/IPv4),” click “Properties,” and set the static IP address.
  • Alternatively, you can manually set a static IP address from Command Prompt and PowerShell.

On Windows 10, setting a static IP address on your computer may be necessary for various reasons. For example, if you plan to share files in the network , set up a shared printer , enable and use Remote Desktop , or configure port forwarding on the router, you may need to do this.

If you don’t assign a static IP address, services or a port forwarding configuration will eventually stop working. The reason is that devices use dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router) by default, which can change anytime, as soon as you restart the machine or after the dynamically assigned configuration lease expires. On the other hand, a static configuration is permanent, and it’ll remain the same until you change it.

Whatever the reason it might be, Windows 10 offers multiple ways to configure a static network configuration through the Settings app, the legacy Control Panel, and the command line using Command Prompt and PowerShell.

In this guide , I will teach you how to set a static IP address to a Windows 10 computer. (You can also use these instructions to configure a static address on Windows 11 .)

Set a static IP address on Windows 10 from Settings

Set a static ip address on windows 10 from control panel.

  • Set a static IP address on Windows 10 from Command Prompt
  • Set a static IP address on Windows 10 from PowerShell

To set a static IP address manually 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.

Windows 10 Wi-Fi settings

Click the Edit button under the “IP settings” section.

Wi-Fi IP settings on Windows 10

Select the Manual option from the drop-down menu.

Turn on the “IPv4” toggle switch.

Wi-Fi edit IP address settings

Set a static IP address for use on the Windows 10 computer.

Specify a “Subnet prefix length” (subnet mask). If your network’s subnet mask is 255.255.255.0 , then you should use the subnet prefix length “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.

Check if the IP address is static or dynamic

To check if you configured the settings correctly or to tell if your device is using static or dynamic settings, use these steps:

Open Settings .

Click on Wi-Fi or Ethernet .

Select the network connection.

Check whether the computer is using static (manual) or dynamic (automatic) IP address configuration under the “IP settings” section.

IP assignment status

Once you complete the steps, you will know if your computer has been configured correctly.

To configure a static IP from the Control Panel, 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 Wi-Fi or Ethernet 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.

Set the static IP address for the adapter – for example, 10.1.2.220 .

Specify a Subnet mask for the network, such as  255.255.255.0 .

Specify a Default gateway (which is usually the router’s IP address).

Confirm the “Preferred DNS server” address under the “Use the following DNS server addresses set Preferred DNS server” section. (It is Usually your router’s IP address or the server IP address that provides the DNS resolution.)

(Optional) Specify an Alternative DNS server. (The computer will use this address 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 a static IP address on Windows 10 from Command Prompt

To set a static IP address manually from Command Prompt, use these steps:

Open Start .

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

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

(Optional) Type the following command, and if the “DHCP Enabled” is set to “No,” then the static configuration has been applied and press Enter :

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.

Set a static IP address on Windows 10 from PowerShell

Windows 10 also includes the PowerShell command line console that allows you to use the “NetTCPIP” module to manage networking settings, including the ability to change your computer’s IP address settings. Microsoft recommends using this command-line method instead of netsh .

To set a static IP address on Windows 10 from PowerShell, use these steps:

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

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. If necessary, change PrefixLength (subnet mask) with the correct bit number. Typically, on a home network, the setting is “24.” Also, change the “DefaultGateway” option with the network’s default gateway address.

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.

(Optional) Type the following command, and if the “PrefixOrigin” and “SuffixOrigin” are set to “Manual” in the output, then the static configuration has been applied, and press Enter :

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 prevent address conflicts. If multiple devices share the same address, this will cause a networking conflict, preventing connection to the internet.

Although there are two main standards in use today, including IPv4 and IPv6 , version 4 is still the most widely used, especially in local networks, and for this reason, this guide focuses on setting up IPv4.

Update July 4, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

Avatar for Mauro Huculak

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter) , YouTube , LinkedIn and About.me . Email him at [email protected] .

  • How to lock, sign out, or switch users on Windows 11 (2024)
  • How to check if network traffic is using DNS resolver you set

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

How to configure a static IP on Windows 10 or 11

Do you need to switch from a dynamic to a static IP address configuration on Windows 11 or 10? Here's how.

Windows 11 static IP

  • Windows 11 static IP
  • Windows 10 static IP

On Windows, the router's Dynamic Host Configuration Protocol (DHCP) server is (usually) responsible for assigning a dynamic Transmission Control Protocol/Internet Protocol (TCP/IP) configuration to every device in the network, including to your computer running Windows 11 or Windows 10.

Although a dynamic IP address is the recommended configuration for most situations, you may need to change to a static IP address if you're thinking about setting up a printer or file sharing, or you have to configure port forwarding on the router to your computer.

The reason is that a dynamic network configuration can change at any time after the lease from the DHCP expires and if the address changes, network resources you may have configured will stop working. Setting a static IP address will always stay the same on the computer, allowing a more reliable experience sharing resources in the network or forwarding ports.

Whatever the reason, on Windows 10 and 11, you have many ways to configure a static TCP/IP address, including using the Settings app and Command Prompt.

This guide will walk you through the different ways to configure a static network configuration on Windows 11 and 10.

How to set a static TCP/IP network configuration on Windows 11

On Windows 11, you can change your computer's dynamic IP configuration to static in at least two ways through the Settings app or commands.

Configure IP from Settings app

Get the Windows Central Newsletter

All the latest news, reviews, and guides for Windows and Xbox diehards.

To assign a permanent TCP/IP configuration on Windows 11, use these steps:

  • Open  Settings .
  • Click on  Network & internet .
  • (Optional) Click on Advanced network settings .
  • Under the "More settings" section, click on Hardware and connection properties.
  • Note the current IPv4 ,  Subnet mask ,  Default Gateway , and  DNS server addresses to determine the new configuration, as it has to be in the same network scope.
  • Click the  Ethernet  or  Wi-Fi  page on the right side from the "Network & internet." page.

Ethernet settings

  • Quick note:  If you select the Wi-Fi page, you need to click on the connection properties to access the network settings.
  • Click on the  Edit  button for the "IP assignment" setting.

IP assignment

  • Select the  Manual  option from the drop-down menu.
  • Turn on the  IPv4  toggle switch.
  • Confirm the IP address for the computer – for example, 10.1.4.90.
  • Confirm the subnet mask for the configuration – for example, 255.255.255.0.
  • Confirm the default gateway address (usually your router's IP) – for example, 10.1.4.1.
  • Confirm the preferred DNS address – for example, 10.1.4.1.

Static IP configuration

  •   Quick note:  In a home network, you may also be able to use the router's IP address for the DNS configuration. You can also use third-party DNS services like Google Public DNS, Cloudflare, Cisco's OpenDNS, and others. 
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled unless you want to encrypted as well as unencrypted traffic or you're troubleshooting connectivity.
  • Quick note:  DNS over HTTPS (DoH) is a feature that encrypts the DNS queries over the HTTPS protocol to improve security and privacy on the internet. You only want to enable this feature if the DNS server supports this feature.
  • Confirm the alternate DNS address (if applicable).
  • (Optional) Select the  "On (automatic template)"  option for the "DNS over HTTPS" setting and leave the  "Fallback to plaintext"  option disabled.
  • Click the  Save  button.

Once you complete the steps, the computer will start using the static network configuration. If everything has been configured correctly, you should be able to open the web browser to access the internet.

If you entered an address (such as the DNS address) and then changed it, you probably won't be able to save the settings. If this is the case, cancel the configuration, start over, enter the correct configuration, and then try to save the settings.

Configure IP from Command Prompt

To set a static TCP/IP configuration on Windows 11, use these steps:

  • Open  Start .
  • 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 : ipconfig /all
  • Confirm the name of the adapter and the networking configuration, including the IPv4 , Subnet mask , Default Gateway , and DNS Servers .

ipconfig command

  • Type the following command to configure a static TCP/IP address and press  Enter :  netsh interface ip set address name= "ADAPTER-NAME" static IP-ADDRESS SUBNET-ADDRESS DEFAULT-GATEWAY-ADDRESS

In the above command, replace  ADAPTER-NAME  with the name of your network adapter. Change  IP-ADDRESS SUBNET-ADDRESS    DEFAULT-GATEWAY-ADDRESS  with the device IP address, subnet mask, and default gateway addresses you want. For example, this command sets the 10.1.4.90, 255.255.255.0, 10.1.4.1 configuration:  netsh interface ip set address name="Ethernet 10Gb" static 10.1.4.90 255.255.255.0 10.1.4.1

Command Prompt configure IP address

  • Type the following command to set a DNS server address and press  Enter :  netsh interface ip set dns name="ADAPTER-NAME" static DNS-ADDRESS  

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name="Ethernet 10Gb" static 10.1.4.1

  • Type the following command to set an alternate DNS server address and press  Enter :  netsh interface ip add dns name="ADAPTER-NAME" DNS-ADDRESS index=2

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet 10Gb" 1.1.1.1 index=2

After you complete the steps, the commands will set a static network configuration on Windows 11.

How to set a static TCP/IP network configuration on Windows 10

On Windows 10, you can also use the Settings app and Command Prompt to set up a static IP network configuration.

To assign a permanent TCP/IP configuration on Windows 10, use these steps:

  • Click on  Ethernet  or  Wi-Fi .
  • Click on the active connection on the right side.

Network properties

  • Click the  Edit  button for the "IP assignment" setting.

Windows 10 IP assignment

  • Select the  Manual  option.
  • Confirm the subnet prefix length (subnet mask) for the configuration – for example, 24 to specify the 255.255.255.0 subnet mask.

Windows 10 static IP address

  • Quick tip:  It's important to use the number that represents the network instead of the subnet mask. Otherwise, the configuration won't save. If you don't know the subnet prefix length for your subnet mask, you can use any  online subnet calculator  to find out.

Once you complete the steps, Windows 10 will start using the static IP configuration. If you lose network connectivity, restart the computer to regain access to the local network and internet.

To change from dynamic to static IP address with commands on Windows 10, use these steps:

In the command, change  ADAPTER-NAME  with your adapter's name and  DNS-ADDRESS  with the DNS server address of the network. For example, this command sets the local router as the DNS server:  netsh interface ip set dns name=" Ethernet 10Gb" static 10.1.4.1

In the command, change  ADAPTER-NAME  with the adapter's name and  DNS-ADDRESS  with an alternate DNS server address. For example, netsh interface ip add dns name="Ethernet0" 1.1.1.1 index=2

After you complete the steps, the network configuration will switch from dynamic to static on Windows 10.

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

  • 2 These Bose headphones are the best gift I've ever bought my wife, and this sale makes me want to buy a backup pair
  • 3 My 2023 game of the year is back from the brink of death and currently costs less than $8
  • 4 Elon Musk’s X could lose 4% of its global annual turnover for "quietly" training Grok using data from 60 million users in the EU without consent
  • 5 Microsoft still has time to fix this hideous Start menu "update"

manual ip assignment windows 10

You are using an outdated browser. Please upgrade your browser to improve your experience.

Your browser does not support JavaScript. Please turn it on for the best experience.

  • All Support
  • Download Center
  • Support Videos

TP-Link Community

  • Contact Technical Support
  • Online Stores
  • Distribution Partners
  • Reseller Partners
  • Solution Partners

How to find and manually assign an IP address on Windows 10

FAQ view icon

Step 1: Open the Control Panel

manual ip assignment windows 10

You can also type control panel in the search bar at the lower left of the screen and press Enter to open the control panel.

manual ip assignment windows 10

Step 2: Go to Network Connections

Go to Network and Internet > Network and Sharing Center .

manual ip assignment windows 10

Select Change adapter settings on the left.

manual ip assignment windows 10

Step 3: Find the IP address

Right click the Ethernet icon and select Status from the context menu.

manual ip assignment windows 10

Then click Details... to view all detailed information of network connection.

manual ip assignment windows 10

Step 4: Set the IP address

Right Click Local Area Connection and select Properties .

manual ip assignment windows 10

Then double click Internet Protocol Version 4 (TCP/IPv4) .

manual ip assignment windows 10

Select Use the Following IP address: and type in the IP address , Subnet mask and Default gateway . Click OK to apply the settings.

manual ip assignment windows 10

Note : If you need to set a static DNS server, select Use the following DNS server address : and input the address of DNS server. By default, the computer obtains the address automatically.

Is this faq useful?

Your feedback helps improve this site.

What’s your concern with this article?

  • Dissatisfied with product
  • Too Complicated
  • Confusing Title
  • Does not apply to me

We'd love to get your feedback, please let us know how we can improve this content.

We appreciate your feedback. Click here to contact TP-Link technical support.

Community

Still need help? Search for answers, ask questions, and get help from TP-Link experts and other users around the world.

Visit the Community >

From Russia?

Get products, events and services for your region.

We have updated our Policies. Read Privacy Policy and Terms of Use here. This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy .

Basic Cookies

These cookies are necessary for the website to function and cannot be deactivated in your systems.

accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType

__livechat, __lc2_cid, __lc2_cst, __lc_cid, __lc_cst, CASID

id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ

Analysis and Marketing Cookies

Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.

The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.

Google Analytics & Google Tag Manager

_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>

Google Ads & DoubleClick

test_cookie, _gcl_au

cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs

OptanonConsent, _sctr, _cs_s, _hjFirstSeen, _hjAbsoluteSessionInProgress, _hjSessionUser_14, _fbp, ajs_anonymous_id, _hjSessionUser_<hotjar-id>, _uetsid, _schn, _uetvid, NEXT_LOCALE, _hjSession_14, _hjid, _cs_c, _scid, _hjAbsoluteSessionInProgress, _cs_id, _gcl_au, _ga, _gid, _hjIncludedInPageviewSample, _hjSession_<hotjar-id>, _hjIncludedInSessionSample_<hotjar-id>

lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or

How to set a Static IP Address in Windows 11/10

Assign a static ip address in windows 11/10, 1] setting a static ip address via control panel.

How to set a Static IP Address in Windows 10

2] Assign Static IP Address via Settings

3] assigning static ip address via powershell, 4] assign a static ip address using command prompt, what is static ip connection, what is static ip used for, hemants@twc.

Windows Report

  • Troubleshooting Guides
  • Common Errors
  • Tech Tutorials
  • Apps & Programs
  • About our team & mission

How to set a static IP in Windows 10 [Easy Setup]

updated on October 4, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

  • Devices on a network are identified by their IP and MAC addresses . The IP address can be static or dynamic.
  • Assigning a static address remains unchanged when your machine restarts, but the router assigns dynamic addresses each time you reconnect to the network .
  • Don't hesitate to explore our Windows 10 hub  for more easy-to-follow guides.
  • Our IP address webpage has detailed information about this subject.

how to set a static IP in Windows 10

By default, your Windows 10 PC or server is set to use dynamic IP addresses . But when adding the computer to a network, you may be required to set Windows 10 static IP address .

When you use a DHCP or dynamic routing, your router assigns an IP address to your machine each time you restart it.

You need a static IP address on your Windows 10 computer because your router may assign one IP address to multiple devices, and they won’t have connectivity because of the conflict.

That’s just one reason, however. For whatever reason, if you want to set a static IP address, here’s how to do it in Windows 10.

Users sometimes run into challenges after setting static IP addresses , the most common of which is where to system refuses to connect to a static IP address .

Here’s how to fix this issue:

  • Confirm that no other device in your network is assigned the same static IP address .
  • Unplug every cable from your router and reset the router .
  • Rename your network and router, add your computer, and reset.
  • Change the IP address to the subnet mask with the allowed number of connected devices.
  • Add a 2nd computer to the network.
  • Confirm that the default gateway and subnet mask are correct.

How can I set up my static IP address in Windows 10?

1. set it manually.

  • Right-click on the network icon on your taskbar.
  • Select the  Open Network & Internet settings option.

change-adapter-options-windows-10-static-ip

  • Right-click on your network connection and select  Properties .
  • Go to  Internet Protocol Version 4 (TCP/IPv4) and click on it.

ethernet-properties-windows-10-static-ip

  • Click on the  Use the following IP address option.
  • Fill in your static IP address .
  • Enter the subnet mask and default gateway.
  • Optionally, choose to use the following DNS server addresses and enter your DNS server addresses.
  • Hit the  OK button to save the configuration.

2. Use the Command Prompt

set-static-ip-address-with-command-prompt-windows-10

  • Press the  Windows key and search for  cmd .
  • Right-click on  Command Prompt and choose to  Run as administrator .
  • ipconfig /all
  • Write down the IPv4 address, subnet mask, default gateway, and DNS server addresses.
  • netsh interface ip set address name="Ethernet0" static 10.2.2.212 255.255.255.0 10.1.2 Note: Replace  Ethernet0 with the name of your network adapter and change  10.2.2.212 255.255.255.0 10.1.2 to the correct IP address.
  • netsh interface ip set dns name="Ethernet0" static 10.1.2.1 Note: Replace  Ethernet0 with your adapter’s name and  10.1.2.1 with your network’s DNS server address.
  • netsh interface ip add dns name="Ethernet0" 8.8.8.8 index=2 Note: Change Ethernet0 your network’s name and  8.8.8.8 to the alternate DNS server address.

3. Use the Windows 10 Settings

  • Press the  Windows key + I combination.
  • Select the Network & Internet tile.

change-connection-properties-windows-10-static-ip

  • Choose  Manual from the dropdown menu.
  • Toggle on the  IPv4 switch.

set-static-ip-with-settings-windows-10

  • Click on the  Save button.

These are the three easiest ways to assign or set a static IP address on your Windows PC, so make sure to follow them exactly to avoid any unwanted issues.

[wl_navigator]

More about the topics: Windows 10 Guides

Vlad Turiceanu

Windows Editor

Passionate about technology, Windows , and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming from a solid background in PC building and software development, with a complete expertise in touch-based devices, he is constantly keeping an eye out for the latest and greatest!

fitbit app for windows 10

Was this page helpful?

Let us know if you managed to solve your tech problem reading this article.

We’re happy to hear that!

You can subscribe to our newsletter to stay up to date with the latest news and best deals!

Do you have a suggestion?

We know how frustrating could be to look for an universal solution.

If you have an error which is not present in the article, or if you know a better solution , please help us to improve this guide.

How to change the IP address in Windows 10 and Windows 11 (4 ways)

How to change the IP address in Windows 10 and Windows 11 (4 ways)

Have you ever wondered how to change the IP address in Windows 10 or Windows 11? Do you want to learn how to do that from the Settings app or the Control Panel ? Maybe you’re a command-line fan and want to learn how to change the IP address from Command Prompt or PowerShell ? Read on and find out how all of these are done in both Windows 11 and Windows 10:

Skip to chapter

1. how to change the ip address in windows 10 using the settings app, 2. how to change the ip address in windows 11 using the settings app, 3. how to change the ip address in windows using the control panel, 4. how to change the ip address in windows 10 and windows 11 using commands, how do you change the ip address in windows 10 or windows 11.

NOTE: To be able to change your IP address in either Windows 10 or Windows 11, you must log in using an administrator account. Also, you should already know what IP addresses and subnet masks are , how to find what your local IP is , and how to find the IP address of your router .

Because it relies on the visual interface of the operating system, this is probably the easiest method for changing the IP address of your Windows 10 computer or device. First, open the Settings app : a quick way to do that is to push the Settings button from the Start Menu or to press Windows + I on your keyboard simultaneously. In the Settings app, open the Network & Internet category.

The Network & Internet settings in Windows 10

The Network & Internet settings in Windows 10

On the left sidebar, select your network type. If you’re using a wireless card, click or tap on Wi-Fi . If you’re using a wired connection, go to Ethernet . On the right side of the window, click or tap on the name of your network connection.

The currently connected network

The currently connected network

Scroll down on your network connection details page until you find the section called IP settings . Then, click or tap on Edit , under IP assignment .

The Edit button from the IP assignment area

The Edit button from the IP assignment area

The Settings app now shows the “Edit IP settings” dialog. This is where you can change the IP address of your computer or device. If you want the IP address of your Windows 10 PC to be assigned automatically by your router, select Automatic (DHCP) . This is also called a dynamic IP address.

Edit IP settings to get an IP address automatically via DHCP

Edit IP settings to get an IP address automatically via DHCP

If you want to set your own static IP address , select Manual and then enable the IPv4 and/or IPv6 switches, depending on what internet protocols you want to use. Note that each of them has its own distinct IP address, so you must enter the required details for both IPv4 and IPv6 if you choose to enable both.

Edit IP settings to change the IPv4 address in Windows 10

Edit IP settings to change the IPv4 address in Windows 10

To change your IP address to a static one, regardless of whether you set it for your IPv4 or IPv6 protocols, you have to enter the following details:

  • IP address : Type the static IP address that you want to use. For example, I want to change the IP address (IPv4) of my Windows 10 PC to 192.168.50.10.
  • Subnet prefix length : Type the prefix length that determines the size of the subnet. For example, I configured my router to use a subnet mask of 255.255.255.0, which means that I have to enter a “Subnet prefix length” of 24 (the number of 1 bits in the netmask). If I had a subnet mask of 255.255.0.0, the prefix length would have been 16, and so on.
  • Gateway : Type the IP address of your router. In my case, that’s 192.168.50.1.

Setting a static IP address in Windows 10

Setting a static IP address in Windows 10

The Preferred DNS and Alternate DNS settings are not mandatory - if you leave them blank, they are automatically assigned by your router. However, if you want to change them too, you can do so. TIP: Here are more ways to change DNS settings in Windows .

Once you’ve entered all the details, click or tap on Save , and Windows 10 changes your IP address.

Start using the new IP address in Windows 10

Start using the new IP address in Windows 10

IMPORTANT: If you choose to use a static IP address, ensure all the details you enter are correct; otherwise, your Windows 10 PC loses internet connectivity. If that happens, change your IP address back to Automatic (DHCP) so that your router can change it to something that works.

As it involves mainly clicks or taps and anyone can follow its steps, this is likely the easiest way of changing the IP address of your Windows 11 PC. Here’s how it goes:

Open the Settings app : a quick way to do that is to use its Pinned shortcut from the Start Menu or press Windows + I on your keyboard. Once you’ve opened it, select Network & internet on the left sidebar.

The Network & internet settings in Windows 11

The Network & internet settings in Windows 11

On the right, click or tap on the type of network you’re currently using. If you connect to the internet (or local area network) using a wireless card, select Wi-Fi . If you’re accessing the internet (or LAN) using a wired connection, click or tap on Ethernet .

Wi-Fi or Ethernet network connection

Wi-Fi or Ethernet network connection

Next, click or tap on the properties entry of your network connection.

The network's properties

The network's properties

This opens a page filled with details about the selected network connection. On it, scroll down and click or tap the Edit button next to IP assignment .

The Edit button next to IP assignment

The Edit button next to IP assignment

As a result, the Settings app loads a dialog called “Edit network IP settings,” where you can set the IP address of your Windows 11 PC. If you want to use a dynamic IP address assigned automatically by the router, choose Automatic (DHCP) .

Let Windows 11 get an IP address automatically via DHCP

Let Windows 11 get an IP address automatically via DHCP

If you want to set a static IP address for your Windows 11 computer, select Manual. Then, turn on the IPv4 and/or IPv6 switches, depending on the internet protocols you intend to use. Keep in mind that each one needs a distinct IP address, so you’ll have to specify details for both IPv4 and IPv6 if you decide to enable both.

Edit IP settings to change the IPv4 address in Windows 11

Edit IP settings to change the IPv4 address in Windows 11

In order to set a static IP address for either IPv4 or IPv6 , you have to provide the next details:

  • IP address : Enter the static IP address you want to use. For instance, I’m changing the IP address (IPv4) of my Windows 11 computer to 192.168.50.10.
  • Subnet mask : Type the subnet mask used by your network. For example, I’ve configured my mesh Wi-Fi to use a 255.255.255.0 subnet mask, which means that this is the number sequence I need to enter.
  • Gateway : Specify the IP address of your router or mesh Wi-Fi. In my case, that’s 192.168.50.1.

Setting a static IP address in Windows 11

Setting a static IP address in Windows 11

These are all the settings you need to configure in order to change your IP address in Windows 11. However, there are two more options in the “Edit network IP settings” dialog: Preferred DNS and Alternate DNS . While not necessarily required (if they’re blank, your router automatically assigns them), you can change them, too, if you want. Here are more details about DNS: What is DNS? How is it useful? .

Once you’ve finished editing your network IP settings, click or tap the Save button, and your IP address is immediately changed in Windows 11.

How to set a static IP address in Windows 11

How to set a static IP address in Windows 11

IMPORTANT: If you’ve changed your IP address and your Windows 11 PC lost internet connectivity, you’ve probably entered an incorrect IP address. In that case, switch back to using Automatic (DHCP) to let your router assign a new one for your computer, one that works.

In both Windows 11 and Windows 10, you can also change your IP address from the Control Panel . Open the Control Panel and click or tap on “View network status and tasks” under “Network and Internet.”

View network status and tasks in Control Panel

View network status and tasks in Control Panel

In the Network and Sharing Center , click or tap on your internet connection from the “View your active networks” area.

The network connection in use

The network connection in use

In your network’s Status window, click or tap on Properties . Then, in the Properties window, select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) , depending on the IP address that you want to change, and press the Properties button. Note that if you want to change both types of IP addresses, you’ll have to repeat the next steps for each of them.

Opening the Properties of Internet Protocol Version 4 (TCP/IPv4)

Opening the Properties of Internet Protocol Version 4 (TCP/IPv4)

The previous action opens a window called Internet Protocol Version 4 (TCP/IPv4) Properties or Internet Protocol Version 6 (TCP/IPv6) Properties , depending on what you chose earlier. This is where you can change your IP address:

If you want to use a dynamic IP address that’s automatically assigned to your Windows PC by your router, select “Obtain an IP address automatically.” Then, click or tap on OK and close all the windows you’ve opened previously.

Obtain an IP address automatically via DHCP

Obtain an IP address automatically via DHCP

If you want to set a static IP address for your network adapter, select “Use the following IP address.” Then, enter the required details manually: IP address, Subnet mask , and Default gateway , just like we’ve shown you in the previous chapters of this guide.

Use Control Panel to set a static IP address in Windows

Use Control Panel to set a static IP address in Windows

Save your new IP address settings by clicking or tapping on OK , then close all the windows opened during the process.

You can also change the IP address using any of the command-line tools in Windows. Launch PowerShell , run Command Prompt , or open a tab for any of them in Windows Terminal . Then, regardless of what your favorite console is, run this command:

In the displayed results, identify the network adapter for which you want to change the IP address. For example, the name of my network interface is Wi-Fi , as shown in the screenshot below.

Find the name of your network adapter in CMD or PowerShell

Find the name of your network adapter in CMD or PowerShell

If you want to change the IP address to a dynamic one that’s automatically assigned by your router via DHCP, run the following command:

Replace Network Interface Name with the name of your network connection. For example, I need to run:

Use this command to set a dynamic IP address

Use this command to set a dynamic IP address

If you want to set a static IP address, run this command:

Replace [IP address] [Subnet Mask] [Gateway] with the ones that match your network configuration. In my case, as I want to change my IP address to 192.168.50.10, I have to run:

Use this command to set a static IP address in CMD or PowerShell

Use this command to set a static IP address in CMD or PowerShell

Now you know not just one, but four different methods to change your IP address and set it to dynamic or static. What’s your favorite way of doing this? Do you know other methods? If you do, or if you have something to add to this guide, don’t hesitate to comment.

  • Subscribe to newsletter.

Receive our daily newsletter. You may unsubscribe at any time. For details read the Privacy policy.

Check this box if you agree to receive our emails.

You are subscribed to www.digitalcitizen.life .

.

Receive our weekly newsletter. You can unsubscribe at any time. For details, read our Privacy policy.

Related articles

Command Prompt (CMD)

Command Prompt (CMD): 10 network-related commands you should know

MAC address

7 ways to find your MAC address in Windows

IP addresses

How to change the Subnet Mask in Windows (5 ways)

How to change or spoof the mac address in windows (7 ways).

Steve's Smart Home Networking Guide

Practical Home Networking and Home Automation

How to Set Up A Static IP Address on Windows 10

You can manually assign IP addresses to your computers and devices.

These addresses are known as static addresses. See Home network addresses for more details.

To set up a static address you need to locate the Connection you are using.

windows-settings

1. Click on the Windows Icon Lower left.

2. Click the Settings icon

3. The windows setting screen appears click on the network and Internet link.

windows-settings-Inter

4. In the Network status pane locate the change adapter options link and click it

network-status-window

5. You should now see your network adapters. I have two installed and the Wi-Fi adapter is disabled. If your PC is equipped with two; as most are, then only use one and disable the other.

network-connections-window

7. Use the scroll bar to locate TCP/IPv4 and click it to highlight it,and then click the properties button .

Local-connection-properties

1. My home network use the network address 192.168.1 (first three numbers) also common is 192.168.0 and 10.x.x.x

2. The default gateway is the address of your home router. This is assigned to the router as a static IP address. It can be changed as part of the home router set up .

3. The subnet mask is important anf is usually 255.255.255.0

4. You need the address of 1 DNS server to access websites on the Internet. The Google DNS server is available to use for free but you can use your ISP DNS servers.

5. You can choose to manually assign the DNS addresses and automatically assign the IP address or vice versa.

Related Tutorials and resources

  • How to Geek article covers other versions of Windows. (XP,Vista,Windows 7)
  • Setting Up A Home Network
  • Internal and External IP Addresses
  • How to Setup and Configure your Home Router 
  • Windows File Sharing Guide

Frontier Communications supplied me with an Arris NVG468MQ router. I use NordVPN. I want to set up port forwarding and would like to know if I first should set up a static IP address. If so, should I disable the VPN prior to doing that? If not, which IPv4, Subnet, and DNS server(s) should I use from cmd -> ipconfig /all? I show the following while NordVPN is enabled:

Windows IP Configuration: Host Name: xxxxxx xxxx xxxx xxxx

Unknown Adapter NordLynx: Media State: Media Disconnected Connection Specific DNS Suffix: (empty) Description: NordLynx Tunnel Physical address: (empty) DHCP Enabled: No Autoconfig enabled: Yes

Ethernet Adapter Ethernet 2 Descriptioon: TAP-NordVPN Windows adapter V9 xxxxx xxxxx xxxxx

Ethernet Adpater Ethernet: Connection specific DNS suffix: Home Description: Intel gigabit network coonection IPv4 address: xxxxxxx SUbnmet: xxxxxxx Default Gateway: xxxxxxx DHCP Server: xxxxxx DNS Servers: xxxxxxx (only 1)

Wireless LAN adapter Wi FI: Media State: media disconnected

Have not used Nord vpn but I don’t think that port forwarding will work to the machine running it. Rgds Steve

Extremely helpful. Just bought a second hand Computer with Windows 16 server installed. Was trying to understand how to set up a home network using that. This has made it much easier to understand the static IP bit. Thanks

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

site logo

How To Change Your IP Address On Windows 10 (& Why You’d Want To)

We'll help you properly configure your network

Author avatar

When you connect to a local network, the device you’re using is given an IP address, allowing other devices to find and communicate with it, as well as signifying that the device itself has correctly authenticated. The larger the network, the more IP addresses that will be in use, which can cause some allocation issues.

In most cases, IP address allocation is determined by your local router, so to change your IP address on a Windows 10 PC, you’ll need to configure your network as a whole. Alternatively, you may want to set a static IP address, or change your public IP address for all your devices. To change your IP, here’s what you’ll need to do.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 1

Why Change Your IP Address On Windows?

There are a couple of reasons why you might want to change your IP address.

Typically, a local network router will allocate a temporary IP address to your device when you connect using DHCP (the protocol used to assign IP addresses), giving it a temporary lease to that address. When the lease runs out, it will need to be renewed, otherwise you could be allocated a new address.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 2

While this usually happens automatically, problems can sometimes occur. A poorly configured or busy local network, along with misconfigured devices, might result in the same IP address being allocated twice, causing conflicts.

If this happens, you may wish to set a static IP address, giving your device a permanent address. You’ll want to do this for devices that are regularly accessed by other devices, such as home servers or network attached storage devices .

These all apply for local networks, but you may want to change the IP address given to you by your internet service provider. This can be trickier to do, but there are a few ways to change this address if your ISP allows it.

Configuring Your Network Router DHCP Settings

One of the easiest ways to change your IP address is to configure your network router to assign a new IP address. To do this, you should configure the DHCP settings on your router to assign IP addresses differently.

You could, for instance, set a static allocation for your Windows PC. When your device connects, your router will always assign the same IP address to it by using your device’s MAC address to identify it.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 3

If you don’t want to do this, you could also change the IP range used by your local router. This means that your local IP address may still change from time to time, but the range of addresses will be different. Your IP address may change from 192.168.0.10 to 192.168.10.10 , for instance.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 4

To do this, you’ll need to access your router’s administration page. This will vary by device, but typically, many local routers can be accessed by typing http://192.168.0.1 or http://192.168.1.1 from your web browser. Consult your user manual for the correct username and password to use here.

The steps to change your DHCP settings will also vary, but you’ll typically find DHCP settings listed under its own section (eg. DHCP ), while fixed IP allocations can be found under address allocation or similar.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 5

Releasing DHCP Lease and Resetting Your Dynamic IP

Any changes you make to your router’s DHCP settings may require you to release or renew your Windows IP address using the Windows PowerShell.

  • To do this from the Windows PowerShell, right-click the Start menu and click the Windows PowerShell (Admin) option.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 6

  • In the PowerShell terminal window, type ipconfig /release to release your DHCP lease and disconnect. With your new settings in place, type ipconfig /renew to reconnect.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 7

If your router settings have been correctly changed, releasing your DHCP lease and resetting your IP will result in a new IP address being allocated to your device.

Setting a Static IP Address On Windows 10

A static IP address can be achieved through a fixed DHCP allocation, but you can also set this manually in your Windows 10 settings. You may want to do this if you’re making a direct connection to another device.

This may also work with your local router, but as your device is already being assigned an IP using DHCP, an IP conflict may occur. In this case, it’s better to use a fixed IP allocation to do this instead.

  • To set a static IP address, open your network settings by right-clicking the Start menu and clicking the Network Connections option.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 8

  • In the Network Connections settings menu, press the Change connection properties option.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 9

  • Under the IP Settings category, press the Edit option.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 10

  • Change the IP allocation type to Manual . Enable either IPv4 or IPv6 , then type the static IP settings you wish to apply. An example configuration for an static IPv4 IP address would include 192.168.0.10 for IP address, 24 for subnet prefix length, and 192.168.0.1 for gateway (referring to your local router) and preferred DNS server. Click Save once you’re done.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 11

Once saved, your IP address settings will be applied automatically. You may need to release your existing IP using the steps above or restart your PC for the changes to take effect fully.

Change Your Public IP Address On Windows 10

Your public IP address is the address assigned by your internet service provider, giving you access to the internet. This is assigned to your modem (which is usually combined with your network router, but not always), allowing all other connected network devices to the internet, too.

Changing this address can sometimes be difficult. You’ll need to check if you’re assigned a dynamic (temporary) or static IP address by your ISP first. If you’re assigned a static public IP, your ISP will need to change this for you.

How To Change Your IP Address On Windows 10 (&#038; Why You&#8217;d Want To) image 12

For dynamic IP addresses, you can usually reset this by switching your network modem off for a period of time. By doing this, you’re disconnecting your device from your ISP.

As with your local network, your public IP lease will eventually run out, meaning you may be allocated a new IP address at this point. However, this isn’t guaranteed to work, and you may need to try another method.

If your public IP address won’t change, there are other methods you could try. Using a virtual private network , will hide your public IP as you browse online, for instance.

Configuring Your Network On Windows 10

Whether you’re configuring a server for your network (or for wider internet users), or you just want to free up allocations for other devices, it’s an easy process to change your IP address on Windows 10, although much of the work relies on being able to access your router to properly configure your network.

If your network configuration is causing problems, you may wish to reset your network router to wipe the slate clean and start again. IP allocation issues might be why you’re struggling with network connection issues, but thankfully, there are several ways to fix unidentified network problems on Windows 10.

' src=

Ben Stockton is a freelance technology writer based in the United Kingdom. In a past life, Ben was a college lecturer in the UK, training teens and adults. Since leaving the classroom, Ben has taken his teaching experience and applied it to writing tech how-to guides and tutorials, specialising in Linux, Windows, and Android. He has a degree in History and a postgraduate qualification in Computing. Read Ben's Full Bio

Read More Posts:

manual ip assignment windows 10

HelloTech How

  • WiFi & Networking
  • How to Set a Static IP Ad... How to Set a Static IP Address for a Windows 10 PC

How to Set a Static IP Address for a Windows 10 PC

There are many reasons why you might want to set a static IP address for your Windows 10 PC. In most cases, your router will assign your computer a dynamic IP address, meaning it changes from time to time. This can make it hard to access your computer remotely, use certain programs, and let other users on your network send you files. Here’s how to set a static IP address on your Windows 10 PC.  

  • Click the magnifying glass icon in the bottom-left corner of your screen.

Windows search ip address

  • Next, right-click on WiFi or Ethernet . This will depend on what kind of connection you are using. If your computer is hooked up to your router via an Ethernet cable, right-click that option. If your computer is connected via WiFi, right-click that option. You should be able to tell which adapter you are using by looking at the red Xs and green bars.

network connections wifi status

  • Then click the radio button next to Use the following IP address .
  • IP Address : Use the first 3 segments of your current IP address. So, if your computer’s IP address is currently 192.168.0.1, you can use any IP address that starts with 192.168.0.X, where X is any number between 1 and 254. Or, if your computer’s IP address is 10.0.0.1, you can use an IP address that starts with 10.0.0.X, where X is any number between 1 and 254. But make sure you don’t set your computer’s IP address to be the same as your router’s IP address.
  • Subnet Mask : Usually, on a home network, the subnet mask is 255.255.255.0.
  • Default Gateway : This is your router’s IP address, or the IP address of any other gateway, such as an access point

How to Set a Static IP Address for a Windows 10 PC

  • Finally, click OK and then close the Properties window. Your changes will not go into effect until you close the WiFi/Ethernet Properties window.

Once you set your Windows 10 PC to a static IP address, check out our step-by-step guide on how to port forward , so you can remotely access your computer from anywhere in the world.

Google Nest WiFi Router 3 Pack (2nd Generation) – 4x4 AC2200 Mesh Wi-Fi Routers with 6600 Sq Ft Coverage

HelloTech editors choose the products and services we write about. When you buy through our links, we may earn a commission.

Was this article helpful?

Related articles.

  • How to Set Up a Guest WiFi Network
  • How to Find Your WiFi Password on an iPhone
  • How To Change Your WiFi Channel on a Router
  • How To Find Your WiFi Passwords on a Windows 11 PC
  • How to Find Your IP Address On a Mac
  • How To Find Your Router’s IP Address on Any Device

Need to chat with an expert?

Can't find the answer you're looking for? Don't worry, we're here to help.

Techs

How To Manually Set Ip Address Windows 10

How to manually set an ip address in windows 10: a comprehensive guide.

Are you tired of relying on your network to assign IP addresses automatically? Maybe you have a specific configuration requirement, or you just prefer having more control over your network settings. Whatever the reason, manually setting an IP address in Windows 10 is a straightforward process that can give you the customization you need. In this guide, we’ll take you through the steps, troubleshooting tips, and additional insights to master this skill.

Why Set a Static IP Address?

Before diving into the technicalities, let’s briefly touch on why you might want to set a static IP address . Unlike dynamic IP addresses, which change periodically, a static IP address remains constant. This stability can be beneficial for various reasons:

  • Networked Devices: Certain devices, like printers or servers, require a consistent IP address for accessibility.
  • Port Forwarding: If you’re hosting services like a web server or FTP server, a static IP simplifies port forwarding configurations.
  • Remote Access: When remotely accessing your devices, having a static IP ensures a reliable connection.

Now, let’s jump into the step-by-step guide.

Step-by-Step Guide to Manually Setting an IP Address

1. access network settings.

  • Open the Start menu and click on the Settings icon.
  • Select Network & Internet from the menu.

2. Navigate to Adapter Options

  • In the Network & Internet settings, choose Change adapter options from the left-hand sidebar.

3. Configure Adapter Properties

  • Right-click on the desired network adapter and select Properties .

4. Specify IP Address Settings

  • Within the Properties window, locate and select Internet Protocol Version 4 (TCP/IPv4) .
  • Click on Properties .
  • Choose Use the following IP address and input the required details provided by your network administrator, including IP address, subnet mask, and default gateway.

5. Set DNS Server Addresses

  • Select Use the following DNS server addresses and enter the preferred and alternate DNS server information.

6. Save Changes

  • Click OK to save your settings and close the window.
  • Close the Network Connections window.

Congratulations! You’ve successfully configured a static IP address on your Windows 10 machine.

Troubleshooting Tips for Setting an IP Address

Encountering issues during the setup process is not uncommon. Here are some troubleshooting tips to help you address any challenges:

1. Check Network Adapter Settings

  • Ensure that network adapter settings are configured to Obtain an IP address automatically and Obtain DNS server address automatically .

2. Verify Router Settings

  • Confirm that your router is set to assign IP addresses automatically .

3. Verify IP Address

  • Use the Command Prompt to check if the assigned IP address is correct.

4. Assign a Static IP Address

  • If necessary, manually assign a static IP address by following the aforementioned steps.

5. Reset the Network Adapter

  • Sometimes resetting the network adapter can resolve connectivity issues.

Exploring Further: Understanding IP Addresses in Windows 10

Understanding the basics of IP addresses is crucial for effectively managing your network. Here’s a brief overview:

  • IP Address Structure: An IP address comprises four numbers separated by periods, each representing different aspects of network identification.
  • Automatic vs. Manual Configuration: Windows 10 supports both automatic (DHCP) and manual IP address configurations.

How to Use Command Prompt for IP Address Configuration

For those comfortable with command-line interfaces, utilizing the Command Prompt can be an efficient way to manage IP addresses:

  • Open Command Prompt : Type “cmd” in the Start menu search bar and hit Enter.
  • Check Current IP Configuration : Type “ipconfig” to view current settings.
  • Set IP Address : Use the “netsh” command followed by specific parameters to set the desired IP address, subnet mask, and gateway.

By following these steps, you can take full control of your network configurations in Windows 10.

Manually setting an IP address in Windows 10 empowers you with greater control and flexibility over your network settings. Whether you’re optimizing for specific applications or ensuring seamless remote access, mastering this skill is invaluable. Remember to troubleshoot any issues systematically and leverage additional tools like the Command Prompt for advanced configurations. With these insights and techniques, you’re well-equipped to navigate the complexities of network management in Windows 10.

Frequently Asked Questions (FAQs)

Q1: can i change my ip address anytime.

Yes, you can change your IP address at any time. However, if your IP address is dynamically assigned by your network, it may change automatically. For a static IP address, you’ll need to manually update the settings.

Q2: Will changing my IP address affect my internet connection?

Changing your IP address shouldn’t affect your internet connection. However, if you’re using services that rely on your IP address for authentication or access control, such as online banking or streaming services, you may need to re-authenticate after changing your IP address.

Q3: What should I do if I encounter issues after setting a static IP address?

If you experience any problems after setting a static IP address, first double-check your settings for accuracy. Ensure that the IP address, subnet mask, default gateway, and DNS server addresses are entered correctly. If issues persist, try restarting your computer and router. If problems persist, contact your network administrator or internet service provider for assistance.

Q4: Can I set a static IP address for both wired and wireless connections?

Yes, you can set a static IP address for both wired (Ethernet) and wireless connections on your Windows 10 computer. Simply follow the same steps outlined in this guide for the desired network adapter.

Q5: Is it necessary to restart my computer after changing the IP address?

While it’s not always necessary to restart your computer after changing the IP address, doing so can help ensure that the changes take effect properly. If you’re experiencing any connectivity issues, a restart can often resolve them.

References and Citations

  • Microsoft Support: Change TCP/IP settings
  • How-To Geek: How to Set a Static IP Address in Windows 10
  • Network World: Understanding IP Address Management (IPAM)

admin

  • Previous How To Change Your Wifi Name And Password
  • Next How To Listen To Spotify Offline For Free

How to Create a Drop Down List in Excel

How to Create a Drop Down List in Excel

How To Subtract Percentages In Excel

How To Subtract Percentages In Excel

How To Print Text Messages From An Android Phone

How To Print Text Messages From An Android Phone

Your email address will not be published. Required fields are marked *

  • About JOE TECH
  • Privacy Policy
  • All about AI
  • Google Gemini AI
  • Inflection AI Pi Chatbot
  • Anthropic Claude
  • Multimodal AI
  • Generative AI
  • AI Image Generation
  • AI VIdeo Generation
  • AI Coding Assistants
  • AI Regulation
  • AI Research
  • Large Language Models (LLM)
  • Microsoft Azure
  • Google Cloud
  • Amazon Web Services (AWS)
  • Surface Pro
  • Surface Laptop
  • Surface Book
  • Surface Duo
  • Surface Neo
  • Surface Studio
  • Surface Hub
  • Surface Pen
  • Surface Headphones
  • Surface Earbuds
  • About WinBuzzer
  • Follow Us: PUSH, Feeds, Social
  • Join our Team
  • Cookie Policy and Privacy Policy
  • Terms of Service

How to Change Your IP Address on Windows 10 (3 Methods)

We show you how to change your IP address in Windows 10 using the Settings app, Control Panel, and Command Prompt.

Featured - 3 ways to change the IP address in Windows 10

Table of Contents:

IP addresses are one of the primary ways services identify a user. Though your IP address may change automatically from time to time, if you've been assigned the wrong IP by your router or want something more static, you need to know how to change your IP address on Windows 10 manually.

What is an IP address?

An IP address is a series of numbers that identifies your device and therefore allows information to be sent between devices. Without IP addresses, computers on the internet and your local network would not be able to differentiate between different devices, routers, websites, etc.

However, IP addresses also come with some downsides. For starters, somebody may be able to use your IP address to get a general idea of your location. Services may also utilize your IP address to track you across the web.

Unfortunately, changing your IP address will with the methods outlined below will not disguise your location. As the IP address will still be connected to your ISP, it can still be traced to their nearest networking hub. It will also not help if you have been banned by a service – you're only changing the IP address on your local network, not the one the internet sees. For that kind of protection, you should consider using Tor or a VPN.

That said, if you do want to change IP address on Windows 10, you'll need to have access to your administrator account. If you do have access, you can learn how to change IP by following the steps below:

How to Change IP Address in Windows 10 via Settings

Unsurprisingly, the simplest way to change your IP address in Windows 10 is via the in-built settings app, but there are a few things you need to look out for when it comes to choosing your new IP:

Press the Start button, then click the settings cog, above the power button. Alternatively, press Windows + I .

Windows 10 - Open Settings

If your IP address is currently set manually and you're running into issues, you can change the dropdown in “Edit network IP settings” to “Automatic (DHCP)” and press “Save” .

Windows 10 - Settings - Network & Internet - Wifi - Edit IP Assignment - Automatic

When you change your IP address, it's important to make sure the information you enter is correct. Before you start, it's useful to gather:

– Your current IP address – Your subnet mask – Your gateway (router IP)

If you don't know these details, you can run the ipconfig command in Command Prompt to obtain them.

Ideally, your new IP address should be of the same format as your old one. For example, if your current IP address is 10.0.0.1, you'll probably want to keep the 10.0.0.x format. Make sure you don't set your IP to the same as your gateway or other devices on your network.

Once you're done, press “Save” .

Windows 10 - Settings - Network & Internet - Wifi - Edit IP Assignment - Manual - Fill it

How to Change your Windows 10 IP Address in Control Panel

If you prefer the old-school way of doing things, the Control Panel may be better suited to you. In some ways, its interface is easier to navigate when it comes to IP editing. Here's how you can use it for that purpose:

Press Start and then type “Control Panel” . Click the top result.

Windows 10 - Open Control Panel

At this point, you'll likely have to authenticate yourself as an administrator.

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties

If your IP address is currently manually assigned and you're running into issues, you can tick “Obtain an IP address automatically” here instead and click “Save” .

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties - Check Internet Protocol Version 4 - IP Automatically

Once you're done, press “OK” . You can leave the DNS fields blank, though it's worth noting that there are advantages to changing them.

Windows 10 - Control Panel - View Network Status and Tasks - Wi-Fi Status - Properties - Check Internet Protocol Version 4 - IP Manual

How to Change IP in CMD (Command Prompt)

The command-line is often the fastest way to get things done, and this is no exception. You can change your IP in Command Prompt in under a minute if you need to. Here's how:

Press Start and type “Command Prompt” , then click “Run as administrator” on the right-hand side.

Windows 10 - Open Elevated Command Prompt

Before you change your IP, you need to know the name of your interface. This will likely be “Wi-Fi” if you're on a Wi-Fi network or “Ethernet” if you're on Ethernet.

You can check yours with netsh interface IP show config . While you're there, note down its default gateway and subnet mask.

Windows 10 - Elevated Command Prompt - Enter the Command - Identify the Network Adapter

If you set your manual IP previously, you can revert it to automatic assignment via DHCP with the following command:

Remember to replace “Wi-Fi” with whatever your interface is called.

Windows 10 - Elevated Command Prompt - Command for Dinamic IP

If you'd rather set your IP address manually, you can instead use the following command:

Windows 10 - Elevated Command Prompt - Command for Static IP

Now that you know how to change your IP address on Windows 10, you may be interested in learning more about your network. Here's how you can change your network name or disable a Wi-Fi or Ethernet adapter .

Last Updated on February 14, 2022 7:43 pm CET

Recent News

manual ip assignment windows 10

LinkedIn Faces Generational Entertainment vs Professionalism Divide Over Personal Content

manual ip assignment windows 10

Signal Messaging App Faces Government Restrictions in Venezuela and Russia

manual ip assignment windows 10

Security Flaws in Microsoft Copilot AI Exposed at Black Hat

How to Set a Static IP Address on a Windows PC

4

Your changes have been saved

Email is sent

Email has already been sent

Please verify your email address.

You’ve reached your account maximum for followed topics.

While most of the internet runs on dynamic addresses these days, static addresses are sometimes helpful to use as well. Whether you need to run a server of your own, set up external devices or services, or are just simply looking to explore, before you get your hands dirty, you need to know your way around and be super careful while setting up an IP address.

Moreover, there's more than one way to go about this. So, one by one, let's look at all the ways you can easily set up a static IP address on your Windows.

Static IP Addresses: The Whys and Hows

An IP address of a computer that stays the same over time is known as a Static IP address . This is in contrast to a dynamic IP Address, which is an address that can tweak over time.

Today, most devices use a dynamic IP address because of their ease of use and management. However, in rare cases, Static IP addresses can become handy. Some of those cases include:

  • When you have external devices that you can only connect to your network through your IP address.
  • When you connect to other networks through a VPN.
  • Static IP addresses can make hosting a server somewhat easier.

Because of a slew of such benefits, using a Static IP address can make your life super easy in some situations. So, now let's look at the different methods you can use to set up a static IP address for yourself.

How to Set a Static IP Address on Windows 11

Like most things on Windows, you have multiple ways to do this. Let's look at the most straightforward method first, which is using Windows Settings.

Here's how you can set a static IP Address using the Windows settings:

  • Head to the Start menu search bar, type in 'settings,' and select the best match. Alternatively, press the Windows Key + I to launch the Settings menu.
  • Then head to Network & internet settings .
  • Look for the Properties button. It's right next to your connection settings.
  • Scroll down and look for the IP assignment section. Then click on Edit .
  • In the new Edit IP settings dialog box, click on the scroll-down menu and select Manual .
  • Toggle on the switch for the IPv4 button.
  • Fill in all the network details here, including the IP address , Subnet mask , Gateway , and then click on Save .

ip settings

Follow the above steps meticulously, and your Windows 11 will have a new static IP address from here on.

How to Set Up a Static IP Address on Windows 10

The basics of setting up an IP Address in Windows 10 are similar. Even though the implementation of steps might differ here and there, you have to follow a pattern that's pretty much the same. Here's how:

  • Open the Windows 10 Settings.
  • Click on Network & Internet .
  • Depending on how you are connected to the Internet, select Wi-Fi or Ethernet .
  • Select the current network connection.

settings

  • Toggle on the IPv4 switch.
  • Set up the static IP address here and fill in other relevant information, such as the Preferred DNS , Default Gateway , etc.
  • Click on Save .

After you are done, you will have a new static IP address on your PC from here on.

How to Set Up a Static IP With Command Prompt

The above method, using the Settings GUI, is only one of the ways to tweak your IP address settings. For those of you who tilt more towards a command line rather than a simple click-and-play GUI, luckily, alternatives exist. For instance, you can also use the Command prompt, and set up the address with just a few commands.

To change up your IP address through your Command Prompt, follow the below steps:

  • Head to the Start menu search bar, type in 'cmd,' and launch the cmd as administrator.
  • Type in the following command in the cmd and hit Enter : ipconfig /all
  • Subnet mask
  • Default Gateway
  • DNS Servers
  • Type in the following command to assign static IP address on your Windows and hit Enter : netsh interface ip set address name= "Ethernet1" static 10.1.4.220 255.255.255.0 10.1.4.1 In the above command, replace Ethernet1 with the name of your adapter, and 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
  • Now type the following command to set up a DNS server address and hit Enter : netsh interface ip set dns name= "Ethernet1" static 10.1.4.1

cmd

That's it. Your new static IP address will be set up from here.

How to Set Up a Static IP Address With PowerShell

PowerShell is another tool primarily handy for power users, designed to give them more control and management capabilities through task automation. If any of the above methods fail, you can also use PowerShell to set up the Static IP Address. Here’s how you can get started:

  • Head to the Start menu search bar, type in ‘powershell,’ and run it as administrator.
  • Type the following command to view your current network configuration and press Enter : Get-NetIPConfiguration
  • InterfaceIndex
  • IPv4Address
  • IPv4DefaultGateway
  • Type in the following command to set up a static IP address and hit Enter : New-NetIPAddress -InterfaceIndex 10 -IPAddress 10.1.4.119 -PrefixLength 24 -DefaultGateway 10.1.4.1
  • Here, replace all values of information. Replace the InterfaceIndex number (10) with the number assigned to your adapter. Similarly, replace the above IPAddress with a static IP address that you want to set.
  • Finally, type in the following command to assign the DNS server address and hit Enter : Set-DnsClientServerAddress -InterfaceIndex 10 -ServerAddresses 10.1.4.1

Again, replace the InterfaceIndex number (10) with your network’s corresponding number. Also, replace the ServerAddress with the DNS IP address.

You will have a new static IP address as soon as you finish all the above steps.

Setting up a Static IP Address on a Windows PC

Setting up your static IP address doesn't have to be complicated. If you follow the above methods we have laid out above, you should be done without any significant difficulties.

And while static IP address has their uses, dynamic addresses are undoubtedly necessary. So, before you make an important switch, ensure you understand their significant differences well.

WebNots

Home » Tech Tips » Windows » How to Assign Static IP Address in Windows 10?

How to Assign Static IP Address in Windows 10?

Every computer connected to the internet should have a unique number. This number is called IP address and used for identifying the computer and monitor the activities originating from that IP address . This will help to easily block the particular IP address whenever there are spam and malicious activities from that IP. Generally, your internet service provider (ISP) will buy a bulk range of IP addresses and assign to the clients like you dynamically whenever you connected to the internet.

The dynamic IP assignment may result in multiple issues and you may not able to get the same identity every time. Setting your own static IP address is used varyingly and in different occasions. Some people do it so that their IP address remains the same and doesn’t change from time to time. Some others do it for whitelisting their IP for accessing applications.

In any case, we’ll be going over how to change your IP address in Windows 10 PC to one that is static.

How to Change IP Address in Windows PC?

To begin with, you’ll need to open the “Network Connections” window. You can do this by pressing “Win + R” keys to open “Run” dialog box and then searching for “ncpa.cpl”.

Open Network Connections in Windows 10

The window should look something like below.

Network Connections Window

The “Network Connections” window will show you all available wired, wireless, VPN and LAN networks on your computer. In the above example we have an Ethernet adapter as we are connected to internet using a network cable. If you are using wireless router then you will be seeing the network name of your Wi-Fi connection .

From here, we need to right click on the active connection that we want to set an IP address on, and select properties, like so.

Network Connections Window Right Click

Once in the properties window, chose the “Internet Protocol Version 4 (TCP/IPv4)”. It should look something like this:

Network Adapter Properties

Change IP, Subnet Mask and Default Gateway

Now, double click on the TCP/IPv4 option. Because we want to actually change the IP address to something that we want, the option that you want to select in there is “Use the following IP address”. This is where we get to choose what the IP address is. Make sure that you enter an IP address that you have obtained from your ISP.

Change IP Address in TCP:IPv4 Properties

Be careful when setting your IP address though, as the values of the IP address sections can only be between 0 and 255. Otherwise, it will likely come up with error like this one:

Wrong IP Address Error Message

What we need to do next is put in a Subnet mask in the box below the IP Address. A Subnet mask, for those that don’t know, is basically something that hides your IP address and splits it into your network and host addresses. So, let’s go ahead and put that in. In most cases when you click on the section and Windows will auto fill it for you.

Assign Subnet Mask IP

The default gateway section can just be left blank, because that will just be the router itself.

Note: Remember to get a valid IP address from your ISP which is supported by all your devices including the router. Actually you can configure the static IP address on your router so that all the connected devices can have the same IP.

Assigning Manual DNS

A DNS server address is essentially something that takes domain names, or websites, and resolves them into IP addresses. Similar to IP address, DNS servers also assigned automatically by your ISP. If you like to assign manual DNS servers, all that’s left to do now is put in the preferred and alternate DNS Server addresses. So, we can go ahead and place each of those in like so.

Assign DNS IP Addresses

Remember to enter reliable DNS servers like Google public DNS since all your browsing activities will be routed through these DNS servers. Also enter both the preferred and alternate DNS server IP addresses. The alternate server will act as a backup for the preferred server whenever it fails.

Validating the IP Assignment

It is important to validate the IP addresses you entered are correct. Before clicking on the “OK” button, ensure to tick the little box in the corner that says, “Validate settings upon exit”. What this does is simple. It checks all your new IP address settings to see if they work and informs you accordingly. So that, down the track, you don’t struggle with your network connection and wonder, “why is this happening to me?”

With that done, press the “Ok” button, and then press it again on the “Properties” window. If all goes well, your computer should run diagnostics on the new IP address and give you feedback on it. If the IP address isn’t working, it will show a diagnostic tool, like this:

Networks Diagnostics Window

You can either choose to select the “Apply this fix” or choose “skip this step” option. Apply this fix meaning that it will revert your IP address settings back to what they were previously and assign them automatically. Skip this step usually results in the connection being disabled. In this case, you can then go back and repeat the steps above, but with an IP address that is supported by your ISP and router.

Due to this happening, it is recommended that you look at the related settings and IP addresses for your router before you start changing to static IP address. If your router supports the IP address and DNS server addresses, then you have just successfully created static IP address for your Windows 10 PC.

About Editorial Staff

Editorial Staff at WebNots are team of experts who love to build websites, find tech hacks and share the learning with community.

You also might be interested in

Fix W-Fi Connection Issues in iOS

How to Fix Wi-Fi Connection Issues in iPhone?

Apple uses iOS operating system on their popular iPhone models.[...]

Fix Err_Connection_Timed_Out Error in Chrome

Fix ERR_CONNECTION_TIMED_OUT Error in Chrome

Google Chrome is a very popular web browser and it’s[...]

Backup and Restore WiFi Passwords in Windows

How to Backup and Restore Wi-Fi Passwords in Windows 11?

If you are planning to format and install a new[...]

Leave your reply.

Greetings, HELP, I’m really afraid to do this! WAN’T to do it though. Can’t I somehow get a hold of my IPS somehow before I Start all this & get my next working IP Address & Subnet Mask before I try yo enter my own numbers before I try just setting it myself with various numbers?

Thanks, Barry

DOWNLOAD EBOOKS

  • SEO Guide for Beginners
  • WordPress SEO PDF Guide
  • Weebly SEO PDF Guide
  • Alt Code Emoji Shortcuts PDF
  • Free ALT Code Shortcuts PDF
  • View All eBooks

TRENDING TECH ARTICLES

  • 600+ Windows Alt Codes for Symbols
  • Fix Chrome Resolving Host Problem
  • Fix Slow Page Loading Issue in Google Chrome
  • View Webpage Source CSS and HTML in Google Chrome
  • Fix Safari Slow Loading Pages in macOS
  • Fix Windows WiFi Connection Issue
  • ROYGBIV or VIBGYOR Rainbow Color Codes
  • Fix I’m Not A Robot reCAPTCHA Issue in Google Search
  • Structure of HTTP Request and Response

POPULAR WEB TUTORIALS

  • Move WordPress Localhost Site to Live Server
  • Move Live WordPress Site to Localhost
  • Move WordPress Media Folder to Subdomain
  • Fix WooCommerce Ajax Loading Issue
  • Create a Free Weebly Blog
  • Edit Weebly Source Code HTML and CSS
  • Add Scroll To Top Button in Weebly
  • Add Table in Weebly Site
  • How to Add Advanced Data Table Widget in Weebly?
  • Up to $500 Free Google Ads Coupon Codes

FREE SEO TOOLS

  • Webpage Source Code Viewer
  • HTTP Header Checker
  • What is My IP Address?
  • Google Cache Checker
  • Domain Age Checker Tool
  • View All Free Web and SEO Tools

© 2024 · WebNots · All Rights Reserved.

Type and press Enter to search

  • PC & Mobile

How to Set a Static IP Address in Windows 10

manual ip assignment windows 10

Lee Stanton Lee Stanton is a versatile writer with a concentration on the software landscape, covering both mobile and desktop applications as well as online technologies. Read more June 16, 2023

There are many benefits of setting up a static IP address in Windows 10. For example, this allows you to share data like documents, files, and printers locally or using port forwarding.

Services and port forwarding configurations will ultimately stop functioning if you don’t set a static IP address. One of the reasons for this is that most devices utilize a dynamic IP address, which the router’s Dynamic Host Configuration Protocol (DHCP) server usually determines. These addresses can be changed at any moment, including when you restart your computer or when the dynamic settings that were used end.

Luckily, there are a couple of ways you can set a static IP address. In this article, we’ll go through and discuss the necessary steps for configuring a static IP address on both Windows 10 and 11.

There are a few different methods to set a static IP address on a Windows 10 PC. Every method works is equally effective.

Command Prompt

On a Windows 10 PC, it’s possible to configure a static IP address using the command prompt. Although some users may find it difficult, this is the fastest method.

manual ip assignment windows 10

Again, replace Ethernet0 with the name of your adapter and 8.8.8.8 with your DNS server address in the command.

As soon as you’ve finished the process, you may test your new setup using a command line tool (for instance, ping google.com). Check out a web page to test whether the settings work.

Control Panel

For some users, the previous method using the Command Prompt might not be for them. Luckily, there is a way to modify the IP configuration on a Windows 10 PC via the Control Panel. To set a static IP address using the Control Panel, follow these steps:

manual ip assignment windows 10

Now you can assign all the needed information.

manual ip assignment windows 10

When you’re finished with the instructions, you may open a web browser to test the setup by loading a webpage.

There is an option on Windows 10 to alter the IP address settings for connected devices via the Settings app. Here’s how:

manual ip assignment windows 10

Once you’ve finished following the instructions, you may verify your settings by opening a webpage in a web browser.

How to Set a Static IP Address in Windows 11

You can use the Settings app to set up a static IP address in Windows 11. Here’s how:

manual ip assignment windows 10

Open your default web browser and determine whether you are able to surf the internet.

As well as Windows 11, the PowerShell method works on older Windows versions too. Follow these steps to set up a static IP address using PowerShell:

manual ip assignment windows 10

Have All the Benefits of a Static IP Address

Setting up a static IP address in Windows 10 and 11 can come in handy in a number of situations. A Windows 11 PC or Laptop with a fixed IP address and DNS address will improve the speed of your internet connection, making it more responsive. You may also reduce ping and latency time by boosting the IP address, which will result in less lag.

Do you have a static IP address on your Windows? Have you tried setting up a static IP address? Let us know in the comment section below!

Related Posts

manual ip assignment windows 10

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

N-Ways-to-Customize-the-Windows-11-Notepad-App

Afam Onyimadu July 25, 2024

How-to-Run-AI-Models-Locally-on-Windows-Without-Internet

Afam Onyimadu June 1, 2024

Connecting two AirPods to a Windows PC or Mac

Lee Stanton March 14, 2024

Send To Someone

Missing device.

Please enable JavaScript to submit this form.

StackHowTo

  • How To Set Static IP Address in Windows 10 using CMD

I n this tutorial, we are going to see how to set static IP address in Windows 10 using CMD . There are several methods to set a static IP address in Windows 10. In this tutorial, we will see together how to set a static IP address from the Command Prompt.

In Windows 10, setting a static IP address for your device is an essential configuration that may be required in a number of scenarios. For example, if you plan to share files or a printer on a local network, or when you try to set up port forwarding.

Using CMD may seem difficult for some users, yet it is one of the fastest ways to assign a static IP address in Windows 10.

manual ip assignment windows 10

  • IPv4 address
  • Subnet mask
  • Default gateway
  • DNS servers

manual ip assignment windows 10

  • Types of Ethernet Cable
  • How to Install CAB File in Windows 10 using Command Line
  • How to Change Multiple File Extensions at Once in Windows 10 Using PowerShell
  • How to Make Taskbar Buttons Smaller in Windows 10
  • How to Run AutoHotKey Script on Startup Windows 10
  • How to Remap Keyboard Keys in Windows 10
  • How to Search Files by Size in File Explorer on Windows 10
  • How to Check Internet Data Usage in Windows 10
  • How to Change Folder Background Color in Windows 10
  • How to Turn off Location on Laptop Windows 10
  • How to Disable Sleep Option from Windows 10 Start Menu
  • How to Wake Up Computer From Sleep Mode in Windows 10 with Mouse
  • How to Wake Up Computer From Sleep Mode in Windows 10 with Keyboard
  • Batch File To Display Popup Message in Windows 10
  • How to Display Popup Reminder in Windows 10
  • How to See PC Startup and Shutdown History in Windows 10
  • How to Record Your Screen with VLC on Windows 7/8/10
  • How to Change Paging File Size in Windows 10
  • How to Display Full Path in Title Bar of File Explorer on Windows 10
  • How to Cancel Shutdown on Windows 10
  • How to Schedule Auto Shutdown in Windows 10
  • How to Schedule a Scan in Windows Defender
  • How to Calculate Total Duration of Multiple Video Clips in Windows 10
  • How to Fix Drag and Drop Problems in Windows 10
  • How to Disable Power Throttling in Windows 10
  • How to Run Program as Administrator Without Password Prompt in windows 10
  • How to Limit Windows Defender CPU Usage
  • How to Check if Windows 10 is Activated
  • How to Fix Right Click on Desktop Not Working in Windows 10
  • Image Resizer on Right-click for Windows 10
  • How to Change Computer Name in Windows 10
  • How to Change Account Picture in Windows 10
  • How to Zoom in and out in CMD and PowerShell
  • How to Lock Screen After Inactivity on Windows 10
  • How to Sync Computer Time With Internet in Windows 10
  • Command To Check Open Ports in Windows
  • How to Keep a Window Always On Top on Windows 10
  • How to Increase Font Size in Windows 10
  • How to Change Cursor Color in Windows 10
  • How to Change Cursor Size in Windows 10
  • How to Change Default PDF viewer on Windows 10
  • How to Disable Security Questions in Windows 10
  • How to Pin Specific Settings to the Start Menu in Windows 10
  • How to Format USB Device When FAT32 Option is Not Available
  • How to Automatically Open a Web Page at a Specific Time
  • How to Restart explorer.exe in Windows 10 Using CMD
  • How to Restart Explorer.exe in Windows 10 [2 Methods]
  • How to Add Program Shortcut to Start Menu in Windows 10
  • Hibernate Option Not Showing In Windows 10
  • How To Delete Previous Version of Windows in Windows 10
  • How to Add Print Option in Right-Click Menu
  • How to Delay Startup Programs in Windows 10/8/7
  • How to Disable Task Manager on Windows 10
  • How to Turn on Network Discovery in Windows 10
  • How to Check if Virtualization is Enabled in Windows 10
  • How to Password Protect a Zip File on Windows 10
  • How To Change User Folder Name in Windows 10
  • How to Restore Drivers in Windows 10
  • How to Backup Drivers using PowerShell Command in Windows 10
  • How to Add Store Apps to Startup in Windows 10
  • How to Enable Fingerprint in Windows 10
  • How to Enable Autocorrect and Predictive Text in Windows 10
  • How To Open a Second File Explorer Window in Windows 10
  • How to Block Websites On Your Computer
  • Check Disk Command in Windows 10

How to Activate a Window by Hovering Over it with the Mouse in Windows 10

  • How to Control Volume for Individual Programs in Windows 10
  • How to Schedule Restart in Windows 10
  • How to Change Microsoft Store Region in Windows 10
  • How to Hide the Clock From Windows 10 Taskbar
  • How to Enable Number Pad on Keyboard Windows 10
  • How to Turn Off Taskbar Thumbnail Previews in Windows 10
  • How Can I See All Drives in CMD
  • How to Show All Drives in Windows 10 File Explorer
  • Windows 10 Privacy Settings to Turn Off
  • How to Change Desktop Icons in Windows 10
  • How to Force a Program to Open in Full Screen in Windows 10
  • How to Delete Temporary Files in Windows 10
  • How to Enable Startup Sound in Windows 10
  • How to Reset All Default Apps in Windows 10
  • How to Change Default Action on Connecting a USB Device Windows 10
  • How to Remove Old Drivers From Windows 10
  • Where is the Drivers Folder in Windows 10
  • How to Reset Windows Update in Windows 10
  • How to Format USB Using CMD on Windows 10
  • How To Check WiFi Signal Strength on Windows 10 Using CMD
  • How to Remove “Show Desktop” Button on Windows 10
  • How to Enable Remote Desktop on Windows 10
  • How To Open File Explorer To “This PC”
  • How to Stop the Screen From Turning Off on Windows 10
  • How to Change Default Folder Name in Windows 10
  • How to Display Day of Week in Windows 10 Taskbar
  • How To Display Windows 10 Start Menu in Full Screen
  • How to Create a New Library in Windows 10
  • How to Reset the Settings App in Windows 10
  • How To Disable Startup Programs in Windows 10
  • How to Enable Registry Backup in Windows 10
  • How to Remove Password at Windows 10 Startup
  • How to Reset Windows 10 To Factory Settings
  • How To Enable or Disable Night Light in Windows 10
  • How to Add Clocks to Start Menu on Windows 10
  • How to Disable Bing Web Search Results in Windows 10 Start Menu
  • How to check Bluetooth battery level on Windows 10
  • How To Find Out If a Program is 32 or 64-bit Windows 10
  • How To Check Bios Firmware Version in Windows 10
  • How To Activate Windows 10
  • How to enter UEFI (BIOS) on Windows 10
  • How to Boot From a USB Drive on Windows 10
  • How to Reinstall Microsoft Store in Windows 10
  • How to Enable Ultimate Performance Mode in Windows 10
  • How to Stop Apps From Running in the Background on Windows 10
  • How to Change Another User’s Password in Windows 10
  • How to Delete Local User Account using PowerShell in Windows 10
  • How to Create Local User Account using PowerShell in Windows 10

How to Disable User Account Control (UAC) in Windows 10

  • How to Block Inappropriate Websites on Windows 10
  • How to Set Up a Child Account in Windows 10?
  • How to Download Windows 10 ISO file (32 bits and 64 bits)
  • How to Change the Default Save Location in Windows 10
  • How to Add Open Command Prompt Here to right-click Menu in Windows 10
  • Add Open PowerShell Window Here as Administrator in Windows 10
  • How to Mount ISO Images on Windows 10
  • How to Clear DNS Cache on Windows 10
  • How to Change DNS Server in Windows 10
  • How to Change Temp Folder Location in Windows 10
  • How to Reduce the Size of the Search Bar in Windows 10
  • How to Force Close a Program on Windows Without Task Manager
  • How to Force Close a Program with Task Manager
  • How to Speed Up Windows 10 Startup
  • How to Enable Sandbox in Windows 10
  • How to Disable Automatic Installation of Suggested Apps in Windows 10
  • No Sounds on Windows 10? Here’s How to Fix It
  • No Audio Output Device Is Installed in Windows 10 Fix
  • Where is the Location of Startup Folder in Windows 10?
  • How to Create a Windows 10 Bootable USB
  • How To Run Computer Performance Test in Windows 10
  • How To Tell If Your Computer Is 32 Or 64-bit Windows 10
  • How to Remove Recycle Bin From Desktop on Windows 10
  • How to Show My Computer, Recycle Bin Icon on Windows 10
  • How To Enable Screen Saver In Windows 10
  • How to Enable or Disable Updates For Other Microsoft Products on Windows 10
  • How to Disable Windows 10 Startup Delay
  • How To Open Emoji Keyboard on Windows 10
  • How to Turn On File and Printer Sharing in Windows 10
  • How To Optimize Windows 10 For Gaming
  • How to Add Shortcuts to the “Send to” Menu in Windows 10
  • How to Change the Screen Refresh Rate of Your Monitor in Windows 10
  • How to Make a Program Run on Startup in Windows 10
  • How to Turn Off SmartScreen in Windows 10
  • How to Disable Telemetry in Windows 10
  • How to Disable Windows 10 Tracking
  • How to Disable Windows 10 Data Collection
  • How to Free Up Disk Space in Windows 10
  • Fast Way to Delete a Large Folder in Windows 10
  • How to Create a Printer Shortcut on Desktop Windows 10
  • How to Change Audio Output Device Per Application on Windows 10
  • How to Format a Hard Drive or SSD in Windows 10
  • How to Switch Between Windows in Windows 10 using Keyboard
  • How to Download and Install Windows Media Player for Windows 10
  • How to Create a Shortcut on Desktop Windows 10
  • How to Block reopening of Programs on startup Windows 10
  • How To Limit Windows Update Bandwidth in Windows 10
  • How to remove the 3D Objects folder from This PC in Windows 10
  • How to Remove Old User Account Pictures in Windows 10
  • How to Delete the Hibernation File hiberfil.sys
  • How to Show Seconds in System Clock in Windows 10
  • How to Open Files and Folders with Single Click in Windows 10
  • How to Reset Your Microsoft Account Password for Windows 10
  • How to Fix Corrupted Files in Windows 10
  • How To Export And Import Start Menu Layout In Windows 10
  • How to Stop Automatic Restart After Updating Windows 10
  • How to Remove Ads From the Start Menu in Windows 10
  • How to Create a Homegroup Network in Windows 10
  • How to Disable ads in File Explorer in Windows 10
  • How To Fix gpedit.msc Group Policy Editor Missing in Windows 10
  • How to Change the Network Connection Priority in Windows 10
  • How to Watch Videos While Working on Other Tasks on Windows 10 Computer
  • How to Create a System Repair Disk in Windows 10
  • How to Customize the Taskbar in Windows 10
  • How to Change Taskbar Icons in Windows 10
  • How to Show the Control Panel in File Explorer on Windows 10
  • How to Uninstall Updates in Windows 10
  • How to reset all Local Group Policy on Windows 10
  • How To Turn Windows 10 Computer Into a Wi-Fi Hotspot
  • How to Reset Network Settings in Windows 10 Using CMD
  • How to Disable the Game Bar in Windows 10
  • How to Clear Windows 10 Update Cache
  • How to Create an Invisible Folder without Any Name in Windows 10
  • How to Add Open With to Right-click Menu in Windows 10
  • How to Change Default Apps on Windows 10
  • How to Prevent Copying Files From USB to PC
  • How to Find Your WiFi Password on Windows 10
  • How to Hide Your Name and Email Address on Windows Login
  • How to Speed Up File Transfer in Windows 10
  • How to Remove Power or Shutdown Button from Lock Screen in Windows 10
  • How to Start Windows 10 in Safe Mode
  • How to Stop Lock Screen ads in Windows 10
  • How to Enable Guest Account in Windows 10 using CMD
  • How to Restore Windows 10 Image Backup From Hard Drive
  • How to Create a System Image in Windows 10
  • How to Disable Automatic Update on Windows 10
  • How to Stop Programs From Automatically Updating in Windows 10
  • How to Take a Screenshot on Windows 10
  • Windows 10: Start Menu And Taskbar Not Working
  • How to Rebuild a Broken Icon Cache in Windows 10
  • How to Turn Off Windows Security Notifications in Windows 10
  • How to Preview a File Without Opening it in Windows 10
  • How to Permanently Disable Windows Defender on Windows 10
  • How to Disable the Action Center in Windows 10
  • How To Reinstall Microsoft Edge In Windows 10
  • How to Uninstall Microsoft Edge in Windows 10
  • How to Change Start Menu and Taskbar Color in Windows 10
  • How to Get Windows 7 Start Menu on Windows 10 with Classic Shell
  • Why the Start Menu is Slow to Open in Windows 10
  • How to Change Login Screen Background on Windows 10
  • How to Restore Windows Photo Viewer in Windows 10
  • How to Fix Screen Flickering in Windows 10
  • How to Remove Windows 10’s Built-in Apps
  • How to Fix Black Screen on Windows 10
  • How to Remove Search Bar From Taskbar on Windows 10
  • How to Disable Windows 10 Peer-to-Peer Updates
  • How to Downgrade to Windows 7 From Windows 10
  • How to Fix Windows 10 Start Menu And Cortana Not Working
  • How to Backup and Restore Registry in Windows 10
  • How to Change the Default Installation Location on Windows Using Regedit
  • How to Force Restart Windows 10 with Keyboard
  • How to Remove Shortcut Arrow from Desktop Icons on Windows 10
  • How to Find Computer Specs on Windows 10
  • How To Move Your Libraries To Another Drive in Windows 10
  • How to Enable Numlock at Windows Startup
  • How to Change CMD Color in Windows 10
  • How To Increase Font Size In CMD
  • How To Assign Letter To Drive In CMD
  • How To Get MAC Address In CMD
  • How to Open File Explorer Using CMD on Windows 10
  • How To Run Batch File On Windows Startup
  • How To Run EXE From A Batch File
  • How To Run A Python Script From A Batch File
  • How to Run PowerShell Script From A Batch File
  • How to Run Multiple Batch Files From One Batch File
  • Batch File To Copy All Files From One Folder To Another
  • How To Compare Strings In Batch Files
  • How To Concatenate Variables In Windows Batch File
  • How To Clear A Variable In A Batch File
  • For Loop Counting From 1 To N in a Batch File
  • How to Run Batch File Automatically Every X Minutes
  • Batch File To Get and Set System Date
  • Batch File To Set Default Programs in Windows 10
  • Batch File To Get Computer Name
  • Batch File To Get Current Directory
  • Batch File To Get Input From User
  • Batch File To Get IP Address
  • Batch File To Get MAC Address
  • How to Add a Registry Key in a Batch File
  • Batch File To Create Local User Accounts
  • Batch File To Create a Text File
  • Batch File To Create a Folder
  • Batch File To Create Folders From a List
  • Batch File To Write Ping Results To a Text File
  • Batch File To Write Variable To a Text File
  • Batch File To Write To a Text File
  • Batch File To Read XML File
  • Batch File To Read CSV / XLS
  • Batch File To Read Text File Line By Line into A Variable
  • Batch File To List Folder Names
  • Batch File To List Folders and Subfolders
  • Batch File To List Filenames in a Specified Folder
  • Batch File to List All Files in a Folder and Subfolders
  • How to Check Internet Connection using Batch File
  • How to Check the Size of a File in a Windows Batch Script
  • How To Check Batch File Error
  • Batch File To Check If Folder Exists
  • How to Check If a Path is File or Directory using Batch
  • Batch File To Delete Folders Older Than N Days
  • Batch File To Delete All Files in Folder Older Than N Days
  • Batch File To Delete All Files In Folder
  • Batch File To Delete A File If Exists
  • Batch File To Check If Multiple Files Exist
  • Batch File To Check If File Exists
  • Batch File Commands List With Examples
  • 8 Batch File Commands You Should Know
  • How to Create a Batch File in Windows
  • How to Run Batch File in CMD
  • How to Run EXE File in CMD
  • How to Change the MAC Address on Windows 10
  • How to Create a Website Shortcut on Desktop In Windows 10
  • 29 Run Commands in Windows You Should Know
  • How to Ping IP Address in CMD
  • How to Get IP Address Using Ipconfig in CMD
  • How to Delete Folder Using CMD in Windows 10
  • CMD Commands List You Should Know
  • How to Change Lock Screen in Windows 10
  • How to Show My Computer Icon on Desktop in Windows 10
  • How to Change Compatibility Mode in Windows 10
  • How to Uninstall Internet Explorer in Windows 10
  • How to Add or Change Desktop Theme in Windows 10
  • How to Disable Transparency Effects in Windows 10
  • How to Delete and Uninstall Fonts in Windows 10
  • How to Install New Fonts in Windows 10
  • How to Disable Lock Screen on Windows 10 Using Registry
  • How to Customize Action Center in Windows 10
  • How to Disable Cortana in Windows 10 using Registry
  • Battery Icon Missing From Taskbar in Windows 10 [Solved]
  • How to Change Desktop Background in Windows 10
  • How to Increase Battery Life of Windows 10 Laptop
  • How to Turn off Notifications in Windows 10
  • How to Create Keyboard Shortcuts in Windows 10
  • How to Change Desktop Icon Size in Windows 10
  • How to Turn On Dark Mode on Opera
  • How to Turn On Dark Mode on Mozilla Firefox
  • How to Turn On Dark Mode on Google Chrome
  • How to Turn On Dark Mode on Microsoft Edge
  • How to Enable Dark Mode in Windows 10
  • How to Increase Mouse Sensitivity in Windows 10
  • How to Find Which Programs are Slowing Down Your Boot Time in Windows 10
  • How to Defrag the Hard Drive in Windows 10
  • How to Copy and Paste Into Command Prompt in Windows 10
  • How to Enable the On-Screen Keyboard in Windows 10
  • How to Check Laptop Battery Health in Windows 10
  • How to Use Offline Maps in Windows 10
  • How to Calibrate Your Monitor in Windows 10
  • How to Enable God Mode in Windows 10
  • How to Increase Processor Speed in Windows 10
  • How to Pin a Folder to Taskbar in Windows 10
  • How to Pin a Website to Taskbar in Windows 10
  • How to Switch Between Desktops in Windows 10
  • How to Make Windows 10 Boot Faster
  • How to Stop Windows 10 From Sleeping
  • How to Set an Alarm Clock on Windows 10
  • How to Go Directly to Desktop in Windows 10
  • How to Create a New Folder on Windows 10
  • How to Reduce Blue Light on Computer Screen on Windows 10
  • How to Turn on Speech Recognition in Windows 10
  • How to Sync My Settings in Windows 10
  • How to Change the Screen Resolution on Windows 10
  • How to Create a New User on Windows 10

How to Turn Off Tablet Mode in Windows 10

  • How to Uninstall a Program on Windows 10
  • How To Change Password In Windows 10
  • Top Keyboard Shortcuts in Windows 10
  • How to Speed Up Windows 10 Shutdown
  • How to Change Default Browser in Windows 10
  • How to Disable the Lock Screen in Windows 10
  • How to disable User Account Control in Windows 10
  • How to Hide File Extensions in Windows 10
  • How to Show Hidden Files and File Extensions in Windows 10
  • How to Create a Restore Point with System Protection Enabled in Windows 10
  • How to Delete Browsing History on Firefox in Windows 10
  • How to Delete Browsing History on Microsoft Edge in Windows 10
  • How to Delete Browsing History on Google Chrome in Windows 10

You May Also Like

How to Activate a Window by Hovering Over it with the Mouse in Windows 10

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

How-To Geek

How to change your ip address from the command prompt in windows.

4

Your changes have been saved

Email is sent

Email has already been sent

Please verify your email address.

You’ve reached your account maximum for followed topics.

Keep Your Files Safe from OneDrive Bugs

My setup for a better file browsing experience on windows, razer's usb-c dock is pricey, but perfect for gamers on the go, quick links, launch command prompt as admin to use netsh, view your network information with command prompt, change your ip address, subnet mask, and default gateway, change your dns settings in command prompt, key takeaways.

  • You must launch Command Prompt, PowerShell, or Terminal as admin to use netsh.
  • Use the "netsh interface ipv4 show config" command to find the full name of the network interface you want to change.
  • Modify your IP address, subnet mask, and default gateway using the command "netsh interface ipv4 set address". You can also change DNS settings using "netsh interface ipv4 set dns".

Changing your IP address with the Control Panel interface isn't difficult, but it does require clicking through a number of different windows and dialog boxes. If you're a fan of the Command Prompt, though, you can get it done more quickly using the netsh command, which is just one of the great network utilities built into Windows .

We're going to use the netsh command, but it requires that Command Prompt be launched as administrator to work. The netsh command allows you to configure just about any aspect of your network connections in Windows.

To launch Command Prompt (or PowerShell) as Admin, open up the Start Menu, search "cmd," hover over the result, then click "Run as Administrator."

Run Command Prompt as administrator.

In Windows 10 or Windows 11, you can also right-click the Start menu (or press Windows+X on your keyboard) to open the Power User Menu and choose "PowerShell (Admin)."

You can (and should ) use PowerShell for this instead.

Before you change your IP address and related information, you'll need to find the full name of the network for the interface you want to change. To do this, type the following command:

netsh interface ipv4 show config

The output of netsh interface ipv4 show config. The Wi-Fi adapter is highlighted in red.

Scroll down until you see the interface you're looking for. In our example, we're going to modify the Wi-Fi interface, which on our machine is just named "Wi-Fi." You'll also see other default names that Windows assigns to interfaces, such as "Local Area Connection," "Local Area Connection* 2," and "Ethernet." Just find the one you're looking for and make note of the exact name. You can also copy and paste the name to Notepad and then back into Command Prompt later to make things easier.

With the interface name in hand, you're ready to change the IP Address, subnet mask, and gateway. To do this, you'll issue a command using the following syntax:

netsh interface ipv4 set address name="YOUR INTERFACE NAME" static IP_ADDRESS SUBNET_MASK GATEWAY

So, for example, your command might look something like the following:

netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8 255.255.255.0 192.168.3.1

Where the info is replaced by whatever you want to use. In our example, the command does the following:

  • Uses the interface name "Wi-Fi"
  • Sets the IP address to 192.168.3.1
  • Sets the subnet mask to 255.255.255.0
  • Sets the default gateway to 192.168.3.1

And if you're using a static IP address but want to switch to using an IP address assigned automatically by a DHCP server — such as your router — you can use the following command instead:

netsh interface ipv4 set address name="YOUR INTERFACE NAME" source=dhcp

You can also use the netsh command to change the DNS servers used by a network interface. Third-party DNS servers — like Google Public DNS and OpenDNS —can be faster and more reliable than the DNS servers provided by your ISP. Whatever your reason for changing your DNS server , you can do it either at the router so it affects all the devices that get their information from the router or at the individual device. If you want to change the DNS servers for just one PC, it's easy to do with the netsh command.

You'll need to use the command twice: once to set your primary DNS server and once to set your secondary, or backup, DNS server. To set your primary DNS server, use the following syntax:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER

So, for example, your command might look something like the following (in which we set it to Google's primary public DNS server, 8.8.8.8):

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.8.8

To set your secondary DNS server, you'll use a very similar command:

netsh interface ipv4 set dns name="YOUR INTERFACE NAME" static DNS_SERVER index=2

So, continuing our example, you might set your secondary DNS as the Google Public DNS secondary server, which is 8.8.4.4:

netsh interface ipv4 set dns name="Wi-Fi" static 8.8.4.4 index=2

And just like with the IP address, you can also change it so that the network interface grabs its DNS settings automatically from a DHCP server instead. Just use the following command:

netsh interface ipv4 set dnsservers name"YOUR INTERFACE NAME" source=dhcp

And there you have it. Whether you like typing at the command prompt better or just want to impress your coworkers, now you know all the command line magic you need for changing your IP address settings.

worldofitech

World of Information Technology

Switch to the dark mode that's kinder on your eyes at night time.

Switch to the light mode that's kinder on your eyes at day time.

Windows 10 IP Address Configuration

salman khan

How to Configure IP Address in Windows 10

1) First right-click the network icon on the lower right corner of the taskbar area and click on Open Network and Sharing Center .

manual ip assignment windows 10

Click on Open Network and Sharing Center

manual ip assignment windows 10

2) Once Network and Sharing Center appears, go ahead to click on  Change adapter settings .

manual ip assignment windows 10

3) Here you will be shown those wirelesses ( (Wi-Fi) and wired (Ethernet) adapters installed on your computer, and you can just right-click the connection you would like to change its network settings, and click on Properties . In this case, I right click my Wi-Fi adapter and click on Properties.

manual ip assignment windows 10

4) In the Network Connection Properties window, tick on  Internet Protocol Version 4 (TCP/IPv4)  and click  Properties .

Note: If your computer is connected to the IPv6 network, you can select Internet Protocol Version 6 (TCP/IPv6) to configure IPv6 related network settings, but it’s not covered here.

manual ip assignment windows 10

In general, there are two ways for configuring those network-related settings, which are manual and automatic ways but the common approach nowadays is through the automatic approach.

Automatic IP Address Assignment

If you have a DHCP server configured on your router or you have a dedicated DHCP server in your network, you can configure your computer to get an IP address and other network information automatically by selecting Obtain an IP address automatically  and  Obtain DNS server address automatically .

manual ip assignment windows 10

Manual IP Address Assignment

If you like to do manual network configuration, you have to click on the  Use the following IP addresses  and  Use the following DNS server addresses options, and then key in the IP address, Subnet mask, Default gateway, and DNS servers details. Please that the IP address of your computer must be unique in your network because none of the 2 computers in the same network can share the same IP address that will trigger the IP address conflict problem.

Note: Default gateway is a router that can route the traffic to the other network or Internet, usually it’s LAN IP address of your home router. DNS server is an application server that can translate URL to IP address so that you could browse websites without a problem. Check with your ISP on which DNS servers you should use. I

manual ip assignment windows 10

Note: If you have a laptop and use it at home and office, and it uses static IP at home and the IP assigned by the DHCP server at the office, you can make use of the alternate configuration to set the IP address and network information for these 2 different networks.

First, set Obtain an IP address and DNS automatically on the General tab as according to what I specified above so that the laptop will be assigned IP addresses automatically at the office. After that, click the Alternate Configuration tab, select the User configured option and key in your home network’s static IP and other network information. By setting this, when there is no IP information assigned due to no DHCP server at home, this alternate configuration will be applied automatically, so that you don’t have to spend time on configuring IP manually every time at home.

manual ip assignment windows 10

salman khan

Written by worldofitech

Leave a reply cancel reply.

You must be logged in to post a comment.

How to Change Date and Time in Windows 10

How to remove frequent folders from quick access in windows 10.

Networking overview

Container networking refers to the ability for containers to connect to and communicate with each other, or to non-Docker workloads.

Containers have networking enabled by default, and they can make outgoing connections. A container has no information about what kind of network it's attached to, or whether their peers are also Docker workloads or not. A container only sees a network interface with an IP address, a gateway, a routing table, DNS services, and other networking details. That is, unless the container uses the none network driver.

This page describes networking from the point of view of the container, and the concepts around container networking. This page doesn't describe OS-specific details about how Docker networks work. For information about how Docker manipulates iptables rules on Linux, see Packet filtering and firewalls .

User-defined networks

You can create custom, user-defined networks, and connect multiple containers to the same network. Once connected to a user-defined network, containers can communicate with each other using container IP addresses or container names.

The following example creates a network using the bridge network driver and running a container in the created network:

The following network drivers are available by default, and provide core networking functionality:

DriverDescription
The default network driver.
Remove network isolation between the container and the Docker host.
Completely isolate a container from the host and other containers.
Overlay networks connect multiple Docker daemons together.
IPvlan networks provide full control over both IPv4 and IPv6 addressing.
Assign a MAC address to a container.

For more information about the different drivers, see Network drivers overview .

Container networks

In addition to user-defined networks, you can attach a container to another container's networking stack directly, using the --network container:<name|id> flag format.

The following flags aren't supported for containers using the container: networking mode:

  • --dns-search
  • --dns-option
  • --mac-address
  • --publish-all

The following example runs a Redis container, with Redis binding to localhost , then running the redis-cli command and connecting to the Redis server over the localhost interface.

Published ports

By default, when you create or run a container using docker create or docker run , containers on bridge networks don't expose any ports to the outside world. Use the --publish or -p flag to make a port available to services outside the bridge network. This creates a firewall rule in the host, mapping a container port to a port on the Docker host to the outside world. Here are some examples:

Flag valueDescription
Map port on the Docker host to TCP port in the container.
Map port on the Docker host IP to TCP port in the container.
Map port on the Docker host to UDP port in the container.
Map TCP port on the Docker host to TCP port in the container, and map UDP port on the Docker host to UDP port in the container.
Important Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well. If you include the localhost IP address ( 127.0.0.1 , or ::1 ) with the publish flag, only the Docker host and its containers can access the published container port. ]\s+/gm, '')); copying = true; setTimeout(() => copying = false, 2000);"> $ docker run -p 127.0.0.1:8080:80 -p '[::1]:8080:80' nginx Warning Hosts within the same L2 segment (for example, hosts connected to the same network switch) can reach ports published to localhost. For more information, see moby/moby#45610

If you want to make a container accessible to other containers, it isn't necessary to publish the container's ports. You can enable inter-container communication by connecting the containers to the same network, usually a bridge network .

Ports on the host's IPv6 addresses will map to the container's IPv4 address if no host IP is given in a port mapping, the bridge network is IPv4-only, and --userland-proxy=true (default).

For more information about port mapping, including how to disable it and use direct routing to containers, see packet filtering and firewalls .

IP address and hostname

By default, the container gets an IP address for every Docker network it attaches to. A container receives an IP address out of the IP subnet of the network. The Docker daemon performs dynamic subnetting and IP address allocation for containers. Each network also has a default subnet mask and gateway.

You can connect a running container to multiple networks, either by passing the --network flag multiple times when creating the container, or using the docker network connect command for already running containers. In both cases, you can use the --ip or --ip6 flags to specify the container's IP address on that particular network.

In the same way, a container's hostname defaults to be the container's ID in Docker. You can override the hostname using --hostname . When connecting to an existing network using docker network connect , you can use the --alias flag to specify an additional network alias for the container on that network.

DNS services

Containers use the same DNS servers as the host by default, but you can override this with --dns .

By default, containers inherit the DNS settings as defined in the /etc/resolv.conf configuration file. Containers that attach to the default bridge network receive a copy of this file. Containers that attach to a custom network use Docker's embedded DNS server. The embedded DNS server forwards external DNS lookups to the DNS servers configured on the host.

You can configure DNS resolution on a per-container basis, using flags for the docker run or docker create command used to start the container. The following table describes the available docker run flags related to DNS configuration.

FlagDescription
The IP address of a DNS server. To specify multiple DNS servers, use multiple flags. DNS requests will be forwarded from the container's network namespace so, for example, refers to the container's own loopback address.
A DNS search domain to search non-fully qualified hostnames. To specify multiple DNS search prefixes, use multiple flags.
A key-value pair representing a DNS option and its value. See your operating system's documentation for for valid options.
The hostname a container uses for itself. Defaults to the container's ID if not specified.

Custom hosts

Your container will have lines in /etc/hosts which define the hostname of the container itself, as well as localhost and a few other common things. Custom hosts, defined in /etc/hosts on the host machine, aren't inherited by containers. To pass additional hosts into a container, refer to add entries to container hosts file in the docker run reference documentation.

Proxy server

If your container needs to use a proxy server, see Use a proxy server .

IMAGES

  1. How to find and manually assign an IP address on Windows 10

    manual ip assignment windows 10

  2. How to find and manually assign an IP address on Windows 10

    manual ip assignment windows 10

  3. How to find and manually assign an IP address on Windows 10

    manual ip assignment windows 10

  4. How to Assign a Static IP Address in Windows 10 or 11

    manual ip assignment windows 10

  5. How to find and manually assign an IP address on Windows 10

    manual ip assignment windows 10

  6. How To Change Your Ip Address On Windows 10 3 Methods

    manual ip assignment windows 10

COMMENTS

  1. How to Assign a Static IP Address in Windows 10 or Windows 11

    Key Takeaways To set a static IP address in Windows 10 or 11, open Settings -> Network & Internet and click Properties for your active network. Choose the "Edit" button next to IP assignment and change the type to Manual. Flip the IPv4 switch to "On", fill out your static IP details, and click Save.

  2. How to set static IP address on Windows 10

    You can set a static IP address on Windows 10 using Command Prompt, PowerShell, Control Panel, and even the Settings app. Here's how.

  3. How to configure a static IP on Windows 10 or 11

    In this guide, we'll show you the different ways to configure a static IP address using the Settings app and commands on Windows 11 and 10.

  4. How to find and manually assign an IP address on Windows 10

    How to find and manually assign an IP address on Windows 10. Step 1: Open the Control Panel. Press " Windows + R ", then a Run box comes out. Input control panel and press Enter to open the control panel. You can also type control panel in the search bar at the lower left of the screen and press Enter to open the control panel.

  5. How to set a Static IP Address in Windows 11/10

    Learn how to assign a static IP address to a Windows 11/10 computer, using Network Settings, PowerShell, CMD or Windows Settings.

  6. How to set a static IP in Windows 10 [Easy Setup]

    In this guide, we'll show you how to set a static IP address in Windows 10 manually from the Control Panel, using the Command Prompt, and Windows settings.

  7. How to change the IP address in Windows 10 and Windows 11 (4 ways)

    3. How to change the IP address in Windows using the Control Panel. In both Windows 11 and Windows 10, you can also change your IP address from the Control Panel. Open the Control Panel and click or tap on "View network status and tasks" under "Network and Internet.". View network status and tasks in Control Panel.

  8. How to Set Up A Static IP Address on Windows 10

    Step by step guide on how to manually assign static IP addresses and DNS server addresses on Windows 10.

  9. How To Change Your IP Address On Windows 10 (& Why You'd Want To)

    In most cases, IP address allocation is determined by your local router, so to change your IP address on a Windows 10 PC, you'll need to configure your network as a whole. Alternatively, you may want to set a static IP address, or change your public IP address for all your devices. To change your IP, here's what you'll need to do. Table of Contents

  10. How to Set a Static IP Address for a Windows 10 PC

    There are many reasons why you might want to set a static IP address for your Windows 10 PC. In most cases, your router will assign your computer a dynamic IP address, meaning it changes from time to time.

  11. Change TCP/IP settings

    Learn how to change the IP address or DNS settings for Windows PCs on your network.

  12. How To Manually Set Ip Address Windows 10

    How to Manually Set an IP Address in Windows 10: A Comprehensive Guide Are you tired of relying on your network to assign IP addresses automatically? Maybe you have a specific configuration requirement, or you just prefer having more control over your network settings.

  13. How to Change Your IP Address on Windows 10 (3 Methods)

    We show you how to change your IP address in Windows 10 using the Settings app, Control Panel, and Command Prompt.

  14. Windows 10: Assign static IP address

    Also, this video walks you through the steps to configure a static TCP/IP with Contro Panel and Settings app. Table of contents: 00:00 Intro 01:01 Set static IP w/Windows 10 commands 05:10 Set ...

  15. How to Set a Static IP Address on a Windows PC

    How to Set a Static IP Address on Windows 11 Like most things on Windows, you have multiple ways to do this. Let's look at the most straightforward method first, which is using Windows Settings. Here's how you can set a static IP Address using the Windows settings: Head to the Start menu search bar, type in 'settings,' and select the best match.

  16. How to Assign Static IP Address in Windows 10?

    Having trouble with your dynamic IP address? Here is a step-by-step instructions on how to change default IP address in Windows 10 and assign a static IP in your network connections.

  17. How to Set a Static IP Address in Windows 10

    There are many benefits of setting up a static IP address in Windows 10. For example, this allows you to share data like documents, files, and printers locally or using port forwarding.

  18. How To Set Static IP Address in Windows 10 using CMD

    In Windows 10, setting a static IP address for your device is an essential configuration that may be required in a number of scenarios. For example, if you plan to share files or a printer on a local network, or when you try to set up port forwarding.

  19. How to Change Your IP Address From the Command Prompt in Windows

    View Your Network Information with Command Prompt. Before you change your IP address and related information, you'll need to find the full name of the network for the interface you want to change. To do this, type the following command: netsh interface ipv4 show config. Scroll down until you see the interface you're looking for.

  20. How to Assign a Static IP Address in Windows 10

    In this video How to set a static IP address on Windows 10 . So let us see How to Assign a Static IP Address in Windows 10.List of Free and Public DNS Server...

  21. How to Configure IP Address in Windows 10

    Manual IP Address Assignment If you like to do manual network configuration, you have to click on the Use the following IP addresses and Use the following DNS server addresses options, and then key in the IP address, Subnet mask, Default gateway, and DNS servers details.

  22. Windows 10 will not allow me to set a static IP

    Windows 10 will not allow me to set a static IP. Hi Every time I try to set a static IP for my PC i lose all internet access and the diagnostic wizard states i HAVE to use DHCP to allow access to the internet WTF WINDOWS this has started after an. 49a50cac-9a83-42a9-b102-dd1da713ecfd. 20159f46-dc1d-476a-8b1a-683bb1c85f3b.

  23. What's My IP Address and How Do I Change It?

    Under IP Assignment click Edit, choose Automatic or Manual and reset your IP address. Windows 10. Go to Start. Click Settings. Select Network & Internet. Under IP Assignment click Edit. Choose Manual and reset your IP address. Mac Operating System. Go to the Apple menu.

  24. Can't save IP address change in Manual

    Created on April 11, 2020. Can't save IP address change in Manual. I am trying to connect to a NanoStation LocoM2 and after connecting an ethernet cable I'm instructed to change my ethernet connection on the laptop to Static.....problem is when I enter the IP address,, 192.168.1.5 and subnet of 255.255.255. and hit save the message "can't save ...

  25. How to change your IP address

    Learn how to change your IP address with our guide. It covers four methods, including using a VPN and resetting your router.

  26. ¿Cuál es mi dirección de IP y cómo la cambio?

    En IP Assignment (asignación de IP) haz clic en Edit (editar), elige Automatic (automático) o Manual y restablece tu dirección de IP. Windows 10 Ve a Inicio.

  27. Networking overview

    Windows; Use the MSI installer Early Access. Overview; Install and configure; Use Intune; ... A container only sees a network interface with an IP address, a gateway, a routing table, DNS services, and other networking details. ... Assign a MAC address to a container. For more information about the different drivers, ...