banner



How To Configure Ipv6 Address In Windows 10

On Windows 10, setting a static IP address to a calculator is a configuration you lot may need to configure in many scenarios. For example, if you plan to share files, a printer on a local network, or configure port forwarding.

If you exercise non assign a static IP accost, services or a port forwarding configuration will somewhen stop working. The reason is that, by default, connected devices employ dynamic IP addresses assigned by the Dynamic Host Configuration Protocol (DHCP) server (usually the router), which can change at any fourth dimension, equally before long as you restart the machine, or after the dynamically assigned configuration expires.

In this guide, you lot will learn the steps to gear up a static IP (version iv) address to a Windows ten device when providing a service on the network or simply configuring port forwarding to your device on the router. (Y'all tin can too this video tutorial with the walkthrough to complete this task.)

  • How to assign static IP address using Command Prompt
  • How to assign static IP address using Control Panel
  • How to assign static IP accost using PowerShell
  • How to assign static IP accost using Settings

How to assign static IP address using Command Prompt

Although using commands may be challenging for some users, this is one of the quickest means to prepare a static IP accost on Windows 10.

Use these steps to set a static IP address on Windows ten using Control Prompt:

  1. Open Start on Windows x.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to encounter your current networking configuration and press Enter:

    ipconfig /all
  4. Under the network adapter, note the name of the adapter as well every bit the following information in these fields:

    • IPv4
    • Subnet mask
    • Default Gateway
    • DNS Servers
    Windows 10 ipconfig command
    Windows 10 ipconfig command
  5. Type the following command to assign a static IP address on Windows ten and press Enter:

    netsh interface ip set accost proper name="Ethernet0" static ten.ane.2.220 255.255.255.0 10.1.2.i

    In the above command, supplant Ethernet0 with the name of your network adapter. Change 10.1.ii.220 255.255.255.0 10.1.2.1 with the device IP address, subnet mask, and default gateway address that corresponds to your network configuration.

  6. Blazon the following command to set a DNS server address and press Enter:

    netsh interface ip set dns name="Ethernet0" static 10.ane.two.one

    In the command, make sure to change Ethernet0 with your adapter's name and x.one.2.ane with the DNS server address of the network.

  7. Blazon the following command to set an alternating DNS server accost and press Enter:

    netsh interface ip add dns name="Ethernet0" 8.viii.8.8 alphabetize=2

    In the command, replace Ethernet0 with your adapter'south name and 8.8.8.eight with an alternate DNS server address.

    Windows 10 netsh command to set static IP address
    Windows 10 netsh command to prepare static IP accost

Later you complete the steps, y'all can test the new configuration using the ping command (for example ping google.com) to run across if the net is working. Alternatively, yous tin can open a website to come across if the configuration works.

Microsoft is in the procedure of retiring netsh from Windows ten. As a consequence, you should outset using the "NetTCPIP" networking module available in PowerShell instead.

How to assign static IP address using Control Panel

If Command Prompt is not for you, it is possible to use Control Panel to change the IP settings on Windows 10.

Utilize these steps to assign a static IP configuration using Control Panel:

  1. Open Control Panel.

  2. Click on Network and Internet.

  3. Click onNetwork and Sharing Eye.

  4. Click the Change adapter settings option on the left navigation pane.

    Control Panel's Network and Sharing Center
    Control Panel Network and Sharing Centre
  5. Right-click the network adapter and select the Properties option.

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

  7. Click the Properties button.

    Control Panel's network adapter properties
    Control Panel's network adapter properties
  8. Select the Use the post-obit IP accost option.

  9. Assign the static IP address – for example, 10.1.2.220.

  10. Specify a Subnet mask. Typically, on a dwelling network, the subnet mask is 255.255.255.0.

  11. Specify a Default gateway. (Usually, your router'due south IP address – for instance, x.ane.ii.1.)

  12. Nether the "Use the following DNS server addresses set Preferred DNS server" section, gear up the Preferred DNS server address, which is unremarkably your router's IP address or server IP address providing DNS resolutions (for case, 10.1.2.1).

  13. (Optional) Specify an Alternative DNS server, which the computer will utilise if it cannot reach the preferred DNS server.

  14. Click the OK push button.

    Windows 10 network adapter TCP/IPv4 properties
    Windows x network adapter TCP/IPv4 properties
  15. Click the Close button again.

One time you complete the steps, you can open up your web browser and load a website to run across if the configuration works.

How to assign static IP address using PowerShell

Windows 10 also includes the PowerShell control line platform that allows you to employ the "NetTCPIP" module to manage networking settings, including the ability to modify the IP accost settings of your computer.

To set a static IP address with PowerShell, use these steps:

  1. Open First.

  2. Search for PowerShell, right-click the upshot, and select the Run as administrator pick.

  3. Type the post-obit command to view your current network configuration and press Enter:

    Get-NetIPConfiguration

    After running the command, annotation the post-obit data:

    • InterfaceIndex
    • IPv4Address
    • IPv4DefaultGateway
    • DNSServer
    PowerShell's Get-NetIPConfiguration command
    PowerShell Get-NetIPConfiguration command
  4. Type the following command to set a static IP accost and press Enter:

    New-NetIPAddress -InterfaceIndex 4 -IPAddress 10.1.2.220 -PrefixLength 24 -DefaultGateway 10.1.2.ane
    PowerShell's New-NetIPAddress command
    PowerShell New-NetIPAddress command

    In the command, replace the InterfaceIndex number (4) with the corresponding number of your adapter. Change IPAddress with the static IP address y'all desire 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 default gateway accost of the network.

  5. Type the following command to assign a DNS server address and printing Enter:

    Gear up-DnsClientServerAddress -InterfaceIndex four -ServerAddresses 10.1.2.1
    PowerShell's Set-DNSClientServerAddress command
    PowerShell Set-DNSClientServerAddress command

    If you demand to set a secondary DNS server address, utilize a comma to utilise the same control with some other accost. For case:

    Gear up-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses ten.1.ii.one, 8.eight.eight.8

    In the control, supersede the InterfaceIndex number (4) with your network adapter'south corresponding number. Besides, change ServerAddresses with the DNS IP address.

After you complete the steps, you can test the new configuration past opening your web browser and navigating to a website.

How to assign static IP address using Settings

On Windows x, you can too alter the IP address settings using the Settings app for wireless and wired adapters.

Assign static IP accost for Wi-Fi adapter

To assign a static IP address configuration to a Wi-Fi adapter, use these steps:

  1. Open up Settings.

  2. Click on Network & Internet.

  3. Click on Wi-Fi.

  4. Click on the current network connexion.

    Wi-Fi settings
    Wi-Fi settings
  5. Under the "IP settings" department, click the Edit button.

    Wi-Fi IP settings on Windows 10
    Wi-Fi IP settings on Windows ten
  6. Using the drib-down carte, select the Manual option.

    Wi-Fi static IP option
    Wi-Fi static IP option
  7. Turn on the IPv4 toggle switch.

    Wi-Fi edit IP address settings
    Wi-Fi edit IP accost settings
  8. Set a static IP address to use by the Windows x figurer.

  9. Specify a Subnet prefix length (subnet mask). If the subnet mask is 255.255.255.0, and then the subnet prefix length in bits is 24.

  10. Specify a Default Gateway address.

  11. Specify a Preferred DNS address.

  12. Specify an Alternate DNS address (if applicable).

  13. Click the Salve push button.

    Wi-Fi TCP/IPv4 static configuration
    Wi-Fi TCP/IPv4 static configuration

Once you lot complete the steps, you tin can test your settings using your web browser to open a website.

Assign static IP address for Ethernet adapter

To assign a static IP address configuration to an Ethernet (wired) adapter, utilise these steps:

Important: The power to change networking protocol settings on an Ethernet adapter is bachelor starting with Windows 10 version 1903, May 2019 Update, and later releases.

  1. Open Settings.

  2. Click on Network & Internet.

  3. Click on Ethernet.

  4. Click on the current network connection.

    Ethernet settings
    Ethernet settings
  5. Under the "IP settings" section, click the Edit push.

    Ethernet IP settings on Windows 10
    Ethernet IP settings on Windows x
  6. Using the drib-down menu, select the Manual option.

    Ethernet static IP option
    Ethernet static IP pick
  7. Plow on the IPv4 toggle switch.

    Ethernet edit IP address settings
    Ethernet edit IP address settings
  8. Set the static IP accost.

  9. Specify the Subnet prefix length (subnet mask). If your subnet mask is 255.255.255.0, and so the subnet prefix length in $.25 is 24.

  10. Specify the Default Gateway accost.

  11. Specify the Preferred DNS address.

  12. Specify the Alternating DNS address (if applicable).

  13. Click the Salvage push.

    Ethernet TCP/IPv4 static configuration
    Ethernet TCP/IPv4 static configuration

After you complete the steps, y'all can exam your settings using your spider web browser to open a website.

Whatsoever method you employ, it is recommended to assign an IP accost within the network range and outside of the DHCP server scope to let proper connectivity and avoid address conflicts. Since multiple devices sharing the aforementioned address will cause a networking conflict that will preclude them from connecting to the internet.

Nosotros focus this guide on Windows 10, but you can apply the Command Prompt and Control Panel methods on Windows 8.one and Windows seven.

How To Configure Ipv6 Address In Windows 10,

Source: https://pureinfotech.com/set-static-ip-address-windows-10/

Posted by: steelplam1994.blogspot.com

0 Response to "How To Configure Ipv6 Address In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel