Adding Multiple IP Addresses to Windows Servers Easily.

If you are adding multiple IP addresses to a single Windows server, going through the graphical interface is an incredible waste of time as each IP must be added manually, each in a new dialog box. To reduce waste of time, we are going to show you a simple and easy tutorial to adding multiple IP addresses to Windows Servers quickly. Just follow below tutorial carefully.



Adding an IP Address from the Command Line

Step 1

Open run from start menu and run “netsh.exe” in it.

Step 2

After opening write below command in netsh.exe

netsh interface ipv4 add address

If you are using Windows Server 2003/XP and earlier, “ipv4″ should be replaced with just “ip” in the netsh command.

Example :–

netsh interface ipv4 add address “Local Area Connection” 192.168.1.2 255.255.255.0

The above example will add the IP Address 192.168.1.2 (with Subnet Mask 255.255.255.0) to the connection titled “Local Area Network”.

Adding Multiple IP Addresses at Once

Step 1

Open run from start menu and run “netsh.exe” in it.

Step 2

After opening write below command in netsh.exe

FOR /L %variable IN (start,step,end) DO command

Example :–

FOR /L %A IN (0,1,255) DO netsh interface ipv4 add address “Local Area Connection” 192.168.1.%A 255.255.255.0

 

Hope you liked this article. Any issue or fault you are facing then feel free to Contact Us !!
We are here to help you

Add comment

Your email address will not be published. Required fields are marked *