Adding an IP to a Windows Server
In the event that the Internet Protocol (IP) address that you have requested was not added automatically through automation, the following article describes the steps to manually add the IP address to your server.
You must request a new IP address by opening a ticket in order to have an an additional IP address.
You can add a new IP address by using PowerShell or the Windows Graphical User Interface (GUI).
PowerShell
Windows 2012+
Open Windows Powershell by using the following steps:
-
Press the Windows Key and R on the keyboard to open the Run dialog box.
-
Enter powershell.exe and press Enter.
-
Use the following command (Subnet Mask CIDR Format without slash):
New-NetIPAddress -InterfaceAlias "AdapterName" -IPAddress IPAddress -PrefixLegnth ##
The command should look similar to the following example command:
New-NetIPAddress -InterfaceAlias "Public" -IPAddress 192.168.100.112 -PrefixLegnth 24
GUI
- Open the Windows Control Panel.
- Navigate to Network and Internet > Network and Sharing Center > Change Adapter Settings.
- Right-click the network adapter associated with the public interface and click properties.
- Double-click Internet Protocol Version 4 (TCP/IPV4).
- Click Advanced.
- Under IP Adressess, click Add.
- Type in the new IP address.
- Click Apply to save the new IP address.
Verify the new IP address
Open Windows Powershell by using the following steps:
- Press the Windows Key and R on the keyboard to open the Run dialog box.
- Enter powershell.exe and press Enter.
- Enter the command
ping <ipaddress>
replacing with the newly added IP address.
A successful response indicates the IP address was added successfully.
Updated about 1 year ago