Results 1 to 1 of 1
Threaded View
-
3rd Mar 2012, 04:05 AM #1OPMember
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.0Novaroot Reviewed by Novaroot on . 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 Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Firefox 16, new Command Line toolbar
By Djlatino in forum General DiscussionReplies: 0Last Post: 11th Oct 2012, 08:04 AM -
rapidgator download from command line
By Mutikasa in forum Web Development AreaReplies: 0Last Post: 8th Apr 2012, 11:01 AM -
how to download from filesonic on command line
By masnadiero in forum Technical Help Desk SupportReplies: 3Last Post: 28th Aug 2011, 11:56 PM -
How to add multiple IPs with a Command line to windows server
By enetcloud in forum Tutorials and GuidesReplies: 0Last Post: 19th Aug 2011, 05:16 AM -
[Selling] Windows RDP on 1gbit line, Unlimited Bandwidth, 6 Spots/Server
By TheTorrentSeller in forum Completed TransactionsReplies: 37Last Post: 1st Sep 2010, 09:43 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...