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 .

Advertisements

One Response

  1. Hai.

    Can I view these TCP/IP settings of other computer in LAN?

    Suresh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: