Results 1 to 3 of 3
  1. #1
    enetcloud-ceo is offline Freshman
    Join Date
    Mar 2011
    Posts
    20
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default How to add multiple IPs with a Command line to windows server

    FOR /L %I IN (2,1,254) DO netsh interface ip add address "Public" 1.2.3.4-99I 255.255.255.0





    FOR /L %I IN (10,1,20) DO netsh interface ip add address "Public" 67.22.135.%I 255.255.254.0

    Above is the command with which you can add multiple IPs to the windows servers.

    Now how to use it


    the values that are in Brackets (10,1,20) , its the IP range that you are looking add for the host ID
    So once you execute that command it will add the IPs from 1.2.3.10 to 1.2.3.20. The Value 1 should not
    be changed.

    Public is the interface where you are looking to add the IPs and the Subnet mask should be there e.g.255.255.254.0

  2. The Following User Says Thank You to enetcloud-ceo For This Useful Post:

    manik (03-07-2011)

  3. #2
    enetcloud-ceo is offline Freshman
    Join Date
    Mar 2011
    Posts
    20
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

  4. #3
    jakson0100 is offline Junior
    Join Date
    Jul 2011
    Posts
    239
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Feedback Score
    0

    Default

    You can assign multiple ips from properties of IIS
    just go to RUN >> Type >> inetmgr and set Ips under properties of that site.
    Virtual dedicated server √ Dedicated hardware √ Ms Hyper-v Technology

Similar Threads

  1. Replies: 0
    Last Post: 10-21-2010, 04:31 AM
  2. Replies: 0
    Last Post: 09-07-2010, 08:52 AM
  3. Replies: 0
    Last Post: 09-07-2010, 06:43 AM
  4. cheap windows dedicated server with smarter mail and free Windows 2003/2008 server OS.
    By hostrightnow in forum Marketplace - Buy, Sell & Trade
    Replies: 0
    Last Post: 06-15-2010, 04:17 AM
  5. Bash command line for Linux.
    By BrainPulse in forum Website & Server Administration
    Replies: 1
    Last Post: 06-09-2010, 10:37 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS