How to change IPv4 network settings in Windows with Netsh commands

Many factors go into making a connection between your computer or mobile device to a network. All, in their own way, are important for the correct and effective transmission or transfer of data packets. This is why knowing how to change IPv4 network settings in Windows with Netsh commands is important.

Throughout this article you will realize that you do not need to be a true expert to perform these types of tasks . Of course, it is required to have some kind of knowledge in terms of computing. But nothing you can’t learn here.

Index(  )

  1. What is the IPv4 network?
  2. How to configure IPv4 with Netsh?
  3. Your IPv4 protocol has been configured!

What is the IPv4 network?

If in fact, you don’t have much knowledge about what an IP address is and its protocols , don’t worry. Here you can, briefly, know each of these elements. This way you will easily understand how to change the IPv4 network settings in Windows.

How about we start with the IP address? This element is nothing more than a set of numbers that contributes to the identification of a device . This address can be static or dynamic. Of course, there are ways to tell if you have a static or dynamic IP address in Windows .

The IP addresses, it should be noted, are always assigned by the servers or routers that work at the network layer . A static IP address is one that the host will maintain regardless of how many times it connects or disconnects.

While the dynamic is the one that is assigned to a host or device that connects to the server for the first time. It is also possible to change the IP address of a computer from static to dynamic and vice versa .

The IPv4 protocol

The information provided by IP addresses makes it possible to trace or geolocate an exact dynamic IP address . However, none of this would be possible without the existence of elements such as IPv4.

This protocol is of vital importance when it comes to identifying with great accuracy the devices connected to a network . There are more than four billion unique addresses registered under IPv4.

IPv4 was designed in 1983. Approximately in 2011, this type of address presented its first symptoms of shortage. Which has forced the design and structuring of IPv6. However, IPv4 is still the backbone for the exchange of information between devices connected to a network .

How to configure IPv4 with Netsh?

Netsh is a Windows tool specialized in configuring both IPv4 and IPv6. So if you want to change IPv4 network settings in Windows, nothing better than this built-in feature.

To access it, you must follow a series of simple recommendations or instructions. This ensures that the procedure is carried out successfully.

  1. Click on the Windows menu.
  2. Type “CMD.” The “Command Prompt” application will appear and you must click on “Run as administrator”. This is very important! Since only then will you have the required permissions for the IPv4 configuration.
  3. Then enter the following command: netsh interface show interface.
  4. In this way, the information of the interface you want to configure will be displayed. For this particular case, suppose that the interface has the name “LookHowIsHace”. Now, you enter the command: netsh interface ipv4 set address “LookHowI’mHace” static 1.

In this way, you would be using the Netsh tool to indicate that you want to configure the IPv4 interface of “LookHowIsHace”. In turn, you indicate that the IP address must be assigned in its static mode . But more is missing.

Changing IPv4 network settings in Windows requires, in turn, configuring other factors such as gateway and DNS. To do this, you will enter the following commands:

  • Netsh interface ipv4 set dnsservers “LookHowI’mHace” static validate = no netsh interface ipv4 add dnsserver “LookHowI’mHace” index = 2 validate = no.

Your IPv4 protocol has been configured!

Do you want to see the result of the configuration? You can continue using the console and enter the command ipconfig / all . This way you will see the information that corresponds to the “LookHowIsHace” network interface. A complete success! Now you can learn how to change, configure or clone a MAC address with a router .


by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment