CND 2
CND 2
OSI model (Open System Interconnection) model was developed by ISO (international standard organization)
which provides way to understand how internetwork operates. It gives guidelines for creating network standard.
OSI model has 7 layers as shown in the figure. Application Layer, Presentation Layer ,Session Layer ,Transport
Layer ,Network Layer ,Data link Layer and Physical Layer
Physical (Layer 1)
OSI Model, Layer 1 conveys the bit stream - electrical impulse,
light or radio signal — through the network at the electrical and
mechanical level.
It provides the hardware means of sending and receiving data on a
carrier, including defining cables, cards and physical aspects.
Data Link (Layer 2)
At OSI Model, Layer 2, data packets are encoded and decoded into
bits. It furnishes transmission protocol knowledge and management and
handles errors in the physical layer, flow control and frame
synchronization.
The data link layer is divided into two sub layers: The Media
Access Control (MAC) layer and the Logical Link Control (LLC) layer.
The MAC sub layer controls how a computer on the network gains
access to the data and permission to transmit it.
The LLC layer controls frame synchronization, flow control and
error checking.
Network (Layer 3)
Layer 3 provides switching and routing technologies, creating logical paths, known as virtual circuits,
for transmitting data from node to node.
Routing and forwarding are functions of this layer, as well as addressing, internetworking, error
handling, congestion control and packet sequencing.
Transport (Layer 4)
Model, Layer 4, provides transparent transfer of data between end systems, or hosts, and is responsible
for end-to-end error recovery and flow control.
It ensures complete data transfer from source to destination.
Session (Layer 5)
This layer establishes, manages and terminates connections between applications.
The session layer sets up, coordinates, and terminates conversations, exchanges, and dialogues between
the applications at each end. It deals with session and connection coordination.
Presentation (Layer 6)
This layer provides independence from differences in data representation (e.g., encryption) by
translating from application to network format, and vice versa.
The presentation layer works to transform data into the form that the application layer can accept.
This layer formats and encrypts data to be sent across a network, providing freedom from compatibility
problems. It is sometimes called the syntax & semantics.
Application (Layer 7)
OSI Model, Layer 7, supports application and end-user processes.
Everything at this layer is application-specific. This layer provides application services for file.
Marks: 12 Page 1
UNIT 2: Network Model
TCP Characteristics
Here, are the essential characteristics of TCP IP protocol:
In this TCP/IP tutorial, we will explain different layers and their functionalities in
The functionality of the TCP IP model is divided into four layers, and each includes specific protocols.
Marks: 12 Page 2
UNIT 2: Network Model
TCP/IP is a layered server architecture system in which each layer is defined according to a specific function to
perform. All these four TCP IP layers work collaboratively to transmit the data from one layer to another.
Application Layer
Transport Layer
Internet Layer
Network Interface- data link layer & physical layer
Application Layer
This is the topmost layer which indicates the applications and programs that utilize the TCP/IP model
for communicating with the user through applications and various tasks performed by the layer,
including data representation for the applications executed by the user and forwards it to the transport
layer
The application layer maintains a smooth connection between the application and user for data exchange
and offers various features as remote handling of the system, e-mail services, etc.
HTTP: Hypertext transfer protocol is used for accessing the information available on the internet.
SMTP: Simple mail transfer protocol, assigned the task of handling e-mail-related steps and issues.
FTP: This is the standard protocol that oversees the transfer of files over the network channel.
Transport Layer
This layer is responsible for establishing the connection between the sender and the receiver device and
also performs the task of dividing the data from the application layer into packets, which are then used
to create sequences.
It also performs the task of maintaining the data, i.e., to be transmitted without error, and controls the
data flow rate over the communication channel for smooth transmission of data.
Internet Layer
The Internet layer performs the task of controlling the transmission of the data over the network modes
and enacts protocols related to the various steps related to the transmission of data over the channel,
which is in the form of packets sent by the previous layer.
This layer performs many important functions in the TCP/IP model, some of which are:
o It is responsible for specifying the path that the data packets will use for transmission.
o This layer is responsible for providing IP addresses to the system for the identification matters
over the network channel.
Marks: 12 Page 3
UNIT 2: Network Model
Marks: 12 Page 4
UNIT 2: Network Model
Marks: 12 Page 5
UNIT 2: Network Model
In the OSI model, the data link layer and physical In TCP, physical and data link are both
are separate layers. combined as a single host-to-network layer.
Session and presentation layers are not a part of the There is no session and presentation layer in
TCP model. TCP model.
It is defined after the advent of the Internet. It is defined before the advent of the internet.
The minimum size of the OSI header is 5 bytes. Minimum header size is 20 bytes.
Marks: 12 Page 6
UNIT 2: Network Model
Marks: 12 Page 7