在频繁更换网段的情况下,通过动本修改比较方便。
netsh interface ip set address "以太网" static 192.168.1.136 255.255.255.0 192.168.1.1
netsh interface ip set dns "以太网" static 61.18.120.24