Professional Documents
Culture Documents
1 2
3 4
Presentation Layer
Application Layer
This layer provides independence from differences in
• User interacts with the OSI model at this layer through data representation/syntax (e.g., encryption)
applications. Examples:
• Application layer provides network services to conversion from ASCII to EBCDIC
applications through different protocols. Encryption and decryption of data
• The application layer contains a variety of protocols that Compression and decompression of data
are commonly needed by users.
• Examples: HTTP, FTP, Telnet, SMTP, POP3.
• These protocols give end-user applications access to
network resources.
3
5 6
1
4/14/2021
Port
65535
9 10
2
4/14/2021
Transport
layer:Multiplexing/demultiplexing Transport layer protocols
Demultiplexing at rcv host: Multiplexing at send host:
gathering data from multiple
delivering received segments
sockets, enveloping data with
• There are two protocols
to correct socket
header (later used for – Transport Control Protocol(TCP)
demultiplexing)
= socket = process – User Datagram Protocol(UDP)
application P3 P1
P1
application P2 P4 application
host 2 host 3
host 1
3-13 14
15 3-16
17 18
3
4/14/2021
Network layer
Transport vs. network layer
• Network layer: logical Household analogy:
communication 12 kids sending letters to 12
kids
(connection) between hosts
• Processes = kids
• Transport layer: logical • App messages = letters in
communication between envelopes
processes • Hosts = houses
– Relies on, enhances, network • Network-layer protocol =
layer services postal service – delivers
The network layer is responsible for message to host.
the delivery of individual packets from • Transport protocol = ann and
bill – delivers message to
the source host to the destination host. correct recipient (kid)
19 3-20
4
4/14/2021
27 28
29 30
5
4/14/2021
Figure 2.3 An exchange using the OSI model Figure 2.14 Summary of layers
31 32
TCP/IP Model
Remembering the 7 Layers
7 - Application All • Developed in the the late-60s
6 - Presentation People • The Defense Advance Research Projects Agency (DARPA)
5 - Session Seem
originally developed Transmission Control
Protocol/Internet Protocol (TCP/IP) to interconnect
4 - Transport To
various defense department computer networks.
3 - Network Need
• DARPA an agency of the U.S. Department of Defense
2 - Data Link Data
• Has four layers.
1 - Physical Processing
33 34
35 36
6
4/14/2021
37 38
39 40
41 42
7
4/14/2021
43 44
7th
Application Layer
6th
application Presentation Layer Application
layer Application data message Layer
5th
Session Layer
4th
Transport Layer
transport TCP TCP TCP
segment
Transport Layer
layer header data header data header data 3rd
Internet Layer
Network Layer
2nd
Internet IP TCP
packet
Link Layer
layer header header data 1st
Network Access
Layer
Physical Layer
45 46