2 - Network Models
2 - Network Models
(CSPC-207)
Dr. Kunwar Pal
COMMUNICATION
ARCHITECTURE
Strategy for connecting host computers and other
communicating equipment.
Defines necessary elements for data communication
between devices.
A communication architecture, therefore, defines a
standard for the communicating hosts.
A programmer formats data in a manner defined by the
communication architecture and passes it on to the
communication software.
Separating communication functions adds flexibility, for
example, we do not need to modify the entire host software
to include more communication devices.
OSI Model
LAYER ARCHITECTURE
Layer architecture simplifies the network design.
It is easy to debug network applications in a layered
architecture network.
The network management is easier due to the layered
architecture.
Network layers follow a set of rules, called protocol.
The protocol defines the format of the data being
exchanged, and the control and timing for the handshake
between layers.
OSI Model
OPEN SYSTEMS
INTERCONNECTION (OSI)
MODEL
International standard organization (ISO) established a
committee in 1977 to develop an architecture for computer
communication.
Open Systems Interconnection (OSI) reference model is the
result of this effort.
In 1984, the Open Systems Interconnection (OSI) reference
model was approved as an international standard for
communications architecture.
Term “open” denotes the ability to connect any two
systems which conform to the reference model and
associated standards.
OSI Model
7
OSI Model
9
An exchange using OSI model
10
OSI Model
PHYSICAL LAYER
Provides physical interface for transmission of information.
13
Data Link layer
The data link layer is responsible for moving frames from one
hop (node) to the next.
14
Hop-to-hop delivery
15
OSI Model
17
Source-to-destination delivery
18
OSI Model
Network Layer
Implements routing of frames (packets) through the network.
Defines the most optimum path the packet should take from
the source to the destination
Defines logical addressing so that any endpoint can be
identified.
Handles congestion in the network.
Facilitates interconnection between heterogeneous networks
(Internetworking).
The network layer also defines how to fragment a packet into
smaller packets to accommodate different media.
Transport layer
20
Reliable process-to-process delivery of a message
21
OSI Model
Transport Layer
Purpose of this layer is to provide a reliable mechanism for
the exchange of data between two processes in different
computers.
23
OSI Model
Session Layer
Session layer provides mechanism for controlling the dialogue
between the two end systems. It defines how to start, control and
end conversations (called sessions) between applications.
This layer requests for a logical connection to be established on
an end-user’s request.
Any necessary log-on or password validation is also handled by
this layer.
Session layer is also responsible for terminating the connection.
This layer provides services like dialogue discipline which can be
full duplex or half duplex.
Session layer can also provide check-pointing mechanism such
that if a failure of some sort occurs between checkpoints, all data
can be retransmitted from the last checkpoint.
Presentation layer
25
OSI Model
Presentation Layer
Presentation layer defines the format in which the data is to
be exchanged between the two communicating entities.
Also handles data compression and data encryption
(cryptography).
Application layer
27
OSI Model
Application Layer
Application layer interacts with application programs and is
the highest level of OSI model.
Application layer contains management functions to support
distributed applications.
Examples of application layer are applications such as file
transfer, electronic mail, remote login etc.
Summary of layers
29
TCP/IP Protocol Suite
It was developed prior to the OSI model and consists only five
layers.
31
Physical and Data Link Layers
32
Network Layer
33
IP
34
Auxiliary Protocols which help IP at NL
35
ICMP, IGMP and RARP
36
ARP
ARP is used to find the physical address of the node when its
internet address is known.
37
Transport Layer
38
Transport Layer
39
TCP
40
UDP
41
SCTP
42
Application Layer
An application is a program running on a computer (which is also termed as a
process)
Logical connection is end-to-end
• Two applications exchange messages between each other via a virtual
bridge between the two.
• Physically, communication is performed via all the layers.
To communicate, one process sends a request message to other process and gets a
reply message
A number of protocols are predefined but a user can also do the same provided they
provide it at both ends.
Some of the protocols are:
• HTTP (Hyper Text Markup Language)
• SMTP (Simple Mail Transfer Protocol)
• FTP (File Transfer Protocol)
• TELNET (TErminaLNETwork)
• SSH (Secure SHell)
• SNMP (Simple Network Managemnet Protocol)
43