Beruflich Dokumente
Kultur Dokumente
Announcements
Project is out
Ask TAs if something is unclear
Dont wait until the last minute
Homework is due next Wednesday
Overview
Standardization of protocols
Roles played by end systems
Clients, servers, peer-to-peer
Protocol Standardization
Ensure communicating hosts speak the same
protocol
Internet
Server program
GET /index.html
Client-Server Communication
Client sometimes on
Server is always on
Peer-to-Peer Communication
No always-on server at the center of it all
10
The Problem
Application
Transmission
Media
Skype
SSH
Coaxial
cable
NFS
Fiber
optic
HTTP
Radio
11
Skype
SSH
NFS
HTTP
Intermediate
layers
Transmission
Media
Coaxial
cable
Fiber
optic
Packet
radio
12
Network Architecture
Architecture is not the implementation itself
Architecture is how to organize/structure the
elements of the system & their implementation
What interfaces are supported
o Using what sort of abstractions
14
15
17
20
o packet scheduling/priority
o buffer management
22
23
5 Minute Break
24
Drawbacks of Layering
Layer N may duplicate lower level functionality
E.g., error recovery to retransmit lost data
Layer Violations
Sometimes the gains from not respecting layer
boundaries are too great to resist
Can occur with higher-layer entity inspecting
lower-layer information:
Network
Datalink
Physical
Application
Transport
Network
Datalink
Physical
Host A
Router
Host B
27
Logical Communication
Layers interacts with peers corresponding layer
Application
Transport
Network
Datalink
Physical
Network
Datalink
Physical
Application
Transport
Network
Datalink
Physical
Host A
Router
Host B
28
Physical Communication
Communication goes down to physical network
Then from network peer to peer
Then up to relevant layer
Application
Transport
Network
Datalink
Physical
Host A
Network
Datalink
Physical
Router
Application
Transport
Network
Datalink
Physical
Host B
29
host
HTTP message
HTTP
TCP segment
TCP
router
IP
Ethernet
interface
HTTP
IP packet
Ethernet
interface
IP
TCP
router
IP packet
SONET
interface
SONET
interface
IP
IP packet
Ethernet
interface
IP
Ethernet
interface
30
Layer Encapsulation
User A
User B
Appl: Get index.html
Trans: Connection ID
Net: Source/Dest
Link: Src/Dest
31
Applications
NTP
UDP
IP
Transport
Waist
Data Link
Ethernet
Copper
SONET
Fiber
802.11
Radio
Physical
32
Implications of Hourglass
Single Internet-layer module (IP):
Allows arbitrary networks to interoperate
33
Host B
Appl.
OS
Appl.
OK
OS
Discussion
Solution 1 is incomplete
Solution 2 is complete
36
37
38
39
Moderate Interpretation
Think twice before implementing functionality in
the network
If hosts can implement functionality correctly,
implement it in a lower layer only as a performance
enhancement
But do so only if it does not impose burden on
applications that do not require that functionality
40
Only way that failure can cause loss of the critical state is
if the entity that cares about it also fails ...
in which case it doesnt matter
41
Summary
Roles of
Standardization
Clients, servers, peer-to-peer
42
Next Lecture
Building a global internetwork: Designing IP
Read K&R: 4.1-4.2, 4.4.1
43