Name: K.Sai Manas Reddy REG NUM: 19BIT0027: Data Communication and Computer Networks Digital Assesment 1
Name: K.Sai Manas Reddy REG NUM: 19BIT0027: Data Communication and Computer Networks Digital Assesment 1
DIGITAL ASSESMENT 1
1)HostName
2) ipconfig
a)Find out the MAC address of the network interface card of your system?
b)Find the host IP address of your system?
c)Find out all the network interfaces connected to your system.
3. ping
a)Find the IP address of www.vit.ac.in?
136.233.9.13
b)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. Note that ping reports these times to you if you tell it how many packets to send on the
command line. Explain the differences in minimum round trip time to each of these hosts.
c)Now send pings with 56, 512 and 1024 byte packets to the 4 hosts above. Writedown the minimum,
average, and maximum round trip times in milliseconds for each of the 12 pings. Why are the minimum
round-trip times to the same hosts different when using 56, 512, and 1024 byte packets.
i)www.google.co.in
ii)www.vit.ac.in
d)For the following hosts, intranet.vit.ac.in, send 100 packets that have a length of 56 data bytes.
Indicate what percentage of the packets resulted in a successful response.
e)For some of the hosts, you may not have received any responses for the packets you sent. What are
some reasons asto why you might have not gotten a response
f)For the following hosts, send pings and write down the minimum, average, and maximum round trip
times in milliseconds.
i)intranet.vit.ac.in
ii)www.vit.ac.in
iii)www.google.com
4)netstat
a)List Various Listening Ports.
5) traceroute
a)How traceroute works?
Traceroute, like the ping command can be used to isolate problems in our network. The ping command is a
bit limited sometimes. Traceroute uses the TTL (Time to Live) field in the IP packet header. Normally, TTL is
used to prevent packets from being forwarded forever when there is a routing loop. Whenever an IP packet
is forwarded by a router, the TTL is decreased by one. When the TTL is zero, the IP packet will be
discarded. The TRACERT (also known as traceroute) command literally traces the route from the host PC to
the specified URL or IP by displaying the IP and/or URL of each network node that it passes through.
6)ARP
A)How do you show the full ARP table for your machine? Capture a printout of what it is. Explain
each column of what is printed.
Using the arp command 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. Each time a
computer’s TCP/IP stack uses ARP to determine the Media Access Control (MAC) address for an
IP address, it records the mapping in the ARP cache so that future ARP lookups go faster. If you
use the arp command without any parameters, you get a list of the command’s parameters. To
display the ARP cache entry for a specific IP address, use an -a switch followed by the IP address.
b)Try ping a couple of local addresses and a website. Then re-run the arp command. Which
addresses are listed?
7)nslookup
a)What is the IP address and name of the machine acad.intranet.vit.ac.in and mail.vit.ac.in?
b)What local machine is this information coming from? Why is it coming from this machine?
Information about vit.ac.in comes from address 202.65.140.190 Information about mail.vit.ac.in comes
from address 202.65.140.190 nslookup retrieves the relevant address information directly from the DNS
cache of name servers. As the central directory service for network addresses, the domain name
system (DNS) plays an important role in the success of the Internet and World Wide Web. The web of
globally distributed DNS servicers (also called name servers) does the important work of ensuring that
the names of the different network participants and applications, such as example.org, are converted
into numeric and machine-readable IP addresses (and vice versa). In this way, it guarantees that the
correct computer or desired website is always reached via the corresponding IP