Professional Documents
Culture Documents
Outline
Administrivia Layering
Dramatis Personae
Professor: Randy H. Katz
Web: http://www.cs.Berkeley.edu/~randy Facebook: http://berkeley.facebook.com/people/Randy_Howard_Katz/1241523 Email: randy@cs.Berkeley.edu Office hours: Tu 1:00-2:00, W 3:00-4:00, 413 Soda Hall
Web Page
Check regularly!! Course schedule Reading list Lecture notes Announcements Project ideas Exams
6
Lecture Notes
ppt posted, but I will minimize its in-class usage Seminar/discussion style and participation counts!
Recommended textbooks
For those who need to review their networking background Peterson & Davie/4ed or Kurose & Ross/4ed
8
Course Grading
Class + paper blog participation (20%)
Makes sure that you read the papers before class
10
Lecture Topics
Traditional Layering Internet architecture Routing (IP) Transport (TCP) Queue management (FQ, RED) Naming (DNS) Recent Topics Multicast Mobility/wireless Active networks QoS Network measurement Overlay networks P2P applications Datacenter networking
12
Laptop Policy
S o l w policy? av a op /clos laptop
Goo for vi wi g/a otati g pap rs a l ctro ic ot taki g Ba for istractio s (c at, bay, ail, fac book, solitair , twitt r, tc., ...)
TI ar
Outline
Administrivia Layering
14
16
Packets
17
Packet Switching
Interleave packets from different sources Efficient: resources used on demand
Statistical multiplexing
General
Multiple types of applications
18
Contention
Congestion Delay
19
Internet[work]
A collection of interconnected networks Host: network endpoints (computer, PDA, light switch, ) Router: node that connects networks Internet vs. internet
Internet[work]
20
Challenge
Many differences between networks
Address formats Performance bandwidth/latency Packet size Loss rate/pattern/handling Routing
21
22
Naming
23
Routing
Routers send packet towards destination
R R
R R
H
R R
H: Hosts R: Routers
24
25
Internet
0,9 9
6,7,8 21
4,5 7
1,2,3 6
26
Solution: Buffering and Congestion Control Short bursts: buffer What if buffer overflows?
Packets dropped Sender adjusts rate until load = resources congestion control
27
Internet
Solution: Timeout and Retransmit GET index.html Internet GET index.html GET index.html
28
ml
x.ht
inde
GET x.htindeml
ml 4
inde 2
x.ht 3
What is Layering?
Modular approach to network functionality Example:
Application Application-to-application channels Host-to-host connectivity Link hardware
32
Protocols
Module in layered structure Set of rules governing communication between network elements (applications, hosts, routers) Protocols define:
Interface to higher layers (API) Interface to peer
Format and order of messages Actions taken on receipt of a message
33
Layering Characteristics
Each layer relies on services from layer below and exports services to layer above Interface defines interaction Hides implementation - layers can change without disturbing other layers (black box)
34
Layering
User A
Application
User B
Host
36
Application Presentation Session Transport Network Data Link Physical Host Switch Router Host
37
Layer Encapsulation
User A
Get index.html
User B
Connection ID
38
Protocol Demultiplexing
Multiple choices at each layer
FTP
HTTP
NV
TFTP UDP
Network IP
Protocol Field
TCP/UDP
Port Number
NETn
Type Field
39
Is Layering Harmful?
Sometimes
Layer N may duplicate lower level functionality (e.g., error recovery) Layers may need same info (timestamp, MTU) Strict adherence to layering may hurt performance
40
Assigned Reading
R1: End-to-end Arguments in System Design R2: Design Philosophy of the DARPA Internet Protocols
Friend me on Facebook so I can invite you to join the CS 268 facebook group Set up your blog site and send me its URL
41