Beruflich Dokumente
Kultur Dokumente
Pengantar – kuliah ke 2
1
ISO Reference Model
2
ISO Reference Model
3
ISO Reference Model
Diagram environment:
Computer A Computer B
AP AP
Application-oriented Application-oriented
functions functions
Network-dependent Network-dependent
functions functions
Data network
Network environment
OSI environment
5
ISO Reference Model
The logical structure of ISO Reference Model:
Computer A Computer B
AP AP
Data network
Network environment
OSI environment
6
ISO Reference Model
• The network-dependent layers (three lowest layers) are concerned with the
protocols associated with the data communication network being used to
link the two communicating computers
• The application-oriented layers (three upper layers) are concerned with the
protocols that allow two end-user application processes to interact with
each other, normally through a range of services offered by the local
operating system
• The intermediate transport layer (4) masks the upper application-oriented
layers from the detailed operation of the lower network-dependent layers; it
develops the services provided by providing the application-oriented layers
with a network-independent message interchange service
7
Function of each layer of the OSI model:
Syntax-independent message
interchange services
Network-independent message
interchange services
Data link control (framing, data transparency, error control) Link layer
Physical connection to
network termination equipment
9
ISO Reference Model
• Network-dependent layers
¾ Physical layer
¾ Link layer
¾ Network layer
• Application-oriented layers
¾ Transport layer
¾ Session layer
¾ Presentation layer
¾ Application layer
10
ISO Reference Model
Physical layer
• Concern with the physical and electrical interfaces between the user
equipment and the network terminating equipment
• Provide the link layer with a means of transmitting a serial bit stream
between two equipments
• Examples: wires, connectors, voltages, data rates
11
ISO Reference Model
Link layer
• Develop a physical connection provided by the particular network to
provide network layer with a reliable information transfer facility
• Responsible for functions such as error detection and retransmission
messages (if there is a transmission error)
• Examples: physical addressing, network topology, error notification, flow
control
• Two types of services:
¾ Connectionless, treats each information frame as a self-contained entity
that is transferred using a best-try approach. If errors are detected in a
frame, then the frame is simply discarded
¾ Connection oriented, try to provide an error-free information transfer
facility
12
ISO Reference Model
Network layer
• Responsible for establishing and clearing a network wide connection
between two transport layer protocol entities
• It includes functionality as network routing (addressing) and, flow control
across the computer-to-network interface
• In internetworking, it provides various harmonizing functions between the
inter-connected networks
13
ISO Reference Model
Transport layer
• Interface between the higher application-oriented layers and the underlying
network-dependent protocol layers
• Provide the session layer (one layer above) with a message transfer facility
that is independent of the underlying network type; therefore transport layer
hides the detailed operation of the underlying network from the session
layer
• It offers a number of classes of service to compensate for the varying
quality of service (QOS) provided by the network layers associated with the
different types of network
• Five classes of services ranging from class 0 (provides only basic functions
needed for connection establishment and data transfer) to class 4 (provides
full error control and flow control procedures
14
ISO Reference Model
Session layer
• Interhost communication: establishes, manages and terminates sessions
between applications
• Allows two application layer protocol entities to organize and synchronize
their dialog and manage their data exchange
• Responsible for setting up (& clearing) a communication (dialog) channel
between two communicating application layer protocol entities
(presentation layer protocol entities in practice) for the duration of the
complete network transaction
• A number of optional services provided:
¾ Interaction management; data exchange associated with a dialog may
be duplex or half-duplex (where each protocol here provides facilities
for controlling the exchange of data/dialog units in a synchronized
way)
15
ISO Reference Model
Session layer
• A number of optional services provided:
¾ Synchronization; for lengthy network transactions, the user (through
the services provided by the session layer) may choose periodically to
establish synchronization points associated with the transfer.
If a fault develops during a transaction, the dialog may be restarted at
an earlier synchronization point
¾ Exception reporting; non-recoverable exceptions arising during a
transaction can be signaled to the application layer by the session layer
16
ISO Reference Model
Presentation layer
• Concerned with the representation (syntax) of data during transfer between
two communicating application processes
• Data security; encrypted/enciphered (using a key) data sent is (hopefully)
known only by the intended recipient presentation layer, and later the key is
used to decrypts (deciphers) the received data before passing it onto the
intended recipient
17
ISO Reference Model
Application layer
• Provides the user interface (an application program/process) a range of
network wide distributed information services
examples: file transfer access and management, general document and
message interchange services (e-mail)
• The layer provides other services as:
¾ Identification of the intended communication partner by name or by
address
¾ Determination of the current availability of an intended communication
partner
¾ Establishment of authority to communicate
¾ Agreement on privacy (encryption) mechanism
18
ISO Reference Model
Application layer
• The layer provides other services as:
¾ Authentication of an intended communication partner
¾ Selection of the dialog discipline, including the initiation and release
procedures
¾ Agreement on responsibility for error recovery
¾ Identification of constraints on data syntax (character sets, data
structures, etc.)
19
Data Encapsulation
20
Data Encapsulation
21
ISO vs TCP/IP Reference Model
22
TCP/IP Reference Model
23
TCP/IP Reference Model
Application layer
• The designer felt that the higher level protocols should include the
session and presentation layer details
• They created this layer that handles high-level protocols, issues of
representation, encoding and dialog control
• The TCP/IP combines all application-related issues into one layer,
and assumes this data is properly packaged for the next layer
24
TCP/IP Reference Model
Transport layer
• It deals with the quality of service issues of reliability, flow control
and error correction
• One of its protocols, the transmission control protocol (TCP), is a
connection-oriented protocol that provides excellent and flexible
ways to create reliable, well-flowing, low-error network
communications
• It dialogues between source and destination while packaging
application layer information into units called segments
25
TCP/IP Reference Model
Internet layer
• It governs by the Internet protocol (IP)
• Send source packets from any network on the internetwork and have
them arrive at the destination independent of the path and networks
they took to get there
• Best path determination and packet switching
• Example: when we mail a letter, we do not know how it gets there
(various possible routes), but we do care that it arrives
26
TCP/IP Reference Model
Physical layer
• It also called the host-to-network layer
• Concerned with all issues that an IP packet requires to actually make
a physical link
• This includes a LAN and WAN technology details, and all the
details in the OSI physical and data link layers
27
TCP/IP Reference Model
28
Comparing TCP/IP with OSI
• TCP/IP combines the presentation and session layer issues into its
application layer
• TCP/IP combines the OSI data link and physical layers into one
layer
• TCP/IP appears simpler because it has fewer layers
• TCP/IP protocols are the standards around which the internet
developed, so the TCP/IP model gains credibility just because of its
protocols.
29