修改IP,掩码,网关命令: netsh interface ip set address "本地连接" static 192.168.3.188 255.255.255.0 192.168.1.1 1
修改dns命令:netsh interface ip set dns "本地连接" source=static addr=172.16.20.10
修改ip和dns为自动获取
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp
世界上最可怕事情是比我们优秀的人比我们还努力