ITT300 Assignment 1 - Basic Network Commands
ITT300 Assignment 1 - Basic Network Commands
The Internet Control Message Protocol (ICMP) is an auxiliary protocol at the network layer. It is
designed for two purposes. It reports errors (unexpected conditions) about IP, UDP, and TCP. It
can also be used to check the liveliness of the hosts or routers or finds the route followed by an
IP datagram. Although we can see two versions of this protocol, ICMPv4 and ICMPv6, in use
today, we discuss only ICMPv4 which is more common. ICMPv4 uses two categories of packets,
error-reporting and query.
In this assignment, our goal is to capture and analyze ICMPv4 packets (both error reporting and
query types). We can easily create ICMPv4 query messages using a program called ping.
Creating error-reporting packets is more tricky. These packets are created automatically when
there is an error in the path. We cannot wait for an error to occur in the path, but we can artificially
force a condition to make IP create an error-reporting ICMP packet. This can be done using a
program called traceroute (in Unix-like environment) or a tracert (in Windows environment). We
use the ping and tracert in this document to capture ICMP packets.
• Open Command Prompt and type ping hostname. The hostname can be the domain
name or the IP address of a site you know (be sure that there is no firewall to filter out the
packets). An example of the result of the ping command in the Command Prompt window
looks as shown in the following figure.
• Return to the Wireshark window, stop packet capturing, and save the captured file.
Questions
Using the result of the ping command in the Command Prompt window, answer the following
questions:
5. What are the minimum, average, and maximum round trip times?
Minimum = 16ms, Maximum = 58ms, Average = 32ms
• Open Command Prompt and type tracert −d hostname. The hostname can be the domain
name or the IP address of a site you know. The −d option prevents tracert from resolving
the IP addresses to their names and slowing down the process of displaying information.
The result of the tracert command in the Command Prompt window looks as shown in the
following figure.
• Return to the Wireshark window, stop packet capturing, and save the captured file.
Questions
Using the result of the traceroute command, answer the following questions:
1. How many probe packets are sent from the source to the destination for each TTL
value?
14
2. What is the first IP address in the list? This is the IP address of the default router, the
host on the local subnet that provides the physical connection to remote networks.
10.62.23.254
3. How many routers are between the source and the destination?
14
4. What is the IP address of the destination?
[216.58.221.206]
Documents to Turn in
MATRIC NO : 2021811624
GROUP : 4B
Q2.pcapng q1.pcapng