How to view your TCP/IP settings with netsh

I want to introduce to you a very usefull but rare used DOS command: netsh /net shell./

It is used to view your TCP/IP settings or Configure interfaces.

Go to DOS command prompt window: Start button –> Run –> type ‘cmd‘ and press OK.

In DOS, type the following: netsh interface ip show config and press Enter.

You wil see info about your network interface /Local area connection/ and your IP.

netsh shell

netsh shell

Netsh command can be used to configure your network adapter /NIC/ automatically obtain IP address from DHCP server:

netsh interface ip set address “Local Area Connection” dhcp

Also you can set the NIC dynamically obtain DNS settings:

netsh interface ip set dns “Local Area Connection” dhcp

netsh is used to change many other computer settings like routing, nat, igmp, firewall .