22-23computer Networkingmod1
22-23computer Networkingmod1
• To form a network, a lot of hardware devices are required which are described as follows:
• Sender: A device or a computer that sends the data.
• Receiver: A device or a computer that receives the data.
• Message: Message is the information to be communicated. It may be text, image, audio or
• video.
• Transmission Medium: A transmission medium is a physical path through which the data
• flows from sender to receiver. A cable or wire or radio waves can be the medium.
• Protocol: A set of rules that governs data transmission. It represents the communication
• methods which are to be followed by the sending and receiving devices.
Components of a Network
EVOLUTION OF NETWORK
• The network did not evolve in a single day; rather, it took decades to
become more powerful, efficient and reliable. The network has
passed through several stages
• ARPANET (Advanced Research Project Agency Network): ARPANET,
which was jointly designed and named by the Advanced Research
Projects Agency (ARPA) and US Department of Defence (DoD), was
the first network and came into existence in 1969. It was a project
that connected a handful of computers at different universities and
US DoD for sharing of data and messages and playing long-distance
games, and socializing with people to share their views.
• NSFNET (National Science Federation Network): In the mid-80’s,
another federal agency, NSFNET (National Science Federation
Network), created a new network which was more capable than
ARPANET. Its main aim was to use network only for academic research
and not for any private business activity. Later, many private
companies combined their own private networks with ARPANET and
NSFNET to make a more capable and broad network—the Internet. It
is the internet that links two or more networks to make a large
network for sharing of information and messages.
Internet:
• Internet: In the 1990’s, internet, which is a network of networks, came
into existence. The internet has evolved from ARPANET. The computers
are connected through World Wide Web that comprises a large network
and shares a common communication protocol (Transmission Control
Protocol-Internet Protocol, TCP/IP). It allows computers of different
types to exchange information and is known as internet.
• Millions of domestic, business and government networks are connected
with each other for the purpose of sharing files, data, email, etc. Most of
the computers are not connected directly to the internet. Instead, they
are connected to smaller networks which are further connected to a
backbone network through gateways.
• The Internet is a worldwide network of computer networks that evolved from
the first network ARPAnet (Advanced Research Projects Agency network). The
Internet is made up of many networks each run by a different company and
Interconnected at peering points.
• The Internet is a super network. It connects many smaller networks together
and allows all the computers to exchange Information with each other
• To accomplish this all the computers on the Internet have to use a common
set of rules for communication. Those rules are called protocols and
1. A request signal is sent by the sender to set up the connection with the receiver. It
establishes a physical connection between the two participants.
2. All intermediate nodes are identified. These nodes are also called switching nodes.
3. If the destination node is available, it sends back the acknowledgement of receiving a
signal. Hence, data transmission begins.
4. When the data transmission is complete, the call can be terminated.
Packet switching
In packet switching technique, the entire data is divided into small fragments called
packets. Each packet is of a fixed size, usually 128 bytes or 512 bytes.
Each packet has a source address as well as destination address (IP address) for being
transmitted, in the same way as a postman delivers a letter to a specific destination
address.
As there is no direct connection established between the sender and the receiver, each
packet follows different routes and, therefore, the packets are delivered in a random
order at the destination address. It is the TCP protocol which then arranges all received
packets in a sequential order.
During the transfer of packets, each packet has to pass through several intermediate
nodes, so each intermediate node checks for destination IP address. If the packet
matches with the node address, it is received; otherwise it is passed on to the next node
until it reaches the destination IP address.
Difference between Circuit Switching and Packet Switching
Fiber optic transmits light signals rather than electrical signals. It is the
newest form of guided media. Several glass fibers are bundled together
and are encased in an insulated covering. Light signals travel into the
fiber optic cable at one end and are received at the other end. When
the light enters the fiber optic, the light pulse inside the cable hits the
outer walls of the wire at a similar angle, which helps in moving the
light wave forward. The outer surface of the glass wire provides just the
right angle reflection to keep the light bouncing back and forth along
the length of cable. The light source used in this process is light
emitting diode (LED).
Advantages of Fiber Optic
(a) Fiber optic typically offers better bandwidth and can carry more
information at once.
(c) Optical fiber wires are made of glass, so there is little risk of fire because
of absence of spark hazards.
(d) Fiber optic cables are much thinner and lighter than metal wires.
(e) Lighter weight makes fiber easier to install.
(f) It does not leak signals, so it is immune to eavesdropping.
(g) A signal can run for 50 km without requiring regeneration.
(h) Fiber optic cables are also used in research and development.
Disadvantages of Fiber Optic
(a) A highly skilled labor is required for its installation and
maintenance.
(b) It is relatively expensive as compared to other guided media.
(c) As fiber optic is made of glass, they can be easily broken.
Unguided Media or Wireless Networking Technologies
1. Microwave
Microwave signals are used to transmit data without the use of cable. It
is a line-of-sight trans- mission as signal travels in a straight line. In
microwave communication, two directional parabolic antennas are
mounted on towers, buildings or hills to send and receive signals
through air. However, they must be properly aligned with each other,
otherwise the signal will not be focused well at the receiving antenna.
Advantages of Microwave Transmission
(a) It is a cheaper source of communication as it avoids using cables and maintaining
repeaters.
(b) Communication through microwave is much easier over difficult terrain.
(c) Microwave system permits data transmission rate of about 16 gigabits per second.
Disadvantages of Microwave Transmission
(a) It is an insecure mode of communication.
(b) Signals can be split and propagated in different directions in air and
received by the receiver antenna with a reduced strength.
(c) Microwave propagation is affected by weather conditions such as rain, thunderstorm, etc.
(d) The cost of implementing towers, antennas is relatively high
2. Radio Waves
Radio waves use radio frequencies which are allocated to private businesses for
direct voice communication. A radio set-up uses transmitter and receiver.
A transmitter sends radio waves and encodes them into sine waves which, when
received by a receiver, are decoded and the message is received. Both the
transmitter and receiver use antennas to radiate and fetch radio signals. They are
not line-of-sight transmission and, hence, can penetrate buildings easily.
Advantages of Radio Waves
(a) They can be used indoors or outdoors.
(b) They are omnidirectional and can travel in any direction.
(c) Transmitter and receiver antenna do not need to be physically aligned.
(d) Radio wave transmission offers mobility.
(e) It is cheaper than laying cables and fibers.
(f) It offers ease of communication over difficult AREAS .
Disadvantages of Radio Waves
(a) Radio wave communication is an insecure mode of communication.
(b) Radio wave propagation is susceptible to weather effects like rain, thunderstorm,
etc.
3. Satellite Link
if a link between two routers falls, the sending router can determine
an alternate route to keep traffic moving
Gateway: A gateway is a device that connects dissimilar networks. In internet,
several networks are communicating with each other and each network has a
different configuration. In order to make reliable communication, there must be
a device that helps in communicating. Gateway is a device which establishes an
intelligent connection between a local area network and external networks with
completely different structures.
A bridge : is a device that lets you link two networks together.
Bridges are smart enough to know which computers are on
which side of the bridge, so they only allow those messages
that need to get to the other side to cross the bridge .
Bridge can handle networks that follow same protocols
Wi-Fi Card: A Wi-Fi card is either an internal or external Local Area
Network adapter with a built-in wireless radio and antenna. A Wi-Fi
card is used in a desktop computer that enables a user to establish an
internet connection. Wi-Fi cards are known as wireless fidelity cards as
they allow the user to set up connection without any wire. Wireless
Fidelity (Wi-Fi) cards are widely used in notebook computers due to
their highly portable nature. The most common Wi-Fi cards used in
desktop computers are PCI-Express Wi-Fi cards made to fit the PCI-
Express card slots on the motherboard.
TYPES OF NETWORKS
A computer network may be small or big depending upon the number of computers and other
network devices linked together. Thus, networks vary in size, complexity and geographical spread.
A computer network can be on a table, in a room, building, city, country, across continents or around the world.
On the basis of geographical spread, networks may be classified as:
1.PAN
2. LAN
3. MAN
4. WAN
PANs are small networks used to establish communication between a computer and other handheld devices in the
proximity of up to 10 meters using wired USB connectivity or wireless systems like Bluetooth or Infrared. PANs are used
to connect computers, laptops, mobiles and other IT-enabled devices to transfer files including emails, digital photos,
audio and video, etc.
Local Area Network (LAN)
LAN is a privately owned computer network covering a small geographical area (small
physical area), like a home, office or a building such as a school. It can cover an area
spread over a few meters to a radius of a few kilometers. A LAN can be set up using
wired media (UTP cables, coaxial cables, etc.) or wireless media (Infrared, Radio waves).
If a LAN is set up using unguided media, it is known as WLAN (wireless LAN). The key
purpose of a LAN is to share resources. LAN users can share data, programs, printer,
disk, modem, etc.
Data transfer rate speed over a Local Area
Network can vary from 10 mbps to 1 gbps.
Metropolitan Area Network (MAN)
MAN is larger than a LAN and can cover a city and its surrounding areas. A MAN usually interconnects a number of
LANs and individual computers. It also shares the computing resources among users.
All types of communication media (guided and unguided) are used to set up a MAN. A MAN is typically owned and
operated by a single entity such as a government body or a large corporation.
A good example of MAN is the interconnected offices of a Multinational Corporation (MNC) or cable television
networks available in the whole city.
Wide Area Network (WAN)
WAN is a telecommunication network. This type of network spreads over a large geographical area across countries and
continents. WANs are generally used to interconnect several other types of networks such as LANs, MANs, etc.
WAN can cover an area with a radius spanning hundreds of kilometers. A network of ATMs, banks, government offices,
international organizations’ offices, etc., spread over a country, continent or covering many continents are examples of
WAN.
All types of communication media (guided and unguided) are used to set up a WAN. The best known example of a WAN is
the internet. The internet is the largest WAN spanning the entire planet.
Bus Topology
Bus topology is a multipoint configuration, i.e., several devices are connected to a main long cable which acts as a
backbone. Nodes are connected by drop lines and taps. A drop line is a connection between the long cable and devices
and taps are the connectors that are punctured inside the main cable.
The data flows from one end of the cable to the other. However, as the signal travels a long distance, it becomes weaker
and weaker. Ethernet is a common example of bus topology.
Advantages of Bus Topology
(a) Nodes can be connected or removed easily from bus network.
(b) It requires less cable length than a star topology.
(c) Bus network is easy to implement and can be extended up to a certain limit.
(d) It works well for small networks.
(a) Fewer wires are required as compared to mesh topology which, thus, reduces the number of input/output ports.
(b) Installation and maintenance of network is easy and takes less time.
(c) It is easy to detect faults in this network as all computers are dependent on the central hub.
This means that any problem which makes the network non-functioning can b e traced to the central hub.
(d) The rate of data transfer is fast as all the data packets or messages are transferred through central hub.
(f) Removal or addition of any node in star topology can take place easily without affecting the entire performance
of t h e network.
(a) Extra hardware is required for installation of central controller known as hub.
(b) All nodes of star topology are dependent on central hub and, therefore, any problem in the hub makes the entire
network shut down.
(c) The performance of the entire network is directly dependent on the performance of the hub. If the server is slow, it
In India, different people speak different languages. Now, a person from Tamil Nadu
and a person from Punjab may not be able to communicate with each other because of the
language difference. However, they can exchange their ideas and communicate with each other
using English as their common language. Similarly, in case of computers, the hardware, software
or even a combination of the two might be required to implement and carry out the protocol.
Thus, the protocol will help in setting up a channel of communication or a connection between
two computers;
There are multiple protocols defined for computer networks, which are as
follows:
(a) TCP (Transmission Control Protocol)
(b) IP (Internet Protocol)
(c) FTP (File Transfer Protocol)
(d) PPP (Point-to-Point Protocol)
(e) SMTP (Simple Mail Transfer Protocol)
(f ) POP3 (Post Office Protocol)
(g) TELNET (Remote Login)
(a) TCP/IP (Transmission Control Protocol/Internet Protocol)
TCP is one of the main protocols in TCP/IP networks. The IP protocol deals only
with packets but TCP enables two hosts to establish a connection and exchange
streams of data.
TCP works with the Internet Protocol (IP), which defines how computers send
packets of data to each other. The packets are delivered not in a sequential order;
instead, they are delivered randomly. Now,
TCP at the receiver side collects all packets and arranges them in a sequential
order. TCP is a reliable stream delivery service that guarantees that all
bytes received will be identical with bytes sent and in the correct order.
IP (Internet Protocol)
IRC is used for chatting by sending and receiving text messages. The sender sends
request to IRC server, which then forwards this request to another client to
communicate with each other.
RC is an application layer protocol that allows users to share text messages. It uses
client server model where the clients install IRC client program on their system so
that they can communicate with IRC chat server to transfer messages to other
clients.
In fact, the IRC client sends request to IRC client server and the server forwards
this request to another client to enable them to communicate with each other. It
provides one-to-one communication as well as group communication for chatting
and file sharing, such as Talk City.
PROTOCOL FOR VoIP
• VoIP stands for Voice over Internet Protocol. For transferring of voice,
voice over internet protocol is used. The voice calls are first digitized,
compressed and then fragmented into small packets, which are then
relayed by Internet Protocol (IP) cross network. Voice-over-IP (VoIP)
implementation enables users to carry voice traffic (For example,
telephone calls and faxes) over an IP net
• There are 3 main causes for the evolution of the voice-over IP
market:
• 1. Low-cost phone calls
• 2. Merging of data/voice infrastructures work
• VoIP is a protocol that is used for transmitting voice data and
multimedia data over internet protocol. It uses high speed broadband
internet connection.
• services provided by VoIP are:
• Phone to phone, PC to phone, phone to PC, voice to email, IP Phone,)
toll free number (1-800), call center applications
• The various protocols used for VoIP are:
• 1. H.323
• 2. Session Initiation Protocol (SIP)
1. H.323 Protocol for VoIP