Network Settings via Command Line (netsh)

NETSH a powerful tool

If you need several IP addresses on a network card, you can enter the additionally required addresses in the extended IP properties or you can do this via a batch file.

IP address and DNS assigned statically:

netsh interface ipv4 set address "LAN connection" static
ping localhost> nul
netsh interface ipv4 set dns "LAN connection" static

The LAN adapter must of course be active.