Results 1 to 8 of 8

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

This is a discussion on How to add multiple IPs with a Command line to windows server within the Web & Server Administration forums, part of the Web Designing & Development category; How to add multiple IPs with a Command line to windows server FOR /L %I IN (2,1,254) DO netsh interface ...

  1. #1
    Junior Member Array
    Join Date
    Jul 2011
    Posts
    3

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

    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. #2
    Banned Array
    Join Date
    Jul 2011
    Posts
    710

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

    thanks for this very good information and this good post

  3. #3
    Banned Array
    Join Date
    Sep 2011
    Posts
    20

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

    Hello,

    Can anyone give me a reply for it.....

    Google displays up to ____ characters of a webpage's title tag
    Last edited by Kletinswiss; 09-28-2011 at 01:17 PM.

  4. #4
    Banned Array
    Join Date
    Oct 2011
    Posts
    34

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

    Hello,


    Thank you so much for sharing::::::::::

  5. #5
    Member Array
    Join Date
    Nov 2011
    Posts
    42

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

    Hello,

    Thanks for sharing such type of nice information with your post::::::

  6. #6
    Banned Array
    Join Date
    Nov 2011
    Posts
    77

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

    Hello,

    Thank you so much for sharing such of nice information with your post!!!!!

  7. #7
    Senior Member Array
    Join Date
    Jun 2011
    Posts
    1,632

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

    Really a good share. Thanks for your sharing.
    Join ACP and get Payment Weekly!

  8. #8
    Senior Member Array
    Join Date
    May 2011
    Posts
    209

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

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



Similar Threads

  1. Replies: 2
    Last Post: 02-28-2011, 09:24 AM
  2. Windows Server ?
    By fxtrader in forum Web Hosting
    Replies: 10
    Last Post: 12-07-2010, 03:36 AM
  3. Replies: 0
    Last Post: 10-02-2010, 09:49 AM
  4. How to get to a MS-DOS prompt / Windows command line?
    By alevin46 in forum Tech Support
    Replies: 0
    Last Post: 09-03-2010, 11:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO Forum | Web Hosting Forum | Websites For Sale |