This demo requires you to use the Terminal App on the Mac (found under Applications/Utilities).
If you live off campus try traceroute from off campus to get different results



1. Measure round trip times using ping

A ping command sends a request (called echo request) to a host asking for a response. (eg. "Hello, are you there?")

The ping utility uses the ICMP's (Internet Control Message Protocol) mandatory echo request message to elicit an ICMP echo response from a remote host or gateway. If the remote host supports ICMP, the remote host responds by sending an echo-response. It is often used to check if a host is up (alive) or reachable.

To ping a remote host:
% ping www.cmu.edu
% -- this is the command line tool prompt. (You may have something different). You type the command after the "%" (or whatever) prompt. Some hosts have the response feature turned off. (eg. www.reed.edu). Note that the remote host need not be a web server. It can be any valid IP address (instead of a resolved hostname).
% ping 128.2.42.52
To quit ping, hit Control-C.
It will give you the statistics (eg. time it took for the site to respond).

% ping www.cmu.edu
PING www.r53.cmu.edu (128.2.42.52): 56 data bytes
64 bytes from 128.2.42.52: icmp_seq=0 ttl=240 time=94.091 ms
64 bytes from 128.2.42.52: icmp_seq=1 ttl=240 time=86.641 ms
64 bytes from 128.2.42.52: icmp_seq=2 ttl=240 time=87.229 ms
64 bytes from 128.2.42.52: icmp_seq=3 ttl=240 time=86.814 ms
64 bytes from 128.2.42.52: icmp_seq=4 ttl=240 time=94.393 ms
^C
--- www.r53.cmu.edu ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 86.641/89.834/94.393/3.606 ms


For the manual pages for ping, on the Terminal App (in Applications/Utilities folder) on Mac OS,
% man ping
Hit q to exit the man pages.
%man man 
for the manual pages for the man command.


Q1.1: ping the following hosts. Think about the differences in the minimum round trip times.
oregonstate.edu
www.pdx.edu
www.cmu.edu
www.sfc.keio.ac.jp
www.nmmu.ac.za
ku.edu.np
cuni.cz
www.kunstakademie-duesseldorf.de
www.unifiji.ac.fj
www.amazon.com
www.apple.com

//So... for the first one,
% ping oregonstate.edu

2. Traceroute

Traceroute is a utility that allows you to trace the path from one machine to another. For details on how this is accomplished, see my lecture notes. On the Terminal, type
% traceroute www.cmu.edu
or if you know the IP address, you can use it instead of a resolved name
% traceroute 128.2.42.52
Traceroute to some hosts may not complete. In order to terminate, hit Control-C.
% traceroute www.nytimes.com
traceroute to www.gtm.nytimes.com (170.149.159.130), 64 hops max, 52 byte packets
 1  10.0.0.1 (10.0.0.1)  1.581 ms  2.591 ms  1.310 ms
 2  96.120.61.153 (96.120.61.153)  8.040 ms  9.942 ms  10.545 ms
 3  xe-5-1-3-sur04.troutdale.or.bverton.comcast.net (162.151.212.233)  12.591 ms  9.194 ms  11.800 ms
 4  ae-52-ar01.troutdale.or.bverton.comcast.net (68.87.216.253)  8.279 ms  9.141 ms  9.010 ms
 5  be-33490-cr01.seattle.wa.ibone.comcast.net (68.86.92.217)  13.577 ms  14.372 ms  12.663 ms
 6  hu-0-14-0-1-pe05.seattle.wa.ibone.comcast.net (68.86.89.118)  12.747 ms  14.603 ms  13.531 ms
 7  ix-xe-0-2-2-0.tcore1.00s-seattle.as6453.net (64.86.123.9)  12.379 ms  19.211 ms
    ix-xe-7-2-2-0.tcore1.00s-seattle.as6453.net (64.86.123.33)  31.673 ms
 8  if-ae-14-2.tcore1.pdi-palo-alto.as6453.net (64.86.123.22)  30.182 ms  30.643 ms  29.349 ms
 9  if-ae-2-2.tcore2.pdi-palo-alto.as6453.net (66.198.127.2)  32.500 ms  30.572 ms  32.694 ms
10  if-ae-5-2.tcore2.sqn-san-jose.as6453.net (64.86.21.1)  33.407 ms  29.788 ms  29.983 msexplain
11  if-ae-1-2.tcore1.sqn-san-jose.as6453.net (63.243.205.1)  29.077 ms  29.989 ms  35.681 ms
12  63.243.205.62 (63.243.205.62)  31.960 ms
    63.243.205.58 (63.243.205.58)  61.980 ms  30.223 ms
13  209.200.184.202 (209.200.184.202)  28.712 ms
    209.200.184.200 (209.200.184.200)  29.896 ms
    209.200.184.192 (209.200.184.192)  30.944 ms
14  209.200.184.205 (209.200.184.205)  36.980 ms
    209.200.184.197 (209.200.184.197)  31.468 ms  32.673 ms
15  * * *
16  * * *
Q2.2. Try traceroute to the following sites and other various public sites.
oregonstate.edu
www.pdx.edu
www.cmu.edu
www.sfc.keio.ac.jp
www.nmmu.ac.za
ku.edu.np
cuni.cz
www.kunstakademie-duesseldorf.de
www.unifiji.ac.fj
www.amazon.com
www.apple.com
Choose educational institutions and media/public outlets. Use Google or Wikipedia to look for appropriate sites. Do not target any sensitive sites such as military sites or nuclear power plants.

Traceroute may or may not complete. If you live off campus, you may have different/better results. Using the name of the intermediate nodes and using whois (see below) try to get a sense of the path from here to the destination on couple of hosts.

Uisng traceroute from ping.eu, or better VPN, or traceroute.org (this site has a collection of sites with traceroute but many do not work) initiate traceroute to the hosts from a different starting point.


3. whois

The whois utility looks up records in the databases maintained by several Network Information Centers (NICs).
% whois www.reed.edu


This Registry database contains ONLY .EDU domains.
The data in the EDUCAUSE Whois database is provided
by EDUCAUSE for information purposes in order to
assist in the process of obtaining information about
or related to .edu domain registration records.

The EDUCAUSE Whois database is authoritative for the
.EDU domain.

A Web interface for the .EDU EDUCAUSE Whois Server is
available at: http://whois.educause.net

By submitting a Whois query, you agree that this information
will not be used to allow, enable, or otherwise support
the transmission of unsolicited commercial advertising or
solicitations via e-mail.  The use of electronic processes to
harvest information from this server is generally prohibited
except as reasonably necessary to register or modify .edu
domain names.

You may use "%" as a wildcard in your search. For further
information regarding the use of this WHOIS server, please
type: help
Unfortunately, whois frequently does not give out useful information when given resolved names. Try giving it an IP address. (You should know how to convert resolved names such as www.reed.edu into IP address like 134.10.2.252).
  
%whois 134.10.2.252

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/public/whoisinaccuracy/index.xhtml
#


#
# Query terms are ambiguous.  The query is assumed to be:
#     "n 134.10.2.252"
#
# Use "?" to get help.
#

#
# The following results may also be obtained via:
# https://whois.arin.net/rest/nets;q=134.10.2.252?showDetails=true&showARIN=false&showNonArinTopLevelNet=false&ext=netref2
#

NetRange:       134.10.0.0 - 134.10.255.255
CIDR:           134.10.0.0/16
NetName:        REED
NetHandle:      NET-134-10-0-0-1
Parent:         NET134 (NET-134-0-0-0-0)
NetType:        Direct Assignment
OriginAS:
Organization:   Reed College (REEDCO)
RegDate:        1989-04-11
Updated:        2006-03-15
Ref:            https://whois.arin.net/rest/net/NET-134-10-0-0-1


OrgName:        Reed College
OrgId:          REEDCO
Address:        3203 SE Woodstock Boulevard
City:           Portland
StateProv:      OR
PostalCode:     97202
Country:        US
RegDate:        1989-04-11
Updated:        2011-09-24
Ref:            https://whois.arin.net/rest/org/REEDCO


OrgTechHandle: BPO33-ARIN
OrgTechName:   Poliakoff, Ben
OrgTechPhone:  +1-503-788-6674
OrgTechEmail:  benp@reed.edu
OrgTechRef:    https://whois.arin.net/rest/poc/BPO33-ARIN

OrgAbuseHandle: BPO33-ARIN
OrgAbuseName:   Poliakoff, Ben
OrgAbusePhone:  +1-503-788-6674
OrgAbuseEmail:  benp@reed.edu
OrgAbuseRef:    https://whois.arin.net/rest/poc/BPO33-ARIN

RTechHandle: US-ORG-ARIN
RTechName:   Reed College
RTechPhone:  +1-503-771-1112
RTechEmail:  nts@reed.edu
RTechRef:    https://whois.arin.net/rest/poc/US-ORG-ARIN


#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/public/whoisinaccuracy/index.xhtml

5. Open-ended fieldwork:

Use traceroute, ping, and whois (and other tools you may find) to find routes to physical location of sites and post your questions or observations (no longer than a few paragraphs).

Only choose educational institutions and media/public outlets. Use Google or Wikipedia to look for appropriate sites. Do not target any sensitive sites such as military sites or nuclear power plants.

Note that where you initiate the traceroute command makes a difference. If you seem to have problems off-campus, try from within the Reed network. Use ping.eu, VPN or sites from www.traceroute.org that allows you to initiate the traceroute command from a different location/country. Then you would be able to triangulate and learn information that you may not have been able to otherwise. (eg. traceroute to host A from east coast compared a traceroute from the west coast results in a better understanding how host A is situated).

Your question/observation can include



  • Additional Tools/References: