1 / 25

A TCP/IP Lab Course

A TCP/IP Lab Course. Magda El Zarki Dept. of ICS UC, Irvine elzarki@uci.edu. Outline of Presentation. Acknowledgment Motivation Course Layout Lab Set Up Sample Experiment Conclusions. Origin of this Course.

Jimmy
Download Presentation

A TCP/IP Lab Course

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Outline of Presentation • Acknowledgment • Motivation • Course Layout • Lab Set Up • Sample Experiment • Conclusions Magda El Zarki - TCP/IP Lab

  3. 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 Magda El Zarki - TCP/IP Lab

  4. 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 Magda El Zarki - TCP/IP Lab

  5. 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! Magda El Zarki - TCP/IP Lab

  6. 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 Magda El Zarki - TCP/IP Lab

  7. 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 Magda El Zarki - TCP/IP Lab

  8. 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 Magda El Zarki - TCP/IP Lab

  9. 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 Magda El Zarki - TCP/IP Lab

  10. 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 Magda El Zarki - TCP/IP Lab

  11. 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 Magda El Zarki - TCP/IP Lab

  12. Monitoring Tools • Ethereal and tethereal: excellent monitoring tools that have replaced tcpdump • netstat, ping, traceroute • Understanding the packet headers Magda El Zarki - TCP/IP Lab

  13. Week 2: Configuring Interfaces • Using ifconfig • Setting IP addresses and using subnet masks • Operation of ARP Magda El Zarki - TCP/IP Lab

  14. Lab 2: Data Link Layer - Bridging • Configuration of Bridges/Routers • Simple Bridge Experiment • Spanning Tree algorithm Magda El Zarki - TCP/IP Lab

  15. Lab 3: IP Layer - Routers & Routing • Static Routing • RIP • OSPF • ICMP • Mixed Bridge/Router experiment Magda El Zarki - TCP/IP Lab

  16. Lab 4: Transport Layer • The SOCK program • UDP • FTP and TFTP • TCP Magda El Zarki - TCP/IP Lab

  17. 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 Magda El Zarki - TCP/IP Lab

  18. Picture of Lab Set Up Magda El Zarki - TCP/IP Lab

  19. 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 Magda El Zarki - TCP/IP Lab

  20. Flow of Experiments • Configuring the experiment • Do a particular exercise • Answer related questions • More exercises and corresponding questions • Write report Magda El Zarki - TCP/IP Lab

  21. 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.) Magda El Zarki - TCP/IP Lab

  22. Configuration 53.100 51.100 154.81.53.0 154.81.51.0 Router2 Router3 Router1 Eth0: 53.2 Eth1: 52.2 Eth0:53.3 Eth1:54.3 Eth0:51.1 Eth1:52.1 154.81.52.0 154.81.54.0 54.100 52.100 Magda El Zarki - TCP/IP Lab

  23. 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 Magda El Zarki - TCP/IP Lab

  24. 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 Magda El Zarki - TCP/IP Lab

  25. 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 Magda El Zarki - TCP/IP Lab

More Related