您的位置:首页 > 其它

本地连接批处理修改IP

2016-01-06 18:12 197 查看
例子:

本地连接修改IP

netsh interface ip delete dns "本地连接" addr=all
netsh interface ip add dns "本地连接" addr=202.101.172.35
netsh interface ip add dns "本地连接" addr=202.101.172.36
netsh interface ip add address "本地连接" 192.168.0.133 255.255.255.0
netsh interface ip add address "本地连接" gateway=192.168.0.1 gwmetric=2
ipconfig /flushdns

netsh interface ip set address name="本地连接" source=dhcp
ipconfig /flushdns

用记事本保存为批处理文件就可以!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: