Change IP Address via Command Prompt / Windows Server 2008 Core

2017-12-01T15:26:32+00:00 July 28th, 2011|Windows|

Just a quick way to change your IP, Subnet Mask and Default gateway via command prompt

  1. First Run “netsh int ipv4 show interface” and note down the name of the adapter of which IP settings you want to change.
  2. image

  3. 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
IP 192.168.1.1
Mask 255.255.255.0
Default Gateway 192.168.1.254

Command
set address “Local Area connection” static 192.168.1.1 255.255.255.0 192.168.1.254