2-Osi Model
2-Osi Model
• This layer is the closest layer to the end-user, you and me.
• The Application Layer isn’t the operating system of the devices but usually
provides services such as e-mail (SNMP and POP3), web browsing (using
HTTP), and file transfer services (using FTP).
• The Application Layer determines resource availability
LAYER 6 – PRESENTATION LAYER
• The role of the Session Layer is to set up, manage, and terminate sessions or
dialogues between devices.
• These take place over logical links, and what is really happening is the joining
of two software applications.
• SQL, RPC, and NFS all work at the Session Layer.
LAYER 5 – SESSION LAYER
• The role of the Session Layer is to set up, manage, and terminate sessions or
dialogues between devices.
• These take place over logical links, and what is really happening is the joining
of two software applications. SQL, RPC, and NFS all work at the Session
Layer.
LAYER 4 – TRANSPORT LAYER
• The role of the Transport Layer is to break down the data from the higher
layers into smaller parts, which are referred to as segments (at this layer).
• Virtual circuits are set up here, which are required before devices can
communicate.
• Before the data can be passed across the network, the Transport Layer needs
to establish how much data can be sent to the remote device.
• This will depend upon the speed and reliability of the link from end to end.
LAYER 4 – TRANSPORT LAYER
Flow Control
• If the receiving system is being sent more information than it can process, it
will ask the sending system to stop for a short time.
LAYER 4 – TRANSPORT LAYER
Windowing
With windowing, each system agrees upon
how much data is to be sent before an
acknowledgment is required.
This “window” opens and closes as data
moves along in order to maintain a constant
flow.
LAYER 4 – TRANSPORT LAYER
Acknowledgements
• When a certain amount of segments is received, the fact that they all arrived
safely and in the correct order needs to be communicated to the sending
system.
Acknowledgements
Three-Way Handshake
LAYER 4 – TRANSPORT LAYER
The Transport Layer includes several protocols, and the most widely known are
Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
• TCP is a reliable connection-oriented protocol.
• It uses the three-way handshake, windowing, and other techniques to
guarantee that the data gets to its destination safely.
• UDP is a connectionless protocol.
LAYER 3 – NETWORK LAYER
• The Network Layer takes the segments from the Transport Layer and
encapsulates them with IP addressing information to form PDUs called
packets.
• The Network Layer must determine the best path to take from one network to
another; for this reason, routers work at this layer.
LAYER 2 – DATA LINK LAYER
• The Data Link Layer encapsulates packets with physical addressing into PDUs
referred to as frames.
• Layer 2 switches work at this layer and use hardware or MAC addresses, so
they can switch traffic much faster because there is no need to check IP
addresses and routing tables.
• WAN protocols work at Layer 2, including Ethernet, HDLC, ISDN, and PPP.
LAYER 1 – PHYSICAL LAYER
• At this layer, frames are converted into bits for placing on the wire.
• These bits consist of electrical pulses, which are read as “on” and “off” bits, or
in binary 1s and 0s, respectively.
• Hubs work at this layer, and here is where you will find cable specifications,
such as RJ45.
OSI TROUBLESHOOTING
• The TCP/IP model is another framework and an alternative to the OSI model.
• The TCP/IP model is a four or five-layered model created by an association
known as DARPA.
• It is also known as the Department of Defense (DoD) model.
TCP-IP (4 LAYER MODEL)