微软键+R----->CMD
cd\
copy con ipdns.bat
netsh interface ip set address name="本地连接" static 192.168.0.252 255.255.255.0 192.168.0.1 1
netsh interface ip add address name="本地连接" static 192.168.11.252 255.255.255.0 192.168.11.1 1
netsh interface ip set dns "本地连接" static 202.106.0.20
Ctrl+z
_____________________________________________
如果你的网络名称不是“本地连接” 改为相应的就行。 11.252那个地址,如果不想设网关可以去掉后面的192.168.11.1那个网关。
可以将ipdns.bat拷到桌面上。每次运行就双击这个批处理就行了。
你是有线网还是无限的