Professional Documents
Culture Documents
OSI Model
Vs
TCP/IP Model
Objectives
• The purpose of the OSI reference model is to guide vendors and developers
so the digital communication products and software programs they create
can interoperate
OSI model layers
• The main concept of OSI is that the process of communication between
two endpoints in a network can be divided into seven distinct groups of
related functions, or layers.
• The three lowest layers focus on passing traffic through the network to an
end system.
• The top four layers come into play in the end system to complete the
process.
OSI model layers
• In this architecture, each layer serves the layer above it and, in turn, is
served by the layer below it.
• On data’s way down the stack, it’s divided into data units suitable for each
layer. (Encapsulation or Decapsulation depending on direction)
• Each unit, called a protocol data unit (PDU), is passed from one layer to
another on its way up or down the protocol stack.
• At some layers, the software adds its own formatting or addressing to the
PDU, which is called a “header.”
OSI model layers
• The seven layers of function are provided by a combination of applications,
operating systems, network card device drivers and networking hardware
that enable a system to transmit a signal over a network Ethernet or fiber
optic cable or through Wi-Fi or other wireless protocols.
People 6 6 Pizza
Some 5 5 Sausage
Time 4 4 Throw
Need 3 3 Not
Data 2 2 Do
Processing 1 1 Please
PDU
Layer 7: The Application layer DATA
• In this layer the application sets up rules on how an application will send
and receive data
• And where the data or application is presented in a visual form the user
can understand.
• This layer is not the application itself, it is the set of services an application
should be able to make use of directly.
PDU
Layer 7: The Application layer DATA
• It helps by formatting the data in such a way that both parties will be able to
read it
• For example, from clear text to encrypted text at one end and back to clear
text at the other.
PDU
Layer 6: The Presentation layer DATA
• This layer manages packetization of data, it breaks long data streams into
smaller chunks called “segments”
• Then the delivery of the packets, including checking for errors in the data
once it arrives.
• On the internet, TCP and UDP provide these services for most applications
as well.
PDU
Layer 4: The Transport layer SEGMENT
• Application identification
• Client-side entity identification
• Confirmation that the entire message arrived intact
• Segmentation of data for network transport
• Control of data flow to prevent memory overruns
• Establishment and maintenance of both ends of virtual circuits
• Transmission-error detection
• Realignment of segmented data in the correct order on the receiving
side
• Multiplexing or sharing of multiple sessions over a single physical link
PDU
Layer 3: The Network layer PACKET
• The network layer provides the functional and procedural means of transferring
packets from one node to another connected in "different networks".
• Some common protocols which work at the Network layer are: IP, DHCP, ICMP, IGRP,
EIGRP, RIP, RIP2,OSPF
PDU
Layer 2: The Datalink layer FRAMES
• The data link layer provides node-to-node data transfer—a link between two
directly connected nodes, inserts packets into network frames.
• It detects and possibly corrects errors that may occur in the physical layer.
• This layer has two sub-layers: the logical link control layer (LLC) and the media
access control layer (MAC).
• The physical layer covers a variety of devices and mediums, among them
cabling, connectors, receivers, transceivers and repeaters.
PDU
Layer 1: The Physical layer BITS
Layer 6 is the Presentation layer. It helps the Application layer by formatting the
data in such a way that both parties will be able to read it.
Layer 5 is the Session layer. It helps ensure that the data is synchronized.
Layer 4 is the Transport layer. It is responsible for creating and managing the
packets that will go out on the network.
OSI Cheat Sheet
Layer 3 is the Network layer. It is responsible for Addressing and Routing. This
layer is in charge of the IP address of the hosts as well as knowing how to route
information to another host.
Layer 2 is the data link layer. It is responsible for Data frames and the
Management of those frames. Data frames deal with layer 2 addresses (MAC
Address) which are non-routable addresses.
Logical Link Control
Media Access Control (NIC’s Mac Address)
Layer 1 is the Physical Layer. It is responsible for talking with a physical device
like a NIC. In particular it’s changing the data into electronic pulses that can be
sent out on the wire.
OSI Cheat sheet 1 - Devices
1. Physical layer : Hubs, Repeaters, Cables, Fibers, Wireless..
7. Application layer: Gateways, Firewalls, all end devices like PC’s, Phones, Servers..
OSI Cheat sheet 2 - Protocols
1. Physical layer : Wi-Fi, USB, Bluetooth, RJ 45 …..
3. Network layer: IPv4, IPv6, OSPF, EIGRP, RIP, BGP, ICMP, ARP
APPLICATION
SESSION
TRANSPORT TRANSPORT TRANSPORT