Kardi Teknomo
Kardi Teknomo Kardi Teknomo Kardi Teknomo
   
 
  Research
  Publications
  Tutorials
  Resume
  Personal
  Contact

 

Most Frequently Use NETSH commands

By Kardi Teknomo, PhD.

Networking

<Contents | Previous | Next >

Most often NETSH commands that also used in this tutorial are listed below

To view your TCP/IP setting, use the following command:

netsh interface ip show config

 

To set into manually assigned IP settings, type the IP address followed by subnet mask and default gateway and end with 1, then the following commands are to set DNS and WINS address

netsh interface ip set address name="Local Area Connection" static 100.2.10.132 255.255.0.0 100.2.254.254 1

netsh interface ip set dns name="Local Area Connection" static 100.0.1.1

rem netsh interface ip set wins name="Local Area Connection" static 100.0.1.1

 

Above IP settings are equivalent to the following GUI

 

To set into DHCP (dynamic IP address that usually used in Broadband LAN), use the following commands

netsh interface ip set address name="Local Area Connection" dhcp

netsh interface ip set dns name="Local Area Connection" dhcp

netsh interface ip set wins name="Local Area Connection" dhcp

 

Above DHCP settings are equivalent to the following GUI

 

<Contents | Previous | Next >

 

Rate this tutorial or give your comments about this tutorial

 

This tutorial is copyrighted.

Preferable reference for this tutorial is

Teknomo, Kardi. Using NETSH to switch between two LAN connections. http:\\people.revoledu.com\kardi\ tutorial\Networking\netsh\

 

 

 

 
© 2007 Kardi Teknomo. All Rights Reserved.
Designed by CNV Media