在windows系统下如何快速的绑定多个IP地址

for /l %i in(起始数字,1,结束数字)do netsh interface ip add address "本地连接" ip前缀.%i 子网掩码


for /l %i in (82,1,86) do netsh interface ip add address "以太网 2" 192.10.81.%i 255.255.255.0
如上所示,即添加

192.10.81.82

192.10.81.83

192.10.81.84

192.10.81.85

192.10.81.86

其中的"本地连接" 是网络的名称

如我本地是以太网2




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章