注意一下,本地连接指的是本地的连接名称,根据实际更改。
netsh interface ip set address "本地连接" static 192.168.1.X 255.255.255.0 192.168.1.1netsh interface ip set dns "本地连接" static 111.111.111.111 primary