0% found this document useful (0 votes)
74 views

Computer Networks: Digital Assignment 1 L21+L22

This document summarizes the output of various network diagnostic commands run on a system to analyze the network configuration and connectivity. It provides the IP address, MAC address, hostname, listening ports, connections, and pathways for the system and other hosts like www.vit.ac.in and www.google.com. The document also explains functions of commands like ping, ifconfig, hostname, netstat, traceroute, nslookup and arp.

Uploaded by

SRI GANESH
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

Computer Networks: Digital Assignment 1 L21+L22

This document summarizes the output of various network diagnostic commands run on a system to analyze the network configuration and connectivity. It provides the IP address, MAC address, hostname, listening ports, connections, and pathways for the system and other hosts like www.vit.ac.in and www.google.com. The document also explains functions of commands like ping, ifconfig, hostname, netstat, traceroute, nslookup and arp.

Uploaded by

SRI GANESH
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

COMPUTER NETWORKS

DIGITAL ASSIGNMENT 1
L21+L22
WINTER SEMESTER 2021-22

SRI GANESH.D 19MIS0122

SUBMITTED TO:
Prof.THANDEESWARAN.R
A.) PING
i) What is the IP address of www.vit.ac.in ?
The IP address of www.vit.ac.in is 136.233.9.13
ii) Check whether TCP/IP is properly installed and functioning in
your system.
The IP address from ipconfig command and the IP address returned
from pinging hostname is same so we can conclude that TCP/IP is
properly installed in my system.

iii) Indicate what percentage of packets sent resulted in a successful


response. For the packets from which you received a response, write
down the minimum, average and maximum round trip times in
milliseconds.
iv) Increase or Decrease the Time Interval between Packets. Write the
response.
For increasing the time interval :

For decreasing the time interval :


v) Send 6 packets .Indicate what percentage of the packets resulted in
a successful response.

vi) Print Only Ping Command Summary Statistics

vii) Change Ping Packet Size of 512, 1024 bytes of data. Write the
response.
viii)Execute the Timeout option for 5 seconds.

ix) Write the current version of ping program.


x) For some of the hosts, you may not have received any responses
for the packets you have sent. What are the reasons for not getting a
response?
Some hosts disable the ping response for security reasons, like
unnecessary hits or ping flooding.
For example if we take www.codetantra.com , it doesn’t return any
ping result.

It means that ICMP packet was silently discarded with no response


sent. This might be happen for several reasons:
• Network is congested or misconfigured.
• Ping is disable on router or end point.

B.) IFCONFIG
i) What is the MAC address of the network interface card of your
system?
The physical address of network adapter (network interface card) is
the MAC address of NIC.
ii) What is the IP address of your system?
The IP address of my system is 192.168.0.106

iii) Find out all the network interfaces connected to your system.
iv) Display the Network Settings of Specific Interface

C.) HOSTNAME
i) Find the name of your system?
The name of my system DESKTOP – TF36DKR
ii) What is the significance of the name?

• A hostname is a label is assigned to a device connected to a


computer network.
• It is used to identify devices in various forms of electronic
communication. It will display the current name of windows
computer.
• A host name is a unique name or label assigned to any device that
is connected to a specific computer network.
• It facilitates the differentiation of different machines or devices
connected to the internet, a network and/or both.
• Allotted and assigned host names are based on the naming system
used.

D.) NETSTAT
i) List Various Listening Ports.
ii) List TCP and UDP Ports connections
TCP Port Connections

UDP Port Connections


iii) List all the LISTENING Connections
iv) Find the statistics of all protocols
v) Display Service name with PID.
E.) TRACEROUTE or TRACERT
i) Write the function of this command.
• Traceroute is a network diagnostic tool used to trace in real-tine the
pathway taken by a packet taken by a packet on an IP network from
source to destination, reporting the IP address of all routers pinged in
between.
• Traceroute also records time taken for each hop packets makes its
route to destination.
Helps to find the actual path from source to destination device.
F.) NSLOOKUP
i) What is the IP address and name of the machine www.google.com?

G.) ARP
i) Show the full ARP table of your machine? Capture a printout of
what it is. Explain each column of what is printed.
ARP is a protocol used for mapping an IP address to a computer
connected to a local network LAN. Since each component has a
unique physical address called a MAC address, the ARP converts the
IP address to the MAC address.
There are two types of ARP entries static and dynamic. Most of the
time the computer will use dynamic ARP entries. This means that
ARP entry (the ethernet MAC to IP address link) has been learned
(usually the default gateway) and is kept on a device for some period
of time, as long as it is being used. A static ARP entry is opposite of a
dynamic ARP entry .with a static ARP entry , the computer is
manually entering the link between ethernet MAC address and IP
address.

You might also like