Comp25: Lab - IP addresses & commands  

Learning Objectives

  1. To learn IP addressing systems in networks and packet switching
  2. To practice using network troubleshooting commands
  3. To practice multi-tasking between course website, command prompt and Blackboard for submitting answers.
  4. Mac Users will find the command prompt at: Applications | Utilities | Terminal
    1. The networking commands are the same as below from this point on

Hints:

Use CTRL+C to stop any ping or tracert command if it loops continuously

Steps to Take

Follow the steps as indicated below.  Many steps will ask you a specific question, requiring you to interpret the data on the screen.  Answer the questions in a single Assignment turned in via Blackboard. 

Type your answers directly into the Comments section of the Assignment.  Be sure to number your answers to match the questions, and leave a blank space between answers for easier reading. NOTE: To copy from the Command line to BB Comments, RIGHT MOUSE | Mark | Select Text | Press ENTER -- Paste in Windows

  1. First, enter the Windows command-line interface so you can do some network troubleshooting.
    1. From your Windows Start menu, choose Run.  (For a shortcut, press ÿ+R)
    2. Type CMD into the dialog box and press OK.  This will take you to a command-line interface to the Windows operating system.
  2. "Ping" is a computer network tool used to test whether a particular host (computer) is reachable across an IP network. Practice using the ping command. You are testing the network connection between the computer you are sitting at and another host.  Think of ping-pong!
    1. At the command line prompt, TYPE: ping 209.131.36.158
      • Q1: Was your ping successful?  If message reads "Request timed out", then the host could not be reached.  Double-check your typing and try again.
      • Q2: How many bytes of data were "pinged"?
      • Q3: How many packets of data were transmitted?
      • Q4: What was the average round trip time of the packets in milli-seconds?
      • Q5: TYPE: nslookup 209.131.36.158  Who do you think this IP address belongs to?
    1. Now TYPE: ping www.gmail.com
      • Q6: Was this ping successful? 
      • Q7: What is the IP address for the Gmail server that you reached?
    2. Now TYPE: ping /t 128.121.146.100  (Press CTRL+C to stop the ping after 10 or so packets)
      • Q8: How many packets were sent before you halted the ping? Was there any packet loss?
      • Q9: What differences do you notice between ping and ping /t commands?
  3. "Tracert" is another commonly used network command to help determine network related issues or slowdowns. Using this command you can view a listing of how a network packet travels through the network and where it may fail or slow down.
    1. At the command line prompt, TYPE: tracert 168.143.162.100
      • Q10: How many internal hops were made before reaching the UOP gateway 138.9.252.2xx?
      • Q11: Do you recognize any domain names along the hop? If so, which?
  4. CLOSE: the command window and go to: http://ws.arin.net/whois/ 
    ARIN's WHOIS is a web-based service that provides a mechanism for finding contact and registration information for resources registered with ARIN. ARIN's database contains IP addresses, autonomous system numbers, organizations or customers
    1. TYPE: 204.15.20.80 in the query box
      • Q12: What organization is registered to this IP address
      • Q13: What is the range of IP addresses owned by this organization
      • Q14: Where is this organization located?
    2. Submit another query for: 68.142.214.24
      • Q15: What organization is registered to this IP address?
      • Q16:  Look at the name servers list.  Which company is related to this organization?
     
  5. Now open your internet browser application (such as Internet Explorer).   
    1. Type 168.143.162.100 into the address bar
      • Q17: Where does this IP address resolve to?

      • Q18 Use the Windows Calculator, or the grid below to  translate the IP address 168.143.162.100 into binary code. 
        Remember: An IP address is 4 eight bit numbers, or a maximum of 255 for each each segment of the IP address 11111111=255  (Use Copy/Paste between Calculator & Blackboard Comments)
         

          128          64        32         16          8         4          2        1     
                       


        168 =10101000

        143 =

        162 =

        100 =
         

 

Useful Links

Networking Lecture

Domain WHOIS

Ping

Trace Route

Packets

Grading Guidelines

This assignment will be graded using the following guidelines:

Grading Rubric:
On-Time 25% 3.75
Accuracy 50% 7.5
Style 25% 3.75
Total Points Possible 100% 15