Configure TCP/IP settings from command prompt in Windows Server
October 14, 2014 Leave a comment
To configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS addresses and many other options you can use Netsh.exe utility. Netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a Server that is currently running. Netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a specified Server. Netsh.exe can also save a configuration script in a text file to help you configure other Servers if needed. You can use the Netsh.exe tool to complete the following tasks:
- Configure interfaces
- Configure routing protocols
- Configure routes
- Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
- Display the configuration of a currently running router on any Server
- Use the scripting feature to run a collection of commands in batch mode against a specified Server.
With Netsh.exe we can easily view TCP/IP settings. Type the following command in a Command Prompt window (CMD.EXE):
Recent Comments