Recent Changes - Search:

Network Programming

This website demonstrates using wikis as teaching and learning tool.

The course instructor is happy to share the teaching materials here with those who find it readable.

Tutorial - View Internetworks and Protocol Data Units


Activity 1: Using tracert to view internetworks

Tracert (Trace Route) is a utility that lists the networks data has to traverse from the user's originating end device to a distant destination network.

Reference: How to Use the Traceroute Command

  • Launch a command prompt: Start > Run > type cmd
  • Type the following command and examine the output displayed.
     tracert plbpc013.ouhk.edu.hk
Question 1: What are the destination IP address and the number of hops between the source and destination?
  • Type the following command and examine the output displayed.
     tracert www.stepwise.hk
Question 2: What are the destination IP address and the number of hops between the source and destination?
  • Type the following command and examine the output displayed.
     tracert mediacollege.com
Question 3: What are the destination IP address and the number of hops between the source and destination?

Activity 2: Using NeoTrace to view internetworks

NeoTrace shows you how packets get from your computer to another computer on the Internet by displaying all nodes between your computer and the trace target.

http://www.softpedia.com/get/Network-Tools/Traceroute-Whois-Tools/McAfee-NeoTrace-Professional.shtml

  • Download and install the NeoTrace program.
  • Launch the NeoTrace program.
  • Set your country and location: on the View menu, choose Options. Click the Map tab and in the Home Location section click the Set Home Location button.
  • Enter "www.stepwise.hk" in the Target field and click Go.
  • From the View menu, List View displays the list of routers similar to tracert. Node View from the View menu displays the connections graphically with symbols. Map View on the View menu displays the links and routers in their geographic location on a global map.
  • Select each view in turn and note the differences and similarities.
  • Try a number of different URLs and view the routes to those destinations.

Activity 3: Using Wireshark to view Protocol Data Units (PDU)

Wireshark is a network packet analyzer. A network packet analyzer will try to capture network packets and tries to display that packet data as detailed as possible.

View this 5-minute video to learn more: Introduction To Wireshark Learn how to get up and running with Wireshark.

  • Install Wireshark on your machine.
  • Launch Wireshark to capture network packets.
  • Launch a Web browser and visit the web site: www.stepwise.hk
  • Locate the equivalent packets on the packet list on your computer.
  • Answer the following questions by examining the Wireshark Packet List Pane:
Question 4: What protocol is used by the Web browser?
Question 5: List the source and destination IP addresses of packets sent from the Web browser.
Question 6: What message (application-level protocol) is sent from the Web browser to the Web site?
  • Select a packet sent from the Web browser and examine the details in the Wireshark Packet Details Pane.
Question 7: List all the the source and destination addresses of the packet. These include Layer 2 addresses (physical address), Layer 3 addresses (IP addresses) and Layer 4 addresses (port numbers).
  • Select a packet sent to the Web browser and examine the details in the Wireshark Packet Details Pane.
Question 8: List all the the source and destination addresses of the packet. These include Layer 2 addresses (physical address), Layer 3 addresses (IP addresses) and Layer 4 addresses (port numbers).
  • Use your Web browser to visit another web site.
  • Then, locate a packet on the packet list that was sent from the Web browser to the target web site.
  • Study the the source and destination addresses of the packet.
Question 9: Compare and contrast the source and destination addresses (IP addresses, physical addresses, port numbers) of a) a packet sent from the Web browser to the Website stepwise.hk and b) a packet sent from the Web browser to another website.

Submission

  • Please submit your answers to Steven by email: sochoy@ouhk.edu.hk.
  • Please use SXXXXXXX - NP Tutorial 02 Submission as the email subject.
Edit - History - Print - Recent Changes - Search
Page last modified on September 15, 2011, at 11:18 PM