Home » How To » How to Set Up Static IP Address on Windows 11

How to Set Up Static IP Address on Windows 11

If you don’t want your IP address to change every time you reconnect to a WiFi network, you must set up a static IP address on Windows 11. This guide shows you how.

Unlike dynamic IP addresses, which are automatically and randomly assigned by the router, a static IP address remains constant. i.e., your IP address won’t change even after reconnecting to the network. There are several advantages to using a static IP address. It gives your device a constant identity and allows other devices on your network to communicate with your device easily. For example, a static IP address makes it easy to access your device using Remote Desktop. Additionally, assigning a static IP to Windows 11 allows you to set up specific rules, such as network speed limitations, website blocks, etc., in the router to better manage the network connection.

In this small tutorial, let me take you through setting up a static IP address on your Windows 11 system from Settings and Command Prompt.

Assign static IP address on Windows 11 from Settings

To set up static IP address on Windows 11, follow the steps given below.

Step 1: Launch the Settings on Windows 11.

Use the Windows key + I keyboard shortcut or right-click on the taskbar’s Start icon and click on the “Settings” option. This action will open the Settings app.

Step 2: Open the network properties.

In the Settings window, go to the “Network & Internet” tab on the sidebar, click on Wi-Fi, and then click on the current network properties option. If you are using an ethernet connection, click on ethernet and then click on the network properties option.

click on Windows 11 WiFi network properties

Step 3: Click the Edit button next to IP Assignment.

Now, scroll down to the IP Assignment section and click on the Edit button. This action allows you to edit the IP address settings on Windows 11.

edit network IP configuration - click on edit

Step 4: Enable the IPv4 option and add the preferred IP address, Subnet mask, default gateway, and preferred DNS address.

In the Edit Network IP Settings window, enable the IPv4 option and type the below details in their respective fields and click on the “Ok” button to save the changes.

  • Preferred IP address: The IP address you want to assign to Windows 11.55
  • Subnet mask: You can get this from the router’s local network settings.
  • Default gateway: You can get this from the router’s local network settings.
  • Preferred DNS: You can either use the DNS provided by your router or a custom DNS server.
enter IP address details to set up static IP address on Windows 11

That is it. With that, you’ve assigned a static IP address. From now on, the router will automatically assign the static IP address whenever you system connects to it assuming you’ve configured relevant rules in the router.

Assign static IP address on Windows 11 from Command Prompt

Follow the steps below to set up static IP address using Command Prompt on Windows 11.

First of all, open the Command Prompt window. You can do that by searching for Command Prompt in the Start menu. Alternatively, open Windows Terminal and launch the Command Prompt tab in it.

Before you can set up the static IP address, you need a few important details such as the subnet mask, default gateway, and preferred DNS. To get them run the ipconfig /all command. This will list all the network adapters and their configuration details. Next, note down the adapter name and IP addresses of the Subnet Mask, Default Gateway, and DNS Servers (note down the IPv4 address).

ipconfig /all command

Now, run the below command while replacing the dummy text with the actual details you noted down.

netsh interface ip set address name="AdapterName" static IPAddress SubnetMask DNSAddress

Once you replace all the details like the adapter name subnet mask, default gateway, and DNS server, this is what the command looks like.

netsh interface ip set address name="Wi-Fi" static 192.168.142.42 255.255.255.0 192.168.142.1

This will assign the static IP. From now on, the router will automatically assign the static IP address whenever your system connects to it assuming you’ve configured relevant rules in the router.

That is it. I hope this small tutorial helped you in making Windows 11 use a static IP address.

Related network tutorials:

Leave a Comment

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

Scroll to Top