You are on page 1of 15

Name :Shanmukha

suhas LAB: L-13 L-14 prof.


Vijayan r. 15MIS0265
Date :29/11/2017

a) HOSTNAME
i) Find the name of your system?

ii) What is the significance of the name? site001

b) IPCONFIG

i) Gather the TCP/IP configuration information?


ii) Gather the more detailed TCP/IP configuration information?iii)
What are the DNS and DHCP server addresses? What are their
functions? iv) What is the MAC address of the network interface
card of your system? v) What is the host IP address of your
system? vi) What is the default gateway for your system?
TRACEROUTE or TRACERT

i) Explain in detail how traceroute works.

it internally uses PING command .


It finds the root from source to destination network.it does filtering ,learning and
forwarding and also seeds the ip address .this is how the the traceroute works .

ii) What kind of information can be obtained by the traceroute command?

It givers the number of hops taken to reach the destination .


It gives the route of hops form the source to the destination along with its ip address

iii) Perform a traceroute from your machine to www.vit.ac.in. Include a copy of


theoutput and explain what happened including a description of what each of
thefields means.
iv) Perform a traceroute for the following machines within 5 hops:
intranet.vit.ac.in, www.google.co.in

www.vit.ac.in

www.google.co.in

v) Determine an IP address for a machine that you know definitely does not
exist. Do a traceroute to that machine. Include a copy of the result.
f) ARP
i) 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.

address
ii) Try ping a couple of local addresses and a website. Then re-run the arp
command. Which addresses are listed?

c) PING
i) What is the IP address of www.vit.ac.in ?
mock3@sjtg20site001:~$ ping www.vit.ac.in
PING vit.ac.in (10.10.1.55) 56(84) bytes of data. IP
ADDRESS ::10.10.1.55

ii) 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.
--- vit.ac.in ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5996ms 100% Packets sent
successful response
RTT [Round Trip Time] min= 0.141 avg =0.192 ms max =0.231 ms mdev

=0.029 ms iii) 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 Prepared by
Prof R Vijayan,Assitant Professor(SG),SITE 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?
1) DOMAIN : www.vit.ac.in
2) DOMAIN :www.vtopbeta.vit.ac.in
3) DOMAIN :www.intranet.vit.ac.in
4) DOMAIN :www.vtop.vit.ac.in
iv) 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.

For some of the hosts, you may not have received any responses for
the packets you sent. What are some reasons as to why you might
have not gotten a response

NETSTAT
i) What is netstat and what is it used for?

ii) What kind of information can be obtained by the netstat


command?

iii) What parameters for netstat should you use to show all the TCP
connectionsestablished? Include a printout of this list for your
machine. Be sure to explain what all fields are.
NETSTAT -a t

NETSTAT -au

iv) What does netstat -r show? What is each of the fields in this
output?
NETSTAT -r

v) Display the addresses and port numbers in numerical form?


NETSTAT -at -n

NETSTAT -au -n
vi) netstat can be used to display network interface status. What
option of netstat doesthis? By using netstat, figure out the number
of interfaces on your machine.
NETSTAT -IE

vii) By simply opening a browser connection to both the HTTP (port


80) and FTP(port 21) servers (while still offline!) what will be status
of netstat command?
NETSTAT -S

You might also like