How to set a static IP address for Win10 system?

  

Static IP is often required in LAN, printer sharing, or some network settings. So how does Win10 set a static IP address? In fact, we can solve this problem by simply using the command line of “Universal”. The following small series introduces you to the method of setting a static IP address in the Win10 system.

It is not difficult to configure a static IP by yourself. Just remember a set of commands. The steps are as follows:

1. Open a command prompt in the system (“start-all Program-Attachment-Command Prompt", or "Start-Find-Enter: cmd”), enter netsh and press Enter;

2, then enter the interface and press Enter;

3, enter ip, enter;

4, enter set address “ connection name & rdquo; static new IP address subnet mask gateway 1, and then enter;

Note that the above command Need to modify according to user requirements, the connection name can be modified by referring to the name in the "network connection", support 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 <quo;Ethernet 3& rdquo; 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& rdquo; 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, format and above The same, just change “address” to “dns”: netsh interface ip set dns “ Ethernet 3” static DNS address.

The above is the method of setting the static IP address for the Win10 system introduced by Xiaobian. I still don't know how to set up a static IP address for Win10. Try the above steps to try it out.

Copyright © Windows knowledge All Rights Reserved