Chapter 1 Osi Tcpip Models 1 28
Chapter 1 Osi Tcpip Models 1 28
co
1
www.gradeup.co
COMPUTER NETWORKS
1. OSI MODEL
• OSI consists of seven layers, and each layer performs a particular network function.
• OSI model was developed by the International Organization for Standardization (ISO) in
1984, and it is now considered as an architectural model for the inter-computer
communications.
• OSI model divides the whole task into seven smaller and manageable tasks. Each layer is
assigned a particular task.
• Each layer is self-contained, so that task assigned to each layer can be performed
independently.
Physical Layer: It is responsible for transmitting bits from one node to another node.
Data link layer: It is responsible for node to node delivery within the LAN and the systems
will be identified by the MAC address. It checks for physical transmission errors and packages
bits into data frames. The data link layer encompasses two sub-layers of its own:
i. Media Access Control (MAC) layer- It is responsible for controlling how device in a network
gain access to medium and permits to transmit data.
ii. Logical link control layer- This layer is responsible for identity and encapsulating network-
layer protocols and allows you to find the error.
2
www.gradeup.co
Network layer: It is responsible for source to destination delivery and the system will be
identified by IP Address. It is responsible for receiving frames from the data link layer and
delivering them to their intended destinations among based on the addresses contained inside
the frame.
Transport layer: It is responsible for process to process or end to end delivery and the system
will be identified by port address. It regulates the size, sequencing, and ultimately the transfer
of data between systems and hosts. One of the most common examples of the transport layer
is TCP or the Transmission Control Protocol.
It determines how much data should be sent where and at what rate. This layer builds on the
message which are received from the application layer. It helps ensure that data units are
delivered error-free and in sequence.
Transport layer helps you to control the reliability of a link through flow control, error control,
and segmentation.
The transport layer also offers an acknowledgment of the successful data transmission and
sends the next data in case no errors occurred. TCP is the best-known example of the transport
layer.
Session layer: It is used to establish, maintain and synchronizes the interaction between
communicating devices. Session Layer controls the dialogues between computers. It helps in
establishing the starting and terminating connections between the local and remote application.
Presentation layer: It is mainly concerned with the syntax and semantics of the information
exchanged between the two systems. Because of this, it at times also called the syntax layer. It
also helps in handling the data compression and data encryption.
Application layer: It serves as a window for users and application processes to access network
service. The application layer identifies communication partners, resource availability, and
synchronizes communication.
• The lower layer will always encapsulate the higher level i.e. higher layer will act as a data
to lower layer and attach a header of its own.
3
www.gradeup.co
4
www.gradeup.co
5
www.gradeup.co
• The application layer provides applications with standardized data exchange. Its
protocols include the HTTP (Hyper Text Transfer protocol) , FTP (File Transfer Protocol),
Post Office Protocol 3 (POP3), Simple Mail Transfer Protocol (SMTP) and Simple
Network Management Protocol (SNMP), TELNET (TERminal NETwork). At the
application layer, the payload is the actual application data.
• The transport layer is responsible for maintaining end-to-end communications
across the network. TCP handles communications between hosts and provides flow
control, multiplexing and reliability. The transport protocols include (TCP) and User
Datagram Protocol (UDP), which is sometimes used instead of TCP for special purposes
• The network layer, also called the internet layer, deals with packets and connects
independent networks to transport the packets across network boundaries. The
network layer protocols are the IP and the Internet Control Message Protocol (ICMP),
which is used for error reporting.
• The physical layer, also known as the network interface layer or data link layer,
consists of protocols that operate only on a link -- the network component that
interconnects nodes or hosts in the network. The protocols in this lowest layer
include Ethernet for local area networks (LANs) and the Address Resolution Protocol
(ARP).
Protocols
Application Layer
Transport Layer
6
www.gradeup.co
Network Layer
****
7
www.gradeup.co