0% found this document useful (0 votes)
18 views18 pages

1 NetworkUtilities

The document outlines various network tools and utilities including ping, ifconfig, tracert, arp, whois, and netstat, detailing their functions and usage. Each tool serves a specific purpose, such as checking device connectivity, configuring network interfaces, tracing packet routes, displaying ARP cache, querying WHOIS databases, and showing network connections. The document also provides command options for netstat to display detailed network information.

Uploaded by

Dinesh Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views18 pages

1 NetworkUtilities

The document outlines various network tools and utilities including ping, ifconfig, tracert, arp, whois, and netstat, detailing their functions and usage. Each tool serves a specific purpose, such as checking device connectivity, configuring network interfaces, tracing packet routes, displaying ARP cache, querying WHOIS databases, and showing network connections. The document also provides command options for netstat to display detailed network information.

Uploaded by

Dinesh Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Network Utilities & Tools

Information Security & Cyber Laws Practical Notes


Vandita Grover
Network Tools and Utilities


ping

ipconfig

ifconfig

tracert

arp

netstat

whois

2
Network Tools and Utilities - ping


Allow you to send a signal to another device on the network to see if
it’s active.

Uses the ICMP (Internet Control Message Protocol) to send out an
“Echo request” to the destination devices and gets back to an “Echo
response” if device you are trying to reach of In fact active.

3
Network Tools and Utilities - ping


Ping an IpAddress

4
Network Tools and Utilities - ping


Ping a Domain Name

5
Network Tools and Utilities - ifconfig


ifconfig

Used to configure, or view the configuration of a network interface

ifconfig stands for “interface configuration”

Running the ifconfig command displays the information about all
network in terfaces currently in operation

6
Network Tools and Utilities - ifconfig

7
Network Tools and Utilities - tracert

traceroute in Linux

Let’s you see the step by step route a packet takes to the destination you specify


so if you send a packet to google.com


before the packet actually reaches google.com servers


It will go through many different routers before it finally reaches google.com


you can also use the term HOPS instead of routers


So, if it takes 10 routers to get to google.com


You can instead say it takes 10 HOPS.

8
Network Tools and Utilities - tracert

tracert in Windows and traceroute in Linux

9
Network Tools and Utilities - arp

arp

Allows you to display and modify the address resolution protocol (ARP) cache


An ARP cache is a simple mapping of IP addresses to MAC addresses


To display the ARP cache entry for a specific IP address, use an -a switch followed by
the IP address.

10
Network Tools and Utilities - arp

11
Network Tools and Utilities - whois

whois

searches for an object in a WHOIS database


WHOIS is a query and response protocol that is widely used for querying databases
that store the registered users of an internet resource


such as a domain name or an IP address block, but is also used for a wider range of
other information

12
Network Tools and Utilities - whois

13
Network Tools and Utilities - netstat

netstat

displays various network related information such as network connections, routing


tables, interface statistics, masquerade connections, multicast memberships etc.,

14
Network Tools and Utilities - netstat
-a Displays all connections and listening ports.
-b Displays the executable involved in creating each connection or listening port. In some cases, well-known executables host
multiple independent components, and in these cases, the sequence of components involved in creating the connection or
listening port is displayed. In this case, the executable name is in [] at the bottom, on top is the component it called, and so
forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient
permissions.
-e Displays Ethernet statistics. This option may be combined with the -s option.
-f Displays FQDN (fully qualified domain names) for foreign addresses.

-n Displays addresses and port numbers in numerical form.


-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.

-r Displays the routing table.

-s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
the -p option may be used to specify a subset of the default.
-t Displays the current connection offload state.
-x Displays NetworkDirect connections, listeners, and shared endpoints.
-y Displays the TCP connection template for all connections. Cannot be combined with the other options.
interval Redisplays selected statistics, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics. If
omitted, netstat will print the current configuration information once.

15
Network Tools and Utilities - netstat

netstat -e

16
Network Tools and Utilities - netstat

netstat -n

17
Thank You

Reach out with your doubts


Email at
preetimarwaha@andc.du.ac.in
vanditagrover@andc.du.ac.in

18

You might also like