Add multi IP in Windows

  • 86

for /l %i in (start with IP, 1, end with IP) do netsh interface ip add address "local connection 1" 174.139.111.%i 255.255.255.248

 

If adding 174.139.111.1  to 174.139.111.100  


for /l %i in (1,1,100) do netsh interface ip add address "本地连接 1" 174.139.111.%i 255.255.255.248  
        (start ip,1,end ip)                                               "network card name"           IP section                                子网


Was this answer helpful?

© Copyright 2019. CTG SERVER LTD