" So the vision of Microsoft is pretty simple. It changed a couple years ago. For the first 25 years of the company, it was a personal computer on every desk and in every home. And it was a very good vision; very rare for a company to be able to stick with something like that for 25 years. The reason we changed it was simply that it became acceptable... And so as we stepped back and looked at what we were trying to do with the programming model, turning the Internet into the fabric for distributed computing, getting your information to replicate in a very invisible way so that it was available to you everywhere, thinking of this programming model spanning all the different devices, we changed to the mission statement we have now, which is empowering people through great software anytime, any place and on any device. "  —  Bill Gates (American Entrepreneur and Founder of Microsoft Co., b.1955)
 

Change IP Address Using netsh from Command Prompt

more...

Network interface can be changed manually by using netsh command (netsh.exe) from Command Prompt. To change the IP to static IP, use the following command format:

netsh interface ip set address [Connection Name] [Source] [IP] [Netmask] [Gateway] [Metric]
  • [Connection Name] is the connection name which the network adapter is assigned to. You can see the name in the Control Panel Network Connections panel or by using the ipconfig /all command from the command prompt.
  • [Source] is the source of IP address, whether it is static or dhcp. If you set to dhcp. You can ignore all other remaining parameter.
  • [IP] is the IP address you set.
  • [Netmask] is the network mask for the IP address.
  • [Gateway] is the the gateway IP address.
  • [Metric] is the metric for the gateway.

for example:

netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1

The above command will set your “Local Area Connection” network adapter IP to static IP 192.168.1.10 with netmask 255.255.255.0, gateway 192.168.1.1, and gateway metric 1.

To set DNS server for the network connection use the following command:

netsh interface ip set dns "Local Area Connection" static 202.134.1.10

To add a second DNS server, use the following command:

netsh interface ip add dns "Local Area Connection" 202.134.0.155 index=2

OK, have a good try.

0
Share up your minds and leave a comment
  1. We can effectively use command prompt to change our ip address.

Comment Form
XHTML Expert!
You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

* = required fields