• The model
• Functions of the layers
Figure 3-1
OSI Model
The OSI Model in Practice
• The transmitting process generates data to be used by the receiving
process.
• In each OSI layer along the way down the model, data is added -
and subsequently used by the corresponding layer at the receiving
end.
• This data is normally in the form of a header at the beginning of a
data packet that arrives from the layer above.
• In the link layer, data is often added at the end of the packet as well,
in the form of a trailer.
• Each OSI layer has its own data format protocol.
Figure 3-2
OSI Layers
Figure 3-3
An Exchange Using the OSI Model
Figure 3-4
Physical Layer
Figure 3-5
Network Layer
Figure 3-9
Transport Layer
The layers at Work
NODE A NODE B
Sending Device Receiving Device
Application DATA
P resentation Header
Presentation PH DATA
Data Link Data Link Header DLH NH TH SH PH DATA DLT Data Link Trailer
Physical Bits
To Destination Device
Network Architecture
Framing
• Divide stream of bits received from
network layer into manageable data bit
called frames
Physical addressing
• If frames are to be distributed to different
system on the network it add a header to
frame to define physical address of sender
and receiver of the frame
Access control
• When two or more device are connected
to the same link dl protocol are necessary
to determine which device has control
over link at any given time
Logical addressing
• Physical addressing implemented by data link
layer handle addressing problem locally.if a
packet passes the network boundary we need
another addressing system to help distinguish
the source and desti system. The network layer
add a header to packet coming from upper layer
include logical address of sender and
reciever
Routing
• When independent networks are
connected together to create an
internetwork or a large network the
connecting devices(router or gateway)
route the packets to their final destination
Segmentation
• A message is divided into transmittable
segments ,each segment containing a
sequence number.These numbers enable
the transport to reassemble the message
correctly upon arriving at the destination
and to identify and replace packets that
were lost in the transmission
Connection control
• Connectionless or connection oriented
Dialog control
• Allow two system to enter into a dialog. It
allow two process to take place either in
half or full duplex
Synchronization
• Allow a process to add checkpoint into a
• Stream of data
Encryption
• Sender transform the original information
into other form
• COMPRESSION
• Reduce number of bits to be transmitted
The Physical Layer
• This layer is concerned with two things: bits and signals.
• Functions:
– controls the actual transmission of ones and zeros (the electrical
signals that make up a 1 or 0 across the network).
– ensures that when the sender transmits a signal that is a 1, the
receiver receives that signal as a 1.
– decides exactly how many volts equal a binary 1 or a binary 0.
– establishes how long a signal needs to be in duration to be
considered a valid 1 or 0.
– decides whether or not communications can proceed in both
directions simultaneously, or only one direction at a time.
– decides how many wire pairs are needed for a given type of
network, the required quality of the wire, etc.
The Physical Layer – Cont.
• This layer receives frames of data from Layer 2, the Data Link Layer,
and sends them out onto the transmission media as a serial stream of
ones and zeros.
• It receives ones and zeros from the transmission media, and sends
them up to Layer 2 so they can be assembled into frames.
• It deals with the processes and mechanisms that place signals on to,
and receive signals from the transmission media. It does not include
the physical transmission media, itself.
• Informally, the physical transmission media tends to be called Layer
zero.
The Data Link Layer
• The main task of the data link layer is to supply the network layer a
free of transmission errors link.
• It accomplishes that by having the sender break the input data up
into data frames, transmit the frames sequentially, and process the
acknowledgment frames sent back by the receiver.
• Since the physical layer accepts and transmits a stream of bits
without any regard to meaning of structure, it is up to the data link
layer to create and recognize frame boundaries.
The Data Link Layer – Cont.
• Data Link
– Error-free stream
– Physical addressing
– Framing packets
– Flow control,
– access control
• Network
– Routing packets
– Congestion control
– Logical addressing
OSI Layers
• Transport
–End-to-end flow control
–Error control
–Connection control
–segmentation
–Service point addressingSequencing, error recovery
–multiplexing
• Session
• Dialog control
• Token management
• Synchronization
Presentation
– Translation
– Encryption
– Compression
– Information syntax/semantics
– Storage format : “standard” encoding
Application
1. Network virtual ternimal(is a software
version of physical ternimal and allow
user to log on to a remote host
2. FTAM(this appl allow user to access files
in remote computer
3. MAIL SERVICE(E mail forwarding)
TCP/IP Reference Model
Taxonomy
TCP/IP Model – Summary
• Application or Process Layer – concerned with
how data at both ends is handled.
• Transport Layer – manages flow of data
• Internet Layer – consists of several protocols,
primary protocol is IP (providing hierarchical
addressing scheme
• Data Link (or Network Interface) Layer – manages
transmission of data within the network
• Physical Layer – not really defined, TCP/IP leaves
the physical connection to manage itself
OSI vs. TCP/IP
• OSI Transport
– Connectionless.
• TCP/IP
Transport:
Connectionless or
connection-oriented svc.
DIFFERENCE
• Key concern in OSI is Services, interfaces &Protocols
• OSI model before protocols, TCP/IP after Protocols
• TCP/IP 4/5 layers and TCP/IP 7 layers
• NETWORK LAYER
OSI - Connectionless or connection-oriented.
TCP/IP :Connectionless.
• TRANSPORT LAYER-
OSI-Connectionless.
TCP/IP : Connectionless or connection-oriented svc.