How to Set a Static IP Address on Windows 11?

In a networked environment, every device is given a unique identifier known as an IP (Internet Protocol) address, which allows devices to communicate with one another over the network. By default, most computers connected to a network obtain their IP addresses dynamically from a DHCP (Dynamic Host Configuration Protocol) server. However, there may be situations where a Windows 11 computer needs a static IP address, such as when hosting a server or accessing specific network resources. This guide provides a comprehensive walkthrough to help you set a static IP address on Windows 11.

Setting a static IP address on Windows 11 has several benefits, including ensuring that your device has a consistent and predictable IP address, which can be advantageous for network administration and troubleshooting. It can also help you avoid conflicts with other devices on the network and simplify the configuration of network-related settings for specific applications.

To set a static IP address on Windows 11, you’ll need to navigate to the Network and Internet settings and configure the network adapter properties. The process can vary depending on your network configuration, so it’s essential to have all the necessary information about your network settings before beginning.

This guide provides a step-by-step tutorial on how to set a static IP address on Windows 11 and includes some useful tips and tricks to help you troubleshoot common issues that may arise during the process. Whether you’re a network administrator or simply looking to optimize your device’s network settings, this guide will provide the necessary guidance to configure a static IP address on Windows 11 with ease.

How to Set a Static IP Address on Windows 11 Settings?

Configuring a static IP address on Windows 11 through the Settings app is a simple and straightforward process. Follow the steps below to set a static IP address:-

Step 1. Click on the Start button and select Settings. Alternatively, press the Windows + I hotkey to open Windows 11 Settings on your PC.

Step 2. Then, click on Network & Internet in the left sidebar.

Step 3. On the right, click on Ethernet or Wi-Fi (depending on your connection).

Step 4. Click on the network connection you want to set a static IP address.

Step 5. Then, scroll down and click the Edit button beside the IP assignment option.

Step 6. On the pop-up window, using the drop-down menu, select the Manual option.

Step 7. Turn on the “IPv4” toggle switch.

Step 8. Enter the IP address, subnet mask, and default gateway information in the appropriate fields.

Step 9. If needed, enter the preferred and alternate DNS server information in the appropriate fields.

Step 10. Click on the Save button to apply the changes.

After completing these steps, your Windows 11 device will have a static IP address that you can use to connect to your network. It’s important to remember to verify that the IP address you have entered does not conflict with any other devices on your network and that the subnet mask and default gateway information are accurate.

How to Set a Static IP Address on Windows 11 from Control Panel?

Configuring a static IP address on Windows 11 through the Control Panel is an effective and straightforward process. Follow the steps below to set a static IP address:-

Step 1. Click on the Start button and type “Control Panel.”

Step 2. Then, click on the Control Panel app to open it.

Step 3. Next, click on Network and Internet.

Step 4. Then, click on Network and Sharing Center.

Step 5. Click on Change adapter settings in the left-hand menu.

Step 6. Right-click on the network connection you want to set a static IP address and select the Properties option in the menu.

Step 7. After that, click on Internet Protocol Version 4 (TCP/IPv4) and select Properties.

Step 8. Select the option for “Use the following IP address.”

Step 9. Enter the IP address, subnet mask, and default gateway information in the appropriate fields.

Step 10. If needed, enter the preferred and alternate DNS server information in the appropriate fields.

Step 11. Click on the OK button to apply the changes.

After completing these steps, your Windows 11 device will have a static IP address that you can use to connect to your network. It’s crucial to avoid entering an IP address that conflicts with other devices on your network and make sure that the subnet mask and default gateway information are accurate.

How to Set a Static IP Address on Windows 11 through Command Prompt?

Configuring a static IP address on Windows 11 through the Command Prompt is a fast and efficient process. Follow the steps below to set a static IP address:-

Step 1. Click the Start button and type “command prompt” or “cmd.”

Step 2. Right-click on the Command Prompt entry and select the Run as administrator option.

Step 3. Now, type “ipconfig /all” and press Enter to view your current IP address and other information if you are already using a DHCP address.

Step 4. Here, note down the name of the adapter as well as the following information:-

  • IPv4,
  • Subnet mask,
  • Default Gateway,
  • DNS Servers.

Step 5. Next, type “netsh interface ipv4 set address name=”Connection Name” static IPAddress SubnetMask DefaultGateway” and press Enter.

Note:-

  • Replace “Connection Name” with the name of the network connection you want to set a static IP address for.
  • Replace “IPAddress” with the IP address you want to assign to your device.
  • Replace “SubnetMask” with the subnet mask for your network.
  • Replace “DefaultGateway” with the default gateway address for your network.

Step 6. Type “netsh interface ipv4 set dns name=”Connection Name” static DNSAddress” and press Enter.

Note:-

  • Replace “Connection Name” with the name of the network connection you want to set a static IP address for.
  • Replace “DNSAddress” with the preferred DNS server address for your network.

After completing these steps, your Windows 11 device will have a static IP address that you can use to connect to your network. It’s crucial to avoid entering an IP address that conflicts with other devices on your network and make sure that the subnet mask, default gateway, and DNS server information are accurate.

How to Set a Static IP Address on Windows 11 from PowerShell?

Configuring a static IP address on Windows 11 using PowerShell is a simple process. Follow the steps below to set a static IP address:-

Step 1. First, click the Start button and type “PowerShell.”

Step 2. Next, right-click on the Windows PowerShell entry and select Run as administrator.

Step 3. Then, type “Get-NetIPConfiguration” and press Enter to view a list of your network adapters.

After running the above command, note down the following details:-

  • InterfaceIndex,
  • IPv4Address,
  • IPv4DefaultGateway,
  • DNSServer.

Step 4. Now, type “New-NetIPAddress -InterfaceIndex InterfaceIndex -IPAddress IPAddress -PrefixLength PrefixLength -DefaultGateway DefaultGateway” and press Enter.

Note:-

  • Replace “InterfaceIndex” with the index number of the network adapter you want to set a static IP address for (listed in step 3).
  • Replace “IPAddress” with the IP address you want to assign to your device.
  • Replace “PrefixLength” with the subnet mask with the correct bit number if necessary. Typically on a home network, the setting is 24.
  • Replace “DefaultGateway” with the default gateway address for your network.

Step 5. Type “Set-DnsClientServerAddress -InterfaceIndex InterfaceIndex -ServerAddresses DNSAddress” and press Enter.

Note:-

  • Replace “InterfaceIndex” with the index number of the network adapter you want to set a static IP address for (listed in step 3).
  • Replace “DNSAddress” with the preferred DNS server address for your network.

Step 6. Press Enter to apply the changes.

Once you have successfully followed the above steps to set a static IP address on your Windows 11 device using PowerShell, you can connect to your network using the assigned IP address. However, it is important to avoid conflicts with other devices on your network by ensuring that the entered IP address is unique. Additionally, make sure that the subnet mask, default gateway, and DNS server information are correct to ensure proper network connectivity.

Leave a Reply