Osi and Tcp/Ip Model: DR - Tanuja S.Dhope
Osi and Tcp/Ip Model: DR - Tanuja S.Dhope
Model
Dr.Tanuja S.DHope
OSI
OSI model is based on the proposal developed by
the International Standards Organization (ISO).
This model is called ISO OSI (Open Systems
Interconnection) Reference model because it deals
with connecting open systems (systems that are
open for communication with other systems)
We call it as OSI Model.
OSI
A layer should be created where different level of abstraction is needed.
Each layer should perform a well defined function.
The function of each layer should be chosen according to the
internationally standardized protocols.
The number of layers should be large enough that distinct functions
should not be put in the same layer and small enough that the
architecture does not become very complex.
Protocols are set of rules which govern every possible communication
over a network. These protocols describe the movement of data
between the source and destination or the internet. They also offer
simple naming and addressing schemes.
Physical Layer
It is the bottom layer of OSI Model.
It is responsible for the actual physical
connection between the devices. Such physical
connection may be made by using twisted pair
cable.
It is concerned with transmitting bits over a
communication channel.
Physical Layer
Functions of Physical Layer
Transforming bits into signals
Provides synchronization of bits by a clock.
Physical layer manages the way a device
connects to network media.
It defines the transmission rate.
It defines the way in which the devices are
connected to the medium.
It provides physical topologies
It can use different techniques of multiplexing.
Data Link Layer
It is responsible for node-to-node delivery of
data.
It receives the data from network layer and
creates FRAMES , add physical address to these
frames & pas them to physical layer
It consist of 2 layers:
Logical Link Layer (LLC) : Defines the methods and provides
addressing information
for communication between network devices.
Medium Access Control (MAC):
establishes and maintains links between communicating devices.
Data Link Layer
Functions of Data Link Layer
Framing : DLL divides the bits received from N/W
layer into frames. (Frame contains all the addressing
information necessary to travel from S to D).
Physical addressing: After creating frames, DLL
adds physical address of sender/receiver (MAC
address) in the header of each frame.
Flow Control: DLL prevents the fast sender from
drowning the slow receiver.
Functions of Data Link Layer
Error Control: It provides the mechanism of
error
control in which it detects & retransmits damaged or
lost frames.
AccessControl: When single comm. Channel is
shared by multiple devices, MAC layer of DLL
provides help to determine which device has control
over the channel.
Network Layer
It is responsible for the source to destination
delivery of a packet across multiple networks.
If two systems are attached to different networks
with devices like routers, then N/W layer is used.
Thus DLL overseas the delivery of the packet
between the two systems on same network and the
network layer ensures that the packet gets its point
of origin to its final destination.
Network Layer
Functions of Network Layer
Internetworking: It provides Internetworking.
Logical Addressing:
When packet is sent outside the network, N/W layer adds Logical
(network) address of the sender & receiver to each packet.
Network addresses are assigned to local devices by n/w administrator
and assigned dynamically by special server
called DHCP (Dynamic Host Configuration Protocol)
Routing: When independent n/w are connected to create
internetwork several routes are available to send the data
from S to D. These n/w are interconnected by routers &
gateways that route the packet to final destination.
Transport Layer
It is responsible for process-to-process delivery of the
entire message.
TL looks after the delivery of entire message considering all
its packets & make sure that all packets are in order. On the
other hand n/w layer treated each packet independently.
At the receiver side, TL provides services to application
layer & takes services form n/w layer.
At the source side, TL receives message from upper layer
into packets and reassembles these packets again into
message at the destination.
Transport Layer
Transport Layer
Transport Layer provides two types of services:
Connection Oriented Transmission: In this type
of transmission the receiving devices sends an
acknowledge back to the source after a packet or group
of packet is received. It is slower transmission method.
Connectionless Transmission: In this type of
transmission the receiving devices does not sends an
acknowledge back to the source. It is faster
transmission method
Functions OF Transport Layer
Segmentation of message into packet &
reassembly of packets into message.
Port addressing: Computers run several processes.
TL header include a port address with each process.
Flow Control: Flow control facility prevents the
source form sending data packets faster than the
destination can handle.
Error control: TL ensures that the entire message
arrives at the receiving TL without error.
Session layer
Session layer is the fifth layer of OSI Model
It has the responsibility of beginning, maintaining
and
ending the communication between two devices,
called session.
It also provides for orderly communication
between devices by regulating the flow of data
Session layer
Functions of Session Layer
stablishing, Maintaining and ending a session:
When sending device first contact with receiving device, it
sends syn (synchronization) packet to establish a
connection & determines the order in which information
will be sent. Receiver sends ack (acknowledgement). So the
session can be set & end.