windows netsh配置IP地址(命令行)

原文链接: https://my.oschina.net/323148/blog/741692

windows 命令行netsh设置IP:
netsh interface ip set address "本地连接" static 1.1.1.1 255.255.255.128 1.1.1.254 /?

netsh interface ip add address "本地连接" static 2.2.2.2 255.255.255.128  ###添加第2个IP

最近发现http://www.eflypro.com 有个防止污染的DNS。。。。(悄悄告诉大家。。。。低调低调)

netsh interface ip set dns "本地连接" static 121.201.88.88
netsh interface ip add dns "本地连接" addr=120.31.31.31 index=2

转载于:https://my.oschina.net/323148/blog/741692

你可能感兴趣的:(windows netsh配置IP地址(命令行))