Download IST 220 Assignment-I: Using TCP/IP Utilities-I

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
IST 220
Assignment-I: Using TCP/IP Utilities-I
TCP/IP includes an assortment of utilities that gather information about various protocols
and the network. They are usually command-line utilities. In this assignment, you will
learn how to use them by collecting information about networks. Therefore, you have to
use command prompt for this assignment
A. ping
Ping is a command-line utility that uses Echo Request messages to determine if the
TCP/IP stack of another computer on the network is functioning normally or there is a
connection between your computer and another network device.
1. Syntax:
In the command prompt type, ping[target_name]where target is the IP
address or the name [DNS or NetBIOS] of the computer you are trying to contact.
Type ping /? to learn more about ping
2. Examples:
C:\>ping www.psu.edu
C:\>ping 127.0.0.1
C:\>ping –n 20 www.psu.edu
3. Assignment:
Ping the following four addresses ten times (you can use option –n 10):
(a) 127.0.0.1
(b) www.bklv.psu.edu
(c) www.psu.edu
(d) mit.edu
(e) www.ku.edu.tr
Then, calculate the average response time. Discuss why there are different.
B. tracert
Tracert, a variant of Ping, displays the path that packets take to their destination. Tracert
is used to isolate the location of a network communications problem, particularly when a
router is suspected.
1. Syntax:
In the command prompt, type tracert[target_name]where target is the IP
address or the name [DNS or NetBIOS] of the computer you are trying to contact.
Type tracert /? to learn more about ping
2. Examples:
C:\>tracert www.psu.edu
C:\>tracert 127.0.0.1
C:\>tracert mit.edu
3. Assignment:
Trace the route to the following addresses during the different times of the day
(e.g., morning, noon, late night)
(a) 127.0.0.1
(b) mit.edu
(c) www.psu.edu
(d) Berkely.edu
(e) ku.edu.tr
Then, count and report the number of hops, which is the number of networks
(routers) between you and the target.
C. pathping
Pathping is a route tracing tool that sends packets to each router on the way to a final
destination over a period of time and computes results based on the packets returned from
each hop. You can use pathping to isolate problems because it shows the degree of packet
loss at any given router or link.
1. Syntax:
In the command prompt, type pathping –p [period] [target_name] where
period is the wait period between pings (milliseconds). Pathping sends 100 ping requests
and then calculate the statistics for lost packets.
2. Examples:
C:\>pathping www.psu.edu
C:\>pathping 127.0.0.1
C:\>patping –p 20 www.psu.edu
3. Assignment:
Pathping the following addresses (use option –p 10):
(a) 127.0.0.1
(b) www.bklv.psu.edu
(c) mit.edu,
(d) www.cf.ca.uk
(e) Berkeley.edu
Did you loose any packets on the way? Where? What percent?