Results 1 to 3 of 3
-
03-07-2011, 01:44 AM #1
Freshman
- Join Date
- Mar 2011
- Posts
- 20
- Thanks
- 0
- Thanked 1 Time in 1 Post
- Feedback Score
- 0
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
-
The Following User Says Thank You to enetcloud-ceo For This Useful Post:
manik (03-07-2011)
-
07-18-2011, 12:57 AM #2
Freshman
- Join Date
- Mar 2011
- Posts
- 20
- Thanks
- 0
- Thanked 1 Time in 1 Post
- Feedback Score
- 0
-
01-08-2012, 04:11 AM #3
Junior
- Join Date
- Jul 2011
- Posts
- 239
- Thanks
- 0
- Thanked 4 Times in 4 Posts
- Feedback Score
- 0
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
-
[Germany] Dedicated Server starting at € 60 | Intel i7 From € 120 | Free Windows Server | Quality Network
By Gryal in forum Web Hosting ProvidersReplies: 0Last Post: 10-21-2010, 04:31 AM -
Dedicated Windows Server for $99/month Server + OS + SmarterMail + ControlPanel +10TB Traffic
By hostrightnow in forum Web Hosting ProvidersReplies: 0Last Post: 09-07-2010, 08:52 AM -
[Germany] Dedicated Server starting at € 60 | Intel i7 From € 120 | Free Windows Server | Quality Network
By Gryal in forum Web Hosting ProvidersReplies: 0Last Post: 09-07-2010, 06:43 AM -
cheap windows dedicated server with smarter mail and free Windows 2003/2008 server OS.
By hostrightnow in forum Marketplace - Buy, Sell & TradeReplies: 0Last Post: 06-15-2010, 04:17 AM -
Bash command line for Linux.
By BrainPulse in forum Website & Server AdministrationReplies: 1Last Post: 06-09-2010, 10:37 AM


Reply With Quote

