Method 1

 

I would advise that you open the command prompt with an admin user. Once it is open, type in ipconfig  to check the IP address of Now to change the IP address

Now to change the IP address

Type netsh to enter the netsh console.

Then type interface ip to enter netsh interface ipv4 console.

Now type the command set address <adapter_name> static 192.168.3.1 255.255.255.0 192.168.3.1

In the above command 192.168.3.1 is the IP address we want to assign, 255.255.255.0 is the subnet mask and 192.168.3.1 is the gateway.

Next type set dnsservers <adapter_name> static 192.168.3.1 primary .

In the above command we are defining DNS, here 192.168.3.1 is the IP address of DNS.

Now you can exit netsh ipv4 console by typing exit command.

And you can see that the static IP address is changed for your computer. To verify this you can use the command ipconfig/all.

 


Method 2

 

·        First, make sure that the IP address that you choose is not already in use by another device on your network.

·         Your router will always have the same IP address, even if your computer is restarted or loses the connection.

·         If you are not sure what information to enter for the IP address, subnet mask, default gateway, or DNS servers, contact your network administrator for help

 

On Windows 11, you can follow these steps to find your static IP address.

  • ·         Firstly, open the Settings app.
  • ·         Click on Network & internet.
  • ·         Click on the WiFi or Ethernet option, depending on the type of network that you are connecting to.
  • ·         Look for the IP address listed next to your IPv4 address.

 

Method 3

 

Click on the Start button and then navigate to the Control Panel.

Click on the Control Panel menu, then the Network and Sharing Center menu.

On the left hand side, click on Change adapter settings.

You can right click on the network adapter you are using (ethernet or wi-fi) and select Properties.

Scroll to the properties window, select Internet Protocol Version 4, TCP/IPv4, and click on the Properties button.

In the next window, choose the option 'Use the following IP address'.

·         Now type the command set address static 192.168.3.1 255.255.255.0 192.168.3.1

·         In the above command 192.168.3.1 is the IP address we want to assign, 255.255.255.0 is the subnet mask and 192.168.3.1 is the gateway.

 

Enter the desired IP address, subnet mask, default gateway, and DNS server addresses.

Then press Ok