IT Home News Modifying the IP address can be implemented in the system's own "Network and Sharing Center". However, there may be times when it is not possible to enter the corresponding interface for various reasons, such as Win10 preview version 10049 and other versions. However, many users do need to set a static IP to be able to achieve normal network communication. At this time, only through the "universal" command line to solve the problem.
The method is not difficult. It is suitable for Win7/Win8.1/Win10 and other systems. Just remember a set of commands. The steps are as follows:
1. Open a command prompt and type netsh. After the carriage return
2, then enter the interface and enter
3, enter ip, enter
4, enter set address " connection name " static new IP Address Subnet Mask Gateway 1 and then enter
Note that the above commands need to be modified according to user requirements. The connection name can be modified by referring to the name in “Network Connection”, which supports Chinese, but the quotes are used. English version. There must be a space between each item, and finally enter "ldquo;1", which means OK. Refer to the following example:
set address "Ethernet 3" static 192.168.1.108 255.255.255.0 192.168.0.1 1
5. You can also enter the above command once, but make sure No line break: netsh interface ip set address "connection name" static new IP address subnet mask gateway 1
Example: netsh interface ip set address "Ethernet 3" static 192.168.1.108 255.255.255.0 192.168.0.1 1
Alternatively, you can use a similar command to modify the DNS. The format is the same as above, just replace "address" with "lds" and you can: netsh interface ip set dns " 3" static DNS address
Note that the system IP becomes static after modification. If it does not meet the user's needs, you can use the system's own network "troubleshooting" to automatically repair and restore the dynamic IP. Of course, you can also restore the IP address by using the command netsh interface ip set address "connection name" dhcp; for the same reason, the DNS address can also be restored by the command netsh interface ip set dns "connection name" dhcp.
What should I do if the win7 system cleans up the dns cache? 1. First check if our current network
Every time the computer will encounter problems when the boot failure, this is not, when the user is
When there is a problem with the memory of Win7 system, there will be some symptoms
Recently, many netizens said that their Win7 system computer will always pop up a d
Several display modes of the control panel in win7 computer
After installation, the external speakers and the headphones have sound problems at the same time.
What if the Win7 system has only one C drive?
Turn off Windows 7 Edge Auto Maximization Method
How to solve the win7 language toolbar?
How to enable the keypad numeric lock by default in the Win7 login screen?
Win7 IE browser favorites can not be used
What if Win7 64-bit Pure Edition cannot install third-party themes?
How to reduce the Win7 desktop icon Win7 desktop icon becomes smaller method
Help, can anyone tell me whether this computer can be equipped with a discrete graphics card
What should I do if the Win7 system scans and repairs the U disk and the file is lost?
Windows 7 system manually optimizes or disables some system functions
How to delete the 0 byte file in win7?
Windows7 watch video common problem solution
Win7 replacement boot sound skills
Win10 10159 preview version of the new wallpaper download More than a hero oh
File Recovery Tool EasyRecovery Introduction and User Guide
Win7 system lol mall can not open how to solve?
What should I do if the win7 computer restarts automatically when it is turned on?