Dos命令快速设置ip、网关、dns地址
netsh interface ip set address name="本地连接" source=static 192.168.1.8 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "本地连接" static 114.114.114.114 primary
netsh interface ip add dns "本地连接" 8.8.8.8
That which does not kill us makes us stronger!
netsh interface ip set address name="本地连接" source=static 192.168.1.8 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "本地连接" static 114.114.114.114 primary
netsh interface ip add dns "本地连接" 8.8.8.8