32
EEC-484/584 EEC-484/584 Computer Networks Computer Networks Lecture 1 Lecture 1 Wenbing Zhao Wenbing Zhao [email protected] [email protected]

EEC-484/584 Computer Networks Lecture 1 Wenbing Zhao [email protected]

  • View
    216

  • Download
    1

Embed Size (px)

Citation preview

EEC-484/584EEC-484/584Computer NetworksComputer Networks

Lecture 1Lecture 1

Wenbing ZhaoWenbing [email protected]@ieee.org

22

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Instructor InformationInstructor Information

• Instructor: Dr. Wenbing Zhao– Office: SH434– Email: [email protected]– Lecture: MW 4:00-5:50pm, SH306– Office hours: MW 2:00-4:00pm and by appointment

33

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

What is Computer Network?What is Computer Network?

A group of computers inter-connected together

Local Area Network

44

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

What is Computer Network?What is Computer Network?

A group of computer inter-connected together

Wide Area Network

55

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

What are the ElementsWhat are the Elementsin a Computer Network?in a Computer Network?

• Hosts – computers

• Communication medium – cables, wireless medium (EM waves)

• Routers – forward a packet from one place to another, decide on a path from source to destination

• Protocols – rules governing the communication

66

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Achieving Connectivity is Not EasyAchieving Connectivity is Not Easy

• Layered approach

• We will study the issues in each layer in a hybrid order– Application– Link– Network– Transport

application

transport

network

link

physical

Transport Service Provider

Transport Service User

Physical Layer is not covered

77

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Course ObjectivesCourse Objectives

• Good understanding of the computer networking technologies– How connectivity is achieved?

• Hands on experience– Labs: observe how protocols work– Project: write about computer networks

elements and hopefully write some demo programs

88

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Prerequisite Prerequisite (for graduate students)(for graduate students)

• Officially: graduate standing

• Actually: I assume you have sufficient computer engineering background– You have taken undergraduate-level

operating systems, data structure and algorithms, and programming language courses

– You know how to write technical reports in English (in your own words)

99

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Overview of computer networks– Types of computer networks– Reference models– Protocols, services and interfaces– Circuit switched vs. packet switched– Connection oriented vs. connectionless

1010

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Application Layer– HyperText Transfer Protocol (HTTP)– Domain Name Service (DNS)– FTP, Email

• Physical Layer: skipped

1111

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Data Link Layer (part 1): Basic communication protocols– Main service: provide point-to-point single hop

communication service to higher layer– Framing: group bits together– Error control– Flow control

1212

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Data Link Layer (part 2): Medium access control protocols– Shared medium, multiple concurrent users,

need to address conflict

1313

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Network layer– Main service: routing over multiple hops– Routing algorithms– Internet Protocol (IP)– IP address allocation– Internet Control Protocols: ICMP, ARP, DHCP

1414

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

TopicsTopics

• Transport layer– Main service: End-to-end reliable communication– User Datagram Protocol (UDP)– Transport Control Protocol (TCP)

1515

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

LabsLabs

• Purpose: Observe how protocols work

• Tools used: Ethereal/Wireshark

• 5 lab sessions– HTTP– DNS– Ethernet & DHCP– IP– TCP

“Tell me and I forget. Show me and I remember. Involve

me and I understand.”- Chinese proverb

Lab instructions taken from Kurose’s book

1616

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

LabsLabs

• Lab sessions are mandatory unless an exception is granted in advance

• I will not accept the lab report if you do now show up during the lab session without prior notice

• Lab report must be typed (with both questions and answers) and submitted in hardcopy on or before due date

1717

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

ProjectsProjects• There are two required projects

– Both are closely related to the information literacy program sponsored by the CSU library

• For individual or a team of two

• To gain extra-credit, you are encouraged to build demonstration programs– Java applet or plain Java application, – NS2 simulator

1818

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

ProjectsProjects• Project #1: Select a topic in Chapters 1, 3,

and 7, and build a wiki page for the topic on http://www.pbwiki.com/.

• Example topics are: – Introduction to computer networks– Internet history– ISO/OSI reference model– TCP/IP model– World Wide Web, HTTP, DSN– Data link layer design principles

1919

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

ProjectsProjects• Project #2: Select a topic in Chapters 4, 5,

6, and build a wiki page for the topic on http://www.pbwiki.com/– For example topics, see the syllabus

• As part of Project #2, peer-review and revision steps are involved– Each team is required to review three wiki

pages built by other teams anonymously

2020

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Information Literacy WorkshopInformation Literacy Workshop• Will be taught by librarian:

Theresa M. Nawalaniec

• Main activity: learn how to perform literature search

• When: Feb 11, Monday, 4-5:45pm

• Where: CSU library RT502

• Attendance mandatory: if you miss this workshop, I will not accept your project reports

2121

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Class ParticipationClass Participation• 10% of the course credit• In general, there is a mock quiz in the beginning

of each lecture, so that– I know who is here & I get feedback for my teaching

• To obtain the full credit for class participation, you must satisfy ALL of the following conditions:– You do not miss more than 2 lectures – You do not miss any quiz and lab sessions – You asked at least 10 questions during the semester

• You will lose all 10% credit if you miss more than 6 lectures/labs (unless an exception is granted)

2222

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Class ParticipationClass Participation

• Send me an email with the following information for each question you have asked within 24 hours after each lecture:– The question you asked – My response – Your comment on my response and suggestion for

improvement, if any

2323

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Class ParticipationClass Participation

• You are also encouraged to send me comments/suggestions on how you would like me to improve my teaching so that it is more conducive

• For each piece of comment/suggestion, it will be counted as 2 questions

• If you max out the class participation credit, you will get extra credit if you provide further feedbacks

2424

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

QuizzesQuizzes

• 5 quizzes. Basically one quiz for each layer• Each quiz is designed for 1 hour (you have 1h

50 minutes to work on it)• The quizzes are closed book and closed notes,

except that you are allowed to bring with you a one-page cheat sheet no larger than the US letter size (double-sided allowed)

2525

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

QuizzesQuizzes

• No makeup quizzes!

• No midterms and final exam

• Perks: You have two options to improve Perks: You have two options to improve your credit on the quizzes:your credit on the quizzes:– The weight of the best quiz is doubled The weight of the best quiz is doubled – The weight of the worst quiz is halvedThe weight of the worst quiz is halved

Whichever is favorable to youWhichever is favorable to you

2626

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

GradingGrading• Class participation 10%• Quizzes 40%• Labs 20%• Project 30%

– Proj#1: 5%– Proj#2: 25%

• Grading scale:– A: 90-100%– A-: 85-89%– B+: 75-84%– B: 65-74%– B-: 60-64%– C: 50-59%– F: < 50%

2727

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Do not cheat!Do not cheat!

• Do not copy other student’s lab report, quizzes or projects

• Do not copy someone else’s work found on the Internet– You can quote a sentence or two, but put those in

quote and give reference– You can build your projects on top of open source

libraries, but again, you need to explicitly give acknowledgement and state clearly which parts are implemented by you

2828

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Consequences for CheatingConsequences for Cheating

• You get 0 credit for the project/lab/quiz that you have cheated

• If the task is worth more than 25% of the course, it is considered a major infraction

• Otherwise, it is considered a minor infraction

2929

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Consequences for CheatingConsequences for Cheating

• For major infraction and repeated minor infractions– You will get an F grade, and – You may be suspended or repulsed from CSU

• CSU Code of Conduct– http://www.csuohio.edu/studentlife/conduct/StudentCo

deOfConduct2004.pdf

3030

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Reference TextsReference Texts

• Andrew S. Tanenbaum : – Computer Networks

• 4th Edition, Prentice-Hall, 2003

• James F. Kurose, Keith W. Ross,– Computer Networking: A Top-Down

Approach Featuring the Internet• 3rd Edition, Addison-Wesley, 2004

3131

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

Additional InformationAdditional Information

• Anonymous email:– [email protected]– Password:

– if you are not happy, please do let me know

• Course Web site:– http://academic.csuohio.edu/zhao_w/

teaching/EEC584-S08/eec584.htm– Lecture notes will be posted

3232

Spring 2008Spring 2008 EEC-484/584: Computer NetworksEEC-484/584: Computer Networks Wenbing ZhaoWenbing Zhao

HomeworkHomework

• Due Jan 14, 11:59pm (today midnight!)• Email me the following information

– The amount of time per week you commit to this course

– The grade you expect to get– If your schedule conflicts with my office hours, what is

the best time for you to talk to me?– Comments and suggestions, if any