Presentation is loading. Please wait.

Presentation is loading. Please wait.

A TCP/IP Lab Course Magda El Zarki Dept. of ICS UC, Irvine

Similar presentations


Presentation on theme: "A TCP/IP Lab Course Magda El Zarki Dept. of ICS UC, Irvine"— Presentation transcript:

1 A TCP/IP Lab Course Magda El Zarki Dept. of ICS UC, Irvine elzarki@uci.edu

2 June 13th, 2001Magda El Zarki - TCP/IP Lab2 Outline of Presentation Acknowledgment Motivation Course Layout Lab Set Up Sample Experiment Conclusions

3 June 13th, 2001Magda El Zarki - TCP/IP Lab3 Origin of this Course I would like to thank Professor Shivendran Panwar and Jeong-dong Ryoo of the Dept. of Elc. Eng. at Polytechnic University, Brooklyn, NY, for giving us their lab notes from their EL 537 course. The content for this lab manual was derived from their lab manual, the material has been modified to reflect the laboratory set-up that we have at UCI

4 June 13th, 2001Magda El Zarki - TCP/IP Lab4 Motivation Regular in class course -> in one ear out the other Hands on lab experience hammers the concepts in Students learn to extract the theories taught in the regular course and apply it to real situations

5 June 13th, 2001Magda El Zarki - TCP/IP Lab5 Is it Working? Course is very successful Teach it every quarter: senior Ugrads and 1st yr Grads Have to cap the class size due to resource limitations (equipment and lab assistants) Students claim that they finally learnt something!

6 June 13th, 2001Magda El Zarki - TCP/IP Lab6 Course Layout 10 weeks: 8 weeks of labs, 1 week midterm, 1 week course review, final exam One lecture a week - 3hrs Lecture consists of 2 parts: –Overview of topic covered by lab, reference an assigned text –Demonstration of the experiment  We have installed in the lecture hall a similar setup as the one used by the students  Overhead projector enables professor to show actual experiment set up and results/outputs

7 June 13th, 2001Magda El Zarki - TCP/IP Lab7 Course Outline Each Lab is on a specific topic and spans a 2 week period -> part 1 and part 2, reports are due for each part. Lab 1: Introduction Lab 2: Bridging Lab 3: Routers Lab 4: TCP and UDP

8 June 13th, 2001Magda El Zarki - TCP/IP Lab8 Lab 1 - Objectives Read the following sections in the assigned text:… Getting acquainted with the Linux and Xwindows environment Preview of some TCP/IP diagnostic tools Capturing link/IP/TCP layer header The usage of port numbers and IP protocol field Subnetting ARP Configuring Interfaces

9 June 13th, 2001Magda El Zarki - TCP/IP Lab9 Week 1: Introduction Discuss lab rules Describe equipment and lab set up Outline course requirements and grading: –Weekly lab reports –Midterm and Final Simple experiments to introduce them to Linux and the monitoring and configuration tools that they will use

10 June 13th, 2001Magda El Zarki - TCP/IP Lab10 Sample Lab Rules  Work in groups of max. size 4. Indicate in your lab report for the week who was in your group  The lab is open and groups can work on their experiments at any time  All reports are due one week after your lab (beginning of class). Each student in a group must submit his/her own laboratory report  You should read all pertinent chapters and bring the textbook and a 3.5” floppy disk to each session of the laboratory  Always check PC and router/bridge configurations, make no assumptions as to their set-up.DO NOT turn of the PCs

11 June 13th, 2001Magda El Zarki - TCP/IP Lab11 Equipment Description 4 routers 4 hubs 4 PCs 1 switch box to share 1 monitor, 1 keyboard, and 1 mouse 1 console 1 19” rack

12 June 13th, 2001Magda El Zarki - TCP/IP Lab12 Monitoring Tools Ethereal and tethereal: excellent monitoring tools that have replaced tcpdump netstat, ping, traceroute Understanding the packet headers

13 June 13th, 2001Magda El Zarki - TCP/IP Lab13 Week 2: Configuring Interfaces Using ifconfig Setting IP addresses and using subnet masks Operation of ARP

14 June 13th, 2001Magda El Zarki - TCP/IP Lab14 Lab 2: Data Link Layer - Bridging Configuration of Bridges/Routers Simple Bridge Experiment Spanning Tree algorithm

15 June 13th, 2001Magda El Zarki - TCP/IP Lab15 Lab 3: IP Layer - Routers & Routing Static Routing RIP OSPF ICMP Mixed Bridge/Router experiment

16 June 13th, 2001Magda El Zarki - TCP/IP Lab16 Lab 4: Transport Layer The SOCK program UDP FTP and TFTP TCP

17 June 13th, 2001Magda El Zarki - TCP/IP Lab17 Lab Set Up The lab where the equipment is housed is an open lab We have 5 - 19” racks with equipment Each rack is self contained Equipment is isolated Students must save data to floppies and analyze and print data on other systems

18 June 13th, 2001Magda El Zarki - TCP/IP Lab18 Picture of Lab Set Up

19 June 13th, 2001Magda El Zarki - TCP/IP Lab19 Course Personnel One faculty member One TA and 2 graders per 50 - 70 students (recommended) TA spends 9hrs a week in lab helping students, each grader spends approx. 15hrs grading a week. Faculty member spends 3hrs a week in lab Lab with 5 racks can handle approx. 65 students with open hours

20 June 13th, 2001Magda El Zarki - TCP/IP Lab20 Flow of Experiments Configuring the experiment Do a particular exercise Answer related questions More exercises and corresponding questions Write report

21 June 13th, 2001Magda El Zarki - TCP/IP Lab21 Configuring an Experiment A 4 Subnet Experiment  In this experiment, we divide the network into four subnets. There will be one machine in each of the following subnets, 154.81.51.0, 154.81.52.0, 154.81.53.0 and 154.81.54.0. As shown in figure 3.2, we will connect the four subnets (154.81.51.0, 154.81.52.0, 154.81.53.0, and 154.81.54.0) using three routers.  In order to configure the new network topology, we need to change the current IP addresses of each PC interface card. The new IP addresses that we want to use are as shown in the figure. (Note that 52.100 is an abbreviation for 154.81.52.100. This notation applies to all the PC and router addresses given in the figure above.)

22 June 13th, 2001Magda El Zarki - TCP/IP Lab22 Configuration Eth0:51.1 Eth1:52.1 Eth0: 53.2 Eth1: 52.2 Eth0:53.3 Eth1:54.3 53.10 0 51.100 54.10052.100 154.81.53.0154.81.51.0 154.81.54.0 154.81.52.0 Router1 Router2 Router3

23 June 13th, 2001Magda El Zarki - TCP/IP Lab23 Exercises: Change the IP addresses of the PCs to reflect the network configuration as shown in the figure. Also configure the routers. Save the output of netstat - rn or route –ee before building the PCs’ routing tables. After examining the figure, build the static routing tables in all the PCs manually. Use netstat –rn or route –ee to verify your entries. Use the ping and traceroute programs to test the connections. Save the traceroute outputs

24 June 13th, 2001Magda El Zarki - TCP/IP Lab24 Questions and Report What is the subnet mask for this subnetted network? For each IP address that you assigned, identify the subnet ID and the host ID. Compare the contents of the four route outputs. What do you observe? Discuss the different entries and the corresponding flags. Analyze the tethereal output and explain what happens using the content of the tethereal file

25 June 13th, 2001Magda El Zarki - TCP/IP Lab25 Conclusions: A fun course to teach Self managed Very popular with students Co-authoring a self contained text with Shiv Panwar and Jorg Liebherr,to appear in 2002 Will contain more labs to fill a semester course


Download ppt "A TCP/IP Lab Course Magda El Zarki Dept. of ICS UC, Irvine"

Similar presentations


Ads by Google