How To Setup static IP address on Windows 10 PC

If you are looking for Share files or A printer on your local network or trying to configure port forwarding It’s important to Setup a static IP address on your machine. Here in this post we discuss, What is IP address, the difference Between Static IP and Dynamic IP, and how to set a static IP address on Windows 10.

What is IP address?

IP address, short for Internet Protocol address, is an identifying number for a piece of network hardware. Having an IP address allows a device to communicate with other devices over an IP-based network like the Internet.

Technically speaking, an IP address is a 32-bit number that signifies the address of both the sender and receiver of packets on a network. Every computer on your network has at least one IP address. Two computers on the same network should never have the same IP Address. If two computers end up with the same IP address neither will be able to connect to the Internet. This will cause Windows IP conflict.

- Advertisement -

Static IP vs. Dynamic IP

IP addresses are divided into two main types: Static and Dynamic IP addresses.

Static IP addresses are those types of IP addresses that never change once they are assigned to a device on a network. A static IP address is usually specified manually by the user. Such configuration is traditionally used in small networks, where the DHCP server is not available and often is not required. Dynamic IP address changes each time the device logs in to a network. A dynamic IP address is assigned by the DHCP server. Usually, it is your router.

Class Address Range Supports
Class A to Large networks with many devices
Class B to Medium-sized networks.
Class C to small networks (fewer than 256 devices)
Class D to Reserved for multicast groups.
Class E to Reserved for future use, or Research and Development Purposes.

Setting up Static IP Address on Windows 10

There are various ways to set up and configure a static IP address on Windows 10, Using network configuration windows, Windows command prompt, from Windows Settings etc.

Setup Static IP Address From the Control panel

  1. Open Control Panel.
  2. Click on Network and Internet, Then Network and Sharing Center.
  3. On the left pane, click the Change adapter settings.
  4. Right-click the Active network adapter and select Properties.
  5. Double-click on the Internet Protocol Version 4 (TCP/IPv4) option.
  6. Here Select the radio button “Use the following IP address option”
  7. Type IP, Subnet mask and Default Gateway Address.
  8. And Type Default DNS address and

Note: Your Router IP address is Default Gateway Address, It is mostly or static IP address on Windows 10

- Advertisement -

Click ok and Close to save the changes, That’s all you have successfully configured Static IP Address for Windows 10 PC.

Assign static IP address using Command Prompt

Search for Command Prompt, right-click the result and select Run as administrator to open the console.

Type the following command to see your current networking configuration and press Enter:

ipconfig /all

Under the network adapter note the name of the adapter as well as the following information in these fields:

  • IPv4
  • Subnet mask
  • Default Gateway
  • DNS Servers

Also, Note the connection name in the output. In my case, it is “Ethernet“.

note down the IP config details

Now To set a new IP address, execute the following command:

netsh interface ip set address name="connection name" 
static yourip_address subnet_mask default_gateway

netsh interface ip set address name=”Ethernet” static

And to Setup the DNS server address use the following command.

netsh interface ip set dns name="connection name" static dns_server_ip_address

netsh interface IP set dns name=”Ethernet” static

Assign static IP address using Command Prompt

That’s all you have successfully set up a static IP address on Windows 10 PC, Face any difficulty feel free to discuss on the comments below. Also, read

More from this stream