UNIT 4 Part1
UNIT 4 Part1
COMPUTER NETWORK
What is a Computer Network?
A computer network is a group of two or more interconnected computer systems.
You can establish a network connection using either cable or wireless media.
Every network involves hardware and software that connects computers and tools.
A computer network is a group of computers linked to each other that enables the
computer to communicate with another computer and share their resources, data,
and applications.
What Do Networks Do?
Computer networks are used to carry out a large number of tasks through the sharing of
information.
Some of the things that networks are used for include:
Communicating using email, video, instant messaging and other methods
Sharing devices such as printers, scanners and photocopiers
Sharing files
Allowing network users to easily access and maintain information
Computer Network Architecture
A Computer Architecture is a design in which all computers in a computer
network are organized. An architecture defines how the computers should get
connected to get the maximum advantages of a computer network such as better
response time, security, scalability etc. The two most popular computer
architectures are P2P (Peer to Peer) and Client-Server architecture.
Peer to Peer Architecture
In a Peer-To-Peer Network, the “peers” are computer systems which are connected
to each other via the Internet. Files can be shared directly between systems on the
network without the need of a central server. However, the most common use case
for peer-to-peer networks is the sharing of files on the internet. Peer-to-peer
networks are ideal for file sharing because they allow the computers connected to
them to receive files and send files simultaneously.
In peer to peer architecture all the computers in a computer network are connected with
every computer in the network. Every computer in the network use the same resources as
other computers. There is no central computer that acts as a server rather all computers
acts as a server for the data that is stored in them.
Computers (peers) can share peripheral devices like printer, hard drive, or scanner with
each other. Peer to peer network is made between computers through modem, switch
or hub. The connection between peers can be wired or wireless. In wired connection
coaxial cables, copper cable, and fiber optics can be used.
So, the clients and servers are two different computers in different parts of the world
that are connected through the Internet. However, it is not compulsory to have the
client, and the server resides miles apart, rather it could remain within the same building
as well.
Characteristics of PAN
It is mostly personal devices network equipped within a limited area.
Allows you to handle the interconnection of IT devices at the surrounding of a single
user.
PAN includes mobile devices, tablet, and laptop.
It can be wirelessly connected to the internet called WPAN.
Appliances use for PAN: cordless mice, keyboards, and Bluetooth systems.
Advantages of PAN
PAN networks are relatively secure and safe
It offers only short-range solution up to ten meters
Strictly restricted to a small area
Disadvantages of PAN.
Distance limits.
Characteristics of LAN
It is a private network, so an outside regulatory body never controls it.
LAN operates at a relatively higher speed compared to other WAN systems.
Advantages of LAN
Computer resources like hard-disks, DVD-ROM, and printers can share local area
networks. This significantly reduces the cost of hardware purchases.
You can easily transfer data and messages over networked computers.
It will be easy to manage data at only one place, which makes data more secure.
Local Area Network offers the facility to share a single internet connection among all the
LAN users.
Disadvantages of LAN
Local Area Network requires a constant LAN administration as there are issues related
to software setup and hardware failures
MAN or Metropolitan area Network covers a larger area than that of a LAN and
smaller area as compared to WAN. MAN network covers larger area by
connections LANs to a larger network of computers. In Metropolitan area network
various Local area networks are connected with each other through telephone
lines. The size of the Metropolitan area network is larger than LANs and smaller
than WANs (wide area networks), a MANs covers the larger area of a city or
town.
The Primary aim of MAN is to expand the LAN. Most of the Government sectors
and other private organizations use MAN to connect all of its offices in a city.
MAN uses high capacity fiber optics to provide increased speed. The MAN is
typically installed in a range of more than 100 km.
Devices used for transmission of data through MAN are: Modem and Wire/Cable.
Examples of a MAN are the part of the telephone company network that can
provide a high-speed DSL line to the customer or the cable TV network in a city.
Advantages of MAN
It offers fast communication using high-speed carriers, like fiber optic
cables.
It provides excellent support for an extensive size network and greater
access to WANs.
A MAN network mostly includes some areas of a city or an entire city.
Disadvantages of MAN
You need more cable to establish MAN connection from one place to
another.
In MAN network it is tough to make the system secure from hackers
Advantages of WAN
Centralized infrastructure: One of the main advantage of WAN is the that
we do not need to maintain the backup and store data on local system as
everything is stored online on a data center, from where we can access the
data through WAN.
Privacy: We can setup the WAN in such a way that it encrypts the data that
we share online that way the data is secure and minimizes the risk of
unauthorized access.
WAN helps you to cover a larger geographical area. Therefore business
offices situated at longer distances can easily communicate.
Disadvantages of WAN
Cost of installation is very high.
The initial setup cost of investment is very high.
It is difficult to maintain the WAN network. You need skilled technicians and
network administrators.
There are more errors and issues because of the wide coverage and the use
of different technologies.
It requires more time to resolve issues because of the involvement of
multiple wired and wireless technologies.
Offers lower security compared to other types of networks.
In a computer network, there are mainly six types of physical topology, they are:
1. Bus Topology
2. Ring Topology
3. Star Topology
4. Mesh Topology
5. Tree Topology
6. Hybrid Topology
1) Bus Topology
Bus topology is the simplest kind of topology in which a common bus or channel is
used for communication in the network. The bus topology is designed in such a
way that all the stations are connected through a single cable known as a
backbone cable.
The bus is connected to various taps and droplines. Taps are the connectors,
while droplines are the cables connecting the bus with the computer. In other
words, there is only a single transmission line for all nodes.
When a sender sends a message, all other computers can hear it, but only the
receiver accepts it and others reject it. Bus technology is mainly suited for small
networks like LAN, etc.
Advantages of Bus topology:
2) Ring Topology
Ring topology is a topology in which each computer is connected to exactly two
other computers to form the ring. In a ring, topology nodes are connected to each
other in a ring form. The data travel from one node to another node in the form
of a ring.
A number of repeaters are used for Ring topology with large number of nodes,
because if someone wants to send some data to the last node in the ring topology
with 100 nodes, then the data will have to pass through 99 nodes to reach the
100th node. Hence to prevent data loss repeaters are used in the network.
Data is transferred in a sequential manner that is bit by bit. Data transmitted, has
to pass through each node of the network, till the destination node.
Suppose computer A wants to send data to computer D then data is first placed in
the packet and the packet is transferred to computer B then computer C and
finally, to the computer, D. Data is travelling in the form packets in the ring
topology. If the data is received in the target node then the empty packet is
passed to the next node until it reaches the source node. The source node will
finally know that its data is received successfully.
Example of ring topology:-
1. Easy Installation.
2. Less Cabling Required.
3. Reduces chances of data collision (unidirectional).
4. Each node gets the same access time.
Following are the disadvantages of Ring topology:
1. If a node fails, the whole network will fail.
2. Slow data transmission speed (each message has to go through the ring path).
3. Difficult to reconfigure (we have to break the ring).
3) Star Topology
Star topology is a computer network topology in which all the nodes are
connected to a centralized hub. The hub or switch acts as a middleware between
the nodes. Any node requesting for service or providing service, first contact the
hub for communication.
4) Mesh Topology
Mesh topology is a computer network topology in which nodes are
interconnected with each other. In other words, direct communication takes place
between the nodes in the network.
Mesh technology is an arrangement of the network in which computers are
interconnected with each other through various redundant connections.
There are multiple paths from one computer to another computer.
It does not contain the switch, hub or any central computer which acts as a
central point of communication.
The Internet is an example of the mesh topology.
Mesh topology is mainly used for WAN implementations where communication
failures are a critical concern.
Mesh topology is mainly used for wireless networks.
It is a topology commonly used for wireless networks.
5) Tree Topology:
Tree topology is a computer network topology in which all the nodes are directly
or indirectly connected to the main bus cable. Tree topology is a combination of
Bus and Star topology.
In a tree topology, the whole network is divided into segments, which can be
easily managed and maintained. There is a main hub and all the other sub-hubs
are connected to each other in this topology.
In a tree topology, the whole network is divided into segments, which can be easily
managed and maintained. There is a main hub and all the other sub-hubs are connected
to each other in this topology.
However, where each node in a star topology is directly connected to the central
hub, a tree topology has a parent-child hierarchy to how the nodes are
connected.
A tree topology is a special type of structure where many connected elements are
arranged like the branches of a tree. For example, tree topologies are frequently
used to organize the computers in a corporate network, or the information in
a database.
The pattern of connection resembles a tree in which all branches spring from one
root hence (Tree Topology). Tree topology is one of the most popular among five
network topology.
In computer networks, a tree topology is also known as a star bus topology. It
incorporates elements of both a bus topology and a star topology. In the picture,
if the main cable (trunk) between the two star topology networks failed, those
networks would be unable to communicate with each other. However, computers
on the same star topology would still be able to communicate.
Following are the advantages of Tree topology:
6) Hybrid Topology:
A Hybrid topology is a computer topology which is a combination of two or more
topologies. In practical use, they are the most widely used.
In this topology, all topologies are interconnected according to the needs to form
a hybrid. All the good features of each topology can be used to make an efficient
hybrid topology. Hybrid structures are most commonly found in larger
companies where individual departments have personalized network topologies
adapted to suit their needs and network usage.
When two or more different topologies are combined together is termed as Hybrid
topology and if similar topologies are connected with each other will not result in Hybrid
topology. For example, if there exist a ring topology in one branch of ICICI bank and
bus topology in another branch of ICICI bank, connecting these two topologies will
result in Hybrid topology.
Features of Hybrid Topology
1. Complex design.
2. Expensive to implement.
Network Devices
The devices which are used for communication between different hardware’s
used in the computer network are known as network devices. These devices
are also known as physical devices, networking hardware, and network
equipment otherwise computer networking devices. In a computer network,
each network device plays a key role based on their functionality, and also
works for different purposes at different segments.
4. Switch –Switches generally have a more intelligent role than hubs. A switch is
a multiport device that improves network efficiency. As the hub is used for data
transferring, whereas a switch is used for filtering & forwarding the data. So this is
the more clever technique to deal with the data packets.
5. Routers –A router is a device like a switch that routes data packets based on
their IP addresses. Router is mainly a Network Layer device. Routers normally
connect LANs and WANs together. A network router is one kind of network device
in a computer network and it is used for routing traffic from one network to
another. Routers are intelligent devices, and they store information about the
networks they’re connected to. They are responsible for receiving, analyzing, and
forwarding data packets among the connected computer networks.
6. Gateway – gateway, as the name suggests, is a passage to connect two
networks together that may work upon different networking models. They
basically work as the messenger agents that take data from one system, interpret
it, and transfer it to another system. Gateways are also called protocol converters
and can operate at any network layer. Gateways are generally more complex
than switch or router.
It acts as the entry – exit point for a network since all traffic that flows across the
networks should pass through the gateway. A gateway is a node (router) in a
computer network, a key stopping point for data on its way to or from other
networks. Thanks to gateways, we are able to communicate and send data back
and forth. The Internet wouldn’t be any use to us without gateways (as well as a
lot of other hardware and software).
In a workplace, the gateway is the computer that routes traffic from a workstation
to the outside network that is serving up the Web pages. For basic Internet
connections at home, the gateway is the Internet Service Provider that gives you
access to the entire Internet.
COMMUNICATION MEDIA
Communication media refers to the means of delivering and receiving data or information. In
data communication terminology, a transmission medium is a physical path between the
transmitter and the receiver i.e it is the channel through which data is sent from one place to
another.
Two types of Transmission media
1. Wired media/Guided media
2. Wireless Media/Unguided media
2) Coaxial Cable –
Coaxial cable is very commonly used transmission media, for example, TV wire is
usually a coaxial cable.
The name of the cable is coaxial as it contains two conductors parallel to each
other.
It has a higher frequency as compared to Twisted pair cable.
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.
It is more expensive then twisted cable and less then fiber optic cable and cover more distance
with the help of repeaters. It can supply 10 to 100 Mbps speed.
Higher bandwidth
Immunity to electromagnetic interference
Light weight
Microwaves Transmission
Microwave radio transmission is commonly used in point-to-point communication
systems on the surface of the Earth, in satellite communications, and in deep space
radio communications. Other parts of the microwave radio band are used for radars,
radio navigation systems, sensor systems, and radio astronomy.
Microwave is a wireless communication technology that uses high frequency beams of
radio waves to provide high speed wireless connections that can send and receive
voice, video, and data information.
Infrared Transmission
Infrared wireless is used for medium and short range communications and
control. Infrared technology is used in instruction detectors; robot control
system, medium range line of sight laser communication, cordless microphone,
headsets, modems, and other peripheral devices.
Infrared radiation is used in scientific, industrial, and medical application.
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.
Radio Transmission
It is a wireless transmission medium that is used to communicate information
through radio signals in air, over long distance such as between cities and
countries. In this medium, a transmitter is required to send messages (signals)
and receiver is required to receive them. To receive the broadcast radio signal,
the receiver has an antenna that is located in the range of signal. Some networks
use a special device called transceiver used to send and to receive messages in
the form of radio signals.
Satellite Transmission
A satellite is a physical object that revolves around the earth at a known height.
Satellite communication is more reliable nowadays as it offers more flexibility
than cable and fibre optic systems.
We can communicate with any point on the globe by using satellite
communication.
What is the OSI Model
Developed in 1984, the Open Systems Interconnection or OSI model is
a seven-layer model used to describe networking connections. It was initially
developed by ISO, the International Organization for Standardization in 1984
and is now common practice for learning networking concepts.
The OSI models specifies how information is transmitted from a network
device like a router to its destination through a physical medium and how it
interacts with the application. In other words, it provides a standard for
different systems to communicate with each other.
It is a 7 layer architecture with each layer having specific functionality to perform.
All these 7 layers work collaboratively to transmit the data from one person to
another across the globe.
The lowest layer of the OSI reference model is the physical layer. It is
responsible for the actual physical connection between the devices. The physical
layer contains information in the form of bits. It is responsible for transmitting
individual bits from one node to the next. When receiving data, this layer will get
the signal received and convert it into 0s and 1s and send them to the Data Link
layer, which will put the frame back together.
At the physical layer, one might find “physical” resources such as network hubs, cabling,
repeaters, network adapters or modems.
Network layer works for the transmission of data from one host to the other
located in different networks. It also takes care of packet routing i.e. selection of
the shortest path to transmit the packet, from the number of routes available. The
sender & receiver’s IP address are placed in the header by the network layer.
Functions of Network Layer:
Internetworking: An internetworking is the main responsibility of the network
layer. It provides a logical connection between different devices.
Addressing: A Network layer adds the source and destination address to the
header of the frame. Addressing is used to identify the device on the internet.
Routing: Routing is the major component of the network layer, and it
determines the best optimal path out of the multiple paths from source to the
destination.
Advantages Of Internet
An internet connection provides many people with ability to work from home
or have a virtual office.
Internet has made it possible to send and receive information across large
matrix of computer systems.
With internet one is able to access information quickly and easily.
The internet improves internal communications through emails, connected
calendars and chat services specifically designed to improve business
communications.
Disadvantages Of Internet
It is unregulated network and therefore it invites undesirable activities.
Access to internet is not restricted and information is available to anyone
across the world.
If the file server breaks down, the files on the server become inaccessible.
There is danger of hacking or availability of malicious viruses.
Intranet
An intranet is a private network that is contained within an enterprise. Typical intranet for a
business organization consists of many interlinked local area networks (LAN) and use any Wide
Area Network (WAN) technology for network connectivity. The main purpose of an intranet is to
share company information and computing resources among employees. Intranet is a private
Internetwork, which is usually created and maintained by a private organization. The content
available inside Intranet are intended only for the members of that organization (usually
employees of a company).
In case an organization doesn’t want to leak or share some of its confidential or
sensitive information with the general public, the information is normally shared
through an intranet to its members (staff). The members of the organization (staff)
may access the intranet from their workplace.
1. Intranet can be described as a network of computers or a private network
designed for a specific group of users (organization).
2. It is a small network with a few number of connected devices.
3. Intranet is a means of sharing sensitive or confidential information throughout
the organization.
4. It is regulated by a specific organization.
5. The content in the network is accessible only to members of the organization.
6. Ownership of intranet is by a single organization.
7. Intranet is regulated by the organization policies.
8. An intranet may be accessible from the internet, but it is protected by a
password and accessible only to authorized users.
Benefits of Intranet
It reduces emails and meetings
Improves employee engagement and knowledge sharing
Helps an organization to build an internal collaborative culture.
Increases productivity in an organization.
With use of intranet, there is reduced incidences and errors
Enhances centralized access to information
Disadvantages Of Intranet
Intranet can be very costly and time-consuming to implement.
Poor user experience results in low usage rates.
Hard to measure success and effectiveness.
Information can be shared outside the local network due to one faulty or
compromised machine.
Intranet reduces face-to-face interaction among employees and this can
hinder cooperation.
Users normally rely on easy to guess passwords and therefore it is easy to
compromise the entire network.
Extranet
An extranet can be viewed as part of a company's intranet that is extended to users
outside the company like suppliers, vendors, partners, customers, or other business
associates.
Extranet is required for normal day-to-day business activities. For example, placing
purchase order to registered vendors, billing & invoices, payments related activities,
joint venture related activities, product brochures for partners, discounted price lists for
partners etc.
Advantages Of Extranet
An extranet greatly improves flexibility by making applications and
information available to customers, clients and partners, allowing all the
involved parties to operate with convenience.
With proper implementation, an extranet can help improve an organizations
security by creating different access levels, consequently controlling who can
access company data.
It helps to remove bottlenecks within transactions of an organization and
significantly increasing productivity.
Disadvantages of Extranet
Extranets are vulnerable to security breaches since they give outsiders access
to internal database and systems
Time is required to train users on how to work with the network.
The network is prone misuse.
Maintenance cost of the network is high.
Information can be shared outside the local network due to one faulty or
compromised machine.