Start typing to search across invoices, services, domains, tickets, and more...
Running several websites, mail services or proxies on one Windows server often requires binding multiple IPs to a single NIC. This guide explains three ways to add multiple IP addresses on Windows Server 2016/2019/2022: the Advanced TCP/IP settings dialog, netsh, and bulk addition with PowerShell New-NetIPAddress.
Open PowerShell as Administrator and list the adapter alias (InterfaceAlias) and existing addresses:
Get-NetAdapter
Get-NetIPConfiguration
If the adapter uses DHCP, switch it to a static IP first; extra addresses cannot be added to a DHCP-configured interface.
Best when you only need a few extra IPs:
netsh works on every version and fits nicely into batch scripts. Run in an elevated Command Prompt:
netsh interface ipv4 add address "Ethernet" 203.0.113.10 255.255.255.0
To add 203.0.113.11 through 203.0.113.20 (interactive cmd; use %%i instead of %i inside a .bat file):
for /L %i in (11,1,20) do netsh interface ipv4 add address "Ethernet" 203.0.113.%i 255.255.255.0
PowerShell is more flexible and lets you set SkipAsSource so extra IPs are not chosen as the default outbound address:
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 203.0.113.10 -PrefixLength 24 -SkipAsSource $true
Add a whole range in one go:
11..20 | ForEach-Object {
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "203.0.113.$_" -PrefixLength 24 -SkipAsSource $true
}
List all bound IPv4 addresses and test from outside:
Get-NetIPAddress -InterfaceAlias "Ethernet" -AddressFamily IPv4 | Format-Table IPAddress,PrefixLength,SkipAsSource
ipconfig /all
Ping the new IP from another machine. If it fails, check that Windows Firewall allows ICMP echo (inbound rule "File and Printer Sharing (Echo Request)").
Remove-NetIPAddress -IPAddress 203.0.113.10 -Confirm:$false
netsh interface ipv4 delete address "Ethernet" 203.0.113.11
Windows may pick a new address as the source. Set SkipAsSource on the extra IPs: Set-NetIPAddress -IPAddress 203.0.113.10 -SkipAsSource $true.
The IP is already bound or left over in the registry. Check with Get-NetIPAddress and remove it with Remove-NetIPAddress before adding again.
Log in through the VNC console in the client area, check whether the primary IP or gateway was changed by mistake, and restore it.
Still stuck? Open a ticket with IMIDC 24/7 technical support.