Documente Academic
Documente Profesional
Documente Cultură
¾ Data Link
¾ Network
¾ Transport
¾ Session
¾ Presentation
¾ Application
OSI Layers
¾ Physical
¾ Responsible for the movements of individual bits from one
node to the next
¾ Concerned with the following:
¾ Physical Characteristics of interfaces and medium
¾ Defines the characteristics of the interface bet
between
een the de
devices
ices and the
transmission medium
¾ Defines the type of transmission medium
¾ Representation of bits
¾ Defines the type of encoding (how 0s and 1s are changed to signals
¾ Data Rate
¾ Defines the number of bits sent each second (transmission rate)
OSI Layers
¾ Physical
¾ Responsible for the movements of individual bits from one
node to the next
¾ Concerned with the following:
¾ Synchronization of bits
¾ Synchronization of sender and receiver clocks
¾ Line Configuration
¾ Concerned with how devices are connected to the transmission media
¾ Physical Topology
¾ Defines how a devices are connected to make a network (Topology)
¾ For example: Ring, Bus, Star, Hybrid
¾ Transmission mode
¾ Defines direction of transmission between to devices
¾ For example: Simplex, Half-duplex, Full-duplex
Physical layer
OSI Layers
¾ Data Link
¾ Responsible for moving packets between two systems on the
same network
¾ Other responsibilities include:
¾ Framing
¾ Divides the stream of bits received from the network layer into manageable
data units called streams
¾ Physical Addressing (NIC Address or MAC Address)
¾ Adds a header to the frame to define the sender and/or receiver of the frame
¾ If the frame is intended for a system outside the sender’s network, the receiver
address is the address of the device that connects the network to the next one
¾ Flow Control
¾ If the rate at which the data are absorbed by the receiver is less than the rate
at which data are produced in by the sender, the data link layer imposes a flow
control mechanism to avoid overwhelming the receiver
OSI Layers
¾ Data Link
¾ Responsible for moving packets between two systems on the
same network
¾ Other responsibilities include:
¾ Error Control
¾ Adds mechanisms to detect and retransmit damaged or lost frames
frames.
¾ Adds mechanisms to recognize duplicate frames
¾ Normally achieved by adding a trailer to the end of the frame
¾ Access Control
¾ When two or more devices are connected to the same link, the data link layer
protocols determine which device has control over the link at a given time
Data link layer
Hop--to-
Hop to-hop delivery
OSI Layers
¾ Network
¾ Responsible for the delivery of individual packets from the
source host to the destination host across multiple networks
¾ Other responsibilities include:
¾ Logical Addressing
¾ Adds a header that includes the logical addresses (IP address) of the sender
and the receiver
¾ Routing
¾ Provides mechanism to route or switch the packets to their final destination.
¾ This is needed among internetworks (network of networks)
Network layer
Source--to
Source to--destination delivery
OSI Layers
¾ Transport
¾ Responsible for the delivery of a message from one process to
another
¾ Other responsibilities include:
¾ Service-point addressing
¾ Adds a header that includes the service point address (port address)
¾ Since computer
Si t will
ill h
have severall running
i programs, ttransportt llayer ensure delivery
d li off
packets not only from one computer to the next but also from a specific process (running
program) on one computer to a specific process (running program) on the other.
¾ Segmentation and reassembly
¾ Messages are divided into transmittable segments, with each segment containing a
sequence number
¾ Using the sequence number, the transport layer reassembles the message correctly upon
arriving at the destination, as well as identifies and replaces packets that were lost in
transmission
OSI Layers
¾ Transport
¾ Responsible for the delivery of a message from one process to
another
¾ Other responsibilities include:
¾ Connection Control
¾ Transport layer can either be connectionless or connection-oriented
¾ A connectionless
ti l transport
t t layer
l treats
t t each h segmentt as an iindependent
d d t packer
k and
d
delivers it to the transport layer at the destination machine
¾ A connection-oriented transport layer makes a connection with the transport layer at the
destination machine first before delivering packets
¾ Flow Control
¾ Controls the flow of packets sent from end to end rather than a single link
¾ Error Control
¾ Error control is performed process-to-process rather than across a single link
Transport layer
Reliable process-
process-to
to--process delivery of a message
OSI Layers
¾ Session
¾ Responsible for dialog control and synchronization
¾ Specific responsibilities include:
¾ Dialog control
¾ Allows two systems (specifically two processes) to enter into a
dialog in either half-duplex
f (one way at a time) or full-duplex
f
(two ways at a time) mode.
¾ Synchronization
¾ Allow a process to add synchronization points to a stream of
data
Session Layer
OSI Layers
¾ Presentation
¾ Responsible for translation, compression, and encryption
¾ Specific responsibilities include:
¾ Translation
¾ Presentation layer at the sender changes sent information from its
sender-dependent format into a common format. The presentation
l
layer at the
h receiving
i i machinehi changes
h the
h common fformat into
i iti
receiver-dependent format
¾ Encryption
¾ Sender transforms original information to another form and send the
resulting message out over the network. Decryption reverses the
original process to transform the message back to its original form
¾ Compression
¾ Reduces the number of bits contained in the information.
Presentation layer
OSI Layers
¾ Application
¾ Responsible for providing services to the user
¾ Specific services provided include:
¾ Network Virtual Terminal
¾ Software version of a physical terminal and allows a user to log on to a remote
host
¾ File transfer, access, and management
¾ Allows a user to access files in a remote host, to retrieve files, and manage
or control files in a remote computer locally.
¾ Mail services
¾ Provides the basis for e-\mail forwarding and storage
¾ Directory services
¾ Provides distributed database sources and access for global information
about various objects and services
Application layer
Summary of layers
OSI Data Units
TCP/IP Protocol Suite
¾ Transmission Control Protocol/ Internetworking Protocol
¾ Developed prior to the OSI Model
¾ Layers of the TCP/IP protocol suite does not exactly match
those in the OSI model.
¾ Defined as having four layers
TCP/IP Layers
¾ Host-to-Network Layer
¾ Equivalent to the combination of Physical and Data Link layers
¾ Internet Layer
¾ Equivalent to the Network layer
¾ Transport Layer
¾ Equivalent to the Transport layer and part of the duties of the Session layer
¾ Application Layer
¾ Roughly doing the job of the Session, Presentation, and Application layers
TCP/IP and OSI Model
Application Applications
Presentation
SMTP FTP HTTP DNS SNMP TELNET …
Session
Data link
Protocols defined by the underlying networks
(host-to-network)
Physical
Protocols: What are they anyway?
¾ In the real world, a protocol often refers to a code of conduct, or a form
of etiquette observed by diplomats.