Added Contents
Added Contents
Introduction to Frames
When data travels across a computer network, it does not move as one large block. Instead, it
is broken down into smaller, manageable units that can be efficiently transmitted and
correctly interpreted by the devices on the network. At the data link layer of the OSI model,
these units are called frames. A frame can be thought of as a structured container that carries
not only the actual data but also all the information needed for successful delivery within a
local network segment.
Frames play a critical role in how information moves from one device to another. While the
network layer deals with logical addressing and routing through IP addresses, the data link
layer focuses on node-to-node communication within a single network. This means that
before a packet generated by the network layer can be transmitted, it must be encapsulated
inside a frame. The frame gives the packet a local identity through physical addresses, error-
checking mechanisms, and synchronization information, ensuring that devices connected to
the same medium can properly recognise, process, and verify the data.
Structure of a Frame
Every frame is carefully structured. At the beginning of most frame types, there is a section
known as the preamble, which helps the receiving device synchronize its clock with the
sender so it can interpret the bitstream correctly. This is followed by a clear marker, often
called the start frame delimiter, which signals the exact point where the frame begins. Once
synchronization is established, the frame specifies the destination MAC address—the
unique hardware address of the device that should receive the data—and the source MAC
address—the hardware address of the sender. These MAC addresses are essential because,
unlike IP addresses that can change based on configuration or network location, MAC
addresses are burned into network interface cards (NICs) and provide a reliable means of
identifying devices on a local network.
ADVANTAGEPRO [Link]
1|Page
Protocol Identification and Payload Delivery
After the addressing fields, the frame usually contains a field that identifies the type of
protocol carried in the data portion. This could indicate, for example, that the payload is an
IPv4 packet, an IPv6 packet, or an ARP message. The payload itself is the central part of the
frame, carrying the actual network layer packet. To protect the integrity of the transmission,
the frame ends with an error detection mechanism—most commonly the Frame Check
Sequence (FCS). The FCS uses a cyclic redundancy check (CRC) to ensure that the data has
not been corrupted in transit. If the receiving device calculates a different CRC than the one
sent in the frame, it knows an error occurred and will discard the frame.
The structure of frames varies depending on the technology in use. Ethernet frames, which
dominate wired LANs, are the most widely encountered. Wireless networks use 802.11
frames, which include additional information required for wireless communication, such as
control and management data. In other contexts, like point-to-point connections, PPP frames
may be used. Despite these variations, all frames serve the same essential purpose: to provide
a reliable wrapper for network packets so that communication between directly connected
nodes can succeed.
An important aspect of frames is that they use physical addresses rather than logical ones.
This is why frames are limited in scope to a single network segment or broadcast domain. A
switch, for example, relies on MAC addresses in frames to determine which port to forward
data through. When traffic needs to move beyond the local network, the frame is stripped
away and replaced with a new one appropriate for the next link in the path. This process of
removing and adding frames occurs at every hop in the journey of a packet across multiple
networks, ensuring that each local delivery is properly managed.
The size of frames is also carefully controlled. In Ethernet, a frame cannot be smaller than 64
bytes and cannot exceed 1518 bytes under standard conditions. These limits exist to maintain
efficiency and to avoid issues such as collisions in older shared media networks. In modern
environments, larger “jumbo frames” of up to 9000 bytes may be supported to improve
performance in high-speed networks, especially for data-intensive applications.
ADVANTAGEPRO [Link]
2|Page
Frames in Action: An Example
To put this in context, consider what happens when you send an email across a network. At
the application layer, you compose your message. It moves downward through the layers,
eventually being packaged as an IP packet at the network layer. Before transmission, that IP
packet is placed inside an Ethernet frame with your computer’s MAC address as the source
and the recipient’s gateway or local router’s MAC address as the destination. The frame is
then transmitted as electrical or optical signals across the physical medium. At the receiving
end, the NIC reads the frame, checks the FCS for errors, verifies the destination MAC, and
then extracts the IP packet for further processing. Without this process of framing, the raw
data would not have the necessary structure to move reliably across the local link.
Chapter-2
ADVANTAGEPRO [Link]
3|Page
While Gigabit Ethernet revolutionised local networking, enterprises soon required even
greater bandwidth to support data centres, server farms, cloud applications, and storage area
networks. This need led to the development of 10-Gigabit Ethernet (10GbE), standardised by
IEEE 802.3ae.
10GbE delivers data rates of 10,000 Mbps, ten times faster than standard Gigabit Ethernet.
One of its defining features is that it was designed primarily for fibre optic cabling, although
copper-based implementations such as 10GBASE-T now exist for twisted-pair cables. The
most common variants include:
10GBASE-SR (short-range multimode fibre, up to ~300 meters)
10GBASE-LR (long-range single-mode fibre, up to 10 kilometres)
10GBASE-ER (extended-range single-mode fibre, up to 40 kilometers)
10GBASE-T (copper, Cat 6a or Cat 7, up to 100 meters)
10GbE is often used in enterprise backbones, data centre interconnections, virtualization
environments, and high-performance computing. Unlike earlier Ethernet versions, 10GbE is a
full-duplex only standard, meaning it does not support half-duplex or CSMA/CD. This is
because collisions are practically eliminated at these high speeds when switches and full-
duplex communication are used.
Although 10GbE hardware was initially expensive, costs have dropped significantly, making
it increasingly common in advanced enterprise and campus networks.
A structured cabling system is only as reliable as its terminations. While cabling standards
define how cables should be installed, routed, and organised, the process of termination
ensures that those cables are properly connected to network devices and patch panels in a
way that guarantees performance and signal integrity. Poorly terminated cables can result in
crosstalk, signal loss, intermittent connectivity, or complete failure of a network link.
Termination involves attaching the cable ends to connectors, jacks, or patch panels so that
they can be plugged into network devices, switches, or end-user equipment. Because Ethernet
standards require precise electrical characteristics, proper termination follows strict
guidelines such as those set by TIA/EIA-568.
Proper termination requires specific tools to ensure quality and consistency. The most
common tool is the punch-down tool, which pushes individual wires into insulation
displacement connectors (IDCs) on patch panels and wall jacks. For modular connectors such
as RJ-45 plugs, a crimping tool is used to press the connector contacts into the wires. Cable
testers are often employed after termination to verify correct wiring order, continuity, and
performance.
In structured cabling systems, permanent cables are typically terminated on patch panels in
the telecommunications room and wall jacks in the work area. The patch panel provides a
central point where horizontal cables from work areas are organised and terminated. Each
cable is punched down according to the T568A or T568B standard. Network administrators
can then use short patch cords to connect ports on the patch panel to network switches,
allowing flexible reconfiguration without disturbing the permanent cabling.
At the work area, the horizontal cable terminates in a wall outlet or faceplate. A modular jack
(RJ-45) is used so that end devices such as PCs, phones, or printers can be easily connected
with patch cords. This modular approach keeps the cabling infrastructure intact while
providing user flexibility.
ADVANTAGEPRO [Link]
7|Page
Good termination practices ensure long-term reliability and performance. Cable pairs should
remain twisted as close as possible to the termination point to minimise crosstalk. Excessive
untwisting of pairs can degrade performance, especially at higher Ethernet speeds such as
Gigabit or 10 Gigabit. Strain relief should always be used to prevent stress on connectors, and
bend radius guidelines must be observed to avoid damaging the cable. Labelling cables and
ports is also a best practice, aiding in troubleshooting and network management.
Equipment Room
Introduction
The equipment room is the heart of an organisation’s structured cabling system and overall
network infrastructure. While work areas and telecommunications closets connect end
devices to the network, the equipment room is where the major components of the network
reside. It serves as a central hub that houses servers, core switches, routers, and other
mission-critical systems that keep data and communication services running. Because of its
importance, the design, organisation, and management of an equipment room directly
influence network performance, reliability, and security.
When designing an equipment room, several physical factors must be considered. The room
should be located in a central, accessible, and secure part of the building. It must have
sufficient space to accommodate current equipment and allow for future expansion. Proper
flooring, such as anti-static raised floors, is often installed to support heavy equipment racks
and facilitate cable management. Cable trays and pathways are used to keep copper and fibre
cabling organised and protected.
ADVANTAGEPRO [Link]
8|Page
Environmental Controls
Network and computing equipment generate significant heat and are sensitive to
environmental changes. Therefore, an equipment room must have appropriate heating,
ventilation, and air conditioning (HVAC) systems to maintain temperature and humidity
within acceptable ranges. Power reliability is another key factor, requiring uninterruptible
power supplies (UPS), surge protectors, and sometimes backup generators. Environmental
monitoring systems are often installed to alert administrators about changes in temperature,
humidity, or power conditions.
The equipment room typically contains the organisation’s most critical hardware. This
includes core network switches, routers, firewalls, and sometimes PBX or VoIP systems
for telephony. In many cases, servers hosting applications, databases, or virtualisation
environments are also located here. Patch panels and backbone cabling terminations provide
connectivity between the equipment room and telecommunications rooms on each floor.
Depending on the organisation, storage systems, backup devices, and security appliances may
also be housed here.
Because the equipment room contains critical infrastructure, security is a top priority.
Physical access should be restricted to authorised personnel only, using keycards, biometric
scanners, or other access control systems. Surveillance cameras and logging mechanisms can
provide an additional layer of security. Unauthorised access not only risks data breaches but
could also result in accidental damage or service disruptions.
Maintaining an equipment room requires careful planning and consistent best practices.
Equipment should be mounted on standardised racks for accessibility and airflow. Cables
must be neatly managed, labelled, and routed through designated pathways to avoid tangling
and interference. Documentation of the layout and connections is essential for
troubleshooting and upgrades. Regular inspections, firmware updates, and equipment testing
help ensure that the network remains stable and secure.
In a structured cabling system, the backbone cabling connects the main equipment room to
various telecommunications rooms across a building or campus. However, in large or
complex environments, running all cables directly from the main equipment room to every
floor or section of the building may not be practical. To address this, Alternative
Distribution Panels (ADPs) are used as intermediate connection points, providing
flexibility, scalability, and efficiency in cabling design.
Purpose of ADPs
In the structured cabling hierarchy defined by standards like TIA/EIA-568, the ADP sits
between the main cross-connect (MCC) in the equipment room and the horizontal cross-
connect (HCC) in the telecommunications room. It acts as a secondary or intermediate
cross-connect, ensuring that cable runs remain within the maximum length limits set by the
standard (for example, the 100-meter limit for Ethernet over copper).
ADPs provide several advantages in network design. They help reduce the amount of long
cable runs, which can lower installation costs and minimise signal loss or attenuation. They
also make the cabling system more modular, since changes in one area do not require
rerouting back to the equipment room. For large campuses or multi-building facilities, ADPs
provide logical distribution points that simplify maintenance and troubleshooting.
Design Considerations
ADVANTAGEPRO [Link]
10 | P a g e
When planning ADP placement, careful consideration must be given to distance limitations,
network performance requirements, and future scalability. ADPs must be located in
secure, accessible spaces such as telecommunications rooms or wiring closets, with proper
cable management pathways. Like the equipment room, they require good grounding,
labelling, and documentation to avoid confusion during maintenance or upgrades. If fibre
optic cables are used, ADPs may also house fibre enclosures and splicing trays.
Although ADPs do not usually contain active equipment like routers or switches, they still
form part of the critical network infrastructure. Physical access should be restricted to
authorised personnel, and connections should be clearly labelled to prevent errors. Proper
management practices, including documentation and regular inspection, ensure that ADPs
continue to support reliable connectivity.
In structured cabling environments, technicians often face the challenge of identifying and
tracing cables hidden behind walls, ceilings, or within large bundles. To accomplish this, they
use a specialised testing toolset called a toner and probe kit. This tool helps trace and locate
cables without requiring access to both ends of the cable simultaneously, making it an
essential part of a network technician’s toolkit.
the correct cable.A toner and probe kit consists of two parts:
Tone Generator (Toner): This device connects to a cable and sends a distinctive
electrical signal or tone through the conductor. The tone can be continuous or pulsed,
depending on the technician’s preference.
Probe (Inductive Amplifier): The probe detects the signal being transmitted by the
toner. When the technician moves the probe along a bundle of cables, the probe
amplifies the sound of the tone, allowing the technician to follow
ADVANTAGEPRO [Link]
11 | P a g e
To use a toner and probe, the technician begins by connecting the tone generator to one end
of the cable in question. The tone travels along the length of the cable, even through walls or
ceilings. The technician then uses the probe to scan a bundle of cables at the other end or
along the path of the cabling. The probe produces an audible tone when it is near the correct
cable, allowing the technician to identify and separate it from others.
Applications in Networking
Toner and probe kits are particularly useful in structured cabling environments where
hundreds of cables may run side by side. They are used to:
Although they do not test for network performance, they are invaluable for organisation and
troubleshooting.
While toner and probe kits are extremely useful, they have limitations. For example, when
tracing active network cables (those currently carrying Ethernet traffic), the tone may be
distorted or masked. In such cases, the cable should be disconnected before applying the tone
generator. Additionally, technicians must be cautious when using the tool near power cables,
as interference or even safety hazards may occur.
Cabling forms the physical foundation of any network, and even the smallest issue with a
cable can disrupt connectivity across devices. While network administrators often focus on
switches, routers, or software misconfigurations, many problems can be traced back to a
faulty cable or an improper installation. Effective troubleshooting begins with understanding
the symptoms of cabling issues and applying systematic methods to locate and resolve them.
ADVANTAGEPRO [Link]
12 | P a g e
When a cable is defective or improperly terminated, it can manifest in several ways on the
network. Users may report slow connectivity, intermittent connection drops, excessive
packet loss, or complete network failure. In Ethernet environments, poor-quality cabling or
physical damage may also cause excessive collisions, retransmissions, or reduced data
throughput. Identifying these symptoms is the first step in narrowing down a cabling-related
problem.
Visual Inspection
The simplest and often most effective first step in cable troubleshooting is a visual
inspection. A technician checks for obvious signs of damage, such as crushed, bent, or frayed
cables, and ensures that connectors are properly crimped and seated. Loose connections at
patch panels, keystone jacks, or switch ports can easily cause connectivity problems.
Environmental factors, like cables stretched too tightly around corners or exposed to moisture
and heat, can also lead to degradation over time.
If visual inspection does not resolve the issue, technicians use basic cable testers to verify
continuity and proper pinouts. A continuity tester checks whether electrical signals can travel
across each wire in the cable, while more advanced testers verify the correct wiring order,
such as T568A or T568B. These tools quickly confirm whether a cable is terminated
correctly and functioning as expected.
Even if a cable is wired correctly, problems such as crosstalk, attenuation, and interference
may affect performance. Crosstalk occurs when signals from one wire interfere with another,
typically due to improper twisting or poor-quality cable. Attenuation, the weakening of
signals over distance, may be caused by exceeding maximum cable lengths. External
interference from nearby electrical equipment can also corrupt signals. Identifying these
issues often requires more advanced tools like cable certifiers or network analysers.
Substitution Testing
ADVANTAGEPRO [Link]
13 | P a g e
Troubleshooting Cable, Part 2
Introduction
While the first stage of cable troubleshooting focuses on basic inspections and simple testing
tools, more complex problems often require advanced techniques. In large enterprise
environments, technicians may deal with performance degradation, electromagnetic
interference, or fibre optic issues that go beyond the scope of simple continuity checks.
Troubleshooting Cable, Part 2 covers these advanced methods and provides insights into
professional-grade tools that ensure cables meet network standards.
Basic testers can confirm continuity and pinouts, but advanced cable certifiers and
qualifiers go further by measuring performance against Ethernet standards such as Cat 5e,
Cat 6, and Cat 6a. These devices test for electrical characteristics, including attenuation,
crosstalk, return loss, and propagation delay. By running these measurements, a
technician can determine whether a cable is capable of supporting Gigabit or 10-Gigabit
Ethernet reliably, or whether the installation falls short of requirements.
One of the most challenging aspects of cabling is the effect of electromagnetic interference
(EMI) and radio frequency interference (RFI). Cables routed too close to fluorescent
lighting, power lines, or heavy machinery may suffer from noise that corrupts data
transmission. Using spectrum analysers or certifiers that detect signal-to-noise ratio (SNR),
technicians can pinpoint interference sources. Relocating cables or using shielded twisted-
pair (STP) can mitigate these issues.
Troubleshooting copper cabling differs significantly from troubleshooting fibre optics. Fibre
optic issues are often invisible to the naked eye but can cause severe network disruptions.
Technicians rely on tools like optical time-domain reflectometers (OTDRs) to identify
breaks, bends, or splices along the cable. Light meters and optical power testers measure
signal strength to ensure that fibre links fall within acceptable ranges. Fibre troubleshooting
also emphasises proper cleaning of connectors, as dust or dirt can significantly reduce signal
quality.
ADVANTAGEPRO [Link]
14 | P a g e
Documentation and Labelling Issues
Not all cable problems are physical. In many environments, poorly documented cabling
infrastructures cause delays in troubleshooting. For example, if cables are mislabeled or
routed through unexpected paths, technicians may waste valuable time chasing the wrong
connections. Proper documentation, accurate labelling, and regular updates to cabling
diagrams reduce the likelihood of such errors and streamline troubleshooting.
Escalating to Replacement
When all else fails, cables that show persistent problems despite testing should be replaced.
Even if a cable still functions, degradation over time can lead to intermittent failures that are
difficult to trace. By replacing cables that test below the specification, technicians ensure
long-term reliability and reduce recurring network issues. Replacement is often more cost-
effective than continuous troubleshooting on a questionable cable.
Cabling problems can range from a loose connector to deeply embedded issues that affect
performance across entire networks. By the time a technician reaches the third level of
troubleshooting, the focus shifts from basic fixes and advanced testing to systematic
problem-solving in real-world environments. This phase emphasises scenario-based
troubleshooting, long-term reliability, and preventive practices that go beyond reactive repair.
At this level, technicians often encounter intermittent or elusive problems that don’t always
appear during testing. For example, a user may report random disconnections, yet basic
continuity tests show no issues. Such cases often stem from marginal cabling, where the
cable works under light traffic but fails under high data loads. Advanced certifiers and stress
testing tools can reproduce these conditions and confirm the problem.
ADVANTAGEPRO [Link]
15 | P a g e
Cable issues are not always tied to the cable itself. Heat, humidity, vibration, and even
rodents can impact long-term cable health. For example, cables routed through an
unventilated ceiling may degrade faster due to excessive heat. Similarly, water intrusion in
underground conduits can corrode copper wiring. Troubleshooting at this level requires
awareness of the environmental context in which the cable operates and a willingness to
investigate conditions beyond the wiring closet.
Cross-System Dependencies
Sometimes cabling problems are masked by dependencies on other systems. For instance, a
poorly functioning patch panel, a faulty wall jack, or a defective network card can mimic
cable issues. Technicians must carefully isolate the cable from surrounding equipment to
confirm whether the fault lies in the cabling or elsewhere. This methodical process of
elimination prevents unnecessary cable replacement and helps pinpoint root causes more
efficiently.
By addressing the underlying causes of cable problems, technicians ensure the network
remains stable well into the future.
The most effective way to handle cabling problems is to prevent them. Proactive
troubleshooting includes scheduled inspections, routine cable testing, and maintaining
accurate network maps. Preventive practices such as certifying new installations, avoiding
over-bending cables, and keeping network diagrams updated reduce the likelihood of large-
scale outages. By approaching troubleshooting with a preventive mindset, technicians move
from reactive firefighting to strategic network management.
ADVANTAGEPRO [Link]
16 | P a g e
Chapter-6
Every device that communicates on a network requires an address to send and receive data. In
modern computer networks, this is accomplished through Internet Protocol (IP) addressing.
IP addresses serve the same purpose as street addresses in the real world—they identify the
location of a device so that information can be delivered accurately. To understand IP
addressing, however, technicians must also understand the concept of binary numbering,
since IP addresses are built on the foundation of binary math.
What is an IP Address?
Computers don’t think in decimal—they operate in binary, the number system made up of
only 0s and 1s. Each bit in binary represents a power of two. When grouped into sets of eight
bits (called octets), they can represent values from 0 to 255. For example:
This conversion between binary and decimal is at the heart of IP addressing. While humans
see [Link], the computer interprets it as 11000000.10101000.00000001.00001010.
Structure of an IP Address
ADVANTAGEPRO [Link]
17 | P a g e
An IPv4 address consists of two parts:
The division between the network and host portions is determined by the subnet mask,
which also relies on binary notation. Understanding binary math helps technicians calculate
network ranges, broadcast addresses, and the number of available hosts in a subnet.
Subnetting, one of the most critical skills in networking, relies entirely on binary. By
borrowing bits from the host portion of the address, new subnets are created. For example, a
default Class C address has 24 bits reserved for the network. By borrowing additional bits
from the host side, administrators can create smaller, more efficient networks. Without a solid
grasp of binary math, subnetting becomes guesswork.
While IPv4 uses 32-bit addresses, IPv6 uses 128-bit addresses, written in hexadecimal for
easier reading. Even though they look very different, IPv6 addresses are still based on binary
at their core. Understanding binary helps technicians transition between IPv4 and IPv6
addressing and appreciate why IPv6 can support an almost unlimited number of devices.
Classful Addressing
Introduction
In the early days of networking, before the introduction of CIDR (Classless Inter-Domain
Routing), IP addresses were divided into fixed categories known as classes. This system,
called classful addressing, provided a structured way to allocate IP addresses based on the
size of the network. Although classful addressing is no longer widely used in modern
networks, it remains an important concept for understanding how IP addressing developed
and how network portions and host portions were originally determined.
ADVANTAGEPRO [Link]
18 | P a g e
The Concept of Classes
Classful addressing divided the entire IPv4 address space ([Link] to [Link]) into
five classes: A, B, C, D, and E. Each class was designed for different types of organisations,
depending on the number of hosts they needed to support. The first few bits of the IP address
determined its class, and each class had a default subnet mask that defined the boundary
between the network and host portions.
Class A Networks
Class A addresses were designed for very large networks. They reserved the first 8 bits for
the network portion and the remaining 24 bits for hosts. This meant that a Class A network
could support over 16 million hosts.
Example:
The address [Link] belongs to Class A. With the default mask [Link], the network
portion is 10, and the host portion is 0.0.5.
Class B Networks
Class B addresses were meant for medium-sized organisations. They reserved 16 bits for the
network portion and 16 bits for hosts, allowing thousands of networks with tens of
thousands of hosts each.
Example:
The address [Link] is in Class B. With the mask [Link], the network portion is
172.16, and the host portion is 5.20.
Class C Networks
ADVANTAGEPRO [Link]
19 | P a g e
Class C addresses were intended for smaller organisations. They reserved 24 bits for the
network portion and only 8 bits for hosts, which made them suitable for small LANs.
Example:
The address [Link] is a Class C address. With the default mask [Link], the
network portion is 192.168.1, and the host portion is 100.
Class D Networks
Class D addresses were not used for regular host communication. Instead, they were reserved
for multicasting, which allows one sender to transmit to multiple receivers at the same time.
Example:
The address [Link] is a Class D address, commonly used by routing protocols such as
OSPF for communication with multiple routers.
Class E Networks
Class E addresses were reserved for experimental and research purposes. They are not
used in normal networking environments.
Example:
The address [Link] belongs to Class E and is not valid for regular host assignment.
While classful addressing was simple to implement, it was also highly inefficient. For
example, many organisations assigned a Class B address often required far fewer hosts than
the 65,000 available, leading to wasted IP space. To overcome this problem, CIDR
(Classless Inter-Domain Routing) was introduced in the 1990s, allowing addresses to be
divided more flexibly with subnet masks that do not strictly follow class boundaries.
ADVANTAGEPRO [Link]
20 | P a g e
More CIDR Subnetting Practice
Introduction
CIDR notation expresses an IP address followed by a slash and the number of bits in the
subnet mask. For example, [Link]/24 indicates that the first 24 bits are reserved for
the network portion, leaving 8 bits for host addresses. Unlike classful addressing, this method
allows subnet masks to be customised to the exact number of hosts or subnets required.
When subnetting using CIDR, the subnet mask determines how many networks and hosts can
exist. Borrowing additional bits from the host portion creates more subnets but reduces the
number of available host addresses per subnet. Conversely, leaving more bits for hosts allows
larger networks but fewer subnet divisions. This trade-off forms the basis of subnetting
practice.
By borrowing 2 bits, the mask becomes /26, which is [Link]. This divides the
network into four equal subnets:
ADVANTAGEPRO [Link]
21 | P a g e
[Link]/26 → usable hosts [Link] to [Link]
[Link]/26 → usable hosts [Link] to [Link]
Each subnet now supports 62 hosts instead of 254, but the network has been divided into four
usable segments.
Point-to-point WAN connections do not require many hosts. A /30 subnet mask
([Link]) leaves only 2 usable addresses, which is perfect for two connected
devices.
This design avoids wasting hundreds of host addresses on a simple two-device link.
CIDR also enables route summarisation, which reduces the size of routing tables. For
example, instead of advertising four separate routes—[Link]/24, [Link]/24,
[Link]/24, and [Link]/24—a single summarised route of [Link]/22
can represent all four.
This is because a /22 mask ([Link]) covers the range [Link] to [Link],
neatly including all the original networks. Summarisation is one of the most powerful
features of CIDR in large-scale routing environments.
Divide [Link]/16 into subnets that each support at least 500 hosts.
Calculate the usable host range for the subnet [Link]/27.
Summarize the following networks into a single route: [Link]/24,
[Link]/24, [Link]/24, and [Link]/24.
By working through these problems, learners develop the speed and accuracy required in both
exams and real-world troubleshooting.
ADVANTAGEPRO [Link]
22 | P a g e
Chapter-7
Introduction to Routers
What is a Router?
A router is a specialised network device designed to connect multiple networks and manage
the flow of data between them. Unlike switches or hubs, which primarily operate within a
single local area network (LAN), a router functions at the network layer (Layer 3) of the
OSI model, making decisions based on IP addresses rather than physical hardware addresses.
Routers ensure that data packets are delivered to the correct destination network, even when
multiple paths exist.
Routers serve as the backbone of inter-network communication. They determine the best
possible path for data to travel by consulting routing tables and using routing protocols.
When a packet arrives at a router, it examines the destination IP address, looks up the route in
its table, and forwards the packet to the next appropriate hop. This process repeats until the
data reaches its final destination. Without routers, communication across different networks
or the internet itself would not be possible.
Routers are firmly positioned at Layer 3 (Network Layer) of the OSI model, handling
logical addressing and path selection. In the TCP/IP model, they operate in the Internet
Layer, where IP addressing and routing protocols like OSPF, EIGRP, BGP, and RIP come
into play. By managing IP addressing and routing, routers enable scalable communication
across LANs, WANs, and the global internet.
ADVANTAGEPRO [Link]
23 | P a g e
A router is both a hardware device and a software-driven system. On the hardware side, it
contains processors, memory, and interfaces (Ethernet ports, serial ports, and sometimes fibre
connections) that allow it to connect with different networks. The software component
includes the router’s operating system, such as Cisco IOS or Juniper Junos, which provides
the commands and services for routing functions. Together, these components allow routers
to perform tasks like packet forwarding, access control, and security filtering.
Routers can be configured to direct traffic using either static or dynamic routing. Static
routing involves manually setting specific paths for packets, which is efficient for small
networks with predictable traffic patterns. However, in large and complex environments,
dynamic routing is preferred. Dynamic routing protocols allow routers to exchange
information with one another, automatically adapting to changes in network topology,
failures, or congestion. This adaptability makes modern routers highly resilient and efficient
in handling traffic.
In addition to forwarding packets, routers often play an important role in network security.
Many routers include built-in firewalls, Access Control Lists (ACLs), and VPN support.
These features allow administrators to control which traffic is permitted, block malicious
traffic, and establish secure tunnels for remote communication. By combining routing and
security, routers act as the first line of defence for many networks.
While enterprise-class routers are powerful devices designed for high performance, smaller
versions are found in homes and small offices as well. Home routers typically integrate
routing, switching, wireless access points, and firewall functions into one device. This makes
them user-friendly while still providing the basic functionality of routing traffic between
private home networks and the wider internet.
Forwarding Ports
Understanding Port Forwarding
Port forwarding is a networking technique that allows external devices to access services
inside a private network by directing traffic from a specific port on a router or firewall to a
designated device within the LAN. It acts as a bridge between the public internet and private
IP addresses, ensuring that requests coming in from outside can reach the correct system on
the inside. Without port forwarding, many internal resources, such as web servers, game
servers, or remote desktop connections, would remain inaccessible from the outside world.
ADVANTAGEPRO [Link]
24 | P a g e
Why Port Forwarding is Needed
In most networks, routers use Network Address Translation (NAT) to map private internal
addresses to a single public IP address. While NAT protects internal devices by hiding their
private addresses, it also blocks unsolicited inbound traffic. This creates a challenge when
external users need to connect to a specific service within the private network. Port
forwarding solves this by creating an exception: it tells the router that traffic arriving at a
particular port should be redirected to a chosen device, making controlled external access
possible.
When a packet reaches a router from the Internet, the router examines its destination IP
address and port number. Normally, traffic is only forwarded if it matches an existing session
initiated by an internal host. However, with port forwarding configured, the router is
instructed to map incoming traffic on a specific port—such as TCP port 80 for web traffic or
TCP port 22 for SSH—to an internal IP address running that service. For example, if a
company hosts a web server internally, the router can be set to forward all requests arriving
on port 80 at the public IP to the private IP of the server, ensuring users outside the network
can reach the hosted website.
Port forwarding is widely used in networking scenarios. For home users, it allows online
gaming, peer-to-peer applications, or hosting small personal servers to work properly. In
business environments, it enables remote workers to access internal services like file servers,
email servers, or remote desktop sessions. Another common use is granting access to Internet
of Things (IoT) devices such as security cameras, allowing them to be monitored from
outside the local network. By designating ports for these services, administrators provide
connectivity while still maintaining control over which resources are exposed.
Security Considerations
While port forwarding is powerful, it also introduces risks. By exposing an internal system to
the internet, administrators open a potential doorway for attackers. Poorly configured port
forwarding or forwarding unnecessary services can leave networks vulnerable to scanning,
brute force attacks, or malware. Best practices include forwarding only the ports that are
strictly required, using strong authentication methods, and combining port forwarding with
firewalls and intrusion detection systems. Many modern routers also support “port
ADVANTAGEPRO [Link]
25 | P a g e
triggering,” which only opens a port temporarily when a specific outgoing request is made,
reducing exposure to constant threats.
Small Office/Home Office (SOHO) routers are compact, all-in-one devices designed to
provide essential networking features in environments with limited users and resources.
Unlike enterprise-grade routers that separate roles across multiple devices, a SOHO router
integrates routing, switching, wireless access, and security into a single unit. These devices
act as the central hub of the network, ensuring both connectivity to the internet and
communication among local devices.
On the outside, a typical SOHO router includes several important components. The front
panel often contains indicator lights showing the status of power, internet connectivity, wired
Ethernet activity, and wireless signal. The rear panel houses the ports: one Wide Area
Network (WAN) port that connects to the modem or internet service provider (ISP), and
multiple Local Area Network (LAN) ports that provide wired connections to computers,
printers, or other devices. Many models also feature USB ports, which can be used for
connecting external storage or printers, enabling sharing across the network. The antennas,
either fixed or detachable, provide wireless coverage throughout the small office or home.
The WAN port is a critical component of a SOHO router, linking the internal private network
to the external internet. It typically uses an Ethernet connection to connect with the ISP’s
modem. The router assigns private IP addresses to internal devices while managing
communication through NAT (Network Address Translation), ensuring that multiple devices
can share a single public IP address. This port is also where most inbound and outbound
security rules are applied, protecting internal systems from unauthorised access.
LAN ports are responsible for providing wired connectivity inside the SOHO environment.
They allow multiple devices to be connected with Ethernet cables, forming the foundation of
ADVANTAGEPRO [Link]
26 | P a g e
the local network. Through these ports, the router can act as a switch, forwarding traffic
between devices efficiently. Wired connections are still preferred in many offices for their
stability and higher speeds compared to wireless, making LAN ports a vital feature for file
transfers, gaming, or video conferencing.
A defining feature of most modern SOHO routers is the built-in wireless access point. This
functionality allows wireless devices such as laptops, tablets, and smartphones to join the
network without cables. The router broadcasts one or more wireless networks, typically using
standards like Wi-Fi 5 (802.11ac) or Wi-Fi 6 (802.11ax). Some routers support dual-band or
even tri-band operation, allowing them to provide connections on multiple frequency ranges
(2.4 GHz and 5 GHz) for better performance and reduced interference. Security features such
as WPA3 encryption help protect wireless traffic from unauthorised access.
Beyond routing and switching, SOHO routers also integrate firewall capabilities. These
firewalls use packet filtering, stateful inspection, and sometimes intrusion detection features
to safeguard internal devices from external threats. Many routers include options for content
filtering, parental controls, and guest networks to enhance security. Some advanced models
even include VPN support, allowing remote users to securely connect to the private network
over the internet.
Recent SOHO routers go beyond traditional routing and wireless features. Many support
Quality of Service (QoS) to prioritise certain types of traffic, such as video conferencing or
online gaming. Mesh networking support is also becoming common, allowing multiple
routers or nodes to extend Wi-Fi coverage seamlessly across a larger home or office. Cloud
integration enables remote management, firmware updates, and monitoring from anywhere
with internet access.
ADVANTAGEPRO [Link]
27 | P a g e
SOHO vs Enterprise
Introduction
Networking devices may appear similar across different environments, but the requirements
of a small office/home office (SOHO) network differ drastically from those of a large
enterprise. While a SOHO network typically supports only a handful of users and devices,
enterprise networks are designed to handle thousands of users, servers, and applications with
high performance, security, and scalability. Understanding these differences is essential for
network technicians, as the design, hardware, and management approach for each
environment vary significantly.
A SOHO network is small in scale, often limited to a few rooms or a building such as a home
or a small office. It usually supports fewer than 20 users and relies on consumer-grade
networking equipment. In contrast, an enterprise network spans large offices, multiple
buildings, or even global sites. Enterprises may need to interconnect branch offices, data
centres, and remote workers while managing thousands of concurrent connections across
wired and wireless infrastructure.
SOHO networks generally use all-in-one devices such as wireless routers that combine
routing, switching, wireless access, and firewall functions into a single box. These devices
are inexpensive and easy to set up, but lack advanced capabilities. Enterprise networks, on
the other hand, separate these roles into dedicated hardware: core routers, distribution
switches, access layer switches, standalone firewalls, and dedicated wireless controllers. This
modular approach allows for greater performance, redundancy, and scalability.
For a SOHO environment, performance is measured by the ability to support everyday tasks
like browsing, streaming, video conferencing, and light file sharing. Outages or downtime are
inconvenient but not typically catastrophic. Enterprises, however, require high reliability
and uptime, often measured in terms of Service Level Agreements (SLAs). Enterprise
devices are designed with redundant power supplies, failover capabilities, load balancing, and
fault-tolerant architectures to minimise downtime and ensure business continuity.
ADVANTAGEPRO [Link]
28 | P a g e
Security Considerations
Security in SOHO networks is usually basic: WPA2/WPA3 encryption for Wi-Fi, simple
firewall rules, and perhaps a guest network. While these protections are sufficient for homes
or small offices, they are inadequate for enterprises. Enterprise networks implement multi-
layered security, including intrusion detection and prevention systems (IDS/IPS), next-
generation firewalls, access control lists, VLAN segmentation, and advanced endpoint
monitoring. Enterprises also enforce strict authentication methods like RADIUS or
TACACS+ for centralised control.
Cost is another key differentiator. SOHO networks are designed to be cost-effective, with
routers and switches available at consumer-level prices. Enterprises, however, invest heavily
in robust hardware, software licensing, dedicated IT staff, and vendor support contracts. The
higher cost reflects the need for reliability, scalability, and long-term growth.
SOHO networks are not typically built with future growth in mind. If more users or devices
are added, performance may degrade, and upgrading often means replacing the entire router
or access point. Enterprise networks, however, are designed for scalability, with modular
switches, expandable chassis, and layered architectures that can grow alongside the
organisation’s needs.
ADVANTAGEPRO [Link]
29 | P a g e
First Hop Redundancy Protocol (FHRP)
Introduction
In a typical network, client devices such as PCs, printers, and IP phones rely on a default
gateway (usually a router) to send traffic outside their local subnet. If that gateway fails, all
communication beyond the local network stops, creating a single point of failure. To prevent
this, enterprise networks use First Hop Redundancy Protocols (FHRPs), which provide
redundancy and failover for the default gateway function. FHRPs ensure that if one router
becomes unavailable, another can immediately take over without disrupting network
connectivity for end users.
When client devices are configured with only one gateway IP address, they cannot
automatically switch to a backup router if the primary one fails. Unlike DNS servers, where
you can specify multiple addresses, the default gateway is typically a single IP address. This
limitation makes networks vulnerable to outages caused by hardware failures, software
crashes, or maintenance on the gateway router.
FHRPs address this issue by creating a virtual IP address that represents the default gateway
for the clients. Multiple routers share responsibility for this virtual IP. One router actively
forwards traffic (the "active" or "master"), while others remain on standby. If the active
router fails, one of the standby routers takes over the virtual IP and continues forwarding
traffic. This process is seamless for end devices, which remain unaware of the change.
Types of FHRP
There are several widely used FHRPs, each with its characteristics:
ADVANTAGEPRO [Link]
30 | P a g e
GLBP (Gateway Load Balancing Protocol) – Another Cisco-proprietary protocol,
but unlike HSRP and VRRP, GLBP not only provides redundancy but also load
balancing. Multiple routers can actively forward traffic simultaneously, distributing
the load among them.
In FHRPs, routers use election mechanisms to determine which one will serve as the active or
master gateway. For example, HSRP uses priority values, where the router with the highest
priority becomes active. If that router fails, the next highest priority router takes over. This
failover process is typically fast enough that users do not notice any service interruption.
Practical Example
Imagine an office with two routers, Router A and Router B. Without FHRP, if Router A (the
configured gateway) fails, all users lose connectivity outside their subnet. With FHRP (say,
HSRP), both routers share a virtual IP address, such as [Link]. Router A is the active
gateway, and Router B is in standby. If Router A fails, Router B automatically takes over the
virtual IP and forwards traffic. The clients still point to [Link] as their gateway, so they
remain connected without needing manual reconfiguration.
For SOHO networks, a single router may be enough, but in enterprise environments where
downtime can cause significant losses, FHRPs are critical. They provide not only fault
tolerance but also high availability, ensuring that business applications, VoIP phones, and
critical services remain online even during device failures or maintenance.
Chapter-8
ADVANTAGEPRO [Link]
31 | P a g e
TCP and UDP
Introduction
Every communication that happens across a network must follow a set of rules called
protocols. At the transport layer of the OSI model (and Layer 4 in the TCP/IP model), two
major protocols dominate: Transmission Control Protocol (TCP) and User Datagram
Protocol (UDP). Both are used to deliver data between applications on different devices, but
they function very differently depending on the requirements of the application.
Because of these reliability mechanisms, TCP is considered heavier than UDP and can be
slightly slower, but it ensures that no data is lost or corrupted during transmission.
UDP, in contrast, is a connectionless protocol. It does not establish a session before sending
data, and it does not provide acknowledgements, retransmissions, or guaranteed ordering.
Data is simply sent as datagrams, and if they are lost or arrive out of order, the application
has to deal with it—or ignore it.
UDP is much faster and more efficient than TCP because it has far less overhead. It is
commonly used in applications where speed and efficiency matter more than perfect
reliability. Examples include video streaming, online gaming, voice-over-IP (VoIP), DNS
queries, and DHCP. In these cases, occasional data loss is acceptable and often imperceptible
to users.
Imagine you are downloading a software update over HTTP (which uses TCP). If even a
small part of the update is missing or corrupted, the file won’t work. TCP ensures that every
bit arrives in perfect order.
ADVANTAGEPRO [Link]
32 | P a g e
Now imagine a live football match streamed over the internet (which often uses UDP). If one
packet is lost, the video might freeze for a fraction of a second or skip a frame, but the stream
continues without noticeable interruption. Speed is more important than perfect accuracy.
DNS resolution
DHCP services
VoIP and video conferencing
Online gaming
Streaming media
In computer networks, the way data flows between devices is often referred to as traffic.
Understanding traffic types is essential for managing network performance, ensuring efficient
bandwidth usage, and designing networks that meet the needs of different applications.
Traffic types describe how many devices are involved in communication and how data is
distributed to recipients. The three fundamental traffic types are unicast, broadcast, and
multicast, with anycast playing a specialised role in modern networking.
Unicast Traffic
Unicast is the most common type of network traffic, where data is sent from a single source
to a single destination. Each packet carries a unique destination address, ensuring that the
communication is direct and private. Most everyday applications use unicast, such as web
browsing, email, or file transfers.
For example, when you request a webpage from a server, the server responds only to your
device’s IP address. Unicast is efficient when there are few receivers, but when many clients
request the same data (like a large file download), it can consume a lot of bandwidth since the
server must send multiple copies of the same data.
ADVANTAGEPRO [Link]
33 | P a g e
Broadcast Traffic
Broadcast traffic occurs when data is sent from a single source to all devices on a network
segment. In IPv4 networks, this is typically done using a broadcast address (such as
[Link] or a subnet-specific broadcast). Every device on that subnet processes the
broadcast, even if the message is not directly relevant to it.
Broadcasts are useful for tasks such as ARP requests, DHCP discovery, or other services
where a device needs to announce or discover information on the local network. However,
excessive broadcast traffic can lead to a problem known as a broadcast storm, which can
degrade network performance. For this reason, large networks often segment traffic with
switches, routers, or VLANs to limit broadcast domains.
Multicast Traffic
Multicast traffic sits between unicast and broadcast. It allows a source to send data to a
group of specific recipients rather than to just one (unicast) or everyone (broadcast).
Devices interested in receiving multicast traffic join a multicast group identified by special
IP addresses (in IPv4, addresses from [Link] to [Link]).
This method is highly efficient for applications where multiple users need the same data
simultaneously, such as video conferencing, IPTV, or online streaming events. Instead of
sending separate copies to each user, the source sends one stream, and the network
infrastructure ensures that only group members receive it.
Anycast Traffic
Anycast is a more modern traffic type, primarily used in IPv6 but also implemented in IPv4.
In anycast, data is sent from a source to the nearest node in a group of potential receivers,
based on routing metrics. This is extremely useful for services like Content Delivery
Networks (CDNs) or DNS root servers, where the goal is to direct users to the closest or
fastest responding server.
For example, when you try to access a website hosted on a global CDN, your request is
routed to the geographically closest server using anycast addressing, reducing latency and
improving performance.
ADVANTAGEPRO [Link]
34 | P a g e
Handy Tools
Introduction
Networking professionals often rely on a variety of handy tools to install, test, and maintain
cabling systems. These tools are essential not only for building networks but also for
diagnosing problems when things go wrong. A strong understanding of these tools ensures
that technicians can work efficiently, avoid mistakes, and maintain high-quality standards in
cabling and connectivity.
Cable Crimper
One of the most common tools in a network technician’s toolkit is the crimper. A crimper is
used to attach modular connectors, such as RJ-45 plugs, to the ends of Ethernet cables. By
stripping the cable, arranging the wires in the correct pinout order (such as T568A or T568B),
and using the crimper to press the connector pins into the wires, a technician can create a
custom patch cable on-site. A good crimper provides a solid, reliable connection and helps
avoid issues such as loose connections or cross-talk.
Punch-Down Tool
A punch-down tool is another essential item, primarily used when connecting cables to patch
panels or keystone jacks. This tool pushes individual wires into insulation-displacement
connectors (IDC), ensuring a secure and clean connection. The punch-down tool not only
locks the wire in place but also trims away the excess copper, leaving a neat and organised
finish. In structured cabling systems, punch-down tools are indispensable.
Cable Tester
A cable tester is critical for verifying the integrity of a network cable after it has been
created or installed. A basic cable tester checks continuity, making sure that each wire in the
cable is connected properly from end to end. Advanced testers can also check for wiring
faults, miswires, split pairs, and even measure cable length. Using a tester ensures that a cable
is working correctly before it is deployed in the network, reducing troubleshooting time later.
The toner and probe kit is used for tracing cables in complex environments, such as when
multiple cables are bundled together in a wall or ceiling. The toner sends an electrical signal
through the cable, and the probe allows the technician to detect that signal and identify the
ADVANTAGEPRO [Link]
35 | P a g e
exact cable. This tool is especially helpful in large installations where cables are not labelled
or where documentation is missing.
Loopback Plug
A loopback plug is a small diagnostic device used for testing ports on a computer or network
device. When plugged into a port, it loops the outgoing signal back into the input, allowing
the technician to verify that the port is functioning correctly. Loopback plugs are often used
for testing serial, Ethernet, or fibre connections in troubleshooting scenarios.
Multimeter
A multimeter is a versatile electrical testing tool that measures voltage, current, and
resistance. In networking, a multimeter can help identify power issues in cabling, check for
short circuits, or verify proper grounding. For Power over Ethernet (PoE) setups, a
multimeter can be used to confirm that the correct voltage is being delivered to powered
devices.
Securing E-mail
Introduction
E-mail remains one of the most widely used communication tools in both personal and
professional settings, but it is also one of the most common targets for cyberattacks. Because
e-mail messages travel across multiple servers and networks before reaching their destination,
they are vulnerable to interception, tampering, and impersonation. Securing email is therefore
a critical aspect of network security, ensuring the confidentiality, integrity, and authenticity
of communication.
Threats to E-mail
Before exploring security measures, it is important to understand the threats that make e-mail
vulnerable. Attackers often use techniques such as phishing, where fake e-mails trick users
into revealing sensitive information, or spoofing, where an attacker forges the sender’s
address to make a message appear legitimate. Malware and ransomware are also commonly
delivered through malicious attachments or embedded links in e-mails. Without proper
security, these threats can compromise not only individual users but also entire organisations.
ADVANTAGEPRO [Link]
36 | P a g e
Encryption for Confidentiality
One of the most effective ways to secure email communication is through encryption.
Encryption ensures that even if a message is intercepted during transmission, its contents
remain unreadable to unauthorised parties. Two common approaches to e-mail encryption are
S/MIME (Secure/Multipurpose Internet Mail Extensions) and PGP (Pretty Good
Privacy). S/MIME uses digital certificates to encrypt and sign messages, while PGP relies on
a web-of-trust model for sharing public keys. Both methods provide strong protection for
sensitive e-mails, making encryption an essential security layer.
Another vital component of e-mail security is the use of digital signatures. A digital
signature verifies that the e-mail truly came from the claimed sender and that its contents
have not been altered in transit. This is achieved by using cryptographic hashing combined
with the sender’s private key. The recipient can then validate the signature using the sender’s
public key. This process not only authenticates the sender but also maintains message
integrity, protecting against tampering.
The protocols used to send and receive e-mails also play a role in securing communication.
Traditional e-mail protocols like SMTP, POP3, and IMAP were not designed with security
in mind, but modern implementations include support for encryption through STARTTLS
and SSL/TLS. By securing these protocols, data exchanged between clients and mail servers
remains encrypted during transmission, reducing the risk of interception. Additionally,
mechanisms such as DKIM (DomainKeys Identified Mail), SPF (Sender Policy
Framework), and DMARC (Domain-based Message Authentication, Reporting, and
Conformance) help prevent e-mail spoofing and phishing by validating the sender’s domain.
E-mail security is not just about encryption and authentication—it also involves filtering
unwanted or dangerous content. Modern e-mail systems integrate spam filters that detect and
block unsolicited messages, as well as anti-malware scanners that analyse attachments and
links for harmful software. These filters reduce the likelihood of users accidentally opening
dangerous e-mails and help organisations maintain a cleaner inbox environment.
ADVANTAGEPRO [Link]
37 | P a g e
User Awareness and Policies
Technology alone cannot completely secure e-mail; human factors play a significant role.
Training users to recognise phishing attempts, avoid clicking suspicious links, and report
unusual e-mails is critical in reducing risks. Organisations should also implement security
policies that define best practices, such as avoiding personal use of company e-mail systems,
enforcing strong password policies, and requiring multi-factor authentication for e-mail
access.
In modern networking, different services operate behind the scenes to make communication
seamless, secure, and reliable. These services range from name resolution to file sharing and
authentication, and they form the backbone of everyday operations in both small offices and
enterprise environments. To better understand how these services function, it is useful to
explore real-world scenarios that illustrate their importance.
Imagine a user opening a web browser and typing [Link]. The user does not need
to remember the server’s IP address because the Domain Name System (DNS) automatically
translates the name into the correct numeric address. Without DNS, navigating the internet
would be impractical. In a troubleshooting scenario, if a user can ping an IP address but
cannot reach a website by name, it usually indicates a DNS issue. This shows how DNS plays
a central role in everyday connectivity.
In a busy office where dozens of devices connect daily, manually assigning IP addresses
would be both time-consuming and prone to errors. Here, the Dynamic Host Configuration
Protocol (DHCP) automates the process. The moment a device joins the network, it requests
an address from the DHCP server, which responds with an IP, subnet mask, default gateway,
and DNS information. A common troubleshooting scenario arises when the DHCP server is
down—devices may then display an address beginning with 169.254.x.x, an Automatic
Private IP Address (APIPA), indicating that they cannot reach the DHCP service.
ADVANTAGEPRO [Link]
38 | P a g e
File Sharing and Print Services
In another scenario, a business relies on both web servers to host its public-facing site and
mail servers to handle communication. Web servers use HTTP or HTTPS to deliver content,
while mail servers operate using SMTP, IMAP, or POP3. If the web service fails, customers
cannot reach the company’s site; if the mail service fails, communication breaks down
internally and externally. These scenarios demonstrate how dependent organisations are on
service availability.
For organisations that support remote workers, services like VPN (Virtual Private Network)
and RDP (Remote Desktop Protocol) are vital. A scenario here would be an employee
connecting securely to the office network from home. The VPN encrypts the traffic, ensuring
confidentiality even over public Wi-Fi. If the VPN service is misconfigured or unavailable,
employees may be unable to access corporate resources, which directly impacts productivity.
ADVANTAGEPRO [Link]
39 | P a g e
Chapter-9
Applying DNS
Introduction
The Domain Name System (DNS) is one of the most critical services in any modern network.
Without it, users would need to remember and enter numerical IP addresses to access
websites and resources. Applying DNS in real-world networks involves configuring servers,
managing records, and troubleshooting name resolution issues. Understanding how DNS is
applied ensures smooth connectivity and efficient communication across the internet and
private networks.
Whenever a user types a website address into a browser, DNS automatically translates the
human-readable name into the numerical IP address of the server hosting that website. For
example, when accessing [Link], DNS resolves it to something like [Link].
This process happens behind the scenes, often so quickly that users don’t even realise how
critical DNS is for their online experience.
In practical scenarios, devices need to know which DNS server to query. This information is
usually provided automatically by DHCP when a device joins a network, but it can also be
configured manually. For instance, an administrator may assign Google’s public DNS
([Link]) or Cloudflare’s DNS ([Link]) to improve reliability and speed. In enterprise
environments, clients are typically pointed to internal DNS servers that can resolve both
Internet names and internal hostnames.
Organisations often maintain their own DNS servers to manage internal resources. For
example, a company may configure a DNS server so that [Link]
resolves to the correct internal IP. This allows users to access resources with easy-to-
remember names rather than IP addresses. Configuring DNS servers involves setting up
zones and records such as:
ADVANTAGEPRO [Link]
40 | P a g e
A records for mapping names to IPv4 addresses
AAAA records for IPv6 addresses
MX records for mail servers
CNAME records for aliases
Correctly applying these records ensures that services remain discoverable and accessible.
When a DNS client makes a query, the server may act recursively, searching through the
DNS hierarchy until it finds the correct answer. For instance, a recursive resolver may query
root servers, top-level domain (TLD) servers, and authoritative servers to finally resolve a
name. On the other hand, authoritative servers directly store and provide answers for their
domain. Applying DNS effectively requires understanding which servers in the chain provide
which role.
When DNS issues occur, users may experience delays, failures to reach websites, or errors
such as “host not found.” Applying DNS knowledge in troubleshooting involves using tools
like nslookup, dig, or ping to confirm name resolution. For example, if nslookup
[Link] fails but the IP address responds to ping, this indicates a DNS issue.
Administrators may need to flush DNS caches, verify record accuracy, or check whether
servers are reachable.
Securing DNS
Applying DNS also requires considering security. Attackers can exploit DNS for phishing,
spoofing, or redirecting traffic. Implementing DNSSEC (DNS Security Extensions) helps
validate DNS responses with cryptographic signatures, ensuring data integrity. In enterprise
environments, administrators may also use filtering DNS services that block malicious
domains, applying DNS not just for functionality but also for protection.
Troubleshooting DNS
Introduction
DNS problems are some of the most frustrating issues in networking because they can make
it seem like the entire internet is down when, in reality, only name resolution is failing.
ADVANTAGEPRO [Link]
41 | P a g e
Troubleshooting DNS requires a systematic approach to identify whether the issue lies with
the client, the network, or the DNS server itself.
When DNS is not functioning correctly, users may notice specific problems. Websites may
load slowly or fail to load altogether, even though other services such as email or file sharing
are working. Errors like “server not found,” “host unreachable,” or
“DNS_PROBE_FINISHED_BAD_CONFIG” often indicate that name resolution has failed.
Sometimes, accessing a site by IP address works, while using its domain name does not — a
classic sign of DNS trouble.
The first step in troubleshooting DNS is to ensure the client has the correct settings. If a
device is using the wrong DNS server, resolution will fail. Administrators can verify this by
checking the TCP/IP configuration on the device. For example, if the DNS server is set to an
internal IP that is no longer active, the client will be unable to resolve names. Testing with a
public DNS server such as Google’s [Link] can quickly confirm whether the issue is
server-related or local.
Modern operating systems store DNS results in a local cache to speed up browsing.
Sometimes, this cache becomes corrupted or outdated, leading to resolution errors. Clearing
the cache often resolves the problem. On Windows, the command ipconfig /flushdns
removes cached entries, while on Linux and macOS, services like systemd-resolved or
nscd may need to be restarted. Flushing the cache ensures that the client queries the server
for fresh records.
Administrators often use tools like nslookup, dig, or ping to test DNS resolution. For
instance, running nslookup [Link] should return the corresponding IP address.
If it does not, the tool’s output usually indicates whether the failure happened at the client or
the DNS server. Dig provides detailed query information, including which servers were
contacted and how long the process took. These tools are invaluable for diagnosing where the
breakdown occurs.
ADVANTAGEPRO [Link]
42 | P a g e
Verifying DNS Server Health
If multiple clients report DNS failures, the issue may lie with the DNS server itself.
Administrators should verify that the server service is running, that it has valid forwarders to
the internet, and that its zone files are intact. Sometimes, a misconfigured zone record causes
failures for specific domains. For example, an incorrect A record entry may resolve a
hostname to the wrong IP, preventing proper communication.
Sometimes DNS failures are not caused by DNS servers at all but by network connectivity
problems. If a client cannot reach the DNS server due to firewall rules, misconfigured
routers, or ISP outages, resolution will fail. Testing basic connectivity with ping or
traceroute to the DNS server can help identify these underlying problems.
DNS can also be affected by malicious activities. Cache poisoning, spoofing, or DNS
hijacking can cause clients to be redirected to incorrect or dangerous sites. In these cases,
administrators should verify DNS integrity using DNSSEC or trusted DNS providers.
Sometimes, security software or filtering DNS services may also block domains, making it
seem like a DNS issue when, in fact, it is a policy restriction.
ADVANTAGEPRO [Link]
43 | P a g e
Chapter-10
The TCP/IP protocol suite was originally designed for communication and connectivity
rather than security. As a result, many of its core protocols, such as IP, TCP, and UDP, lack
built-in mechanisms to protect data against eavesdropping, tampering, or spoofing. To make
modern networks safe, administrators must apply security mechanisms at various layers of
the TCP/IP stack.
Because TCP/IP is the foundation of internet communication, attackers frequently target its
vulnerabilities. Issues such as IP spoofing, session hijacking, and man-in-the-middle attacks
highlight the risks of unprotected communication. Without safeguards, sensitive data such as
passwords, credit card details, and business communications can easily be intercepted.
Strengthening TCP/IP ensures the confidentiality, integrity, and availability of data.
One of the most effective ways to secure TCP/IP is through the use of IP Security (IPSec).
IPSec is a suite of protocols that provides encryption, authentication, and integrity for IP
packets. It works in two main modes: Transport mode, which encrypts only the data
payload, and Tunnel mode, which encrypts the entire packet. IPSec is widely used in
Virtual Private Networks (VPNs) to protect traffic over untrusted networks like the
Internet.
While IPSec secures communication at the IP layer, other protocols protect data at higher
layers. The most important is Transport Layer Security (TLS), which provides end-to-end
encryption for applications like HTTPS, email (IMAPS, SMTPS), and messaging. TLS
ensures that even if packets are intercepted, the data inside cannot be read without the proper
encryption keys.
ADVANTAGEPRO [Link]
44 | P a g e
Authentication and Access Controls
Another vital aspect of securing TCP/IP communication is making sure that only authorised
users and systems can access resources. Protocols such as Kerberos, RADIUS, and
TACACS+ provide centralised authentication and authorisation for network devices and
users. Strong authentication prevents unauthorised access and reduces the chance of
credential theft or replay attacks.
TCP/IP traffic must also be regulated to prevent malicious activity. Firewalls enforce
security policies by filtering packets based on IP addresses, ports, and protocols. For
example, an administrator might block inbound traffic on certain ports to protect against
attacks, while allowing only trusted IPs to access sensitive services. Stateful firewalls take
this further by tracking active sessions to prevent spoofed packets from entering the network.
Since TCP/IP relies heavily on DNS, securing DNS queries is essential. Attackers may
exploit vulnerabilities in DNS to redirect traffic or inject malicious responses. DNS Security
Extensions (DNSSEC) provide digital signatures that validate DNS responses, ensuring
authenticity. Additionally, encrypted DNS options such as DoH (DNS over HTTPS) and
DoT (DNS over TLS) are becoming more common for securing name resolution.
Even with preventive measures, threats may still penetrate the network. Tools such as
Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS) analyse
TCP/IP traffic patterns to detect suspicious activities like port scans, DDoS attempts, or
unusual traffic spikes. These tools act as an additional layer of defence, complementing
encryption and authentication mechanisms.
Identification
Introduction
In networking, identification refers to the process of recognising and verifying entities such
as devices, users, and services before communication takes place. Every element on a TCP/IP
network must have a unique identifier to ensure that information is delivered accurately and
securely. Identification is the foundation for authentication, authorisation, and accountability.
ADVANTAGEPRO [Link]
45 | P a g e
Host and Device Identification
The most basic form of identification in TCP/IP networks is the IP address. Each device on a
network requires a unique IP address to send and receive data. Alongside IP addresses,
devices also have MAC (Media Access Control) addresses, which serve as permanent
hardware identifiers at the data link layer. While an IP address may change depending on the
network, the MAC address remains tied to the physical network interface card.
User Identification
Beyond devices, networks must also identify users. This is typically accomplished through
usernames, account IDs, or digital certificates. When a user logs into a system, the
username is the identifier, while the password or other credentials serve to authenticate the
claim. Strong identification of users is critical to enforcing access controls and ensuring
accountability.
Identification is not limited to devices and users; it also applies to processes and services.
Applications on a network are identified by port numbers. For example, HTTP traffic uses
port 80, HTTPS uses port 443, and DNS uses port 53. This allows TCP/IP to distinguish
between different types of traffic on the same device.
While IP addresses serve as numerical identifiers, they are not human-friendly. To make
identification easier, networks rely on the Domain Name System (DNS). Domain names like
[Link] provide an easily remembered identifier that maps to an underlying IP
address. This form of identification improves usability and consistency for both users and
applications.
Identification in Security
In security contexts, identification plays a crucial role in verifying trust. Protocols such as
Kerberos or Public Key Infrastructure (PKI) depend on clear identification before
authentication can occur. For example, a server’s digital certificate identifies it uniquely
during an HTTPS session, assuring users that they are communicating with the correct host
and not an imposter.
ADVANTAGEPRO [Link]
46 | P a g e
Access Control
Introduction
Access control is the process of determining who or what can access specific resources in a
network and under what conditions. It provides a mechanism to protect sensitive information
and systems from unauthorised use while ensuring legitimate users can perform their tasks
effectively. In networking, access control operates at different layers—controlling both who
is allowed on the network and what they are allowed to do once connected.
Access control begins with identification, where a user or device presents a unique identifier
such as a username, smart card, or digital certificate. This is followed by authentication,
where the entity proves its identity, typically through passwords, biometrics, tokens, or multi-
factor authentication (MFA). Without reliable identification and authentication, access
control cannot function effectively.
Authorization
Once identity is verified, the system applies authorisation rules to determine what actions
the user or device is permitted to perform. Authorisation may restrict access to files, network
segments, applications, or administrative functions. For example, a network administrator
may have full access to router configurations, while a regular employee may only access
shared files within their department.
ADVANTAGEPRO [Link]
47 | P a g e
Discretionary Access Control (DAC): Resource owners decide who can access their
resources. For example, a file owner may grant read or write permissions.
Mandatory Access Control (MAC): Access decisions are based on fixed policies,
often used in military or government systems, where classification levels (e.g.,
confidential, secret, top secret) dictate permissions.
Role-Based Access Control (RBAC): Permissions are assigned to roles rather than
individuals. A user inherits permissions by being assigned to a role, such as
“Manager” or “Technician.”
Attribute-Based Access Control (ABAC): Uses attributes (such as user department,
time of day, or location) to decide access dynamically.
In networking, NAC solutions enforce policies to ensure that only compliant and trusted
devices can connect. For instance, a laptop may be denied access if it does not have updated
antivirus software. NAC systems integrate with switches, firewalls, and wireless access
points to enforce rules at the network edge.
Access control is not limited to logical networks; it also extends to physical access. Physical
access control includes mechanisms like security badges, biometric scanners, and keycards
that limit who can enter data centres or equipment rooms. Logical access control, on the other
hand, governs access to digital resources such as servers, applications, and databases. Both
are essential to securing an enterprise environment.
Access control is typically defined in security policies, which outline user rights, restrictions,
and responsibilities. Enforcement mechanisms such as Active Directory, RADIUS, or
TACACS+ servers centralise authentication and authorisation. Logs and audits ensure
compliance and help in investigating suspicious activity.
Single Sign-On (SSO) is an authentication method that allows a user to log in once with a
single set of credentials and gain access to multiple applications or services without being
prompted to log in again. Instead of managing separate usernames and passwords for every
ADVANTAGEPRO [Link]
48 | P a g e
system, users authenticate just once, and that identity is trusted across all authorised
resources.
SSO relies on a centralised identity provider (IdP) that authenticates the user and then
shares that authentication information with other systems, called service providers (SPs).
The process typically uses tokens or assertions rather than re-entering passwords:
1. The user logs into the SSO portal or IdP with valid credentials.
2. The IdP verifies the identity and issues an authentication token.
3. When the user tries to access another service, the SP trusts the token from the IdP.
4. The user gains access without needing to log in again.
Protocols like SAML (Security Assertion Markup Language), OAuth 2.0, and OpenID
Connect (OIDC) are commonly used to enable this exchange.
Benefits of SSO
Security Considerations
While SSO improves usability, it also introduces certain risks. If an attacker compromises a
user’s SSO credentials, they potentially gain access to all linked systems. To mitigate this,
ADVANTAGEPRO [Link]
49 | P a g e
organisations often combine SSO with Multi-Factor Authentication (MFA), requiring an
additional factor like a code, token, or biometric confirmation. Monitoring, logging, and
anomaly detection are also crucial in strengthening SSO implementations.
Chapter-10
Cisco Commands in Switch Features
Introduction
Cisco switches are widely used in enterprise and campus networks because of their reliability,
scalability, and advanced feature set. To manage these devices effectively, network
administrators rely on Cisco’s Internetwork Operating System (IOS) commands.
Understanding switch-specific commands is crucial for configuring, monitoring, and
troubleshooting network environments.
Switch configuration begins by connecting to the device through the console port or via SSH
if remote access is enabled. Once connected, the administrator enters user EXEC mode and
then elevates privileges to privileged EXEC mode using the enable command. From there,
commands can be issued to configure switch features, view status, or make changes to the
running configuration.
After gaining access, some of the first tasks involve assigning hostnames, securing access,
and configuring IP settings for management. For example, hostname Switch1 renames the
device, while configuring a VLAN interface with interface vlan 1 followed by ip
ADVANTAGEPRO [Link]
50 | P a g e
address <IP> <mask> and no shutdown gives the switch network connectivity for remote
administration.
One of the core features of switches is the ability to create and manage VLANs (Virtual
LANs). VLANs logically segment networks, improving performance and security.
Commands like vlan 10 followed by name HR create a new VLAN, while switchport mode
access and switchport access vlan 10 assign a port to that VLAN. Administrators can
verify VLANs with show vlan brief.
When switches connect or routers, trunking is used to carry multiple VLANs across a single
physical link. The command switchport mode trunk enables trunking, and administrators
often specify allowed VLANs with switchport trunk allowed vlan 10,20,30. This
ensures efficient and secure transport of tagged traffic between devices.
Cisco switches implement Spanning Tree Protocol (STP) to prevent loops in redundant
topologies. Commands like spanning-tree vlan 1 priority 4096 allow network
administrators to influence root bridge selection, while show spanning-tree displays the
current STP status. These commands are critical in ensuring a loop-free, resilient switching
environment.
Port Security
Port security is another powerful switch feature that helps prevent unauthorised devices from
connecting to the network. By using commands such as switchport port-security and
switchport port-security maximum 2, administrators can restrict the number of MAC
addresses learned on a port. Violations can trigger actions like shutting down the port or
sending alerts.
Cisco switches offer a wide range of monitoring tools. The show family of commands, such
as show mac address-table, show interfaces status, and show running-config,
ADVANTAGEPRO [Link]
51 | P a g e
provides insights into the switch’s operation. For troubleshooting, commands like ping,
traceroute, and debug help administrators identify and resolve connectivity issues quickly.
Once configuration changes are made, they can be stored with the copy running-config
startup-config to ensure persistence after a reboot. Administrators can also erase settings
using erase startup-config and reload the switch for a fresh setup. These commands are
fundamental to managing switch lifecycle operations.
Switch ports are the primary access points through which end devices such as computers,
printers, and IP phones connect to the network. While these ports are essential for
connectivity, they also represent potential entry points for unauthorised access,
misconfigurations, or malicious activity. To address this, modern switches offer several port
protection features designed to control access, limit risks, and maintain the stability of the
local area network (LAN).
In an enterprise or even a small office network, any open switch port can be exploited. For
example, an employee might connect a personal device without permission, or an attacker
could connect a rogue switch, potentially leading to unauthorised access or network loops.
Protecting switch ports ensures that only trusted devices communicate on the network and
that faults are contained before they spread.
Port Security
One of the most common protection mechanisms is Port Security, which restricts how many
and which devices can connect to a specific switch port. By binding a port to a certain
number of MAC addresses, administrators can prevent unauthorised devices from joining. If
a violation occurs—such as a new, unapproved MAC address appearing on the port—the
switch can take action by shutting down the port, dropping traffic, or simply logging the
violation. This offers strong control against unauthorised access.
ADVANTAGEPRO [Link]
52 | P a g e
BPDU Guard and Root Guard
Switch ports can also be protected against misconfigurations and malicious attacks targeting
the Spanning Tree Protocol (STP).
Storm Control
Err-Disable Recovery
When a port violation occurs, many switches place the affected port into an error-disabled
(err-disable) state, effectively shutting it down. While this protects the network,
administrators may configure err-disable recovery so the port automatically attempts to re-
enable after a specific time interval. This balances protection with convenience, preventing
prolonged downtime caused by temporary faults.
Practical Example
Consider a network where each desktop computer is connected to a specific port. By applying
port security, the administrator allows only the known MAC address of that computer to
connect. If another user tries to plug in a personal laptop, the switch detects the violation and
either blocks or shuts down the port. Meanwhile, BPDU Guard ensures that no unauthorised
switches can be connected in place of a computer, thereby maintaining a secure and loop-free
topology.
ADVANTAGEPRO [Link]
53 | P a g e
Port Mirroring
Introduction
Port mirroring is a powerful feature found in managed switches that allows administrators to
copy network traffic from one or more switch ports to another. The destination port, often
referred to as the monitoring port, can then be connected to a network analysis tool,
intrusion detection system, or packet sniffer. This technique enables real-time observation of
traffic without disrupting the original data flow.
The primary goal of port mirroring is to give administrators visibility into what is happening
on the network. When troubleshooting connectivity problems, investigating suspicious
activity, or analysing performance, simply knowing packet counts is not enough—
administrators need to see the actual traffic. Port mirroring provides this visibility by
duplicating the traffic stream to a designated monitoring device.
In a typical scenario, the administrator selects a source port (or multiple ports) whose traffic
should be mirrored. Both incoming and outgoing packets on that port are copied by the
switch and sent to the destination port, where the analysis device is connected. The
destination port does not transmit traffic of its own but acts as a passive listener. This process
ensures that the original communication continues normally, with minimal impact on
performance.
Common Uses
ADVANTAGEPRO [Link]
54 | P a g e
Limitations of Port Mirroring
While port mirroring is useful, it does have limitations. The switch must duplicate traffic in
real time, which can consume processing resources if large amounts of traffic are being
mirrored. On busy networks, this may cause packet drops in the mirrored copy, leading to
incomplete analysis. Additionally, port mirroring is not a substitute for a dedicated network
tap, which offers more reliable, hardware-based monitoring.
Practical Example
Suppose a company’s web server is receiving abnormal traffic and slowing down. By
enabling port mirroring on the switch port connected to the web server, the administrator can
direct a copy of all traffic to a laptop running Wireshark. The mirrored data reveals repeated
requests from a single IP address, helping to identify a possible denial-of-service (DoS)
attack.
The way devices are placed within a network plays a critical role in performance, security,
and manageability. Proper placement ensures that data flows efficiently between devices,
reduces latency, and minimises potential vulnerabilities. Whether deploying in a small
office/home office (SOHO) setup or a large enterprise environment, administrators must
carefully consider where routers, switches, firewalls, servers, and other appliances are located
within the network.
End devices such as desktops, laptops, VoIP phones, and printers are usually connected to
access layer switches. These switches serve as the first point of entry into the wired network,
providing connectivity for users and office equipment. Proper placement ensures that end-
user devices are close to their access points, reducing the length of cabling required and
improving performance. In wireless environments, access points should be strategically
placed to provide overlapping coverage without interference.
Router Placement
Routers are typically placed at the edge of the network, where the internal LAN connects to
an external WAN or the Internet. In SOHO networks, the router often combines multiple
ADVANTAGEPRO [Link]
55 | P a g e
functions (routing, firewalling, DHCP, NAT). In enterprise scenarios, routers may be more
specialised, handling inter-VLAN routing or connecting remote branch offices through WAN
links. Correct placement ensures efficient packet forwarding and prevents bottlenecks.
Switch Placement
Firewall Placement
Firewalls must be placed at strategic choke points in the network where they can inspect and
control traffic. The most common placement is between the internal network and the Internet,
where the firewall enforces policies to block malicious traffic. In more advanced designs,
firewalls may also be placed between internal segments (e.g., between a corporate LAN and a
data centre) to enforce internal segmentation and protect sensitive resources.
Server Placement
Internal servers (such as file servers or domain controllers) are kept within the LAN,
protected by firewalls.
Public-facing servers (such as web servers or email servers) are usually placed in a
demilitarised zone (DMZ), an isolated segment between two firewalls. This
placement allows external clients to access the servers while keeping the internal
network secure.
Access points (APs) should be placed to provide seamless wireless coverage across a
building or campus. They are typically connected back to the access switches. Placement
must account for factors such as physical obstructions, interference from other devices, and
ADVANTAGEPRO [Link]
56 | P a g e
the number of clients expected in a given area. In enterprise environments, a wireless
controller often manages APs for centralised configuration and security.
Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS) must be placed
where they can monitor critical traffic flows. IDS devices are commonly connected via port
mirroring on a switch, while IPS devices are often deployed inline, directly between
segments. Network analysers and monitoring tools should also be strategically placed to
collect performance and security data without creating bottlenecks.
In SOHO networks, device placement is simplified because routers, switches, and firewalls
are often combined into a single device. In contrast, enterprise environments require layered
device placement, with dedicated appliances for each function. This layered placement
ensures scalability, redundancy, and stronger security.
ADVANTAGEPRO [Link]
57 | P a g e
Benefits of CDNs
CDNs provide multiple benefits to both service providers and end users:
A core function of a CDN is caching, where static files such as images, CSS, JavaScript, and
video streams are stored on edge servers. This reduces the number of requests hitting the
origin server and speeds up page load times. Dynamic content may still require
communication with the origin server, but CDNs optimise this process as well by using
techniques like TCP optimisation and compression.
ADVANTAGEPRO [Link]
58 | P a g e
Security Role of CDNs
Modern CDNs are not only about performance but also about network security. They often
act as a first line of defence by absorbing DDoS attacks, filtering malicious traffic, and
providing features such as Web Application Firewalls (WAFs). This helps protect the origin
server while ensuring that legitimate traffic continues to flow without interruption.
A satellite network consists of three main components: the uplink, the satellite itself, and the
downlink. A ground-based station sends a signal (uplink) to the satellite. The satellite, acting
as a repeater, amplifies and redirects the signal to another ground station or directly to user
terminals (downlink). These signals travel long distances, often tens of thousands of
kilometres, introducing unique challenges such as latency.
There are several categories of satellites used in networking, based on their orbits:
Geostationary Orbit (GEO) – Positioned about 35,786 km above the Earth, these
satellites remain fixed relative to a point on the Earth’s surface. They cover a wide
area but introduce high latency (around 600 ms round-trip).
Medium Earth Orbit (MEO) – Located between 2,000 km and 35,000 km, these
satellites provide faster response times than GEO but require a constellation of
multiple satellites to ensure coverage.
Low Earth Orbit (LEO) – Positioned at altitudes from 500 km to 2,000 km, LEO
satellites like those used in Starlink provide low-latency connections (as little as 20–
40 ms) but need hundreds or thousands of satellites for global coverage.
ADVANTAGEPRO [Link]
59 | P a g e
Advantages of Satellite Networking
Global Coverage – Can reach areas where cable or wireless infrastructure does not
exist.
Mobility – Ideal for ships, aeroplanes, and disaster recovery operations.
Scalability – New coverage can be added quickly without laying expensive fibre.
Despite its advantages, satellite networking faces challenges that impact performance and
reliability:
Latency – Especially with GEO satellites, signals must travel long distances, which
introduces noticeable delay.
Weather Interference – Rain, storms, and atmospheric conditions can disrupt signals
(known as rain fade).
Cost – Equipment and subscription fees are higher compared to terrestrial broadband.
Line-of-Sight Requirements – Satellites need a clear view of the sky, making
connections unreliable in dense forests or urban canyons.
Remote Business Operations – Mining, oil rigs, and rural offices often depend on
satellite Internet.
Emergency Communications – In disaster zones where terrestrial networks are
damaged, satellites provide instant communication.
Military and Defence – Secure satellite links are essential for operations across the
globe.
Transportation – Aeroplanes and ships use satellite Internet for navigation,
passenger connectivity, and operations.
Advances in satellite technology have made modern systems much more practical. Providers
like Starlink, OneWeb, and Amazon Kuiper deploy LEO constellations to provide faster
and more affordable connections compared to traditional GEO satellites. These systems are
transforming satellite networking from being a “last resort” to a competitive option against
DSL, cable, and even fibre in some regions.
ADVANTAGEPRO [Link]
60 | P a g e
Chapter-14
Wireless networking provides the flexibility of connecting devices without physical cables,
but this convenience requires careful planning to ensure performance and security. Three key
aspects of wireless networking—frequency selection, guest network configuration, and
authentication options—determine how well a wireless network functions and how safe it
remains from unauthorised use.
Wireless networks use radio frequencies to transmit data between access points and devices.
The two most common frequency bands are 2.4 GHz and 5 GHz, with 6 GHz recently
introduced for Wi-Fi 6E.
2.4 GHz Band – Offers longer range and better wall penetration, but is prone to
interference from household devices like microwaves and cordless phones. It also has
fewer non-overlapping channels, which can lead to congestion in crowded areas.
5 GHz Band – Provides faster speeds and more non-overlapping channels, reducing
interference. However, its shorter wavelength limits its range and ability to penetrate
walls.
6 GHz Band (Wi-Fi 6E) – Expands capacity further by introducing a wide range of
additional channels, making it ideal for high-performance applications in dense
environments.
Selecting the right frequency band depends on the balance between coverage and
performance needs. Modern routers often support dual-band or tri-band setups, allowing
devices to connect to the best available frequency.
Guest Networking
A guest network is a separate wireless network designed for visitors who need Internet
access without gaining access to the main internal network. Configuring guest networks is a
common practice in homes, businesses, and public spaces.
Isolation from the Internal Network – Guests can access the Internet, but are
blocked from sensitive resources such as file servers or printers.
ADVANTAGEPRO [Link]
61 | P a g e
Improved Security – By keeping guests on a separate VLAN or subnet, the risk of
unauthorised access to private data is minimised.
Custom Access Controls – Guest networks often include time limits, bandwidth
restrictions, and content filtering to ensure fair and safe usage.
Guest networking improves both security and convenience, allowing organisations to provide
Wi-Fi access without compromising their main network.
Authentication Options
Authentication ensures that only authorised users can access a wireless network. Wireless
security standards have evolved to balance ease of use and protection against unauthorised
access.
Each method comes with trade-offs in terms of security and convenience. For example,
WPA3-Enterprise offers strong encryption and per-user credentials but requires additional
infrastructure, while PSK is easier to deploy but less scalable.
Even in well-designed networks, performance issues can occur and disrupt productivity.
These problems often manifest as slow speeds, intermittent connectivity, or complete service
outages. Understanding the most common performance issues helps network administrators
quickly identify root causes and apply effective troubleshooting techniques.
Bandwidth Saturation
One of the most frequent causes of network slowness is bandwidth saturation. This happens
when too many users or applications consume more bandwidth than the network can handle.
ADVANTAGEPRO [Link]
62 | P a g e
Streaming video, large file transfers, or cloud backups can overwhelm the available capacity.
Symptoms often include buffering, slow downloads, or delayed responses in online
applications. Solutions may involve upgrading bandwidth, applying Quality of Service (QoS)
policies, or monitoring traffic to identify misuse.
Latency Problems
Latency is the delay between sending and receiving data. While small delays are normal,
excessive latency leads to noticeable performance issues, especially in real-time applications
such as VoIP, video conferencing, and online gaming. Latency can be caused by long
physical distances, overloaded routers, or inefficient routing paths. Administrators address
latency issues by optimising routes, upgrading hardware, or using Content Delivery Networks
(CDNs) to bring data closer to users.
Jitter refers to the variation in time delay when packets arrive at their destination. This is
particularly problematic for voice and video traffic, where consistency is essential. High jitter
may cause choppy audio or distorted video during calls. To reduce jitter, network devices can
implement buffering or prioritise real-time traffic through QoS.
Packet Loss
When data packets fail to reach their destination, it is known as packet loss. This leads to
missing information, retransmissions, and noticeable degradation in performance. Causes
include faulty cabling, overloaded switches, or wireless interference. Packet loss significantly
impacts applications such as file transfers, VoIP, and video streaming. Regular cable testing,
device upgrades, and minimising interference sources can help reduce packet loss.
Wireless Interference
ADVANTAGEPRO [Link]
63 | P a g e
Hardware and Configuration Issues
Performance degradation can also be the result of malicious activity, such as a Denial-of-
Service (DoS) attack. These attacks flood the network with traffic, preventing legitimate
requests from being processed. DoS attacks cause severe slowdowns or complete outages
until mitigated with firewalls, intrusion prevention systems, or rate-limiting techniques.
The first step in identifying an interface issue is checking link lights. Most network interface
cards (NICs) and switch ports include status LEDs that indicate whether a physical
connection exists. A solid green light generally indicates a good connection, while amber or
no light may point to a disconnected cable, a faulty port, or a powered-off device. Verifying
physical connectivity by reseating cables or testing with known working equipment is a quick
way to rule out simple problems.
Interfaces must agree on both speed (10/100/1000 Mbps or higher) and duplex mode (half or
full). A mismatch between two ends of a connection can cause significant issues such as late
collisions, high error rates, or extremely slow performance. For example, if one device is set
to full duplex and the other to half duplex, packets will collide and retransmit frequently. Best
ADVANTAGEPRO [Link]
64 | P a g e
practice is to set interfaces to auto-negotiate unless a specific configuration is required,
ensuring both ends agree on compatible settings.
IP Configuration Errors
Even when the physical interface is working, incorrect IP address settings can create
connectivity failures. Common mistakes include assigning an incorrect IP address, subnet
mask, or default gateway. If two devices are on different subnets without routing, or if
duplicate IP addresses exist, communication may fail. Troubleshooting involves checking IP
settings with tools like ipconfig, ifconfig, or ip addr, and ensuring proper addressing
within the network design.
Administrative Shutdown
On Cisco and similar devices, interfaces can be placed into an administratively down state.
This means the interface is intentionally disabled through configuration, even if the physical
cable and hardware are intact. Administrators often discover this when a port shows as
“Administratively Down” in a show interface command. The solution is to re-enable the
port using commands such as no shutdown.
Bad or damaged cables can mimic interface failures. A frayed Ethernet cable, improperly
crimped connector, or exceeding maximum cable length can all cause intermittent
connectivity or complete failure. Cable testers and toners are useful for diagnosing these
issues. Replacing the cable with a certified, properly terminated one is often the quickest fix.
Modern network devices maintain detailed interface statistics, including input errors, CRC
errors, late collisions, and dropped packets. A sudden spike in errors typically indicates a
hardware fault, bad cabling, or duplex mismatch. Administrators should monitor these
counters with commands like show interface or network monitoring tools to pinpoint
where the problem lies.
For wireless connections, interfaces may fail due to weak signals, incorrect SSID
configuration, or mismatched security settings. Unlike wired networks, wireless interfaces
ADVANTAGEPRO [Link]
65 | P a g e
also suffer from interference and signal range limitations. Troubleshooting involves checking
wireless adapters, verifying authentication, and ensuring the correct frequency band and
channel are being used.
On end-user devices, outdated or corrupted drivers can prevent interfaces from functioning
correctly. In switches and routers, outdated firmware may cause incompatibility or
unexpected failures. Regular updates, proper driver installation, and vendor-recommended
firmware upgrades help prevent such problems.
Antennas
Introduction
Antennas are an essential part of wireless networking, serving as the medium through which
radio frequency (RF) signals are transmitted and received. Every Wi-Fi device, access point,
and wireless router relies on antennas to establish communication between devices.
Understanding antennas, their types, and their characteristics is critical for designing,
deploying, and troubleshooting wireless networks.
In a wireless network, antennas convert electrical signals into electromagnetic waves for
transmission, and the reverse for reception. The design of an antenna determines how far
signals travel, the direction in which they propagate, and how strong the connection remains
under different conditions. Selecting the right antenna for the environment directly impacts
coverage, reliability, and performance.
Omnidirectional Antennas
Omnidirectional antennas radiate signals in all directions around the antenna, creating a
360-degree coverage area in the horizontal plane. They are commonly used in Wi-Fi routers,
access points, and mobile devices because they provide even coverage for users scattered
around the antenna. However, because their power is spread in all directions, their range is
limited compared to directional antennas.
ADVANTAGEPRO [Link]
66 | P a g e
Directional Antennas
Directional antennas focus energy in a specific direction, increasing range and signal
strength toward a targeted area. Examples include Yagi antennas, panel antennas, and
parabolic dish antennas. These are useful in point-to-point links, long-distance connections,
or situations where coverage is required in only one direction, such as connecting two
buildings with a wireless bridge.
Antenna Gain
One of the key specifications of an antenna is its gain, measured in decibels (dBi). Gain
represents how well the antenna focuses radio energy. A higher-gain antenna does not
produce more power but concentrates existing power in a specific direction. For example, a 2
dBi antenna spreads energy broadly, while a 9 dBi antenna projects energy farther but in a
narrower pattern.
Polarization
Antennas transmit radio waves with a particular polarisation, which may be vertical,
horizontal, or circular. For effective communication, both transmitting and receiving antennas
should use the same polarisation. A mismatch in polarisation reduces signal strength and may
cause connectivity problems.
The performance of antennas also depends heavily on their placement and orientation.
Omnidirectional antennas should be mounted vertically to maximise horizontal coverage,
while directional antennas should be aimed precisely at their target. Poor placement—such as
near thick walls, metal objects, or other interference sources—can significantly reduce
wireless performance.
Specialized Antennas
ADVANTAGEPRO [Link]
67 | P a g e
Wireless Security Standards
Introduction
Wireless networks are inherently more vulnerable than wired ones because signals travel
through the air and can be intercepted by anyone within range. To protect data
confidentiality, integrity, and access control, various wireless security standards have been
developed over time. These standards define how authentication and encryption are applied
to wireless connections, ensuring that only authorised users can connect and that data remains
private during transmission.
WEP was the first widely used security protocol for Wi-Fi, introduced with the original
802.11 standard. It aimed to provide the same level of privacy as a wired connection by using
RC4 encryption and static keys. However, WEP suffered from significant weaknesses,
including poor key management and vulnerabilities that allowed attackers to crack encryption
within minutes. Today, WEP is considered obsolete and should never be used in modern
networks.
To address WEP’s flaws, the Wi-Fi Alliance introduced WPA as an interim solution. WPA
improved security by implementing the Temporal Key Integrity Protocol (TKIP), which
dynamically changes encryption keys, making it harder to crack. While stronger than WEP,
WPA still relied on some of the same underlying mechanisms, leaving it vulnerable to
advanced attacks.
WPA2, released in 2004, became the long-standing standard for Wi-Fi security. It replaced
TKIP with the Advanced Encryption Standard (AES), which is far more secure. WPA2
supports two modes:
Although WPA2 is very secure, it is vulnerable if weak passwords are used, and older
implementations may suffer from attacks such as KRACK (Key Reinstallation Attacks).
ADVANTAGEPRO [Link]
68 | P a g e
Wi-Fi Protected Access 3 (WPA3)
The latest standard, WPA3, was introduced in 2018 to address modern security needs. It
improves upon WPA2 in several ways:
WPA3 is becoming the new standard, but many legacy devices still rely on WPA2.
Some wireless networks, such as in cafés, airports, or hotels, do not use encryption at all and
instead rely on open access points with web-based authentication portals. While convenient,
open networks are inherently insecure because traffic can be intercepted. Users should use
VPNs or HTTPS connections to protect their data in these environments.
The evolution of wireless security—from WEP to WPA, WPA2, and WPA3—shows the
ongoing battle between attackers and security technologies. Today, the best practice is to
disable outdated standards (WEP, WPA) and require WPA2 or WPA3, depending on device
compatibility. Strong passwords, regular firmware updates, and enterprise authentication
systems provide additional layers of protection.
Understanding wireless security standards is only the first step; the real challenge lies in
implementing them effectively. A secure wireless network requires the correct combination
ADVANTAGEPRO [Link]
69 | P a g e
of authentication, encryption, and administrative policies. Without proper implementation,
even the strongest security standard can become ineffective.
The foundation of wireless security is selecting the most appropriate security protocol for
your environment. WEP and WPA should never be used because of their vulnerabilities.
For most environments, WPA2 with AES remains the minimum requirement, while WPA3
should be used wherever supported. Organisations often adopt WPA2-Enterprise or WPA3-
Enterprise for stronger authentication through a RADIUS server.
Encryption ensures that data transmitted over the wireless network cannot be read by
outsiders. Modern networks should always use AES (Advanced Encryption Standard), as it
is highly secure and resistant to brute-force attacks. TKIP should be avoided since it is
considered weak and outdated. For public Wi-Fi, enabling Opportunistic Wireless
Encryption (OWE), where supported, can protect users even without a shared password.
Many businesses and public areas offer guest Wi-Fi, which can create security challenges. To
implement security effectively in these cases:
ADVANTAGEPRO [Link]
70 | P a g e
Wireless Access Point Placement and Security Settings
Even the physical deployment of wireless access points influences security. Access points
should be placed strategically to provide coverage where needed, while minimising signal
leakage outside the building. Disabling SSID broadcasting is not a complete security
measure, but it can reduce casual attempts to connect. Administrators should also configure
access points to limit the number of connected devices and apply MAC address filtering
where appropriate, though this should not be relied upon as the sole security mechanism.
Wireless security is never a one-time task. Firmware updates for access points and routers
must be applied regularly to patch vulnerabilities. Network monitoring tools should be used
to detect rogue access points, unauthorised devices, and unusual traffic patterns. Logging and
alerting provide administrators with the visibility needed to respond to threats quickly.
A wireless network is only as secure as the devices connecting to it. End users should follow
best practices such as:
While wireless networks provide flexibility and convenience, they are also exposed to unique
security risks. Unlike wired networks, where an attacker needs physical access to the
medium, wireless signals extend beyond walls and can be intercepted by anyone in range.
Understanding the common threats to wireless networks is essential to designing strong
defences and protecting data.
ADVANTAGEPRO [Link]
71 | P a g e
Unauthorized Access
One of the most basic threats to a wireless network is unauthorised access. If Wi-Fi security
is misconfigured or weak (such as using WEP or a simple password), attackers can easily
connect to the network. Once inside, they may steal bandwidth, attempt to access internal
resources, or launch attacks against connected devices. Even open guest networks can be
exploited if not properly isolated from the internal LAN.
Because wireless data is transmitted through the air, it is vulnerable to interception. Attackers
can use packet-sniffing tools such as Wireshark or specialised hardware to capture traffic. If
the network uses weak or no encryption, sensitive data such as passwords, emails, or credit
card details can be exposed. This makes strong encryption (AES) and VPN usage critical for
protecting confidentiality.
A common wireless attack involves creating a rogue access point, also known as an evil
twin. Attackers set up an access point that mimics a legitimate network’s SSID, tricking users
into connecting. Once connected, the attacker can intercept communications, perform man-
in-the-middle (MITM) attacks, or inject malicious content. Rogue access points inside an
organisation can also be created by careless employees or malicious insiders.
An MITM attack occurs when an attacker positions themselves between a user and the
legitimate network. By intercepting or altering communications, attackers can steal
credentials, redirect users to malicious websites, or inject malware. Public Wi-Fi hotspots are
especially vulnerable to MITM attacks when users fail to use secure connections (HTTPS or
VPN).
Wireless networks can be disrupted through denial-of-service attacks. Attackers may flood
the network with traffic or exploit wireless protocols by sending continuous deauthentication
frames. This forces legitimate clients off the network, causing disruption and downtime.
Since Wi-Fi operates on limited frequency channels, even simple radio frequency (RF)
jamming can degrade performance or make the network unusable.
ADVANTAGEPRO [Link]
72 | P a g e
Malware and Infected Devices
Another common threat is poor configuration. Using default SSIDs, unchanged admin
passwords, or outdated firmware on access points creates opportunities for attackers. Many
wireless devices are shipped with weak default settings, making them an easy target for
exploitation.
Wireless Scenarios
Introduction
In a home or small office environment, wireless networks are usually built around a single
Wi-Fi router or access point. The focus is on convenience and affordability rather than
advanced scalability. Devices such as laptops, smartphones, tablets, smart TVs, and IoT
devices connect to the Wi-Fi. Security is often limited to WPA2/WPA3-Personal with a
shared passphrase.
Challenges in this scenario include limited range, interference from neighbours’ networks,
and ensuring strong enough passwords to prevent unauthorised access.
ADVANTAGEPRO [Link]
73 | P a g e
Enterprise Networks
Public Wi-Fi is commonly deployed in cafés, airports, hotels, and libraries. These
networks prioritise accessibility and convenience for users but are highly vulnerable to threats
such as packet sniffing, man-in-the-middle attacks, and rogue APs. To address security
concerns, some providers implement captive portals, requiring users to accept terms of
service or log in before gaining access.
However, because public Wi-Fi is inherently insecure, users are encouraged to rely on VPNs
and encrypted connections to protect their traffic.
Organisations often provide a separate guest wireless network for visitors. This ensures that
guests can connect to the internet without accessing sensitive internal resources. Guest
networks are usually isolated through VLANs or firewalls, preventing crossover with
production networks. Security is typically simpler, with easy-to-distribute passwords or
captive portals.
Some scenarios require wireless connectivity beyond typical indoor environments. For
instance, universities, stadiums, and municipal Wi-Fi deployments need coverage across
wide outdoor areas. Directional antennas, mesh networks, and point-to-point links are often
used to extend coverage. Environmental challenges such as weather, line-of-sight, and
interference become critical factors in planning these deployments.
The rise of IoT has introduced unique wireless scenarios. Devices such as smart thermostats,
cameras, medical sensors, and industrial machinery often utilise specialised low-power
ADVANTAGEPRO [Link]
74 | P a g e
wireless technologies, including Zigbee, Z-Wave, or LoRaWAN, in addition to Wi-Fi. IoT
wireless networks must balance power efficiency, range, and security. Because many IoT
devices have limited security features, segmentation and monitoring are crucial.
In rural or remote areas where wired infrastructure is limited, wireless networks provide a
practical solution. Satellite internet, fixed wireless broadband, and cellular hotspots are
common approaches. These scenarios focus on bridging the digital divide but face challenges
such as high latency (especially with satellite), weather interference, and limited bandwidth.
Wireless mesh networks are used in environments that require wide coverage without
relying on a wired backbone for each access point. Each node in the mesh acts as both a
client and a relay for other nodes, creating multiple pathways for data. This increases
redundancy and reliability, making it ideal for smart cities, large campuses, and disaster
recovery situations. Challenges include maintaining routing efficiency and minimising
latency as traffic passes through multiple nodes.
Cellular networks such as 4G LTE and 5G often complement Wi-Fi in mobile and remote
scenarios. For example, enterprises may use cellular failover for branch offices when
primary wired connections fail. Mobile hotspots and private LTE/5G networks can also
provide connectivity in construction sites, oil rigs, or temporary event venues. Key
considerations include bandwidth costs, coverage, and latency.
Areas with high concentrations of users, such as stadiums, convention centres, airports, or
lecture halls, present unique wireless challenges. These require careful channel planning,
load balancing, and multiple access points to handle simultaneous connections. Security
and performance must be maintained despite congestion. Technologies like MU-MIMO
(Multiple User – Multiple Input, Multiple Output) and beamforming improve
performance in such dense scenarios.
ADVANTAGEPRO [Link]
75 | P a g e
Industrial and Manufacturing Wireless
Many organisations now support a mobile workforce with laptops, tablets, and smartphones.
Wireless networks must accommodate roaming between access points, secure
authentication, and device management. Bring Your Device (BYOD) policies increase
flexibility but also introduce security risks, necessitating network access control (NAC) and
strong endpoint security measures.
Events like concerts, trade shows, or festivals require temporary wireless networks. These
networks must provide fast setup, adequate coverage, and secure guest access. Mesh
networks, high-gain directional antennas, and temporary repeaters are often deployed to meet
these needs. Monitoring tools help maintain performance and prevent overloading.
Schools, colleges, and universities often deploy wireless networks for classroom access,
digital learning platforms, and student devices. Challenges include providing coverage
over large campuses, managing multiple user groups, and segmenting networks for staff,
students, and guests. WPA2/WPA3-Enterprise with RADIUS authentication and VLAN
segmentation are common best practices.
In areas without wired broadband infrastructure, wireless solutions like fixed wireless,
satellite internet, or point-to-point Wi-Fi bridges provide essential connectivity. These
networks face long distances, line-of-sight obstacles, weather interference, and limited
bandwidth. Careful planning, high-gain antennas, and satellite backhaul may be required to
ensure stable performance.
ADVANTAGEPRO [Link]
76 | P a g e
Chapter-15
Virtualization Basics
Introduction
Virtualisation is a technology that allows a single physical computer, or host, to run multiple
virtual machines (VMs) simultaneously. Each VM functions as a separate computer with its
own operating system, applications, and network configurations. Virtualisation increases
resource efficiency, reduces hardware costs, and provides flexibility in managing IT
infrastructure. It is a foundational concept for modern data centres, cloud computing, and
network simulations.
Types of Virtualisation
Server Virtualisation: Multiple virtual servers run on a single physical server. This
reduces hardware requirements, improves utilisation, and allows quick provisioning
of new servers.
Desktop Virtualisation: Users access a virtual desktop environment hosted on a
central server. Virtual Desktop Infrastructure (VDI) enables remote work, centralised
management, and improved security.
Application Virtualisation: Applications run in isolated containers without being
installed on the host operating system. This reduces conflicts between applications
and simplifies deployment.
Network Virtualisation: Combines network resources into a single, software-defined
network (SDN) that can be centrally managed, allowing faster configuration and
better scalability.
Storage Virtualisation: Pools physical storage from multiple devices into a single
logical storage unit, making it easier to manage and optimise resources.
Hypervisors
A hypervisor is the software layer that enables virtualisation. It manages the hardware
resources of the host and allocates them to multiple VMs. There are two types of hypervisors:
Type 1 (Bare-Metal): Runs directly on the host hardware without an underlying OS.
Examples include VMware ESXi, Microsoft Hyper-V, and XenServer. These are
commonly used in data centres and enterprise environments for their performance and
efficiency.
ADVANTAGEPRO [Link]
77 | P a g e
Type 2 (Hosted): Runs on top of a conventional operating system, such as VMware
Workstation or VirtualBox. Type 2 hypervisors are suitable for testing, learning, or
personal use.
Benefits of Virtualisation
Virtualisation offers several advantages that improve efficiency, flexibility, and resilience:
Virtual Networking
Virtualisation also includes the concept of virtual networks, where VMs communicate
through virtual switches or software-defined network components. Virtual networks
replicate the functionality of physical networks and allow testing, segmentation, and isolation
without additional hardware.
ADVANTAGEPRO [Link]
78 | P a g e
Your First Virtual Machine
Introduction
Creating your first virtual machine (VM) is the practical step in understanding virtualisation.
A virtual machine simulates a complete computer system, including CPU, memory, storage,
and networking, allowing you to run an operating system and applications independently of
the host computer. This hands-on experience helps learners explore virtualisation concepts,
test software, and experiment with networking configurations in a safe, controlled
environment.
Choosing a Hypervisor
For a first VM, a Type 2 hypervisor is recommended because it is simpler and allows you to
learn without modifying your host system.
1. New VM Wizard: Open the hypervisor and select “Create New Virtual Machine” or
“New VM.”
2. Select Installation Method: Choose to install an operating system from an ISO
image, a physical disk, or a network location. ISO images are common for testing
Linux or Windows operating systems.
ADVANTAGEPRO [Link]
79 | P a g e
3. Assign Resources: Allocate CPU cores, RAM, and storage for the VM. For example,
a Linux VM may need 2 GB RAM and 20 GB storage, while Windows may require
more. Avoid over-allocating, which can degrade host performance.
4. Network Configuration: Choose between NAT (Network Address Translation),
bridged, or host-only networking. NAT is suitable for initial experiments, while
bridging connects the VM directly to your LAN.
5. Finalise Settings: Review settings and create the VM. Most hypervisors allow you to
modify resources later.
Start the VM, which boots from the selected ISO or installation media.
Follow the standard OS installation procedure, just as you would on a physical
machine.
After installation, install any necessary guest additions or tools provided by the
hypervisor. These enhance VM performance, enable clipboard sharing, and allow
better integration with the host.
After installation:
Start Small: Assign minimal resources to avoid slowing your host system.
Use Snapshots Frequently: Protect your work before making major changes.
Isolate the VM: Use NAT networking for initial experiments to avoid accidental
exposure to your home network.
Keep ISO Files Organised: Maintain a library of installation images for different OS
experiments.
ADVANTAGEPRO [Link]
80 | P a g e
Cloud Computing Basics
Introduction
Deployment Models
ADVANTAGEPRO [Link]
81 | P a g e
Public Cloud: Services are provided over the public internet and shared among
multiple organisations. Cost-effective but less control over security.
Private Cloud: Services are maintained on private infrastructure, offering greater
control and security. Often used by enterprises with strict compliance requirements.
Hybrid Cloud: Combines public and private clouds, allowing data and applications to
move between them for flexibility and scalability.
Community Cloud: Shared infrastructure for specific communities with common
requirements, such as government agencies or research institutions.
Cost Efficiency: Reduces the need for on-premises hardware and maintenance.
Scalability: Quickly adjusts resources to match demand.
Accessibility: Users can access applications and data from anywhere.
Disaster Recovery and Backup: Cloud providers often offer automated backups and
recovery solutions.
Collaboration: Teams can work on the same files and applications in real time across
multiple locations.
Security Considerations
Data Privacy and Compliance: Ensuring sensitive data complies with regulations
like GDPR or HIPAA.
Shared Responsibility: Providers secure the infrastructure, but users are responsible
for securing applications and data.
Access Control: Strong authentication, role-based permissions, and encryption are
essential.
Monitoring and Logging: Continuous monitoring helps detect and respond to threats
quickly.
ADVANTAGEPRO [Link]
82 | P a g e
Software-Defined Networking (SDN)
Introduction
SDN Controller: The central brain of the network, responsible for decision-making
and sending instructions to network devices. Examples include OpenDaylight and
Cisco APIC.
Southbound Interfaces: Protocols used by the controller to communicate with
network devices, such as OpenFlow. These protocols allow the controller to program
switches and routers dynamically.
Northbound Interfaces: APIs used by applications and management systems to
communicate with the SDN controller, enabling automation, orchestration, and
policy-based networking.
In an SDN environment:
1. The controller receives information about the network topology and traffic patterns.
2. Administrators or applications define policies for traffic handling, quality of service,
and security.
3. The controller sends instructions to network devices, which forward data based on
centralised rules.
This centralised approach allows for dynamic, real-time adjustments, improved network
visibility, and automated responses to changing conditions.
Advantages of SDN
ADVANTAGEPRO [Link]
83 | P a g e
Centralised Management: Administrators can control the entire network from a
single interface.
Programmability: Networks can be automated using software scripts, reducing
manual configuration.
Flexibility and Agility: Policies and routing can be changed on demand to adapt to
traffic patterns or business needs.
Cost Efficiency: Reduces dependency on expensive, specialised hardware by
allowing standard devices to be programmed via software.
Enhanced Security: Centralised monitoring and policy enforcement improve threat
detection and response.
Data Centres: For dynamic provisioning, load balancing, and traffic optimisation.
Campus Networks: Simplifying management of large-scale environments with many
access points and switches.
Cloud Networking: Integrating and automating hybrid and multi-cloud connectivity.
Network Function Virtualisation (NFV): Implementing firewalls, load balancers,
and VPNs as software-based services.
ADVANTAGEPRO [Link]
84 | P a g e
Chapter-16
Classic data centres often use a three-tier hierarchical network design to organise and
manage network traffic efficiently:
1. Core Layer: The backbone of the data centre, responsible for high-speed, high-
capacity routing between different parts of the network. It focuses on fast and reliable
connectivity rather than access control.
2. Aggregation (Distribution) Layer: Connects the core layer to access switches. It
provides policy enforcement, load balancing, and filtering. This layer often handles
routing, firewalling, and VLAN segmentation.
3. Access Layer: Directly connects servers and end devices. It focuses on providing
network access and enforcing port-level security.
This hierarchical structure helps reduce congestion, improve scalability, and simplify
troubleshooting.
Classic data centres use physical servers connected to storage systems, typically through
Storage Area Networks (SANs) or Network-Attached Storage (NAS). Each server is often
dedicated to specific applications, limiting resource flexibility but simplifying management.
Storage is centralised to ensure data availability, redundancy, and backup capabilities.
ADVANTAGEPRO [Link]
85 | P a g e
Power Redundancy: Dual power supplies, uninterruptible power supplies (UPS), and
backup generators ensure continuous operation during outages.
Network Redundancy: Multiple network paths prevent single points of failure.
Hardware Redundancy: Duplicate servers, storage units, and cooling systems
maintain service continuity if a component fails.
This ensures that critical services remain available even during hardware or network failures.
Classic data centres use structured cabling with clearly defined paths for network, storage,
and power cables. The layout often includes raised floors, hot and cold aisles, and designated
racks for equipment. This organisation improves airflow, cooling efficiency, and maintenance
access, which is crucial for large-scale facilities.
Security Considerations
Physical and logical security is a core aspect of classic data centre architecture:
These measures ensure that sensitive data and critical applications are protected from both
physical and cyber threats.
These limitations have driven the shift toward modern data centre designs incorporating
virtualisation, software-defined networking, and cloud integration.
ADVANTAGEPRO [Link]
86 | P a g e
High Availability in Data Centres
Introduction
High availability (HA) in a data centre ensures that critical IT services remain accessible
without interruption, even in the event of hardware, software, or network failures. Since
data centres host servers, storage, and network infrastructure for enterprises, maintaining
uptime is crucial for business continuity, customer trust, and operational efficiency. HA in
data centres involves redundant systems, failover mechanisms, and proactive monitoring
to minimise downtime.
Redundant Infrastructure
Data centres achieve HA by duplicating critical components so that no single failure can
bring down services:
Power Redundancy: Dual power supplies, uninterruptible power supplies (UPS), and
backup generators maintain continuous operation during power outages.
Network Redundancy: Multiple network links, switches, and routers ensure
connectivity if one path fails. Often, network traffic is balanced across redundant
paths.
Hardware Redundancy: Servers, storage devices, and cooling systems are
duplicated. If one component fails, a backup immediately takes over.
Clustering: Multiple servers host the same application or service. If one server fails,
others handle the workload without service disruption.
Load Balancing: Traffic is distributed across multiple servers to prevent overload
and maintain performance even during high demand.
Virtualisation: Virtual machines (VMs) can be migrated seamlessly between
physical hosts using hypervisors, providing HA without hardware dependency.
RAID Arrays: Multiple disks are combined to provide redundancy. RAID levels such
as RAID 1, 5, or 10 protect against disk failures.
Replication: Data is copied in real time to multiple storage devices or locations. This
ensures availability even if one storage unit fails.
ADVANTAGEPRO [Link]
87 | P a g e
SAN and NAS Redundancy: Storage Area Networks (SANs) and Network-Attached
Storage (NAS) often have multiple controllers and paths to prevent single points of
failure.
Network HA ensures continuous connectivity within the data centre and to external clients:
Redundant Core and Distribution Layers: Core and aggregation switches are
duplicated, providing alternate paths for traffic.
First Hop Redundancy Protocols (FHRP): Protocols like HSRP, VRRP, and GLBP
allow multiple routers to act as backup gateways.
Link Aggregation: Combining multiple network links increases bandwidth and
provides failover in case a link fails.
Proactive monitoring and automated failover are essential for HA in data centres:
Monitoring Tools: Track server health, network performance, storage usage, and
power supply status to detect potential failures early.
Automated Failover: Systems automatically switch to backup resources when a
failure occurs, minimising downtime.
Alerts and Reporting: Administrators are notified immediately of any issues to take
corrective action quickly.
ADVANTAGEPRO [Link]
88 | P a g e
Maintenance: Regular testing of failover systems is required to ensure reliability.
Resource Utilisation: Redundant components may remain idle until a failure occurs,
potentially underutilising resources.
Chapter-17
The Internet of Things (IoT) refers to a network of physical devices embedded with sensors,
software, and connectivity, enabling them to collect, exchange, and act on data over the
internet. IoT extends the power of the internet beyond computers and smartphones to a wide
range of everyday objects, making them “smart” and capable of remote monitoring and
control.
The Industrial Internet of Things (IIoT) is a specialised subset of IoT focused on industrial
applications. IIoT connects machinery, sensors, and control systems in industries like
manufacturing, energy, transportation, and healthcare to improve operational efficiency,
safety, and productivity.
ADVANTAGEPRO [Link]
89 | P a g e
Differences Between IoT and IIoT
Security Considerations
Device Security: Many devices have limited processing power, making encryption
and authentication challenging.
Network Security: Wireless protocols can be intercepted or exploited if not secured
properly.
Data Privacy: Sensitive information must be protected, especially in healthcare or
industrial operations.
ADVANTAGEPRO [Link]
90 | P a g e
Physical Security: IoT/IIoT devices deployed in remote or public areas are
vulnerable to tampering.
Industrial Control Systems (ICS) are integrated hardware and software systems used to
monitor, control, and automate industrial processes. These systems are essential in industries
such as manufacturing, energy, water treatment, and transportation. ICS ensures efficient,
safe, and reliable operation of machinery, equipment, and processes.
SCADA (Supervisory Control and Data Acquisition) is a subset of ICS designed for
remote monitoring and control. SCADA systems collect real-time data from sensors and
field devices, process it, and allow operators to make decisions or automate actions.
Together, ICS and SCADA form the backbone of modern industrial automation.
ADVANTAGEPRO [Link]
91 | P a g e
Key Components of ICS
Field Devices: Sensors and actuators that measure conditions (temperature, pressure,
flow) and execute control actions.
Programmable Logic Controllers (PLCs): Industrial computers that automate
processes by receiving input from sensors and controlling actuators.
Human-Machine Interface (HMI): Software interfaces that allow operators to
visualise data, monitor processes, and issue commands.
Communication Networks: Wired or wireless networks connecting devices,
controllers, and HMIs. Common protocols include Modbus, DNP3, and PROFINET.
SCADA Architecture
1. Sensors and Actuators (Field Level): Measure and control physical processes.
2. Remote Terminal Units (RTUs) / PLCs (Control Level): Collect data from sensors
and execute control logic.
3. SCADA Master Station (Supervisory Level): Central system that gathers data,
processes it, and provides the HMI for operators.
4. Communication Infrastructure: Connects all levels, often using serial, Ethernet, or
wireless networks.
Functions of SCADA
ADVANTAGEPRO [Link]
92 | P a g e
Remote Control: Reduces the need for on-site personnel, especially in remote or
dangerous locations.
Security Considerations
ICS and SCADA face unique cybersecurity challenges due to their integration with physical
processes:
Network Operations
Introduction
Network Operations refers to the ongoing processes, tasks, and procedures required to
maintain, monitor, and optimise a computer network. The goal of network operations is to
ensure that a network is reliable, secure, and performing efficiently at all times. Network
Operations Centres (NOCs) are often the hub for these activities, providing centralised
oversight for enterprise, ISP, or data centre networks.
Network operations involve a range of functions that keep networks running smoothly:
ADVANTAGEPRO [Link]
93 | P a g e
Monitoring and Management: Continuously tracking network performance, device
health, bandwidth usage, and traffic patterns to detect issues before they impact users.
Tools like SNMP, NetFlow, and network monitoring software are commonly used.
Configuration Management: Maintaining and updating device configurations such
as routers, switches, firewalls, and wireless access points. Ensures consistency,
reduces misconfigurations, and simplifies troubleshooting.
Troubleshooting and Incident Response: Quickly identifying, diagnosing, and
resolving network issues or outages to minimise downtime.
Performance Optimisation: Adjusting network resources, routing, and policies to
maximise speed, reduce latency, and ensure quality of service (QoS) for critical
applications.
Security Enforcement: Implementing access controls, firewalls, intrusion
detection/prevention systems (IDS/IPS), and monitoring for malicious activity to
maintain network security.
Change and Patch Management: Deploying updates, firmware patches, or
configuration changes systematically to avoid network disruptions while improving
security and functionality.
Real-Time Monitoring: Dashboards show traffic patterns, device status, and alerts
for failures or anomalies.
Incident Management: A structured process for logging, prioritising, and resolving
network issues.
Reporting and Analytics: Historical data analysis to identify trends, plan capacity,
and improve network efficiency.
Collaboration: NOC teams coordinate with field engineers, security teams, and other
IT departments for resolution and maintenance.
ADVANTAGEPRO [Link]
94 | P a g e
Advantages of Effective Network Operations
Encryption key management is the process of creating, storing, distributing, rotating, and
retiring cryptographic keys used to protect data. Encryption keys are essential for
maintaining the confidentiality, integrity, and authenticity of data in transit and at rest.
Without proper key management, even strong encryption algorithms can be rendered
ineffective, leaving sensitive information vulnerable to theft or tampering.
Data Security: Only authorised users and systems can encrypt or decrypt sensitive
information.
Regulatory Compliance: Many standards and regulations (e.g., GDPR, HIPAA, PCI
DSS) require secure key management practices.
Operational Reliability: Prevents data loss due to misplaced, corrupted, or expired
keys.
ADVANTAGEPRO [Link]
95 | P a g e
Scalability: Supports secure communication across large organisations or cloud
environments.
1. Key Generation: Creating strong, unpredictable keys using secure algorithms and
sufficient entropy.
2. Key Storage: Storing keys securely, often using hardware security modules (HSMs),
secure key vaults, or encrypted databases.
3. Key Distribution: Safely transmitting keys to authorised users, applications, or
devices. Methods include asymmetric encryption, secure channels, or key exchange
protocols.
4. Key Usage: Using keys only for their intended purposes (e.g., encryption, digital
signing, authentication).
5. Key Rotation and Expiration: Regularly changing keys to minimise the impact of
compromise and enforcing expiration policies.
6. Key Revocation: Revoking keys that are compromised or no longer in use to prevent
unauthorised access.
7. Key Destruction: Securely destroying old keys to ensure they cannot be recovered or
misused.
Symmetric Keys: A single key is used for both encryption and decryption. Requires
secure sharing between parties. Examples: AES, DES.
Asymmetric Keys: A pair of keys—public and private—is used, allowing secure
communication without sharing a secret key. Examples: RSA, ECC.
Session Keys: Temporary keys used for encrypting data during a session, often
generated dynamically for short-term use.
Use Hardware Security Modules (HSMs): Provide secure storage and operations for
cryptographic keys.
Enforce Access Control: Only authorised personnel or systems should access
encryption keys.
Implement Key Rotation Policies: Regularly update keys to reduce the risk of
compromise.
Backup Keys Securely: Maintain encrypted backups to prevent data loss.
Monitor and Audit Key Usage: Track how and when keys are used to detect
unauthorised access or misuse.
ADVANTAGEPRO [Link]
96 | P a g e
Use Strong Algorithms: Ensure cryptographic strength matches current security
standards and industry recommendations.
Scalability: Managing large numbers of keys across multiple systems and locations
can be complex.
Compliance: Meeting regulatory requirements may require strict key management
policies and documentation.
Key Compromise: If a key is stolen or exposed, all data encrypted with it may be at
risk.
Operational Errors: Human mistakes in handling, distributing, or storing keys can
lead to data breaches or system outages.
Configuration Management
Introduction
ADVANTAGEPRO [Link]
97 | P a g e
Components of Configuration Management
ADVANTAGEPRO [Link]
98 | P a g e
Benefits of Configuration Management
Complexity: Large networks with diverse devices and operating systems require
careful planning and automation.
Change Conflicts: Uncontrolled changes can lead to inconsistencies or system
outages.
Tool Integration: Combining multiple management tools across devices, cloud, and
on-premises systems can be challenging.
Continuous Monitoring: Requires ongoing effort to track changes, enforce
compliance, and update documentation.
Physical Layout: Rack locations, cabling paths, hot and cold aisles, and equipment
placement. Clear maps help with maintenance, troubleshooting, and scaling.
Network Topology: Diagrams showing core, aggregation, and access layers, switch
interconnections, routers, firewalls, and external connections.
ADVANTAGEPRO [Link]
99 | P a g e
IP Addressing and VLANs: Detailed IP schemes, subnetting, and VLAN
assignments for devices and segments.
Servers and Storage: Inventory of servers, virtual machines, storage arrays,
SAN/NAS configurations, and capacity.
Power and Cooling: UPS systems, generators, PDU locations, power distribution
diagrams, and cooling infrastructure.
Security Systems: Access control mechanisms, cameras, alarm systems, and firewall
rules.
Software and Applications: Installed software, versions, licensing information, and
configuration settings.
Methods of Documentation
ADVANTAGEPRO [Link]
100 | P a g e
Version Control: Track revisions to prevent confusion and maintain historical
records.
Include Detailed Metadata: Record device serial numbers, firmware versions, IP
addresses, rack positions, and maintenance schedules.
Secure Access: Restrict editing and access to authorised personnel to prevent
tampering or unauthorised changes.
Patching and updating are essential IT maintenance activities that involve applying
software fixes, updates, and improvements to operating systems, applications, and network
devices. These processes are critical for security, stability, and performance. Without
regular patching, systems are vulnerable to exploits, malware, and operational issues.
Security: Patches fix known vulnerabilities that hackers can exploit. Timely updates
reduce the risk of breaches and ransomware attacks.
System Stability: Bug fixes and performance improvements prevent crashes, errors,
and unexpected behaviour.
Compliance: Regulatory frameworks like PCI DSS, HIPAA, and GDPR require
organisations to maintain up-to-date software.
New Features: Updates may introduce new functionalities that enhance productivity
or system capabilities.
Compatibility: Ensures software and devices continue to work correctly with other
applications and network components.
ADVANTAGEPRO [Link]
101 | P a g e
Types of Patches and Updates
ADVANTAGEPRO [Link]
102 | P a g e
Test Before Deployment: Avoid unexpected downtime by testing patches in a
staging environment.
Prioritise Critical Patches: Security and high-risk patches should be applied
immediately.
Maintain Backups: Ensure that systems can be restored if an update causes issues.
Automate Where Possible: Reduce human error and increase efficiency through
automated patch management tools.
Monitor and Audit: Verify patch application and maintain records for compliance
and troubleshooting.
Downtime: Some patches require system restarts, which can interrupt operations.
Compatibility Issues: Updates may conflict with existing applications or drivers.
Volume of Updates: Large networks may have hundreds or thousands of devices,
making patch management complex.
Security Risks During Deployment: If patches are not applied securely, attackers
could exploit the update process itself.
Chapter-18
Security Concepts
Introduction
Security concepts encompass the principles, practices, and strategies used to protect
information, networks, systems, and users from unauthorised access, breaches, and other
threats. In modern IT environments, understanding security concepts is essential for
confidentiality, integrity, and availability (CIA), and regulatory compliance. Effective
security combines technical measures, policies, and human awareness to defend against both
internal and external threats.
ADVANTAGEPRO [Link]
103 | P a g e
Core Principles of Security
Security Controls
Security controls are mechanisms that protect systems and data from threats:
Physical Controls: Locks, surveillance cameras, access badges, and secure facilities.
Technical Controls: Firewalls, antivirus software, intrusion detection/prevention
systems (IDS/IPS), encryption, and VPNs.
Administrative Controls: Policies, procedures, training, and auditing to guide user
behaviour and organisational compliance.
ADVANTAGEPRO [Link]
104 | P a g e
Security Policies and Best Practices
Defence in Depth (DiD) is a cybersecurity strategy that employs multiple layers of security
controls to protect information, networks, and systems. Rather than relying on a single
security measure, DiD ensures that if one control fails, others continue to provide protection.
This layered approach enhances resilience against both internal and external threats and is
widely adopted in enterprise, cloud, and critical infrastructure environments.
ADVANTAGEPRO [Link]
105 | P a g e
2. Redundancy: Providing backup controls so that failure of one security mechanism
does not lead to total compromise.
3. Risk Mitigation: Addressing threats at multiple points reduces the likelihood and
impact of successful attacks.
4. Comprehensive Coverage: DiD covers physical, technical, and administrative
controls, ensuring protection across the entire environment.
ADVANTAGEPRO [Link]
106 | P a g e
Implementation Best Practices
Assess Risks and Threats: Identify critical assets and potential vulnerabilities to
determine appropriate controls.
Use Complementary Controls: Combine preventive, detective, and corrective
security measures.
Regularly Update and Patch: Maintain all layers with current security patches and
configurations.
Monitor and Audit: Continuously observe security controls and audit their
effectiveness.
Test Incident Response Plans: Ensure that all layers contribute to rapid detection
and recovery from security incidents.
ADVANTAGEPRO [Link]
107 | P a g e
Misconfigured Devices: A user or IT staff inadvertently enables DHCP on a network
device such as a router, server, or switch.
Malicious Actors: Attackers deliberately set up a rogue DHCP server to intercept or
manipulate network traffic.
Unauthorised Virtual Machines or Network Appliances: Virtualised systems or
plug-and-play devices automatically acting as DHCP servers without proper
oversight.
Detection Techniques
Network Scanning: Use tools like nmap, DHCP snooping, or IP scanners to identify
unauthorised DHCP servers.
DHCP Snooping: A feature available on many managed switches that blocks DHCP
messages from unauthorised ports.
Monitoring IP Address Assignments: Track unexpected changes in IP, subnet,
gateway, or DNS settings.
Logging and Alerts: Configure network devices to log DHCP server activity and
generate alerts for unknown servers.
ADVANTAGEPRO [Link]
108 | P a g e
Educate Users: Train staff to avoid connecting unauthorised devices or enabling
DHCP services on personal equipment.
On-Path Attacks
Introduction
On-path attacks exploit the communication flow between devices. Common methods include:
ARP Spoofing / ARP Poisoning: Sending fake Address Resolution Protocol (ARP)
messages to associate the attacker’s MAC address with the IP address of another
device, redirecting traffic through the attacker.
DNS Spoofing: Redirecting users to malicious websites by providing fake DNS
responses.
HTTPS Stripping: Downgrading secure HTTPS connections to unencrypted HTTP
to capture sensitive data.
Wi-Fi Eavesdropping: Using rogue access points or sniffers on unsecured wireless
networks.
ADVANTAGEPRO [Link]
109 | P a g e
Indicators of On-Path Attacks
Real-World Implications
Data Theft: Passwords, financial information, and sensitive corporate data can be
stolen.
Session Hijacking: Attackers can impersonate users on web applications, email, or
VPNs.
Malware Injection: Intercepted communications can be modified to deliver
malicious payloads.
Reputational Damage: Breaches caused by on-path attacks can harm organisational
trust.
ADVANTAGEPRO [Link]
110 | P a g e
VLAN Hopping
Introduction
VLAN Hopping is a network security vulnerability where an attacker gains access to traffic
on a VLAN (Virtual Local Area Network) that they should not be authorised to access.
VLANs are designed to segment network traffic for security and efficiency, but improper
configuration can allow attackers to bypass segmentation and intercept or manipulate
sensitive data. VLAN hopping is primarily a Layer 2 attack targeting switches and their
VLAN tagging mechanisms.
1. Switch Spoofing:
o The attacker configures their device to emulate a switch and negotiate a trunk
link with a legitimate switch.
o This allows the attacker to send and receive traffic for multiple VLANs,
gaining access to networks that should be isolated.
2. Double Tagging:
o The attacker sends frames with two VLAN tags.
o The first tag is stripped by the first switch, while the second tag passes through
to another VLAN.
o This allows the attacker to send packets into a VLAN that they are not
authorised to access, without negotiating a trunk link.
Disable Unused Ports: Shut down all unused switch ports to prevent unauthorised
devices from connecting.
ADVANTAGEPRO [Link]
111 | P a g e
Avoid Automatic Trunking: Disable Dynamic Trunking Protocol (DTP) on access
ports to prevent switch spoofing.
Assign Access Ports to a Single VLAN: Ensure each access port is configured for a
specific VLAN and does not negotiate trunking.
Implement VLAN Access Control Lists (VACLs): Filter traffic between VLANs to
enforce security policies.
Use Native VLANs Securely: Avoid using the default VLAN (often VLAN 1) as the
native VLAN; assign an unused VLAN ID for native VLAN to reduce double-tagging
attacks.
Regular Monitoring: Track unusual traffic patterns or unauthorised VLAN traffic for
early detection of attacks.
Best Practices
Life-Cycle Management
Introduction
Life-Cycle Management (LCM) refers to the systematic process of managing the entire
lifespan of IT assets, from acquisition to retirement. This includes hardware, software,
network devices, and applications. LCM ensures that assets are efficiently utilised, properly
maintained, and securely disposed of, reducing costs, minimising risks, and supporting
regulatory compliance.
Best Practices
ADVANTAGEPRO [Link]
113 | P a g e
Integrate LCM with change management, security, and incident response
processes.
Maintain accurate records for every stage of the lifecycle.
Train personnel on asset handling, maintenance, and secure disposal.
Leverage automation tools for inventory tracking, monitoring, and updates.
Malware
Introduction
1. Viruses
o Self-replicating programs that attach to files or applications and spread when
executed.
o Can corrupt files, slow systems, or cause crashes.
2. Worms
o Standalone malware that spreads across networks without user intervention.
o Exploits vulnerabilities to propagate quickly and consume bandwidth.
3. Trojan Horses
o Malicious programs disguised as legitimate software.
o Often used to create backdoors, steal credentials, or deliver additional
malware.
4. Ransomware
o Encrypts user data and demands a ransom for decryption.
o Can severely disrupt business operations if backups are unavailable.
5. Spyware
o Secretly monitors user activity, collecting sensitive information such as
passwords, browsing habits, or financial data.
6. Adware
o Displays unwanted advertisements and may track user behaviour for
marketing purposes.
o Usually less dangerous, but can compromise privacy and system performance.
7. Rootkits
o Malware designed to gain privileged access and hide its presence on a system.
o Often used for prolonged undetected attacks.
8. Botnets
o Networks of infected computers controlled by attackers (bots).
ADVANTAGEPRO [Link]
114 | P a g e
o Used for large-scale attacks like Distributed Denial of Service (DDoS).
Social Engineering
Introduction
1. Phishing
o Sending fraudulent emails or messages that appear to be from legitimate
sources.
o Tricks users into clicking malicious links, opening attachments, or disclosing
sensitive information.
2. Spear Phishing
o A targeted form of phishing aimed at specific individuals or organisations.
o Often uses personal information to make the communication more convincing.
3. Vishing (Voice Phishing)
o Using phone calls to deceive individuals into revealing passwords, financial
details, or other confidential information.
4. Smishing (SMS Phishing)
o Sending text messages with malicious links or requests for sensitive
information.
5. Pretexting
o Creating a fabricated scenario to obtain confidential information.
o Example: Pretending to be IT support to get a user’s login credentials.
6. Baiting
o Offering something enticing, like free software or a USB drive, to lure users
into compromising security.
7. Tailgating / Piggybacking
o Gaining physical access by following an authorised person into a secure area
without proper credentials.
ADVANTAGEPRO [Link]
115 | P a g e
Curiosity: Offering attractive content or links that encourage clicks.
Authority: Pretending to be a high-ranking official to coerce compliance.
Real-World Implications
Logical Security
Introduction
Logical security refers to the measures and controls used to protect digital assets—such as
data, applications, and network resources—from unauthorised access, modification, or
destruction. Unlike physical security, which protects hardware and facilities, logical security
focuses on software, systems, and information. It ensures that only authorised users and
processes can access sensitive resources while maintaining confidentiality, integrity, and
availability.
ADVANTAGEPRO [Link]
116 | P a g e
Core Components of Logical Security
1. Authentication
o Verifying the identity of users, devices, or processes before granting access.
o Methods include passwords, biometrics, smart cards, tokens, and multi-factor
authentication (MFA).
2. Authorisation
o Determining what authenticated users are allowed to do.
o Techniques include role-based access control (RBAC), access control lists
(ACLs), and the principle of least privilege.
3. Account Management
o Managing user accounts, group memberships, and privileges.
o Includes creating, modifying, disabling, or deleting accounts as roles and
responsibilities change.
4. Encryption
o Protecting data in transit and at rest by converting it into an unreadable format
for unauthorised users.
o Examples include SSL/TLS for web traffic, disk encryption, and file-level
encryption.
5. Auditing and Logging
o Recording system events, user actions, and access attempts to detect and
investigate security incidents.
o Helps maintain accountability and supports compliance requirements.
6. Network Access Controls
o Limiting and monitoring access to network resources.
o Examples include firewalls, VPNs, NAC (Network Access Control), and
segmentation.
ADVANTAGEPRO [Link]
117 | P a g e
Encrypt Sensitive Data: Protect information both at rest and during transmission.
Update and Patch Systems: Reduce vulnerabilities that could be exploited to bypass
logical controls.
Use Security Policies and Procedures: Formalise logical security measures and
ensure consistent enforcement.
Chapter-19
System Monitoring
Introduction
System monitoring is the continuous process of tracking the performance, availability, and
health of IT systems, networks, and applications. The goal is to detect issues early, ensure
optimal performance, and maintain reliability. System monitoring is essential for
proactive management, helping IT teams prevent downtime, identify bottlenecks, and
respond to incidents before they escalate.
1. Performance Monitoring
o Measures system metrics such as CPU usage, memory utilisation, disk I/O,
and network throughput.
o Helps identify performance bottlenecks and optimise resource allocation.
2. Availability Monitoring
o Ensures that critical systems, applications, and network services are
operational.
o Uses tools like ping tests, service checks, and uptime monitoring to detect
outages.
3. Event and Log Monitoring
o Collects and analyses system, application, and security logs for anomalies.
o Enables early detection of errors, unauthorised access attempts, and unusual
activity.
4. Alerting and Notifications
o Generates real-time alerts when metrics exceed predefined thresholds or when
failures occur.
o Alerts can be sent via email, SMS, or integrated dashboards to inform IT staff
immediately.
5. Capacity Planning
o Tracks resource utilisation trends to forecast future needs.
ADVANTAGEPRO [Link]
118 | P a g e
o Helps plan upgrades, scaling, and load balancing to avoid performance
degradation.
6. Security Monitoring
o Detects unauthorised access, malware activity, and other security incidents.
o Can integrate with intrusion detection systems (IDS) and security information
and event management (SIEM) tools.
Early Issue Detection: Detects potential problems before they impact users.
Improved Performance: Ensures optimal system and network operation by
identifying bottlenecks.
Reduced Downtime: Proactive monitoring helps prevent system failures and service
interruptions.
Security Awareness: Detects anomalies, unauthorised access, and suspicious activity.
Informed Decision Making: Provides data for capacity planning, upgrades, and IT
strategy.
Best Practices
ADVANTAGEPRO [Link]
119 | P a g e
ADVANTAGEPRO [Link]
120 | P a g e