DCNunit 1 Notes
DCNunit 1 Notes
There are two types of NIC: wireless NIC and wired NIC.
o Wireless NIC: All the modern laptops use the wireless NIC. In Wireless NIC, a
connection is made using the antenna that employs the radio wave
technology.
o Wired NIC: Cables use the wired NIC to transfer the data over the medium.
Hub
Hub is a central device that splits the network connection into multiple devices.
When computer requests for information from a computer, it sends the request to
the Hub. Hub distributes this request to all the interconnected computers.
Switches
Switch is a networking device that groups all the devices over the network to transfer
the data to another device. A switch is better than Hub as it does not broadcast the
message over the network, i.e., it sends the message to the device for which it
belongs to. Therefore, we can say that switch sends the message directly from source
to the destination.
Modem
Modem connects the computer to the internet over the existing telephone line. A
modem is not integrated with the computer motherboard. A modem is a separate
part on the PC slot found on the motherboard.
o Security issue: A WAN network has more security issues as compared to LAN
and MAN network as all the technologies are combined together that creates
the security problem.
o Needs Firewall & antivirus software: The data is transferred on the internet
which can be changed or hacked by the hackers, so the firewall needs to be
used. Some people can inject the virus in our system so antivirus is needed to
protect from such a virus.
o High Setup cost: An installation cost of the WAN network is high as it
involves the purchasing of routers, switches.
o Troubleshooting problems: It covers a large area so fixing the problem is
difficult.
Internetwork
o An internetwork is defined as two or more computer network LANs or WAN or
computer network segments are connected using devices, and they are
configured by a local addressing scheme. This process is known
as internetworking.
o An interconnection between public, private, commercial, industrial, or
government computer networks can also be defined as internetworking.
o An internetworking uses the internet protocol.
o The reference model used for internetworking is Open System
Interconnection(OSI).
Types Of Internetwork:
1. Extranet: An extranet is a communication network based on the internet protocol
such as Transmission Control protocol and internet protocol. It is used for
information sharing. The access to the extranet is restricted to only those users who
have login credentials. An extranet is the lowest level of internetworking. It can be
categorized as MAN, WAN or other computer networks. An extranet cannot have a
single LAN, atleast it must have one connection to the external network.
o The bus topology is designed in such a way that all the stations are connected
through a single cable known as a backbone cable.
o Each node is either connected to the backbone cable by drop cable or directly
connected to the backbone cable.
o When a node wants to send a message over the network, it puts a message
over the network. All the stations available in the network will receive the
message whether it has been addressed or not.
o The bus topology is mainly used in 802.3 (ethernet) and 802.4 standard
networks.
o The configuration of a bus topology is quite simpler as compared to other
topologies.
o The backbone cable is considered as a "single lane" through which the
message is broadcast to all the stations.
o The most common access method of the bus topologies is CSMA (Carrier
Sense Multiple Access).
CSMA: It is a media access control used to control the data flow so that data
integrity is maintained, i.e., the packets do not get lost. There are two alternative
ways of handling the problems that occur when two nodes send the messages
simultaneously.
o Low-cost cable: In bus topology, nodes are directly connected to the cable
without passing through a hub. Therefore, the initial cost of installation is low.
o Moderate data speeds: Coaxial or twisted pair cables are mainly used in bus-
based networks that support upto 10 Mbps.
o Familiar technology: Bus topology is a familiar technology as the installation
and troubleshooting techniques are well known, and hardware components
are easily available.
o Limited failure: A failure in one node will not have any effect on other nodes.
o Extensive cabling: A bus topology is quite simpler, but still it requires a lot of
cabling.
o Difficult troubleshooting: It requires specialized test equipment to
determine the cable faults. If any fault occurs in the cable, then it would
disrupt the communication for all the nodes.
o Signal interference: If two nodes send the messages simultaneously, then the
signals of both the nodes collide with each other.
o Reconfiguration difficult: Adding new devices to the network would slow
down the network.
o Attenuation: Attenuation is a loss of signal leads to communication issues.
Repeaters are used to regenerate the signal.
2) Ring Topology
3) Star Topology
o Star topology is an arrangement of the network in which every node is
connected to the central hub, switch or a central computer.
o The central computer is known as a server, and the peripheral devices
attached to the server are known as clients.
o Coaxial cable or RJ-45 cables are used to connect the computers.
o Hubs or Switches are mainly used as connection devices in a physical star
topology.
o Star topology is the most popular topology in network implementation.
o A Central point of failure: If the central hub or switch goes down, then all
the connected nodes will not be able to communicate with each other.
o Cable: Sometimes cable routing becomes difficult when a significant amount
of routing is required.
4) Tree topology
o Tree topology combines the characteristics of bus topology and star topology.
o A tree topology is a type of structure in which all the computers are
connected with each other in hierarchical fashion.
o The top-most node in tree topology is known as a root node, and all other
nodes are the descendants of the root node.
o There is only one path exists between two nodes for the data transmission.
Thus, it forms a parent-child hierarchy.
5) Mesh topology
Reliable: The mesh topology networks are very reliable as if any link breakdown will
not affect the communication between connected computers.
6) Hybrid Topology
o Reliable: If a fault occurs in any part of the network will not affect the
functioning of the rest of the network.
o Scalable: Size of the network can be easily expanded by adding new devices
without affecting the functionality of the existing network.
o Flexible: This topology is very flexible as it can be designed according to the
requirements of the organization.
o Effective: Hybrid topology is very effective as it can be designed in such a
way that the strength of the network is maximized and weakness of the
network is minimized.
Transmission modes
o The way in which data is transmitted from one device to another device is
known as transmission mode.
o The transmission mode is also known as the communication mode.
o Each communication channel has a direction associated with it, and
transmission media provide the direction. Therefore, the transmission mode is
also known as a directional mode.
o The transmission mode is defined in the physical layer.
o Simplex mode
o Half-duplex mode
o Full-duplex mode
Simplex mode
o In simplex mode, the station can utilize the entire bandwidth of the
communication channel, so that more data can be transmitted at a time.
Half-Duplex mode
o In half-duplex mode, both the devices can send and receive the data and also
can utilize the entire bandwidth of the communication channel during the
transmission of data.
o In half-duplex mode, when one device is sending the data, then another has
to wait, this causes the delay in sending the data at the right time.
Full-duplex mode
o In Full duplex mode, the communication is bi-directional, i.e., the data flow in
both the directions.
o Both the stations can send and receive the message simultaneously.
o Full-duplex mode has two simplex channels. One channel has traffic moving in
one direction, and another channel has traffic flowing in the opposite
direction.
o The Full-duplex mode is the fastest mode of communication between devices.
o The most common example of the full-duplex mode is a telephone network.
When two people are communicating with each other by a telephone line,
both can talk and listen at the same time.
o Both the stations can send and receive the data at the same time.
o If there is no dedicated path exists between the devices, then the capacity of
the communication channel is divided into two parts.
Differences b/w Simplex, Half-duplex and Full-duplex
mode
Send/Receive A device can only send Both the devices can Both the devices can send
the data but cannot send and receive the receive the
receive it or it can only data, but one at a simultaneously.
receive the data but time.
cannot send it.
o Bandwidth: All the factors are remaining constant, the greater the bandwidth
of a medium, the higher the data transmission rate of a signal.
o Transmission impairment: When the received signal is not identical to the
transmitted one due to the transmission impairment. The quality of the signals
will get destroyed due to transmission impairment.
o Interference: An interference is defined as the process of disrupting a signal
when it travels over a communication medium on the addition of some
unwanted signal.
Guided Media
It is defined as the physical medium through which the signals are transmitted. It is also
known as Bounded media.
Twisted pair:
Twisted pair is a physical media made up of a pair of cables twisted with each other. A
twisted pair cable is cheap as compared to other transmission media. Installation of the
twisted pair cable is easy, and it is a lightweight cable. The frequency range for twisted pair
cable is from 0 to 3.5KHz.
A twisted pair consists of two insulated copper wires arranged in a regular spiral pattern.
o Category 1: Category 1 is used for telephone lines that have low-speed data.
o Category 2: It can support upto 4Mbps.
o Category 3: It can support upto 16Mbps.
o Category 4: It can support upto 20Mbps. Therefore, it can be used for long-
distance communication.
o Category 5: It can support upto 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.
o The cost of the shielded twisted pair cable is not very high and not very low.
o An installation of STP is easy.
o It has higher capacity as compared to unshielded twisted pair cable.
o It has a higher attenuation.
o It is shielded that provides the higher data transmission rate.
Disadvantages
Coaxial Cable
o Coaxial cable is very commonly used transmission media, for example, 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 as compared to 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 is made up of non-
conductive cover that separates the inner conductor from the outer
conductor.
o The middle core is responsible for the data transferring whereas the copper
mesh prevents from the EMI(Electromagnetic interference).
Coaxial cable is of two types:
Fibre Optic
o Fibre optic cable is a cable that uses electrical signals for communication.
o Fibre optic is a cable that holds the optical fibres coated in plastic that are
used to send the data by pulses of light.
o The plastic coating protects the optical fibres from heat, cold, electromagnetic
interference from other types of wiring.
o Fibre optics provide faster data transmission than copper wires.
Radio waves
o Radio waves are the electromagnetic waves that are transmitted in all the
directions of free space.
o Radio waves are omnidirectional, i.e., the signals are propagated in all the
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 the radio wave is FM radio.
o A Radio wave is useful for multicasting when there is one sender and many
receivers.
o An FM radio, television, cordless phones are examples of a radio wave.
Advantages Of Radio transmission:
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
o Terrestrial microwave
o Satellite microwave communication.
Advantages Of Microwave:
The satellite accepts the signal that is transmitted from the earth station, and it amplifies the
signal. The amplified signal is retransmitted to another earth station.
o Satellite designing and development requires more time and higher cost.
o The Satellite needs to be monitored and controlled on regular periods so that
it remains in orbit.
o The life of the satellite is about 12-15 years. Due to this reason, another launch
of the satellite has to be planned before it becomes non-functional.
Infrared
o An infrared transmission is a wireless technology used for communication
over short ranges.
o The frequency of the infrared in the range 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, data transfer between a computer and cell
phone resides in the same closed area.
Characteristics Of Infrared:
o It supports high bandwidth, and hence the data rate will be very high.
o Infrared waves cannot penetrate the walls. Therefore, the 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
rays will interfere with the infrared waves.
OSI vs TCP/IP
What is OSI model?
The OSI stands for Open System Interconnection, which was developed in 1980s. It is
a conceptual model used for network communication. It is not implemented entirely,
but it is still referenced today. This OSI model consists of seven layers, and each layer
is connected to each other. The data moves down the OSI model, and each layer
adds additional information. The data moves down until it reaches the last layer of
the OSI model. When the data is received at the last layer of the OSI model, then the
data is transmitted over the network. Once the data is reached on the other side,
then the process will get reversed.
What is TCP/IP model?
The TCP model stands for Transmission Control Protocol, whereas IP stands
for Internet Protocol. A number of protocols that make the internet possibly comes
under the TCP/IP model. Nowadays, we do not hear the name of the TCP/IP model
much, we generally hear the name of the IPv4 or IPv6, but it is still valid. This model
consists of 4 layers. Now, we will look at the diagrammatic representation of
the TCP/IP model.
As shown in the above diagram, the TCP/IP model has 4 layers, while the OSI model
consists of 7 layers. Diagrammatically, it looks that the 4 layers of the TCP/IP model
exactly fit the 7 layers of the OSI model, but this is not reality. The application layer of
the TCP/IP model maps to the first three layers, i.e., application, session, and
presentation layer of the OSI model. The transport layer of the TCP maps directly to
the transport layer of the OSI model. The internet layer of the TCP/IP model maps
directly to the network layer of the OSI model. The last two layers of the OSI model
map to the network layer of the TCP/IP model. TCP/IP is the most widely used model
as compared to the OSI model for providing communication between computers
over the internet.
Both the models are the logical models and having similar architectures as both the
models are constructed with the layers.
o Define standards
Both the layers have defined standards, and they also provide the framework used
for implementing the standards and devices.
Both models have simplified the troubleshooting process by breaking the complex
function into simpler components.
OSI model has been developed by ISO (International It was developed by ARPANET (Advan
Standard Organization). Research Project Agency Network).
It is an independent standard and generic protocol It consists of standard protocols that lea
used as a communication gateway between the the development of an internet. It
network and the end user. communication protocol that provides
connection among the hosts.
In the OSI model, the transport layer provides a The transport layer does not provide the su
guarantee for the delivery of the packets. for the delivery of packets. But still, we can
that it is a reliable model.
This model is based on a vertical approach. This model is based on a horizontal approa
In this model, the session and presentation layers In this model, the session and presenta
are separated, i.e., both the layers are different. layer are not different layers. Both layers
included in the application layer.
It is also known as a reference model through which It is an implemented model of an OSI mode
various networks are built. For example, the TCP/IP
model is built from the OSI model. It is also referred
to as a guidance tool.
In this model, the network layer provides both The network layer provides only connection
connection-oriented and connectionless service. service.
Protocols in the OSI model are hidden and can be In this model, the protocol cannot be e
easily replaced when the technology changes. replaced.
OSI model defines the services, protocols, and In the TCP/IP model, services, protocols,
interfaces as well as provides a proper distinction interfaces are not properly separated.
between them. It is protocol independent. protocol dependent.
The usage of this model is very low. This model is highly used.
It provides standardization to the devices like router, It does not provide the standardization to
motherboard, switches, and other hardware devices. devices. It provides a connection betw
various computers.
o Pre-defined standards
The standards and protocols which are already pre-defined; these models do not
redefine them; they just reference or use them. For example, the Ethernet standards
were already defined by the IEEE before the development of these models; instead of
recreating them, models have used these pre-defined standards.
Let's see the differences between the OSI and TCP/IP model in a tabular form:
The main characteristics of analog signals are frequency, amplitude, and phase.
Analog signals recorded sound waves better than digital sound.
Human voice
The best example of an analog signal is our voice. Whatever we speak generate
sound waves and this sound travel through sound waves.
Human voice shows all the characteristics of analog signals as continuously and
smoothly time-varying frequency or amplitude.
(sound wave)
Digital Signals
Digital signals are very easy to analyze and it has time-varying quantities and a
discrete point at every sampling point. The digital signals are generated by digital
modulation.
Digital signal is less accurate in comparison to analog signal but the best part in it is,
it can be easily stored and accessed comfortably.
Computer Keyboard
Computer keyboard comes in the category of the input devices. A computer
keyboard is used to send control signals to any information appliance i.e. computer.
When you press any key in the keyboard, underneath the keys, there is a grid of
circuits which transfers the signals. There is a switch under the keys which is pressed
to allow the current to flow through it. If we discussed its working principle, then
there is a metallic plate, circuit board, and processor, which are responsible for
sending signals to the computer.
Analog signals are difficult to get analysed at first. Digital signals are easy to analyse.
Analog signals are more accurate than digital signals. Digital signals are less accurate.
Analog signals take time to be stored. It has infinite Digital signals can be easily stored.
memory.
To record an analog signal, the technique used, In recording digital signal, the sample
preserves the original signals. signals are taken and preserved.
Analog signals produce too much noise. Digital signals do not produce noise.
Examples of analog signals are Human voice, Examples of digital signals are Computers
Thermometer, Analog phones etc. Digital Phones, Digital pens, etc.
Voltage and current are few time varying quantities that are used to
represent data, by varying these quantities with respect to time data
can be transmitted. Similarly signal is also represented as the
function of the frequency domain rather than time domain.
These signals are more subjected to noise as they travel through the
medium, these noises result in information loss in the signal.
Digital Signals
The signal, whose amplitude takes only limited values is called
Digital signal.
Digital signals carry binary data i.e. 0 or 1 in form of bits, it can only
contain one value at a period of time. Digital signals are
represented as square waves or clock signals.
The minimum value is 0 volts whereas maximum value is 5 volts.
Analog signal is continuous and time varying. Digital signal have two or more states and in bina
Troubleshooting of analog signals are difficult. Troubleshooting of digital signals are easy.
An analog signal is usually in the form of sine wave. An digital signal is usually in the form of square
Easily affected by the noise. These are stable and less prone to noise.
Analog signals use more power. Digital signals use less power.
Components like resistors, Capacitors, Inductors, Components like transistors, logic gates, and mic
Diodes are used in analog circuits. controllers are used in Digital circuits.
Noise – The random or unwanted signal that mixes up with the original
signal is called noise. There are several types of noise such as induced
noise, crosstalk noise, thermal noise and impulse noise which may corrupt
the signal.
Induced noise comes from sources such as motors and appliances. These
devices act as sending antenna and transmission medium act as receiving
antenna. Thermal noise is movement of electrons in wire which creates an
extra signal. Crosstalk noise is when one wire affects the other
wire. Impulse noise is a signal with high energy that comes from lightning
or power lines
To find the theoretical bit rate limit, we need to know the ration .The
signal-to-noise ratio is defined as
SNR = AVG SIGNAL POWER / AVG NOISE POWER
SNRdB = 10Log10SNR
EXAMPLE
The values of SNR and SNRdB for a noiseless channel are
SNR = Signal Power/0 = ∞
SNRdB = 10Log10 ∞ = ∞