Typically, your network router assigns a dynamic IP address to your devices, including Windows 10 and 11 computers. If you need a static IP address for your PC, you either need to configure your router or change the settings option on your computer.
The good thing is there are several ways to assign a static IP address to your Windows PC. Whichever is best for you, you can choose a method and continue to get a fixed IP address for your computer.
There are many reasons why you need a static IP address. You may be using a dial-up connection to connect to your computer. In this case, having a permanent IP address makes it easier to establish a remote connection.
Likewise, if you are using your computer to share files on the network, a static IP address ensures that other devices on your network can connect to your computer without any configuration changes.
One way to get a static IP address for your PC is to configure your router to allocate a specified IP address to your PC. Most routers offer this option, but the way you configure your router is different for each router model.
Typically, you should follow these steps to set up a static IP address for your PC on your network router.
Find the MAC address of your network adapter
In order for the router to identify your computer and assign it a specific IP address, you need to enter the unique MAC address of your network adapter (which is on your PC) on the router’s settings page.
So let’s first find out the MAC address of your network adapter:
Open the Start menu, search for Command Prompt and select Command Prompt from the search results.
Enter the following command in the Command Prompt window and press Enter: