computer networks - 中国传媒大学 计算机学院 课程/课件...

19
Computer Networks Prof. Lin Weiguo College of Computing Copyleft © 2003~2016 [email protected] http://icourse.cuc.edu.cn/computernetworks/

Upload: vuongdang

Post on 15-Apr-2018

225 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Computer Networks Prof. Lin Weiguo

College of Computing Copyleft © 2003~2016 [email protected]

http://icourse.cuc.edu.cn/computernetworks/

Page 2: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Final Exam

l  4 parts 1.  True and False(20 points)

l  20 questions(1 point each) 2.  Multi Choices (20 points)

l  20 questions(1 point each) 3.  Terms and Concepts (40 points)

l  10 comprehensive questions(4 points each) 4.  Lab(20 points)

6/16/16 [email protected] 2

Page 3: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Target of the exam

l  Grasp the basic concepts, principles and methods of computer networks.

l  Master computer network architecture and typical network protocol, understand the composition of a typical network equipments and features, understand the working principle of network equipment.

l  Be able to carry out the network system analysis, design and application by applying the basic concepts, principles and methods of computer networks.

6/16/16 [email protected] 3

Page 4: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Quizzes for review

Note: ignore questions about email

6/16/16 [email protected] 4

cs\networkstudents

Page 5: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Roadmap

6/16/16 [email protected] 5

Introduction

Physical Layer

Data Link Layer

Transport Layer

Network Layer

Medium Access Sublayer

Application Layer

Page 6: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

The Reference Model

6/16/16 [email protected] 6

Page 7: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 1 Introduction 1.  Uses of computer networks

l  Computer networks concepts, Computation models

2.  Network Hardware l  Classifying networks

3.  Network Software l  Protocol Hierarchies and design issues

l  Protocols and Services

4.  Reference Models l  OSI and TCP/IP

6/16/16 [email protected] 7

Page 8: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 2 PHY

l  Maximum Data Rate of A Channel l  The Nyquist equation l  Shannon's equation

l  Switching Technologies l  Circuit switching l  Message switching l  Packet switching

6/16/16 [email protected] 8

Page 9: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 3 Data Link Layer l  Data Link Layer Design Issues

l  Functions and design l  Framing l  Error control and flow control

l  Elementary data link protocols l  ARQ: Automatic Repeat reQuest

l  Sliding window protocols l  Piggybacking, window size l  Go-Back-n l  Selective Repeat

l  Example Data Link Protocols l  HDLC and PPP

6/16/16 [email protected] 9

Page 10: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 4 MAC sublayer l  The Channel Allocation Problem

l  Dynamic Channel Allocation l  Multiple Access Protocols

l  Pure/Slotted ALOHA l  CSMA/CD

l  Ethernet l  Ethernet Cabling and Topology l  Ethernet Frame Format l  The Binary Exponential Backoff Algorithm l  Switched Ethernet, Collision domain and broadcast domain

l  Data Link Layer Switching l  Bridges from 802.x to 802.y l  Local Internetworking: Backward learning algorithm l  Repeaters, Hubs, Bridges, Switches, Routers, Gateways l  Virtual LANs: IEEE 802,1Q

6/16/16 [email protected] 10

Page 11: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

[email protected] 11

TCP/IP packet in a Ethernet II Frame

Ethernet II with the ‘Preamble’ and ‘IFG (Inter-Frame Gap)’

6/16/16

Page 12: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 5 Network Layer l  Network layer design issues

l  Store and Forward l  Implementation of Connectionless/Conn-Oriented Service l  Virtual-Circuit and Datagram Subnets

l  Routing algorithms l  Shortest Path Routing, Flooding l  Distance Vector Routing l  Link State Routing

l  Internetworking l  Tunneling, Fragmentation

l  The Networking layer in the internet l  IP packet format l  IP Addresses, subnetting and CIDR l  Internet Control Protocols: ARP, ICMP, DHCP l  OSPF and BGP

6/16/16 [email protected] 12

Page 13: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Network Protocol Operations

6/16/16 [email protected] 13

Page 14: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Protocol Data Unit Encapsulation

TCP/IP over Ethernet 6/16/16 [email protected] 14

Application

TCP

IP

Ethernet Driver

Ethernet Transmission

Line

Ethernet Header

IP Header

TCP Header

Application Data

Ethernet Trailer

14 Bytes 4 Bytes 20 Bytes 20 Bytes Variable Length 46 to 1500Bytes

IP Header

TCP Header

Application Data

TCP Header

Application Data

Application Header User Data

User Data

Application Message

TCP Segment

IP Packet (Datagram)

Ethernet Frame

Page 15: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 6 Transport Layer l  The Transport Service

l  Logical End-to-End Transport l  Essence of the Transport Layer

l  Elements of Transport Protocols l  Addressing: TSAP l  Connection Establishment: three way handshake l  Release: two army problem

l  The Internet Transport Protocols: UDP l  Port, UDP header and applications

l  The Internet Transport Protocols: TCP l  Key features: Seq. Number, TCP Segment, sliding window l  The TCP Segment Header Format l  TCP Connection Establishment/Release l  TCP Congestion Control and Slow Start Algorithm

6/16/16 [email protected] 15

Page 16: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

Chapter 7 Application Layer

l  DNS--- the Domain Name System l  Domain Name Resolving Process

l  Iterative/Recursive

l  the World Wide Web l  Browsing Steps l  Statelessness and Cookies l  HTTP Request – Response Model l  HTTP persistent connections

6/16/16 [email protected] 16

Page 17: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

6/16/16 [email protected] 17

Page 18: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

6/16/16 [email protected] 18

Page 19: Computer Networks - 中国传媒大学 计算机学院 课程/课件 …icourse.cuc.edu.cn/computernetworks/Slides/Review2… ·  · 2016-06-15Chapter 5 Network Layer l Network layer

6/16/16 [email protected] 19