Just a quick way to change your IP, Subnet Mask and Default gateway via command prompt
- First Run “netsh int ipv4 show interface” and note down the name of the adapter of which IP settings you want to change.
- Now the next command will change the IP configuration for you ( Please note “Local Area connection” was the name of the adapter i wanted to change.
I wanted to set the following settings
Default Gateway 192.168.1.254
set address “Local Area connection” static 192.168.1.1 255.255.255.0 192.168.1.254