Network Lab Assignment 3 Constructing a Wide Area Network

  • 1,364 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,364
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
35
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Fall 2007 Angsana A. Techatassanasoontorn IST 220 Networking and Telecommunications Network Lab Assignment 3 Constructing a Wide Area Network Due date: Monday, Nov. 12, 2007 Acknowledgements: This lab assignment was expanded from the original assignment developed by Dr. Peng Liu and Hai Wang Introduction In the previous lab, you have learned how to connect computers to form a local area network. This lab is built on the knowledge and skills you developed from lab2. In this lab, you will create a wide area network by linking two local area networks together. Wide Area Network (WAN) is a computer network that spans a relatively large geographical area, such as a state, a province or a country. Typically, a WAN consists of two or more local-area networks (LANs). WANs generally utilize different and much more expensive networking equipment than LANs. The world's most popular WAN is the Internet. Lab Objectives In this assignment, you are expected to: a) Understand what a Wide Area Network is, b) Know which devices are necessary for a WAN, c) Know how to build up a WAN with necessary devices, d) Know which protocols are necessary for a WAN, e) Understand IP protocol and IP datagrams. -1-
  • 2. Fall 2007 Angsana A. Techatassanasoontorn What you will do Each group has to perform the following four tasks. You are required to finish all the tasks in the IST network lab using the devices provided. Task 1: Setting appropriate IP addresses First, you need to create two local area networks. Use one computer and one switch for each LAN. Connect a computer to a switch to form a LAN. Next, you need to make appropriate TCP/IP configurations for each computer. There are three major variables that are needed to be set up in order for the WAN to function properly. They include IP address, subnet mask, and default gateway. Example: IP address 172.16.74.2 Subnet mask 255.255.255.0 Default gateway 172.16.74.1 Use command ipconfig/all to check the setup on both computers. Task 2: Connect LANs and configure the router There are two steps involved in this task. First, construct a WAN as shown in Figure 1 below. Next, configure the Cisco router, so that the WAN below can work. LAN 1 Router LAN 2 Figure 1: Wide Area Network Step 1: Connect LANs through the router You need the following hardware to form a WAN. -2-
  • 3. Fall 2007 Angsana A. Techatassanasoontorn • Terminal (CPU and a visual display unit : screen) • Terminal Emulator (Hyper Terminal) • Cables -- CAT 5e and configuration cables • Router (Cisco 1800 series router) Main features of the Cisco 1812 Router (See Figure 2 below): FastEthernet Port 0 - 10Base T port(RJ-45) FastEthernet Port 1 - 10Base T port(RJ-45) Console Port (RJ-45) Power On/Off Switch Power Cable connection Figure 2: Cisco 1812 Back View 1) Use a cable to connect the Ethernet ports to your switches. 2) Connect the Console port on the router to the terminal (COM Port) using a configuration cable. 3) Configure your terminal or terminal emulation software (e.g., Hyper terminal) for 9600 baud, 8 data bits, no parity, and 2 stop bits. Because hardware flow control is not possible on the console port, it is not recommended that modems be connected to the console port. Modems should always be connected to the auxiliary port. Step 2: Router Configuration: In order to configure the router, you will have to connect the router to the client computer that has a terminal Emulator (such as Hyper Terminal). Start the HyperTerminal program -3-
  • 4. Fall 2007 Angsana A. Techatassanasoontorn Click on "Start--> Programs --> Accessories --> Communications -->Hyper Terminal". 2) Configure the COM (e.g., COM1, COM2) port Bits per second: 9600 Data Bits: 8 Parity: None Stop Bits: 2 Flow Control: None Configure the CISCO router through the command line. Use the commands below to configure the router. Keep in mind that you should not copy the example below entirely. Change the IP addresses according to your own setup. 3. 1) Bring the Router to Privileged EXEC mode (this will allow you to change various settings). Router>enable 3.2) Change to global configuration level giving the user access to change the configuration of the router. You might see some slightly different prompts including Router# or Yourname#. Router# configure terminal 3.3) Enable routing protocols as required for your global configuration. This example uses IP routing. Router(config)# ip routing 3.4) Switch to Configure the fastethernet0 interface Command : interface <interface type> Router(config)# interface fastethernet0 3.5)Configure an IP address 172.16.74.1 and Subnet mask of 255.255.5.0 Command : ip address <ip address> <subnet mask> Router(config-if)# IP address 172.16.74.1 255.255.255.0 3.6)Activate fastethernet0 interface. -4-
  • 5. Fall 2007 Angsana A. Techatassanasoontorn Command : no shutdown Router(config-if)# no shutdown 3.7)Exit back to global configuration level. Router(config-if)# exit 3.8)Configure the fastethernet1 interface Command : interface <interface type> Router(config)# interface fastethernet1 3.9)Configure IP address 172.16.90.1 with subnetmask of 255.255.255.0 on fastethernet0/1 interface. Command : ip address <ip address> <subnet mask> Router(config-if)# ip address 172.16.90.1 255.255.255.0 3.10)Activate fastethernet1 interface Command : no shutdown Router(config-if)# no shutdown 3.11)Exit back to global configuration level Router(config-if)# exit 3.12)Exit out of global configuration level Router(config)# Ctrl+z 3.13)See the current configuration of the Router. Router# show configuration or Router# show interface *insert interface name* Task 3: Testing the network • Test the WAN with “ping” and “tracert”( i.e., ping and tracert from LAN1 to LAN2, vice versa). • Calculate the transmission speeds for each experiment. Task 4: Understanding IP protocol and IP datagrams Similar to lab2, you will use Wireshark to capture and analyze IP datagrams. -5-
  • 6. Fall 2007 Angsana A. Techatassanasoontorn • Empty your browser’s cache. For Internet Explorer, select Tools Internet Options Under Browsing history, choose Delete Under Temporary Internet Files, choose Delete Files. For Firefox, select Tools Clear Private Data • Start up the Wireshark packet sniffer program. Click Capture Start Choosing the appropriate network card. • Enter the following URL into your browser: http://<LAN_IP_address>/lab3.htm. Your browser should display the lengthy US Bills of Rights. • Stop Wireshark packet capture by clicking Capture Stop or clicking on the stop button on the toolbar. You should see the result screen similar to the one shown in Figure 3: Figure 3: Wireshark packet capture screen result -6-
  • 7. Fall 2007 Angsana A. Techatassanasoontorn • Capture the screen shot of the result window. Find the packet numbers (the leftmost column in the upper Wireshark window) of the HTTP GET message that was sent from your computer to the web server. Also, find the packet number of the HTTP response message sent to your computer by the web server. The HTTP response should like HTTP/1.1 200 OK. Take notes of their packet numbers. • This lab is about IP protocol. Select the packet that contains the HTTP GET message. Note that the HTTP GET message is carried inside a TCP segment, which is in turn carried inside an IP datagram, which is carried inside an Ethernet frame. Expand the details of the Internet Protocol datagram. Look into the packet details and packet content windows (the middle and lower display windows in Wireshark) of the HTTP GET message. Answer the following questions based on the contents of the IP datagram containing the HTTP GET message: o Capture the screen shot of the HTTP GET result window with the expanded result of the IP datagram. o What is the version of the IP protocol? o What is the IP address of a source computer? o What is the IP address of a destination computer? o What is the size (bytes) of the IP datagram header? o What is the total size (bytes) of the IP datagram? o Has this datagram been fragmented? Explain how you determined whether or not the datagram has been fragmented. o What is the purpose of the identification field? What is the identification of this IP datagram? • Select the IP datagram containing the HTTP response message. Look into the packet details and packet content windows (the middle and lower display windows in Wireshark) of the HTTP response message. Answer -7-
  • 8. Fall 2007 Angsana A. Techatassanasoontorn the following questions based on the contents of the IP datagram containing the HTTP response message: o Capture the screen shot of the HTTP response result window with the expanded result of the IP datagram. o What is the version of the IP protocol? o What is the IP address of a source computer? o What is the IP address of a destination computer? o What is the size (bytes) of the IP datagram header? o What is the total size (bytes) of the IP datagram? o Has this datagram been fragmented? Explain how you determined whether or not the datagram has been fragmented. o What is the identification of this IP datagram? o What are the key differences between this IP datagram and the one containing HTTP GET message? What to deliver Report overview The group report is to show what you have done in the lab assignment. The report should look professional. Please clearly state your results, and carefully proofread and edit the paper before submission. Use 12 point font size and double-spaced format for easier reading and grading. The report should have the following structure and format: a) A cover page (including network lab title) with group number and group members b) A table of contents with associated page numbers for each section c) Major sections organized as Introduction, Task 1, Task 2, Task 3, Task 4, and Experiment Log. -8-
  • 9. Fall 2007 Angsana A. Techatassanasoontorn Here are the details that you need to cover in each section: 1. Introduction (5%, each item has 2.5 credits): This section should serve as an “advance organizer” for the rest of the report. It should have the following parts: a) Describe the goal and motivation of this project. In addition to what has been stated in the project instruction, please tell your own expectation in this project. b) Give an outline of this report, in which the content of each section needs to be briefly described. 2. Task 1: Setting appropriate IP addresses (5%, 5 credits) This section should describe how you complete task1: Use a combination of screenshots and explanation to explain how you configure the two LANs. 3. Task 2: Connect LANs and configure the router (20%, 20 credits) In this section, report how you complete task 2 in the following subsections: 3.1 (10 credits) Describe how you construct the WAN step by step in detail and in order. In order to show the detail of each step, for example, you need to describe which port of the switch you used, which port of the router you used, how you install a router, etc. It is expected that within current settings anyone (even without any knowledge of network) can construct a WAN by referring to your report. No screen shot is needed. 3.2 (10 credits) Describe how you configure the router step by step in detail and in order. Use screenshots and explanation to facilitate the discussion. I don’t -9-
  • 10. Fall 2007 Angsana A. Techatassanasoontorn expect you to repeat the steps shown in this assignment. What you expect to do is to show high-level understanding of what each command means and what you have accomplished after using all the steps to configure the router. 4. Task 3: Testing the network (20%, 20 credits): 4.1 Use the screenshot and explanation to discuss the results from ping and tracert from LAN1 to LAN2 and LAN2 to LAN1. 4.2 Report the result from the experimentsto measure data transmission rate. 4.3 Report any problems during this project and your corresponding analysis and solutions. 5. Task 4: Understanding IP protocol and IP datagrams (20%, each item has 10 credits): 5.1 Answer the questions for HTTP GET message. Explain the IP datagram associated with this message with screen snapshots and writing. 5.2 Answer the questions for HTTP response message. Explain the IP datagram associated with this message with screen snapshots and writing. 6. Experiment Log (30% individual grade) This section should describe your activities in this project. a) Clearly state the responsibility of each group member. If possible, give a table to describe who perform which task, who collect information of which device, who write which section of the report, who coordinate the group work activities, etc. An example of the table: - 10 -
  • 11. Fall 2007 Angsana A. Techatassanasoontorn Team Member Network Part Other Responsibilities Jane Doe Computer cover page table of contents, photos, Tom Smith Router experiment log, compilation Angelina Jolie Switch revision, conclusion organized Google Docs & Ang Lee Network Interface Card Spreadsheets to compile work Bart Simpson Cable introduction b) Give a log of your group activity, such as what you do on which day, and how many people attend. An example of the group activity log: Date Activity Attendance All team members were 1/26/07: 9:45 - 11 AM First lab class: photos, divided work. present in lab. All team members were 2/2/07: 9:45 - 11 AM Discussed individual lab work present in IST lab. All team members were 2/9/07: 9:45 - 11 AM Compiled lab. present in IST lab. All team members were 2/12/07 9:30 – 11 PM Revision and Completion of Lab present on AOL Instant Messenger. Each item has 15 credits. a) If you are responsible for some parts of your group work, you get 15 credits. If you do nothing for your group work, you get 0. b) If you attend more than 90% of your group activities, you get 15 credits. If you attend between 70% and 90%, you get 10 credits. If you attend between 50% and 70%, you get 5. Otherwise, you get 0. Grading Rubric Lab3 has a number of specific requirements. The requirement for each section is documented in the above project instruction “What to deliver”. - 11 -
  • 12. Fall 2007 Angsana A. Techatassanasoontorn a) You will get full credits on an item, if it is correctly reported as required and well written. b) You will get half credits on an item, if it is reported as required but the answer is definitely wrong. c) You will not get any credit for an item, if it is not reported. Note This is a group assignment. Be sure to include the names of all the teammates and email addresses in the report. The report should be turned in before midnight on the specified due date. Late submission is subject to 10% penalty of the grade for the first two days after the due date. After the first two days, 20% penalty is deducted from the grade for each late day until no grade is available. - 12 -