Outline
End-to-End Communication
Direct communication
TX
RX
GND
Serial Port
Internet communication
Internet
App
A
Internet
Dedicated circuits
Circuit switching
Telephone switches
establish circuits
for communication
Packet switching
telephone
switch
Packet
Router
Layered Tasks
Communicate
Secretary:
types a letter
Delivery boy:
drops the letter
Secretary:
reads and reports
the message
Delivery boy:
takes the letter
Postal truck
Post office:
Processes and routes the letter
9
Software
Transport Layer
Network Layer
Data Link Layer
Physical Layer
Hardware
Transmission
Medium
12
Application Layer
Responsible
Responsible for
for providing
providing services
services to
to the
the user
user
Application
Layer
SMTP
HTTP
Data
Data
Logical communication
FTP
H5
to Transport
SMTP
HTTP
Data
FTP
H5
from Transport
13
Transport Layer
Responsible
Responsible for
for delivery
delivery of
of aa message
message
from
from one
one process
process to
to another
another
Duties/services
Port addressing
Segmentation and reassembly
Connection control
Flow control (end-to-end)
Error control (end-to-end)
14
Transport Layer
Process
Process
Process
Process
PORT #
PORT #
Data
Transport
Layer
Data
Data1 H4 Data2 H4 Data3 H4
(segments)
to Network
from Network
15
Network Layer
Responsible
Responsible for
for the
the delivery
delivery of
of packets
packets
from
from the
the original
original source
source to
to the
the destination
destination
Duties/services
Logical addressing
Routing
16
Network Layer
from Transport
Network
Layer
to Transport
Data
Data
Data
H3
(packet)
Data
to Data Link
H3
17
Network Layer
Data 1.1 5.7
1.1
1.1,
1.1,1.2,
1.2,6.1,
6.1,5.7,
5.7, ...
...are
arelogical
logicaladdresses
addresses
1.2
Network 1
R1
6.1
6.6
Network 6
6.3
R3
R2
Router
5.2
3.3
Network 5
5.7
3.8
Network 3
18
Duties/services
Framing
Physical addressing
Flow control (hop-to-hop)
Error control (hop-to-hop)
Access control
19
to Network
Data
Data Link
Layer
T2
Data
(frame)
to Physical
Data
H2
T2
Data
H2
from Physical
20
Data
9F
T2
Data
3B
9F
82
A3
A3
H2
21
1.1
97
1.2
32
Data 1.15.7 97 25
Network 1
25
R1
6.1
79
12
Network 6
Data 1.15.7 79 62
6.6
6.3
62
R3
R2
5.2
54
88
3.3
3.8
Network 3
Data 1.15.7 54 74
Network 5
5.7
74
22
Physical Layer
Responsible
Responsible for
for transmitting
transmitting individual
individual bits
bits
from
from one
one node
node to
to the
thenext
next
Duties/services
Physical characteristics of
interfaces and media
Representation of bits
Data rate (transmission rate)
Synchronization of bits
23
Physical Layer
from Data Link
Physical
Layer
to Data Link
Data
Data
01001011
(bits)
01001011
Transmission medium
24
L5 data
H5
L4 data
L3 data
T2
L2 data
H4
H3
H2
0111011010101001010101001 1
L5 data
H5
L4 data
L3 data
T2
L2 data
H4
H3
H2
1 0111010101010010101010101
Transmission medium
25
Internet Model
sender
Applicati
on
Transport
Network
Data Link
Physical
router
router
Network
D.L D.L
.
.
P.L. P.L.
Transmission medium
receiver
Network
D.L D.L
.
.
P.L. P.L.
Applicati
on
Transport
Network
Data Link
Physical
26
Internet Model
27
Protocol Suites
28
Protocols
Application
Transport
Network
Data Link
Physical
29
OSI Model
User
7.Application Layer
6.Presentation
Layer
5.Session Layer
4.Transport Layer
3.Network Layer
2.Data Link Layer
1.Physical Layer
Transmission
Medium
Presentation layer
Session layer
30
Session Layer
Responsible
Responsible for
for establishing,
establishing, managing
managing and
and
terminating
terminating connections
connections between
between applications
applications
Duties/services
Interaction management
Simplex, half-duplex, full-duplex
Session recovery
31
Presentation Layer
Responsible
Responsible for
for handling
handling differences
differences in
in
data
data representation
representationto
to applications
applications
Duties/services
Data translation
Encryption
Decryption
Compression
32