0% found this document useful (0 votes)
50 views7 pages

CN Lab Exp 2 Yash

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 7

EXPERIMENT - 2

Student Name: Tushar Sharma UID: 20BCS6437


Branch: AIT CSE Section/Group : 20AIML 3(A)
Semester: 5th Date of Performance: 01/09/22
Subject Name: Computer Networks Lab

1. Aim/Overview of the practical:


To successfully understand the basic networking concepts.

2. Task to be done:
a. First, we opened the cmd.
b. Executed the provided commands.
c. Analyzed the results obtained be executing the provided commands.

3. List of Commands:

a. ping:
Ping is used to assess a network host's ability to communicate with another host.
Simply type Ping followed by the name or IP address of the destination host. The
ping utilities appear to be the most often used network tools. This is accomplished
through the use of ICMP, which permits the echo packet to be delivered to the target
host as well as a listening mechanism. If the destination host responds to the asking
host, this indicates that the host can be reached.

b. netstat:
Netstat is a command-line technique for Common TCP - IP networking that is
found in most Windows, Linux, UNIX, and other operating systems. The netstat
command gives statistics and information about the protocol in use on the current
TCP-IP Connection network.
c. ipconfig:
The command IP config will provide basic information about the IP address
settings of the device. Simply type IP config at the Windows prompt, and the
current device's IP, subnet mask, and default gateway will be shown. If you need
to see all of the information, type config-all at the command prompt. There are
various options to help you resolve DNS and DHCP difficulties.

d. hostname:
The computer needs a unique address in order to connect with one another. A
hostname can be alphabetic or alphanumeric, and it can contain symbols that are
used to identify a specific network node or device. When used in a domain name
system (DNS) or on the Internet, for example, a hostname should have a top-level
domain name (TLD) and a length of one to 63 characters.
e. nslookup:
The Nslookup command (name server lookup) is a network utility tool that is used
to retrieve information about internet servers. It gives DNS (Domain Name System)
name server information, such as the default DNS server's name and IP address.

f. tracert:
The tracert command is used to obtain the network packet being sent and received
as well as the number of hops necessary for that packet to reach its destination.
This command is also known as a traceroute. It gives numerous details regarding
the journey a packet takes from its origin to its destination.

g. pathping:
 We spoke about the Ping and Tracert commands. These commands have some
similarities. Pathping is a command that combines the finest features of Tracert and
Ping.
 This command gathers information in 300 seconds and then delivers more detailed
reports on latency and packet loss statistics at intermediate hops between the source
and the target than the Ping or Tracert commands.
h. arp:
Although network communications are easily represented by an IP address, packet
delivery is ultimately determined by media access control (MAC). This is when the
address resolution mechanism comes into play. If you are having trouble
communicating with a certain host, you may add the remote host IP address using the
arp -a command. The ARP command returns data such as Address, Flags, Mask,
IFace, Hardware Type, Hardware Address, and so on.

i. route:
Routing tables are used in IP networks to route packets from one subnet to another. The
Route command returns the routing tables for the device. Simply enter route print to
obtain this output. The Route command returns the routing table, and the user may
adjust it using commands like Route Add, Route Delete, and Route Change, which
allow the user to modify the routing table as needed.
4. Learning outcomes (What I have learnt):

 In Computer Networking, I learned about many commands and their applications.


 Learned about the applications and performed an analysis of the outcomes of
the specified set of commands.

Evaluation Grid
(To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.
4.

You might also like