" Cinta seperti bunga mawar yang indah nan rupawan tetapi juga berduri, barang siapa yang tertusuk durinya maka tak ada satu obat atau seorang tabib pun yang mampu "mengobatinya" sehingga luka itu sembuh dengan sendirinya jika waktunya tiba "  —  Syaikh Nazimi - Layla Majnun
 

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