Basic Network Utilities
sachindra@work

sachindra@work @sachindra149

About: There is always a simple way to learn & implement things no matter how complicated that might sound 👋👋👋

Location:
India
Joined:
Feb 26, 2018

Basic Network Utilities

Publish Date: Aug 30 '20
7 0

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 called traceroute. 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

Comments 0 total

    Add comment