Network
Network
ReferencE
Models of Network
These days technology is increasing at very fast pace. An organization takes benefit
of this highly growing technology by integrating various components supplied by differer
vendors. The components supplied by diferent vendors may not have compatibin,
and may be diffcut to operate simultaneously. The mismatches between the component
lead to the development of integrated approach, known as reference models.
The reference model describes various Components of network, how they interac
(ineraces) and the set of rules (known as protocols). The reference model describes
the architecture of the network. It identifies the mapping between the different layes
of network architecture of the network.
In this chapter, we will discuss one important network architectures, namely, the
OSIreference model.
Layer 7
Application, Application
Layer Protocol APDU
Layer
FIGURE 2.1
Physicai Physical
Layer 10101000110010] 10101000110010 Layer
Transmission Medium
FIGURE 2.2
4. Line configuration
(a) Point-to-point
(b) Multipoint
So, it deals with line configuration.
5. Transmission mode
(a) Simplex
(b) Half duplex
(c) Full duplex
It defines the transmission mode between tWo devices.
6.
Topologyi
It deals with physical topologies i.e. star, ring, bus, hyprid or mesh etc.
7. Multiplexing
It deals with combining several data channels, into orie.
8. Media bandwith (Data transmission speed)
(a) Narrowband
(b) Voiceband
(c) Broadband
9. It deals with the synchronization of the transmitter and receiver.
10101000110010 10101000110010
FIGURE 2.3
It also provides flow control and prevents overburdening of receiver with too much
data at any instant. A Cyclic Redundancy Check (CRC) added to the data frame
can detect damaged frames and the data link layer in the receiving computer ca
request that the information be present. The data link laver can also detect when
frames are lost and request that those frames be sent again.
Bridges, intelligent hubs and network interface cards are devices typicaly
associated with data link layer.
The data link layer splits into two sublayers.
Logical Link Control (LLC), which controls establishes and maintains line
between the communicating devices.
(52/
Media Access Control(MAC), which controls the waymultiple devices share
the same media channel.
Network
Layer Network
Layer
H, Packet Packet H,
FIGURE 2.4
It receives services from the data link layer and provides services to the
transpot layer.
The function of network layer are :
Internetworking
This is the main duty of network layer. It provides the logical connection
between different types of networks.
2 Addressing
Addressing is necessary to identify each device on the Internet uniquely. This
is similar to a telephone system.
3. Routing
In a network, there are multiple routes available from a source to a destinatio
and one of them is to be chosen. Routing algorithms are designed to find ie
most efficient paths between the source and destination nodes of a messagu
[54]
Packetizing
It breaks the larger packets into smaller packets if the packet is larger than
the largest data frame the data link layer accept.This is called as packetizing
5. Data Switching
| The process of transferring packet (data blocks) from source to destination
node is called data switching Hence, network layer is concerned with the
circuit, message or packet switching.
6. Congestion control
Congestion in a network may occur when the load on the network i.e. the
number of packets sent to the network is greater than the capacity of the
network. Network layer controls the congestion.
7.
It provides connection services, including network layer flow control, network
layer error control and packet sequence control.
Transport layer guarantees transmission of data from one end to the othef. It decides
if the data transmission should take place on parallel paths or single path. The
overall function of transport layer is to provide transport service of the quality required
by the session layer entities, when quality is specified in terms of residual error rate.,
throughput, delay and other quality measuring parametres. The relationship of the
transport layer to the network layer and session layer is shown in fig. 2.5.
(55 ]
From Session Layer To Session Layer
Layer 5 data Layer 5 data
Transport Tranßport
Layr Laygr
H H H. HA H,
FIGURE 2.5
We know that data link layer can provide the flow control.
Similarly transport
layer also can provide flow control, But this flow control is performed end to
end rather than across a single link.
5: Error Control
The transport layer can provide error control as well. But error control at
transport layer is performed end to end rather than across a single link./Error
correction is generally achieved through retransmission.
6. Muitiplexing if Needed
For optimum use of network connection, the transport entity may assign several
end-to-end transport connection to the network connection. This is known as
multiplexing.
Session Session
Layef Laye
H5
H5
FIGURE 2.6
Functions of session layer are :
1. Session Establishment
It is the most important function of session layer. The exchange of data between
user entities mnay either be two way alternate (half duplex) or two way
simultaneous (full duplex).
3 Dialog Managemernt
In most of the cases the session connections are full duplex but the upper
layers some times communicate in half duplex modes too. In such cases t
session layer has to keep track of whose turn it is to talk and is known s
dialog management.
4 Session Release
For releasing the session connection one of the following four variations av
used:
[ 58)
User abort
Provider abort
Orderly release
Negotiated Release
5. Synchronization
The session layer allows a process to add check point i.e.
synchronisation
points into a stream of Jata. In case of crash during the
transmission of the
data can be retransmitted from the check point inspite of
the start.
retransmitting it trom
9ssuuunenas
Prejentation Prejentation
Layr Layèr
FIGURE 2.7
[59]
Functions of Presentation layer are :
Data Compression
It reduces the number of bits to be transmitted by Compressing the dot
2. Data Conversion
The fom and syntax (language) of the two communicating systems can be
different. For example one system is using the ASCIl code for file transter an
the other one uses IBM's EBCDIC. Under such conditions the presentation
layer provides the "translation" from ASCIlto EBCDIC and vice versa.
4. Data Encryption
It encodes data ina specific format soas it can not be understood by each
and every user or application..
Allthe receiver end, it performs the decompression, decoding and decryption.
Application
Layer X.500 Application
FTP X.400 Layer X.500 FTP X.400
Layer 7 data
Layer 7 data
To Presentation layer
From Presentation layer
FIGURE 2.8
Functions of Application layer are:
1.User Interface
It defines user interface to low
level layers and various application
processes.
2 Security
It is responsible for implementation of security checks at user entry points.
3 File Transfer
[61 ]
2.2 Example of Data Transmission In 0SI Model
Let us assume that a process at computer A(sending node) wants to
send
Mto a process at computer B (receiving node).
1. The sending node's process builds the message Mand
am
passes
es ag
it
A to
application layer on its machine. The application layer software addsa he
(H,) to Mand passes theresulting
in fig. 2.9.
message to the presentation
layer as shown aheader
Computer
A Computer
L7 Data H7 L7 Data H7
L7 Data H6 L7 Data H6
4
L6 Data H5 L6 Data H5
L5 Data H4 L5 Data H4
01010101010101010000010000 01010101010101010000010000
FIGURE 2.9
2. The information added by each layer is in the fom of headers or trailers. Heace
are added to the message at the layers 6, 5, 4,3, and2. Atraileris added at layer
[ 63]