0% found this document useful (0 votes)
102 views5 pages

Computer Networks Lab 12 Mayank Jhanwar - 189303179 - CCE-6C

The document discusses several network utilities: 1. Ping is used to test connectivity and determine latency by sending ICMP echo requests and waiting for replies. 2. Netstat displays network status and protocol statistics like TCP and UDP endpoints and routing tables. 3. Ipconfig/ifconfig are used to view and configure TCP/IP network settings like IP addresses, subnet masks, and gateways for network interfaces. 4. ARP is used to map IP addresses to MAC addresses on the same network. 5. Traceroute identifies all the routers in the path between two hosts to help troubleshoot network problems.

Uploaded by

Sanyam Jain
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)
102 views5 pages

Computer Networks Lab 12 Mayank Jhanwar - 189303179 - CCE-6C

The document discusses several network utilities: 1. Ping is used to test connectivity and determine latency by sending ICMP echo requests and waiting for replies. 2. Netstat displays network status and protocol statistics like TCP and UDP endpoints and routing tables. 3. Ipconfig/ifconfig are used to view and configure TCP/IP network settings like IP addresses, subnet masks, and gateways for network interfaces. 4. ARP is used to map IP addresses to MAC addresses on the same network. 5. Traceroute identifies all the routers in the path between two hosts to help troubleshoot network problems.

Uploaded by

Sanyam Jain
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/ 5

Computer Networks Lab 12

Mayank Jhanwar | 189303179 | CCE-6C

Aim: Understanding Network Utilities

Introduction:

1. Ping:
The ping command is a very common method for troubleshooting the accessibility of devices. It uses a series
of Internet Control Message Protocol (ICMP) Echo messages to determine the round-trip delay in
communicating with the host, packet loss and whether a remote host is active or inactive

The ping command first sends an echo request packet to an address, then waits for a reply. The ping is
successful only if the echo request gets to the destination, and the destination is able to get an echo reply
back to the source within a predetermined time called a timeout. The default value of this timeout is two
seconds on Cisco routers.

2. Netstat:
The netstat command generates displays that show network status and protocol statistics. We can display the
status of TCP and UDP endpoints in table format, routing table information, and interface information. Netstat
displays various types of network data depending on the command line option selected. These displays are
the most useful for system administration.

3. Ipconfig:
IPCONFIG stands for Internet Protocol Configuration. This is a command-line application which displays all
the current TCP/IP (Transmission Control Protocol/Internet Protocol) network configuration, refreshes the
DHCP (Dynamic Host Configuration Protocol) and DNS (Domain Name Server). It also displays IP address,
subnet mask, and default gateway for all adapters.

4. Ifconfig:
This command is used to configure the kernel-resident network interfaces. It is used at the boot time to set
up the interfaces, as necessary. After that, it is usually used when needed during debugging or when we need
system tuning. Also, this command is used to assign the IP address and netmask to an interface or to enable
or disable a given interface.

5. ARP:
Address Resolution Protocol is a communication protocol used for discovering physical address associated
with given network address. Typically, ARP is a network layer to data link layer mapping process, which is
used to discover MAC address for given Internet Protocol Address.

In order to send the data to destination, having IP address is necessary but not sufficient; we also need the
physical address of the destination machine. ARP is used to get the physical address (MAC address) of
destination machine.

6. traceroute:
The traceroute command on a Cisco device can be used to identify the path used by a packet to reach its
target. It identifies all the routers in the path from the source host to destination host and it can be useful
when troubleshooting network problems. Using this command, we can figure out which router in the path to
an unreachable target should be examined more closely as the probable cause of the network’s failure.
Procedure:

Network Topology Used:

(Topology used from CN Lab 9)

A) Implementing Ipconfig

Figure(i) Running Ipconfig command from Laptop0 of the above topology


B) Implementing Ping

Figure(ii) Successful Ping from


the host Lpatop0 at 200.0.0.10

C) Implementing Netstat

Figure(iii) netstat -r showing the


router table at Laptop 0
D) Implementing Traceroute

Figure(iv) implementing traceroute


command at Router1 CLI to trace
path for IP Address 200.0.0.10

E) Implementing ARP

Figure(v) implementing ARP


command at PC0 by using arp-a
command.
F) Implementing Ipconfig at Server

END OF CN LAB 12

You might also like