Modify 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.
For Win7/Win8.1/Win10 and other systems, just remember a set of commands, the steps are as follows:
1. Open a command prompt, enter netsh and press < Br>
2, then enter the interface and enter
3, enter ip, enter
4, enter set address " connection name " static new IP address subnet mask Code Gateway 1, 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 quotation mark should be in English. 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.
Usually we extract the files through third-party tools, such as WinRAR. However, when using the inst
As early as October 2014, Microsoft has released a technical preview of Win10. Three days later, Mic
Users who use Win8 believe that the magnetic stickers are no stranger, Modern application dynamic ti
How does Win7 system turn off energy-saving mode? For newly installed or reinstalled Win7 systems, t
How to set the lock screen in Win7 system? How to set the computer lock screen in Win7 system
Windows can also limit the program to run without group policy.
10 Windows 7 Optimization Tuning Tips
How to solve the intermittent malfunction of the mouse after win7 upgrade win8 system
How to make Windows7 system display file extension
Win10 native support video plug-in independent subtitle file format including common SRT, SSA, ASS
How does WinXP open the console to fully set up your computer
Computer Tip: Windows system does not recognize your current time zone solution
What new bugs will appear after Win10 preview 14251 update? Known issues summary
Windows XP system shutdown failure two tricks
Knowledge about file I/O operations under Linux
How to close the win7 system operation center icon
Win7 system installed Cheetah browser led to computer blue screen code 0x000000F4 how to solve
Win10 ushered in the fourth cumulative repair update KB3081444: Fix IE vulnerability
Can I delete files deleted after emptying the recycle bin?
What should I do if the memory capacity does not change after Win7 adds a memory stick?
Detailed seductive beauty of windows 7 virtual Wifi card (2)
Fix the registry to solve the problem of the language bar disappearing