win10
netsh interface set interface 以太网 disabled
netsh interface set interface 以太网 enabled
Obtain ip automatically:
netsh interface ip set address Ethernet dhcp
configuration ip:
netsh interface ip set address Ethernet static 192.168.1.188 255.255.255.0
Ethernet is the name of your own network card, and the name of the network card cannot have spaces