Adding Muliple IP Address for Windows

  • Check IP using ipconfig /all

  • Use this command below for Adding Multiple IP Addresses at Once


  • FOR /L %A IN (2,1,6) DO netsh interface ipv4 add address “Local Area Connection” 174.139.66.%A 255.255.255.248
  • Explanation:

    Start = 2 means IP Address will start from 174.139.66.2

    Step = 1 means 4th octet will add +1 to 174.139.66.2 (the next IP will be 174.139.66.3 and keep adding 1 in last octet)

              End = 6 means IP Address will end at 174.139.66.6
  • replace “Local Area connection” with

  • And the command should look like this.

  • Press enter to run the command

  • IPconfig to check and it is done

 

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Related content