S kills : : Use ping and traceroute and query the whois database
description
Transcript of S kills : : Use ping and traceroute and query the whois database
Skills: : Use ping and traceroute and query the whois databaseConcepts: network transit time, router hops, command-line user interface, whois database, prefixes for small quantities
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Ping and traceroute demonstration
Where does this topic fit?
• Internet concepts– Applications– Technology (communication)– Implications
• Internet skills– Application development– Content creation– User skills
Ping and traceroute
C:\Users\Larry>ping www.google.com
Pinging www.l.google.com [74.125.224.84] with 32 data bytes:Reply from 74.125.224.84: bytes=32 time=18ms TTL=53Reply from 74.125.224.84: bytes=32 time=17ms TTL=53Reply from 74.125.224.84: bytes=32 time=19ms TTL=53Reply from 74.125.224.84: bytes=32 time=17ms TTL=53
Ping statistics for 74.125.224.84: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 17ms, Maximum = 19ms, Average = 17ms
C:\Users\Larry>
Ping Google
C:\Users\Larry>ping www.puc.cl
Pinging www.puc.cl [146.155.99.60] with 32 bytes of data:Reply from 146.155.99.60: bytes=32 time=182ms TTL=110Reply from 146.155.99.60: bytes=32 time=180ms TTL=110Reply from 146.155.99.60: bytes=32 time=177ms TTL=110Reply from 146.155.99.60: bytes=32 time=185ms TTL=110
Ping statistics for 146.155.99.60: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 180ms, Maximum = 185ms, Average = 181ms
C:\Users\Larry>
Ping Catholic University, Santiago Chile
Traceroute home-Google
C:\Users\Larry>tracert www.google.comTracing route to www.l.google.com [74.125.224.82] 1 192.168.1.1 2 cpe-76-170-200-1.socal.res.rr.com [76.170.200.1] 3 76.166.24.9 4 cpe-66-75-159-160.socal.rr.com [66.75.159.160] 5 be18-lsanca4-rtr1.socal.rr.com [66.75.159.128] 6 ae-6-0.cr0.lax00.tbone.rr.com [66.109.6.212] 7 ae-0-0.pr0.lax10.tbone.rr.com [66.109.6.133] 8 72.14.198.73 9 64.233.174.23810 64.233.174.19211 64.233.174.20512 64.233.174.1913 74.125.224.82Trace complete.
C:\Users\Larry>
C:\Users\Larry>tracert www.google.com
Tracing route to www.l.google.com [74.125.224.49]over a maximum of 30 hops:
1 CDH-ERC-C112-CAT6509-CORE1.csudh.edu [10.1.0.2] 2 10.21.0.8 3 CDH-ERC-C112-7204-PRIMARY.csudh.edu [155.135.55.254] 4 dc-lax-dc1--csudominguezhills-egm.cenic.net [137.164.40.41] 5 dc-lax-core1--lax-agg1-ge.cenic.net [137.164.46.105] 6 dc-lax-peer1--lax-core1-ge.cenic.net [137.164.46.116] 7 64.57.20.226 8 74.125.49.165 9 216.239.46.40 10 64.233.174.190 11 64.233.174.205 12 64.233.174.15 13 74.125.224.49
Trace complete.
Traceroute office-Google
C:\Users\Larry>tracert www.puc.clTracing route to www.puc.cl [146.155.99.60]
1 192.168.1.1 2 cpe-76-170-200-1.socal.res.rr.com [76.170.200.1] 3 76.166.24.9 4 cpe-66-75-159-160.socal.rr.com [66.75.159.160] 5 be18-lsanca4-rtr1.socal.rr.com [66.75.159.128] 6 ae-6-0.cr0.lax00.tbone.rr.com [66.109.6.212] 7 ae-0-0.pr0.lax10.tbone.rr.com [66.109.6.133] 8 Vlan518.icore1.EQL-LosAngeles.as6453.net [206.82.129.13] 9 f-4-28.tcore2.LVW-LosAngeles.as6453.net [216.6.84.53] 10 if-2-2.tcore1.LVW-LosAngeles.as6453.net [66.110.59.1] 11 if-1-0-0-1341.core2.DTX-Dallas.as6453.net [66.110.59.106] 12 if-3-0-1150.core4.MLN-Miami.as6453.net [66.198.2.62] 13 ix-2-0-0.core4.MLN-Miami.as6453.net [66.198.82.2] 14 190.208.9.10 [190.208.9.10] 15 200.27.5.109 16 190.208.3.10 [190.208.3.10] 17 192.168.120.203 18 146.155.99.1 19 www.puc.cl [146.155.99.60]Trace complete.C:\Users\Larry> Traceroute home-Catholic U.
C:\Users\Larry>tracert www.puc.clTracing route to www.puc.cl [146.155.99.60]
1 CDH-ERC-C112-CAT6509-CORE1.csudh.edu [10.1.0.2] 2 10.21.0.8 3 CDH-ERC-C112-7204-PRIMARY.csudh.edu [155.135.55.254] 4 dc-lax-dc1--csudominguezhills-egm.cenic.net [137.164.40.41] 5 dc-lax-core2--lax-agg1-ge.cenic.net [137.164.46.107] 6 dc-lax-isp2--lax-core2-10ge.cenic.net [137.164.47.138] 7 xe-9-3-0.edge5.LosAngeles1.Level3.net [4.59.48.177] 8 ae-4-90.edge1.LosAngeles6.Level3.net [4.69.144.208] 9 tata-level3-te.LosAngeles1.level3.net [4.68.63.66] 10 if-2-2.tcore1.LVW-LosAngeles.as6453.net [66.110.59.1] 11 if-5-0-0-1340.core2.DTX-Dallas.as6453.net [66.110.59.90] 12 if-6-0-0-1275.core4.MLN-Miami.as6453.net [66.198.2.66] 13 ix-2-0-0.core4.MLN-Miami.as6453.net [66.198.82.2] 14 190.208.9.10 [190.208.9.10] 15 200.27.5.109 16 190.208.3.10 [190.208.3.10] 17 146.155.99.1 18 www.puc.cl [146.155.99.60]Trace complete.C:\Users\Larry> Traceroute office-Catholic U.
Try ping and tracert yourself
Start > Run
A command-line window
The result
A windows Ping client
Whois
OrgName: California State UniversityOrgId: CSU-13Address: 1000 East Victoria StCity: CarsonStateProv: CAPostalCode: 90502Country: USRegDate: 1991-11-08Updated: 2003-05-27
http://www.dnstools.com
Traceroute footnotes
It’s tracert
&
Request timed out
Prefixes for small quantities
Prefix Meaning FractionDeci One tenth 1/10Centi One hundredth 1/100Milli One thousandth 1/1,000Micro One millionth 1/1,000,000Nano One billionth 1/1,000,000,000Pico One trillionth 1/1,000,000,000,000
Summary
Self-study questions
1. Which organization owns the host with the IP address 74.125.0.0 ?2. Ping and trace the route from two different places, for example
your home and your office, to www.microsoft.com. Are the ping times the same? Are the routes the same? Explain the differences?
3. I pinged Google.com from my home and from my office. If you look at the IP addresses of the final hops, you will see that they are different. Can you explain that?
4. Which do you like better, the command-line ping program that comes with Windows or the window-based program that I wrote? Why? Give at least one advantage for each.
5. If you trace the route between two hosts at different times, will it always be the same? Explain your answer.
6. If you measure ping time between two hosts at different times, will it always be the same? Explain your answer.
Resources
One of many Whois services on the Web:http://dnstools.com/
To find others, google whois.
To run traceroute or ping from remote locations around the world, go to:http://www.traceroute.org/
For more on command line versus graphical user interfaces see:http://som.csudh.edu/fac/lpress//471/hout/misc/guivcli.htm