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 192.168.77.222 255.255.255.0 192.168.77.100
ping localhost> nul
netsh interface ipv4 set dns "LAN connection" static 192.168.77.100
The LAN adapter must of course be active.