Ch_NETWORKING
Ch_NETWORKING
Ch_NETWORKING
NETWORKING
NETWORK : A Network is an inter-connected collection of
Computers that can share and exchange data and Resources.
ADVANTAGES OF NETWORKING :
1. Enables sharing of data, common hardware and
software resources between multiple users.
2. Reduces Cost, as the Resources are shared.
3. Enables fast exchange of information.
4. Provides data security through login names and
passwords
5. Ensures Reliability ( multiple copies of the same file can
be stored on different machines in a network )
6. Provides easy communication over long distances.
EVOLUTION OF NETWORKING :
ARPANET
Advanced Research Projects Agency Network
(ARPANET) was the first network designed by the
Advanced Research Projects Agency (ARPA) and
US Department of Defence (DoD) in 1969.
Its role was to connect computers at different
Universities with the Defence Department of
USA.
NSFNET (National Science Foundation Network)
was created in 1980s as a high speed network
which was more powerful than the ARPANET, to
promote advanced Research and Education networking
in the US.
INTERNET In 1990s, the interlinking of ARPANET,
NSFNET and some other private Networks
resulted in the emergence of INTERNET, a much
more capable and wide network.
TYPES OF NETWORK :
On the basis of geographical spread, a network
can be divided into following types :
1. Local Area Network ( LAN)
2. Metropolitan Area Network ( MAN )
3. Wide Area Network ( WAN )
4. Personal Area Network ( PAN )
1. Local Area Network ( LAN) : is a network
spread over a small area such as a room or a
building or between multiple units ( upto 10
km.)
2. Metropolitan Area Network ( MAN) : is a
network spread over a city ( upto 100 kms.)
3. Wide Area Network ( WAN) : is a network
spread over a large area ( between cities and
countries )
4. Personal Area Network ( PAN) : is a network
used for communication within the range of
an individual person( upto 10m )
Example: Connection through Bluetooth,
InfraRed, USB cable
NETWORK TOPOLOGIES
The pattern of inter-connection of Nodes in a
Network is called Network Topology.
The different Topologies are :-
1. Star Topology
2. Bus Topology
3. Ring Topology
4. Tree Topology
1. Star Topology : In this various Nodes are
directly connected to the Server or the
Central Computer called the hub of the star
through cables.
Is the most
Preferred topology
In LANs today.
Merits :
1. Easy to detect and isolate a faulty Node.
2. Failure of a Node does not affect the entire Network
3. Easy to extend/ add new Nodes
4. High speed of data transfer
Demerits :
1. Requires large amount of Cables
2. High Expansion Cost
3. Completely dependent on the Central Computer/
Hub
2. Bus / Linear Topology : In this various
devices in a Network are connected through a
single continuous cable called a Bus.
Merits :
1. Less Cable requirement
2. Cost of Expansion is low
3. Easy to extend/ add new Nodes
4. Failure of one Node doesn’t affect others.
Demerits :
1. Slower because one computer transmits at a time.
2. Low Reliability as a short circuit or break in the bus
(backbone cable ) may halt the entire network.
3. Low security because all the computers receive the
signal sent from the source.
3. Ring Topology : In this each Node is
connected to two neighbouring Nodes. Data is
transmitted from one Node to another along the
ring which is a large circular cable.
Merits :
1. Less Cable requirement
2. No chances of data collision as only one Node can
transmit data at a time.
3. High Speed and Better performance.
4. Low cost
Demerits :
1. Difficult to detect a faulty Node.
2. Failure of one Node causes failure of entire Network
3. Difficult to add or remove Nodes.
4. Tree Topology : It is a variation of Bus
topology where the original Bus is split into a
number of branches. It integrates characteristics
of Star and Bus
Topologies.
Merits :
1. Easy to add new Nodes
2. Suitable for applications requiring hierarchical flow
of data.
3. Easy maintenance and fault identification.
Demerits :
1. Completely dependent on the Central root Computer
2. Failure of an intermediate Node causes failure of all
Nodes after it.
3. Difficult to configure.
DATA COMMUNICATION
Communication is defined as a process in which more than one computer
transfers information, instructions to each other and for sharing resources.
Or in other words, communication is a process or act in which we can send or
receive data.
Components of Data Communication :
A communication system is made up of the following components:
1.Message: A message is a piece of information that is to be
transmitted from one person to another. It could be a text file, an
audio file, a video file, etc.
2. Sender: It is simply a device that sends data messages. It can be a
computer, mobile, telephone, laptop, video camera, or workstation,
etc.
3. Receiver: It is a device that receives messages. It can be a computer,
telephone mobile, workstation, etc.
4. Transmission Medium / Communication Channels: Communication
channels are the medium that connect two or more workstations. Workstations
can be connected by either wired media or wireless media.
5. Set of rules (Protocol): When someone sends the data (The sender), it
should be understandable to the receiver also otherwise it is meaningless. For
example, Sonali sends a message to Chetan in Hindi and Chetan cannot
understand Hindi, it is a meaningless conversation.
Therefore, there are some set of rules (protocols) that is followed by every
computer connected to the internet
DATA COMMUNICATION TERMINOLOGIES
Communication Channel :
Refers to the path or medium used for transmitting
data in a Network. Ex. Optical Fibre, Bluetooth,
Satellite etc.
Data Transfer Rate :
Refers to the amount of data transmitted by a
Communication Channel per second.
It is measured in bps or baud.
bps ( bits per second ) :
is a unit used to measure Data Transfer Rate.
The different units are :
bps – bits per second
Bps – Bytes per second (Note capital B)
kbps – kilo bits per second
Kbps – Kilo bytes per second (Note capital K)
mbps – mega bits per second
Mbps – Mega bytes per second (Note capital M)
gbps – giga bits per second
Gbps – Giga bytes per second (Note capital G)
tbps – Terra bits per second
Tbps - Terra bytes per second (Note capital T)
Baud : is a unit used to measure Data Transfer rate.
1 baud = 1 bps
Bandwidth: is the range of frequencies for a
communication channel. It refers to the amount of data
that can be transmitted by a communication channel
per unit of time(more the bandwidth of a communication
system more will be the data transfer rate )
On this basis, communication channels are
classified as :
(i) NarrowBand – Low speed , varies between 45 to
300 Baud.
(ii) Voice-band- Speed ranges up to 9600 Baud,
generally used in the ordinary
telephone voice communication.
(iii) Broadband – Speed ranges up to 1 million Baud
or more. Used for large volume of data transfer at
high rate like Broadcast television, microwave and
satellite.
COMMUNICATION CHANNELS /
TRANSMISSION MEDIA
These are broadly divided into two types :−
• Guided Media • UnGuided Media
Guided Media − These provide a physical channel
from one point to another in a Network ( as cables ),
and include the following :
(i) Twisted Pair Cables
(ii) Coaxial cables
(iii) Optical fibers
Twisted Pair Cables : These consist of two
insulated copper wires twisted around each other,
used for short and medium range communication.
Applications of Twisted
Pair Cables -
1. In telephone lines
2. In DSL lines
3. In LANs
Merits :
1. Easy to install and maintain
2. Flexible and have low weight
3. Least expensive for short distances
Demerits :
1. Low Bandwidth
2. Not durable ( break easily )
3. Data transmission performance is not good
Coaxial Cables : These consist of a single solid
copper wire surrounded by a protective covering.
Mostly used for long distance telephone and
television transmission.
Applications of Coaxial
Cables -
1. In Cable TV connections
2. In Telephone lines
3. In LANs
Merits :
1. Easy to install and maintain
2. Provide cheap means for carrying multi-channel TV
signals
3. Signals can travel longer distances at higher speeds (
Higher Bandwidth )
Demerits :
1. Not flexible
2. More expensive than Twisted Pair cables
3. Are prone to signal leakage and noise interference
Optical Fiber: These consist of thin glass or
plastic threads used to transmit data using light
waves.
Applications -
1. High Speed Internet
2. Telephone and LANs
3. Medicine & Research
4. Automative Industry
5. Military & Space
Applications
Merits :
1. Very High Bandwidth
2. Very Durable and Secure
3. Immune to electromagnetic interference
4. Light weight and less signal degradation
Demerits :
1. Expensive
2. Difficult to install
3. More fragile and require special skills
UnGuided Media − These provide wireless
communication where data is transmitted in the
form of electromagnetic signals without any
physical conductor.
Note :
Radiowaves are preferred when we need reasonably
high speed connectivity in areas where wired
connectivity is not feasible
Merits :
1. Offers ease of communication over difficult terrain.
2. Provide cheaper means of transmission
3. Used for long distance communication
4. No land needs to be acquired for laying cables.
Demerits :
1. Lack of Security
2. May suffer interference from weather disturbances
like Rain, thunderstorms etc
3. Limited spectrum of frequency
Micro Wave Transmission:
➢ Electromagnetic waves having frequencies between
1 and 300 GHz are called Microwaves.
➢ They are unidirectional, thus sending and receiving
antennas must be aligned.
➢ It is line-of-sight transmission ( towers with mounted
antennas need to be in direct sight of each other)
Microwaves are useful when unicast ( one-to-one )
communication is needed between sender and receiver.
They are used in Cellular phones, Radar signals and
wireless LANs
Merits :
1. Used for long distance communication
2. High bandwidth
3. Have ability to communicate over oceans
4. No land needs to be acquired for laying cables.
Demerits :
1. High installation and maintenance cost
2. Signals may be distorted due to barriers or obstacles like
buildings, hills, trees etc in the path. ( need clear line of
sight )
3. Signal absorption by the atmosphere, hence suffer from
attenuation due to atmospheric conditions.
Satellite Transmission:
➢ This is a Microwave relay station placed in outer
space.
Satellites are used for very long distance
communication with very high speed connectivity.
Demerits :
1. Can’t be used for long distance communication
2. Lower rate of data transmission compared to wired
transmission.
3. The transceiver ( transmitter and receiver )must be in line
of sight
NETWORK DEVICES
MODEM :
A modem (modulator–demodulator) is used to
communicate with other devices in a network
through telephone lines.
It converts digital signals to analog for transmission
over telephone lines ( called modulation ) and analog
signals back to digital for reception by Computer
( called demodulation )
RJ45 CONNECTOR
( stands for Registered Jack 45 ) is a physical connector for network cables.
Ethernet cables have an RJ45 connector on each end. The connector has
eight pins.
RJ45 is mainly used for ethernet networking
to connect different types of devices like a
switch, hub, PC, router, firewall to each other.
ETHERNET CARD
Also called a "network interface card" (NIC), an Ethernet adapter is a
card that plugs into a slot on the motherboard and enables a computer to
access an Ethernet network (LAN).
All new computers have Ethernet built in.
ROUTER
A router is a networking device that forwards data packets between
computer networks. It can handle different protocols.
For ex. A router can link Ethernet ( LAN ) with any other type of network.
Repeater : Is a network device used to
amplify or regenerate an incoming signal
before retransmitting it over a network.
They are used to amplify the transmitted
signals as they become weak over long
network lines ( generally 70 m ). They are
also known as signal boosters.
Hub :
A hub is a networking device which is used to
connect multiple devices in a network. They
are generally used to connect computers in a
LAN.
A hub has many ports in it. A computer which
intends to be connected to the network is
plugged in to one of these ports
SWITCH
A switch is a device in a computer network that connects other devices
together.
Multiple data cables are plugged into a switch to enable communication
between different networked devices.
• It is a high-speed device that receives incoming data packets and
redirects them to their destination on a LAN
• It is also called switching HUB
Difference between Hub and Switch:
GATEWAY
A gateway is a network device that
connects dissimilar networks.
It establishes an intelligent connection
between a local network and external
networks with completely different
sturctures.
It acts as a "gate" between two
networks. It may be a router, firewall,
proxy server, or other device that
enables traffic to flow in and out of the
network.
WiFi CARD
Wireless Internet cards ( the Wi-Fi card ) is used to
connect computers to a wireless Network.
It acts as both a receiver and transmitter. It receives the
wireless signal and communicates with the wireless
network, enabling us to access the Web with our
computer.
NETWORK PROTOCOLS
These are rules designed to be followed by a Network in
communication.
It defines the standard size of data packets, detecting and correcting
errors etc.
Commonly used Protocols :
TCP/ IP :
( Transmission Control Protocol/ Internet Protocol ) : Is the most
commonly used protocol by the Internet.
TCP :- fragments and reassembles messages,using a sequencing
function to ensure that packets are reassembled in the correct
order.
IP:- It is responsible for providing addresses of each
computer and performing routing.
INTERNET
It is a WAN formed by joining computer networks all over the world
through telephone lines.
Internet services are provided by ISPs ( Internet Service Providers ).
Some ISPs in India are BSNL, Vodafone, Airtel, etc
IP address :
An IP address ( Internet Protocol address ) is a unique address
that identifies a device in a network.
It is a numerical label such as 192.0.2.1 that is assigned to each
device connected to a computer network which uses the Internet
Protocol for communication.
IP address versions: IPv4 and IPv6
a) Internet Protocol version 4 (IPv4) defines an IP address as a 32-
bit number written in four parts separated by dots , for
example: 45.48.241.198
Each part written in Base 10 numerals represents an
eight-bit binary number from 0 to 255.
b) Internet Protocol version 6 (IPv6) : With the growth of the Internet, a
new version of IP (IPv6 ), using 128 bits for the IP address, was
standardized in 1998. It is written in eight parts separated by colon , for
example: 2620:cc:8000:1c82:544c:cc2e:f2fa:5a9b
Each part written in hexadecimal (Base 16) notation represents a 16-bit
binary number from 0 to 65,536.
INTERNET SERVICES
WWW :-(World Wide Web) It is a set of protocols that allows you to
access any document on the net through its URL . It also specifies the
way – HTTP – to request and send a document over the Internet.
Domain name : is a unique name assigned to a website.
Domain name is an address where Internet users can access
a website.
They are used in URLs to identify particular Web pages.
For example, in the URL http://www.pcwebopedia.com/index.html,
the domain name is pcwebopedia.com
Domain names are used to identify one or more IP addresses.
For example, the domain name microsoft.com represents about a
dozen IP addresses.
Domain Name Resolution refers to the process of obtaining
corresponding IP address from a domain name.
DNS ( Domain Name System/ Service/ Server ) is an Internet
service that translates domain names into IP addresses.
For example, the domain name www.example.com might translate to
198.105. 232.4.
The DNS servers maintain directory of IP addresses of all domain
names registered on Internet and work out to obtain corresponding
IP address of given Domain name and returns it to operating system.
UNIFORM RESOURCE LOCATER (URL) :- The complete address of a
website or a document on the web is called URL. It is a technique
used to address documents on the Web.
Format of a URL :
protocol://web server name/directory name/filename
For example :- http://www.microsoft.com/IE/index.ht
Example :