Using netsh Command-line to set IPV4 addresses and options


This is the netsh command I used that worked:

netsh int ip set address local static

(IP address of with a Subnet Mask of and a Default Gateway of

If you want, you can set your DNS in a similar way:

netsh int ip set dns local static primary