Computer Networks
Computer Networks
Contents
Introduction to Computer Networks ............................................................................................................... 2
Advantages of using networked computers: ............................................................................................... 2
Disadvantages of using networked computers: .......................................................................................... 2
Types of Communication Networks ................................................................................................................ 2
Local Area Network (LAN) ................................................................................................................................. 3
Metropolitan Area Network (MAN) ................................................................................................................... 3
Wide Area Network (WAN) ................................................................................................................................. 4
Types of Network Topology .............................................................................................................................. 4
BUS Topology ....................................................................................................................................................... 4
RING Topology...................................................................................................................................................... 5
STAR Topology..................................................................................................................................................... 6
MESH Topology .................................................................................................................................................... 7
TREE Topology ..................................................................................................................................................... 8
HYBRID Topology ................................................................................................................................................ 9
Network Devices: ............................................................................................................................................... 10
Introduction to Computer Networks
Modern world scenario is ever changing. Data Communication and network have changed the way
business and other daily affair works. Now, they highly rely on computer networks and internetwork.
A set of devices often mentioned as nodes connected by media link is called a Network.
A node can be a device which is capable of sending or receiving data generated by other nodes on the
network like a computer, printer etc. These links connecting the devices are called Communication
channels.
Computer network is a telecommunication channel using which we can share data with other
computers or devices, connected to the same network. It is also called Data Network. The best
example of computer network is Internet.
Applications of LAN
One of the computer in a network can become a server serving all the remaining computers called
clients. Software can be stored on the server and it can be used by the remaining clients.
Connecting Locally all the workstations in a building to let them communicate with each other
locally without any internet access.
Sharing common resources like printers etc. are some common applications of LAN.
BUS Topology
Bus topology is a network type in which every computer and network device is connected to single
cable. When it has exactly two endpoints, then it is called Linear Bus topology.
Features of Bus Topology
1. It is cost effective.
2. Cable required is least compared to other network topology.
3. Used in small networks.
4. It is easy to understand.
5. Easy to expand joining two cables together.
RING Topology
It is called ring topology because it forms a ring as each computer is connected to another computer,
with the last one connected to the first. Exactly two neighbours for each device.
Features of Ring Topology
1. 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.
2. The transmission is unidirectional, but it can be made bidirectional by having 2 connections
between each Network Node, it is called Dual Ring Topology.
3. In Dual Ring Topology, two ring networks are formed, and data flow is in opposite direction in them.
Also, if one ring fails, the second ring can act as a backup, to keep the network up.
4. 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.
1. Transmitting network is not affected by high traffic or by adding more nodes, as only the nodes
having tokens can transmit data.
2. Cheap to install and expand
STAR Topology
In this type of topology all the computers are connected to a single hub through a cable. This hub is
the central node and all others nodes are connected to the central node.
Features of Star Topology
MESH Topology
It is a point-to-point connection to other nodes or devices. All the network nodes are connected to each
other. Mesh has n(n-1)/2 physical channels to link n devices.
There are two techniques to transmit data over the Mesh topology, they are:
1. Routing
2. Flooding
Routing
In routing, the nodes have a routing logic, as per the network requirements. Like routing logic to direct
the data to reach the destination using the shortest distance. Or, routing logic which has information
about the broken links, and it avoids those node etc. We can even have routing logic, to re-configure
the failed nodes.
Flooding
In flooding, the same data is transmitted to all the network nodes, hence no routing logic is required.
The network is robust, and the its very unlikely to lose the data. But it leads to unwanted load over the
network.
Types of Mesh Topology
1. Partial Mesh Topology: In this topology some of the systems are connected in the same fashion
as mesh topology but some devices are only connected to two or three devices.
2. Full Mesh Topology: Each and every nodes or devices are connected to each other.
1. Fully connected.
2. Robust.
3. Not flexible.
TREE Topology
It has a root node and all other nodes are connected to it forming a hierarchy. It is also called
hierarchical topology. It should at least have three levels to the hierarchy.
Features of Tree Topology
1. Heavily cabled.
2. Costly.
3. If more nodes are added maintenance is difficult.
4. Central hub fails, network fails.
HYBRID Topology
It is two different types of topologies which is a mixture of two or more topologies. For example, if in an
office in one department ring topology is used and in another star topology is used, connecting these
topologies will result in Hybrid Topology (ring topology and star topology).
Features of Hybrid Topology
Network Devices:
Hubs: Hubs allow computers and devices to plug into their ports in order to connect to each
other and share files, data and resources. Hubs are 'non-intelligent' devices and they don't
manage any of the data that flows through them. The hub simply sends the data onto every
computer/device on the network.
Switch: Switches are similar to hubs in that they connect computers/devices to form a LAN.
However, switches are 'intelligent' devices and can direct data to specific computers/devices.
Router: A router could be used to connect a LAN (local area network) to a WAN (wide area
network). They are most commonly used to connect computers and devices to the internet
(WAN).