0

On Windows10, I would like to be able to set multiple static IP addresses (eg. 192.168.0.250, 192.168.10.250, 10.0.7.250) on the computer ethernet interface card if no DHCP server is found.

I know Windows has an alternate configuration tab in TCP/IP settings to do that but there I can only set one static IP address.

Is there a way to do be able to set multiple IP addresses as an alternate configuration ?

Loïc G.
  • 131

2 Answers2

0

You don't need to go to alternate configuration. Go to general tab and click advanced. In IP settings tab, Then click Add. Add the each static IP address with their subnet masks. Make sure to disable DHCP and uncheck Obtain IP address automatically and insert your Gateway (Usually router's IP address).

wasif
  • 9,176
0

From command line, using netsh:

These commands are used to view your NICs and IDs:
netsh interface ipv4 show interfaces
netsh interface ipv4 show ip

This commands sets an IP address on NIC with [id]. Execute the command multiple times for multiple IPs.
netsh interface ipv4 set address name=[id] source=static address=[static ip] mask=[subnet mask] gateway=[default gateway]

Using powershell command:
Set-NetIPAddress –InterfaceIndex [id] –IPAddress [newIP] –PrefixLength [subnet length, ie 24]

Krackout
  • 123