How To Setup static IP address on Windows 10 PC (Updated 2019)

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 this post we discuss, What is IP address, different 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 confliction.

Static IP vs.Dynamic IP

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

Static IP addresses are those types of IP address 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.

ClassAddress RangeSupports
Class A1.0.0.1 to networks with many devices
Class B128.1.0.1 to networks.
Class C192.0.1.1 to networks (fewer than 256 devices)
Class D224.0.0.0 to for multicast groups.
Class E240.0.0.0 to for future use, or Research and Development Purposes.

Setting up Static IP Address on Windows 10

There are various ways to Setup and configure static IP address on Windows 10, Using network configuration windows, Using windows command prompt, From windows Settings etc.

Setup Static IP Address From 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 Internet Protocol Version 4 (TCP/IPv4) option.
  6. Here Select 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 mostly or


Click ok and Close to making 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“.

notedown 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 following command.

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

netsh interface IP set dns name=”Ethernet” static

Related Articles

Leave a Reply

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

Back to top button