About Public
About Public
About Public
Layered Architecture
In the layered architecture of the Network Model, one whole network process is divided
into small tasks. Each small task is then assigned to a particular layer, which works
dedicatedly to process it only. Every layer does only specific work.
In a layered communication system, one layer of a host deals with the task done by or to
be done by its peer layer at the same level on the remote host. The task is initiated by
either the layer at the lowest level or the topmost level. If the topmost layer initiates the
task, it is passed on to the layer below it for further processing. The lower layer does the
same thing; it processes the task and passes it on to the lower layer. The reverse path is
taken if the lowermost layer initiates the task.
Every layer links together all procedures, protocols, and methods required to execute its
task. All layers identify their counterparts using an encapsulation header and tail.
OSI Model
o OSI stands for Open System Interconnection and is a reference model that
describes how information from a software application in one computer moves
through a physical medium to the software application in another computer.
o OSI consists of seven layers, each performing a particular network function.
o The OSI model was developed by the International Organization for
Standardization (ISO) in 1984, and it is now considered an architectural model for
inter-computer communications.
o The OSI model divides the task into seven smaller and manageable tasks. Each
layer is assigned a particular task.
o Each layer is self-contained, so tasks assigned to each layer can be performed
independently.
o The OSI model is divided into two layers: upper layers and lower layers.
o The upper layer of the OSI model mainly deals with application-related issues,
which are implemented only in the software. The application layer is closest to the
end user. Both the end user and the application layer interact with the software
applications. An upper layer refers to the layer just above another layer.
o The lower layer of the OSI model deals with data transport issues. The data link
and physical layers are implemented in hardware and software. The physical layer
is the lowest layer of the OSI model and is closest to the physical medium. It is
mainly responsible for placing the information on the physical medium.
There are seven OSI layers. Each layer has different functions. A list of seven layers is
given below:
1. Physical Layer
2. Data-Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
Physical layer
o The main functionality of the physical layer is to transmit the individual bits from
one node to another.
o It is the lowest layer of the OSI model.
o It establishes, maintains and deactivates the physical connection.
o It specifies the mechanical, electrical and procedural network interface
specifications.
Data-Link Layer
o Framing: The data link layer translates the physical's raw bit stream into packets
known as Frames. The Data link layer adds the header and trailer to the frame. The
header, added to the frame, contains the hardware destination and source address.
o Physical Addressing: The Data link layer adds a header to the frame that contains
a destination address. The frame is transmitted to the destination address
mentioned in the header.
o Flow Control: Flow control is the main functionality of the Data Link layer. It is
the technique through which the constant data rate is maintained on both sides so
that no data gets corrupted. It ensures that the transmitting station, such as a server
with a higher processing speed, does not exceed the receiving station with a lower
processing speed.
o Error Control: Error control is achieved by adding a calculated value CRC
(Cyclic Redundancy Check) to the Data link layer's trailer, which is added to the
message frame before sending it to the physical layer. If any error seems to occur,
then the receiver sends an acknowledgement for the retransmission of the
corrupted frames.
o Access Control: When two or more devices are connected to the same
communication channel, the data link layer protocols determine which device
controls the link at a given time.
Network Layer
o It is layer three that manages device addressing and tracks the location of devices
on the network.
o It determines the best path to move data from the source to the destination based
on the network conditions, the priority of service, and other factors.
o The Data link layer is responsible for routing and forwarding the packets.
o Routers are layer three devices. They are specified in this layer and used to
provide routing services within an internet network.
o The protocols used to route the network traffic are known as Network layer
protocols. Examples of protocols are IP and IPv6.
Transport Layer
o The Transport layer, which is Layer 4, ensures that messages are transmitted in the
order they are sent and that data is not duplicated.
o The primary responsibility of the transport layer is to transfer the data completely.
o It receives the data from the upper layer and converts them into smaller units
known as segments.
o This layer can be termed an end-to-end layer as it provides a point-to-point
connection between source and destination to deliver data reliably.
o Dialog control: The session layer acts as a dialogue controller that creates a
dialogue between two processes, or we can say that it allows communication
between two processes, which can be either half-duplex or full-duplex.
o Synchronization: The session layer adds checkpoints when transmitting the data
sequentially. If some error occurs in the middle of the data transmission, then the
transmission will occur again from the checkpoint. This process is known as
Synchronization and recovery.
Presentation Layer
Application Layer
TCP/IP model
Hierarchy means that two or more lower-level protocols support each upper-layer
protocol.
Internet Layer
o An internet layer is the second layer of the TCP/IP model.
o An internet layer is also known as the network layer.
PROF.DR.RUDAYAKUMAR DEAN CSIT 12
MCA 301 COMPUTER NETWORKS
o The primary responsibility of the internet layer is to send the packets from any
network, and they arrive at the destination irrespective of the route they take.
IP Protocol: IP protocol is used in this layer and is the most significant part of the entire
TCP/IP suite.
ARP Protocol
ICMP Protocol
Transport Layer
The transport layer is responsible for the reliability, flow control, and correction of data
sent over the network.
The two protocols used in the transport layer are the User Datagram Protocol and the
Transmission Control Protocol.
Application Layer
o An application layer is the topmost TCP/IP model layer.
o It is responsible for handling high-level protocols and issues of representation.
o This layer allows the user to interact with the application.
o When one application layer protocol wants to communicate with another, it
forwards its data to the transport layer.
o An ambiguity occurs in the application layer. Every application except those
interacting with the communication system cannot be placed inside the application
layer. For example, the application layer cannot consider a text editor. At the same
time, web browsers use HTTP protocol to interact with the network,
where HTTP protocol is an application layer protocol.
The following are the primary protocols used in the application layer:
o HTTP: HTTP stands for Hypertext transfer protocol. This protocol allows us to
access the data over the World Wide Web. It transfers the data in plain text, audio,
and video. It is known as a hypertext transfer protocol as it is efficient for use in a
hypertext environment with rapid jumps from one document to another.
o SNMP: SNMP stands for Simple Network Management Protocol. It is a
framework used to manage the devices on the internet using the TCP/IP protocol
suite.
o SMTP: SMTP stands for Simple mail transfer protocol. The TCP/IP protocol that
supports the e-mail is known as a Simple mail transfer protocol. This protocol is
used to send the data to another e-mail address.
Modulation
Sampler
o This technique helps collect the sample data at instantaneous values of the
message signal so as to reconstruct the original signal. The sampling rate must be
greater than twice the highest frequency component W of the message signal by
the sampling theorem.
Quantizer
o Quantizing is reducing the excessive bits and confining the data. When given to
Quantizer, the sampled output reduces the redundant bits and compresses the
value.
PROF.DR.RUDAYAKUMAR DEAN CSIT 18
MCA 301 COMPUTER NETWORKS
Encoder
o The encoder does the digits of the analogue signals. It designates each quantised
level by a binary code. The sampling done here is the sample-and-hold process.
These three sections, LPF, Sampler, and quantiser, will act as analogues to digital
converters. Encoding minimises the bandwidth used.
Regenerative Repeater
o This section increases the signal strength. The channel's output also has one
regenerative repeater circuit to compensate for the signal loss, reconstruct the
signal, and increase its strength.
Decoder
The decoder circuit decodes the pulse-coded waveform to reproduce the original
signal. This circuit acts as the demodulator.
Reconstruction Filter
o After the regenerative circuit and the decoder does the digital-to-analogue
conversion, a low-pass filter, called the reconstruction filter, is employed to return
the original signal.
o Hence, the Pulse Code Modulator circuit digitises the given analogue signal,
codes and samples it, and then transmits it in an analogue form. This process is
repeated in a reverse pattern to obtain the original signal.
Differential Pulse Code Modulation (DPCM):
DPCM is the same as the PCM technique for remodelling analogue signals into
digital ones. DPCM has a moderate signal-to-noise ratio.
o DPCM differs from PCM because it quantises the distinction between the
particular sample and the expected price. That’s the explanation for why it’s
referred to as differential PCM.
o The operations at the DPCM transmitter and DPCM receiver are given below in
the figure:
In PCM, seven bits are transmitted In DPCM, four bits are transmitted
7. per eight samples. per six samples.
In PCM, the transmitting bits rate In DPCM, the transmitting bits rate
8. varies from fifty-five to sixty-four. varies from thirty-two to forty-eight.
What is a Multiplexing?
The entire process can be done using a device called MUX or multiplexer. The primary
function of this device is to unite n-input lines to generate a single output line. Thus,
MUX has many inputs and a single output. A device called DEMUX or demultiplexer is
used at the receiving end, which divides the signal into its component signals. So, it has a
single input and a number of outputs.
The primary function of the transmission medium is to transmit the signals from
transmitter to receiver. Here, the medium includes a single signal at a time. So, if several
signals need to communicate a single medium, they should be separated so that each
signal is given some part of the obtainable bandwidth.
For instance, If there are five signals & the medium bandwidth is 50 units, then the five
units can be shared through every signal. Once multiple signals transmit the common
medium, there is a chance of a crash. So, the concept of this technique is mainly used to
evade such crashes.
These techniques are mainly used in communication, and these are classified into three
types. The three types of multiplexing techniques include the following.
Frequency Division Multiplexing (FDM)
Wavelength Division Multiplexing (WDM)
Time Division Multiplexing (TDM)
Frequency Division Multiplexing (FDM)
In fibre communications, the WDM is one type of technology. This is the most helpful
concept in high-capacity communication systems. At the end of the transmitter section,
the multiplexer is used to combine the signals. At the end of the receiver section, the de-
multiplexer divides the signals separately. The primary function of WDM at the
multiplexer is to unite various light sources into only light sources, and this light can be
changed into numerous light sources at the de-multiplexer.
WDM
The TDM is one method for transmitting a signal over a particular communication
channel by separating the time edge into slots, like a single slot is used for each message
signal.
Time
Division Multiplexing
TDM is mainly helpful for analogue signals, in which several low-speed channels are
multiplexed into high-speed channels for transmission. Depending on the time, every
low-speed channel will be assigned to an exact position, wherever it works in the
synchronisation mode. Both the ends of MUX and DEMUX are synchronised in a timely
manner and switch toward the next channel at the same time.
Statistical TDM
Transmission media
Guided Media
It is defined as the physical medium through which the signals are transmitted. It is also
known as Bounded media.
Twisted pair:
The degree of reduction in noise interference is determined by the number of turns per
foot. Increasing the number of turns per foot decreases noise interference.
o Category 1: Category 1 is used for telephone lines that have low-speed data.
o Category 2: It can support up to 4Mbps.
o Category 3: It can support up to 16Mbps.
o Category 4: It can support up to 20Mbps. Therefore, it can be used for long-
distance communication.
o Category 5: It can support up to 200Mbps.
o It is cheap.
o Installation of the unshielded twisted pair is easy.
o It can be used for high-speed LAN.
Disadvantage:
o This cable can only be used for shorter distances because of attenuation.
A shielded twisted pair is a cable that contains mesh surrounding the wire, which allows a
higher transmission rate.
Disadvantages
Coaxial Cable
o Coaxial cable is a very commonly used transmission media; for example, a TV
wire is usually a coaxial cable.
o The name of the cable is coaxial, as it contains two conductors parallel to each
other.
o It has a higher frequency than a Twisted pair cable.
o The inner conductor of the coaxial cable is made up of copper, and the outer
conductor is made up of copper mesh. The middle core comprises a non-
conductive cover separating the inner and outer conductors.
o The middle core is responsible for the data transfer, whereas the copper mesh
prevents the EMI(Electromagnetic interference).
Fiber Optic
o Fiber optic cable is a cable that uses electrical signals for communication.
o Fiber optic is a cable that holds the optical fibres coated in plastic to send the data
by light pulses.
o The plastic coating protects the optical fibres from heat, cold, and electromagnetic
interference from other types of wiring.
o Fiber optics provide faster data transmission than copper wires.
o Core: The optical fibre consists of a narrow strand of glass or plastic called a core.
A core is a light transmission area of the fibre. The more the area of the core, the
more light will be transmitted into the fibre.
o Cladding: The concentric layer of glass is known as cladding. The main
functionality of the cladding is to provide the lower refractive index at the core
interface to cause the reflection within the core so that the light waves are
transmitted through the fibre.
o Jacket: The protective coating consisting of plastic is known as a jacket. The
primary purpose of a jacket is to preserve the strength of the fibre, absorb shock,
and provide extra fibre protection.
The following are the advantages of fibre optic cable over copper:
o Greater Bandwidth: The fibre optic cable provides more bandwidth than copper.
Therefore, fibre optics carry more data than copper cables.
o Faster speed: Fibre optic cable carries the data as light. This allows the fibre optic
cable to carry the signals faster.
o Longer distances: The fibre optic cable carries the data at a longer distance than
the copper cable.
o Better reliability: The fibre optic cable is more reliable than the copper cable as it
is immune to temperature changes. At the same time, it can obstruct the
connectivity of copper cables.
PROF.DR.RUDAYAKUMAR DEAN CSIT 28
MCA 301 COMPUTER NETWORKS
Thinner and Sturdier: Fibre optic cable is thinner and lighter, so it can withstand more
pull pressure than copper cable. Unguided Transmission
Radio waves
o Radio waves are electromagnetic waves transmitted in all the directions of free
space.
o Radio waves are omnidirectional, i.e., the signals are propagated in all directions.
o The range in frequencies of radio waves is from 3Khz to 1 kHz.
o In the case of radio waves, the sending and receiving antenna are not aligned, i.e.,
the wave sent by the sending antenna can be received by any receiving antenna.
o An example of a radio wave is FM radio.
o A Radio wave is helpful for multicasting when there is one sender and many
receivers.
o An FM radio, television, and cordless phones are examples of a radio wave.
o Radio transmission is mainly used for wide area networks and mobile cellular
phones.
o Radio waves cover a large area, and they can penetrate the walls.
o Radio transmission provides a higher transmission rate.
Microwaves
Characteristics of Microwave:
o Frequency range: Terrestrial microwaves are from 4-6 GHz to 21-23 GHz.
o Bandwidth: It supports the bandwidth from 1 to 10 Mbps.
o Short distance: It is inexpensive for short distance.
o Long distance: It is expensive as it requires a higher tower for a longer distance.
o Attenuation: Attenuation means loss of signal. It is affected by environmental
conditions and antenna size.
Advantages Of Microwave:
The satellite accepts the signal transmitted from the earth station, amplifies it, and
retransmits the amplified signal to another earth station.
o Satellite designing and development requires more time and higher cost.
Infrared
o An infrared transmission is a wireless technology used for communication over
short ranges.
o The infrared frequency ranges from 300 GHz to 400 THz.
o It is used for short-range communication, such as data transfer between two cell
phones, TV remote operation, and data transfer between a computer and cell
phone residing in the same closed area.
Characteristics Of Infrared:
o It supports high bandwidth so that the data rate will be very high.
o Infrared waves cannot penetrate walls, so infrared communication in one room
cannot be interrupted by the nearby rooms.
o An infrared communication provides better security with minimum interference.
o Infrared communication is unreliable outside the building because the sun's rays
will interfere with the infrared waves.