Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

sachindra@work
sachindra@work

Posted on

     

Basic Network Utilities

IPCONFIG: This command displays all the current TCP/IP network configuration values. It gives you information about the IP address, the router's IP address, DNS server IP address, DHCP server IP address etc. We can find out the IP for our default gateway which is the connection to the outside world.
"ipconfig /all" gives the details of the computer's configuration.

ipconfig

We have several flags which can be passed to the command to make the computer behave in a certain way.
ipconfig -?

ipconfig-options

PING: It is used to send a test packet to a machine to find out if the machine is reachable and how long a packet takes to reach the machine.

ping

The above command shows that a 32-byte packet was sent to the destination and returned. The TTL or the "Time to Live" counts how many intermediary steps or hops the packet should take so as to reach the destination before giving up.

TRACERT: This is a detailed version of the PING command or the "PING DELUXE". It gives information about whether the packet reached the destination and how long did it take but also the necessary information about all the intermediate hops it took to reach there. In LINUX/UNIX,tracert is calledtraceroute. This command also gives you the time taken in all the intermediate hops also the corresponding IP addresses.

tracert

NETSTAT: This is the short form for "Network Status". It tells us the connections the computer currently has. On a local machine it shows a lot many connections. This would show several private IP addresses which would refer to the internal communication.

netstat

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

There is always a simple way to learn & implement things no matter how complicated that might sound 👋👋👋
  • Location
    India
  • Joined

More fromsachindra@work

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp