Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set IP address using command line interface 2

Status
Not open for further replies.

agape234

Programmer
Joined
Oct 10, 2001
Messages
128
Location
US
I have some laptops that are used at remote sites. These remotes do not have DHCP available. I want to allow the technicians to set the ip and gateway addresses manually using a command line batch file. They are great hardware technicians but PC literacy is a missing skill set in some cases.

Looking to avoid using the windows based TCP/IP properites windows.

 
use NETSH:

netsh interface ip set address &quot;YOUR-CONNECTOR-NAME&quot; static <ipaddr> <subnetmask> <gateway> <metric>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top