Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
windows:adding-ips-quickly [2010-06-18 21:45:46]
garrett.plasky
windows:adding-ips-quickly [2010-06-18 21:45:57]
garrett.plasky
Line 6: Line 6:
 If you wanted to add a range say from 192.168.1.2 through 192.168.1.254 you could do: If you wanted to add a range say from 192.168.1.2 through 192.168.1.254 you could do:
  
-<code console>> FOR /L %I IN (2,1,254) DO netsh interface ip add address "Local Area Connection" 192.168.1.%I 255.255.255.0</code>{{This has been tested and works in all versions of Windows Server 200, 2003, and 2008.}}+<code console>> FOR /L %I IN (2,1,254) DO netsh interface ip add address "Local Area Connection" 192.168.1.%I 255.255.255.0</code>((This has been tested and works in all versions of Windows Server 2000, 2003, and 2008.))
  
  
 {{tag>how-to windows}} {{tag>how-to windows}}