View the installed interfaces
netsh interface ipv4 show interfaces
Configure the fixed IP address, netmask and the default gateway
netsh interface ipv4 set address name=”nr” source=static address=192.168.1.1 mask=255.255.255.0 gateway=192.168.1.254
Configure the DNS server
netsh interface ipv4 add dnsserver name=”nr” address=192.168.1.1 index=1
Leave a comment