电影中心 精品软件 联系我们

zlshuju 发表于 2014-9-26 11:25:28

windows下添加IP地址的方法


是用以下命令:

netsh interface ip add address “网卡名称” IP地址 掩码

例如:

netsh interface ip add address “本地连接” 174.128.222.195 255.255.255.224

以上命令可以直接在cmd命令中使用,也可以保存成bat文件进行批量添加,如需大批量添加,那么很简单,复制以上命令,要添加多少IP,就复制多 少行,然后把具体的IP地址填写正确就可以了,例如要添加174.128.222.195到174.128.222.200这6个IP,那么就写这个命 令:

netsh interface ip add address “本地连接” 174.128.222.195 255.255.255.224

netsh interface ip add address “本地连接” 174.128.222.196 255.255.255.224

netsh interface ip add address “本地连接” 174.128.222.197 255.255.255.224

netsh interface ip add address “本地连接” 174.128.222.198 255.255.255.224

netsh interface ip add address “本地连接” 174.128.222.199 255.255.255.224

netsh interface ip add address “本地连接” 174.128.222.200 255.255.255.224

页: [1]
查看完整版本: windows下添加IP地址的方法