Professional Documents
Culture Documents
Week 4 - Lec 1
Week 4 - Lec 1
Introduction
Week 4-Lecture 1
Introduction 1-1
Throughput
server,
server withbits
sends linkpipe
capacity
that can carry linkpipe
capacity
that can carry
file of into
(fluid) F bits
pipe fluid at rate
Rs bits/sec fluid at rate
R bits/sec
to send to client c
Rs bits/sec) Rc bits/sec)
Introduction 1-2
Throughput (more)
• Rs < Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck
link
link on end-end path that constrains end-end throughput
Introduction 1-3
Internet ON A LARGE SCALE!!!
Networks are complex,
with many “pieces”:
hosts
routers
links of various
media
applications
protocols
hardware,
software
Introduction 1-4
Question:
What is the architecture of the Internet?
How is the structure of the Internet organized ?
Architecture of the Internet
Structure of the Internet
• How does the postal system work as an organized structure?
• What should be done with the data which a host generates through
an application?
• how does the host know if its data is getting to the destination?
• What is the job of the host?
• What is the job of the router?
What is a protocol?
A Protocol is a standard pattern of exchanging information.
• High level applications
• Hyper Text Transfer Protocol (HTTP)
• File Transfer Protocol (FTP)
• Telnet
• Lower layers
• Transport layer: how to transport data : how to deliver
a package (fax, UPS, Air, road)
• Network layer: locating destinations and who to
forward so it reaches the destination
• Link layer: actually handling the transfer of bytes/bits
• Each protocol instance talks
virtually to its peer
• Each layer communicates only
by using the one below
• Lower layer services are
accessed by an interface
• At bottom, messages are
carried by the medium
Motivation For Layering
Sender Receiver
Layer n Layer n
... ...
Layer 2 Layer 2
Layer 1 Layer 1
Network
Internet
IP Module
Protocol Layer
Network
Interface Layer Interface 1 Interface 2 Interface 3
(a) (b)
Sender Receiver
other... other...
Introduction 1-16
message M
source
application
Encapsulation
segment Ht M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
link
physical
switch
destination Hn Ht M network
M application
Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Introduction 1-17
• Who is the source (S) computer?
• Who is the destination (D) computer?
• Who is passing this message to whom?
How data travels from one host to the other
across the Internet?
Why layering?
dealing with complex systems:
• explicit structure allows identification, relationship of
complex system’s pieces
• layered reference model for discussion
• modularization eases maintenance, updating of system
• change of implementation of layer’s service transparent to rest of
system
Introduction 1-24
Organization of air travel
• a series of steps
Introduction 1-25
Layering of airline functionality
airplane routing airplane routing airplane routing airplane routing airplane routing
Introduction 1-26
• Each protocol instance talks
virtually to its peer
• Each layer communicates only
by using the one below
• Lower layer services are
accessed by an interface
• At bottom, messages are
carried by the medium
The Open Systems Interconnection (OSI) Reference
Model by International Standards Organization (ISO)
Introduction 1-32
• Who is the source (S) computer?
• Who is the destination (D) computer?
• Who is passing this message to whom?
switch
destination Hn Ht M network
M application
Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Introduction 1-35
Capacity increasing!
A demo to understand latency on different
mediums