Computer Network
Computer Network
A network:
Is a group of two or more devices or people connected to each other so that they can
exchange information, such as e-mail messages or documents or share resources such disk
storage or printers, scanner.
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.
II. The client-server network is the network with a central computer that hosts or controls
the shared resources; this central computer is called a server. The server is any
computer dedicated to provide services to other computers. The other Computers that
receive services from the server are known as clients.
2) Mode of connectivity
A. wired or
B. wireless.
(a) Wired networks use cables as a network media for data transmission.Transmission
Medias or Networking media is the means by which signals or data are sent from one
computer to another.
(b) wireless network transmit signals without any physical wire.Wireless transmission
media include radio waves, in folded and Bluetooth.
When a computer is turned on and can be visible by all other computers then the
computer is said to be online.
If a computer is not turned on and it is not visible by other networked computers, it is
then said to be offline.
Advantages of PAN
(a) Data sharing: Enables easy and quick sharing of data between Personal devices.
(b) Inexpensive: It has low installation cost.
(c) Security: It is more secure compared to other types of computer Networks as it covers
a personal area.
Disadvantages of PAN
a) Coverage: it is restricted to a personal premise, usually about 10 meters range.
b) Data sharing limitation: it is not fit for sharing data in longer distances.
c) Technologies: uses short-range communications technologies such as Bluetooth and
USB cable. Thus, user devices cannot connect to a remote site.
II. Local Area Network
A Local Area Network (LAN) is a computer network that covers a small area such as a
room, home, school, or offices buildings.eg intranet. It is useful for sharing resources
like files, printers, scanner, games, and other applications. Its speed depends on the
media used. Figure 3.5 shows a simple structure of LAN.
i. LAN is used for connecting two or more personal computers through a communication
medium such as twisted pair, coaxial cable, etc.
ii. It is less costly as it is built with inexpensive hardware such as hubs, network adapters,
and ethernet cables.
iii. The data is transferred at an extremely faster rate in Local Area Network.
iv. Local Area Network provides higher security.
Advantages of LAN
(a) Increased productivity: sharing resources such as hard drives, DVD drives and printers
can easily increase productivity.
(b) Cost reduction: sharing of resources such as software and hardware reduce running costs.
(c) Improved security: data stored in a local server have higher chances of being secure and
can easily be accessed by all the LAN users.
Disadvantages of LAN
(a) It covers a limited area: LAN is restricted in size. It covers a small area like a single
office, a building, or a group of nearby buildings.
(b) Its maintenance is demanding: it requires a LAN administrator and Techniques to
always maintain or troubleshoot a network, software Installation, program faults, and/or
hardware failures.
(c) High setup cost: the initial installation costs can be high.
III. Metropolitan Area Network
Metropolitan Area Network (MAN) is a computer network that covers the whole town, city,
or a region. For example, a computer network covering the city of Dar Es Salaam can be
regarded as MAN. MAN is mainly used for data communication, especially within a specific
area. An example of MAN is cable TV in a city like what is illustrated in figure below
Advantages of MAN
a) Less expensive: it is less expensive to attach a MAN to a WAN than attaching a LAN
to a WAN
b) Speed: it has higher speed than WAN.
c) Connection: it is easy to connect related LANs to form a MAN
d) Security: it is more secured than WAN
e) Sending local email: it sends local email faster than WAN
Disadvantages of MAN
a) Difficult to manage: as a network grows bigger, it becomes difficult to manage
b) Maintenance: technical people are required to set up and maintain it
c) More wires and other connectivity media are required: additional cables or other
media are required to connect two or more LANs to form a MAN
Wide area network (WAN) is a computer network that is not restricted to a specific
geographical area such as whole country, a continent, and beyond. For example, the
internet is a public WAN that covers the whole globe. Figure below shows a simple
setup of WAN
Advantages of WAN
i. 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.
ii. High Setup cost: An installation cost of the WAN network is high as it involves the
purchasing of routers, switches.
iii. Troubleshooting problems: It covers a large area so fixing the problem is difficult.
iv. 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.
Internetwork
o An internetwork is defined as two or more computer network LANs or WAN or
computer network segments are connected using devices.
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. Intranet: Is the private internal network of an organization which allows access to
specific authorized users such as organization's employee or members.
The main aim of the intranet is to share the information and resources among the
organization employees.
Intranet advantages:
o Communication: It provides a cheap and easy communication. An employee of the
organization can communicate with another employee through email, chat.
o Time-saving: Information on the intranet is shared in real time, so it is time-saving.
DISADVANTAGE
It is used for information sharing. The access to the extranet is restricted to only those users
who have login credentials
ADVANTAGES
DISADVANTAGES
1) Expensive to implement
INTERNET
ADVANTAGES DISADVANTAGE
1) Sharing of information 1) Security of data
2) Data can easily update 2) Virus attack
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.
2. 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
3. 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.
4. Router
Router is a device that connects the LAN to the internet. The router is mainly used to connect
the distinct networks or connect the internet to multiple computers.
A router can be wired, wireless or both. Figure below show a wireless router .A
wireless router is a device that performs the functions of a router but also includes
the function of a wires access point. It is commonly used to provide access to the
Internet or computer network. It does not require a wired link as the connection is
made virtually via waves.
o Twisted pair cable: It is a high-speed cable that transmits the data over 1Gbps or
more.
o Coaxial cable: Coaxial cable resembles like a TV installation cable. Coaxial cable is
more expensive than twisted pair cable, but it provides the high data transmission
speed.
o Fibre optic cable: Fibre optic cable is a high-speed cable that transmits the data using
light beams. It provides high data transmission speed as compared to other cables. It is
more expensive as compared to other cables, so it is installed at the government level.
b) Shielded twisted pair (STP) cable is a cable braided with wire mesh 3.12STP
cables are less affected by electromagnet induction (EMI) compared to UTP
cables.
Key: 1= unshielded Twisted pairs cable
2=Shielded Twisted pairs cable
3=cable head or connectors
Advantage of twisted pair cables
a) They are easy to use and maintain.
b) they are cheap
Disadvantages of twisted pair cables
a) They are affected by electromagnetic induction, which cause interference.
b) They are suitable for use only in short distances.
Fibre optic cables are made up of very thin strands of glass or plastic. One cable may contain
two strands or several hundreds of strands Fibre optic cable transmits data signals as light.
Sim banking
Easy transfer of data through network device
Enable e- learning
Enables e- commerce
Exchange of information
DISADVANTAGES OF NETWORKING
Security of data
Cost of installing nodes is very high
If server fails all the nodes will be affected
Virus attack
There many are many functions of computer networks, which can be generalized as
communication and sharing of resources. Some of the areas where you can find notable
function of computer networks are such as communication, entertainment, business, health,
and education.
Communication
(A)The use of e-mail, teleconferences, video conferences, newsgroups and social media are
commonly facilitated by the presences of computer networks.
(b) Computer networks enable easy and smooth resources sharing. Example of resources
sharing include the use of networks printers, chatting and access to audio, video, and texture
information from different networked computers.
Entertainment
(a) Webcasting enables information such as radio and TV program from one computer to be
accessed by many other computers at once.
(b) Video and audio contents can be easily accessed from a particular stations or server
Business
(a) Computer networks enable digital financial transactions. For example, the use of ATM
cards to withdraw money from any Automatic Teller Machine (ATM) (see figure 3.15)
anywhere, and use of mobile services such as T-pesa, M-pesa, Tigopesa, Airtel money, and
easypesa, facilitated by computer networks
(b) International trade: commodities can be advertised and ordered online; transactions are
made through computer networks without buyer going physically to sellers.
The network topology/topology is the physical and logical arrangement of nodes and
connections in a network
NODES: are the network devices e.g.: Computer, switch, hub, server or router
A) PHYSICAL TOPOLOGY
B) LOGICAL TOPOLOGY
PHYSICAL TOPOLOGY
Refers to the visible design of the device in a network or the way in which in nodes are
connected physically.
LOGICAL TOPOLOGY
Refers to the paths that signal from one point to the network to another. Or refer to how data
are actually transferred in a network
1. BUS TOPOLOGY
2. STAR TOPOLOGY
3. RING TOPOLOGY
4. MESH TOPOLOGY
5. TREE TOPOLOGY
6. HYBRID TOPOLOGY
BUS TOPOLOGY refer to the type of network topology that consists of a single cable known
as a truck or backbone or segment that connects all computer and other devices on a network.
Data travels in one direction along the bus from the source to the destination
This topology is rarely used and would only be suitable for a home office or small business
with few hosts.
2. STAR TOPOLOGY
Refer to the type of network topology in which every device in a network is individual
connected to a central node known as switch or hub or router.
Nodes communicate through the network by passing the data through the hub or switch
3. RING TOPOLOGY
Refer to the network topology in which each device is connected to two other devices on
either side via an RJ-45 cable or coaxial cable
That means Nodes are connected in a circle where by all device have equal importance.
Data from one node are passed along to the next node at which they are examined, and
if that node is not intended destination ,then they are transmitted to the next node until
the destination is reached
A ring can be unidirectional or bie directional
It has no terminated ends, i.e., each node is connected to other node and having no
termination point.
4. MESH TOPOLOGY
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.
Mesh topology can be formed by using the formula:
Number of cables = (n*(n-1))/2;
o Full Mesh Topology: In a full mesh topology, each computer is connected to all the
computers available in the network.
o Partial Mesh Topology: In a partial mesh topology, not all but certain computers are
connected to those computers with which they communicate frequently.
i. Reliable: The mesh topology networks are very reliable as if any link breakdown will
not affect the communication between connected computers.
ii. Fast Communication: Communication is very fast between the nodes.
iii. Easier Reconfiguration: Adding new devices would not disrupt the communication
between other devices.
5. TREE TOPOLOGY
Tree topology combines the characteristics of bus topology and star topology.
A tree topology is a type of structure in which all the computers are connected with each
other in hierarchical fashion.
The top-most node in tree topology is known as a root node, and all other nodes are the
descendants of the root node.
There is only one path exists between two nodes for the data transmission. Thus, it forms a
parent-child hierarchy.
6. HYBRID TOPOLOGY
Combines more than one type of topology mainly star and bus topology.
Note
Topologies are important part of network designing theory . you can probably build your
computer network at home, school or small business without understanding the difference
between a bus design and star design, but becoming familiar with the standard topologies
gives you a better understanding of other importance networking concepts like broadcasting
,switches ,and routers.
Revision questions
SECTION A
Choose the letter of the most correct answers and write it in the provided box
1. Computer in Local Area Network are mainly connected by
A. String
B. Cables
C. Telephone lines
2. A special computer that store network programs and data is called
A. Router
B. Server
C. Hub
3. A network that is confined to one building or room is called a
A. LAN
B. MAN
C. WAN
4. Computer network without a server are called
A. Peer to peer
B. Network server
C. Client-serve
5. WANs differ from LANs in the following aspects:
A. They have more users,faster access times,and are cheaper
B. They cover large area and many recquires mordems and communications links
C. They need more powerful servers and can connect to the Internet
6. Advantages of computer networks are:
A. Improved communications and shairing of data, software and some peripherial
divices
B. Increased production, improed communication and hacking
C. Lower cost per user fewer security risk and greater privacy
SECTION B
Short answers
17.Give two advantage and two disadvantage of each of the following network
transmission media :
i. Twisted pair cables.
ii. Coaxial cables
iii. Fibre optic cables
iv. Wireless
18.Explain the function of network Interface Card?
19.Define the term network topologies.
20.State and briefly describe any five types of physical network topologies.
21.State three advantages and two disadvantages of mesh network topology.
SECTIN C
1. (a) ABUBAKARI cable is one of the Cable Networking system found at Kahama that
receives Television programs and broadcast them to their customers who are distantly
located away from the station, through cable. Initially they were missing one of the
important networking device and they experienced a problem of poor quality of displays
to most of the Screens of their customers.
b). Study the following figure and answer the questions that follow.
Switch
Printer
(i). Write the name of the network topology above. (01 mark)
Star topology
(ii). Describe three advantagesof the network above. (06 marks@ 02 mark)
As compared to Bus topology it gives far much better performance, signals
don’t necessarily get transmitted to all the workstations. A sent signal reaches
the intended destination after passing through no more than 3-4 devices and
2-3 links. Performance of the network is dependent on the capacity of central
hub.
Easy to connect new nodes or devices. In star topology new nodes can be
added easily without affecting rest of the network. Similarly, components can
also be removed easily.
Centralized management. It helps in monitoring the network.
Failure of one node or link doesn’t affect the rest of network. At the same
time, it’s easy to detect the failure and troubleshoot it.
(iii). Write two advantages of using Switch as central device over a hub. (02
marks)
Advantages of switches over hub:
Hub use for smaller network and Switches use for larger network.
There is no VLAN function for Hub and Switches are having VLAN function.
Hub provides less bandwidth and Switches provides more bandwidth.
Hub is having up to 12 ports. Switches are having up to 48 ports.
Hub speed is up to 10 Mbps. Switch speed is up to 10 Gbps.
Switch
Layer 2 device; Data link Layer
Allow to connect multiple devices and port can be manged. Vlan can create & security
can be applied.
Do not forward packets to other networks like routers
Providing more bandwidth for LAN users
Only ‘Switch’ frames from one port to another within the switched network
Use hardware address to filter a network
Hub
Layer 1 device; Physical Layer
To connect network, join through central hub
Multi-port repeater
1. Computer network is the connection between one computer and another working
together to share resources.
b) Define ring topology, and mention two advantages and two disadvantages of ring topology
Ring Topology is a LAN architecture that consists of a series of devices connected to one.
Advantage of Ring.
Data collisions are prevented by allowing only one computer at a time to use the
token
Depending on the intelligence of hub, two or more computers may send message at the
same time
Disadvantage of Ring.
Failure of hub result in breakdown of entire network
higher cost
The end
Prepared by sir ABUBAKARI MALANGALI SECONDARY