How to define several fixed IPs on a network interface in Windows

To support me, you can subscribe to the channel, share and like the videos, disable your ad blocker or make a donation. Thank you!

Hi, It is possible to set multiple fixed IPs on a network interface in Windows.
This can be useful if you want to access another logical network without changing your current fixed IP.

How to set multiple fixed IPs on a network interface in Windows in PowerShell.

# Get the name of the interface (ethernet in my example)
Get-NetIPAddress | ft IPAddress, InterfaceAlias
# Set a new fixed IP on a network interface in Windows
New-NetIPAddress -InterfaceAlias ethernet -IPAddress 10.0.0.200 -PrefixLength 24 -AddressFamily IPv4
# If you don't want it to appear in DNS
# and not to be used automatically by the system, add -SkipAsSource $True
# You will then need to specifically configure the application to use this IP
New-NetIPAddress -InterfaceAlias ethernet -IPAddress 10.0.0.201 -PrefixLength 24 -AddressFamily IPv4 -SkipAsSource $True

Video : How to define several fixed IPs on a network interface in Windows

Related links