Lesson Notes
Lesson Notes
Infrared (IR) waves lie between the visible light spectrum and microwaves. They have
wavelengths ranging from 700 nm to 1 mm and frequencies between 300 GHz and 430 THz.
Infrared waves are commonly used for short-range communication, such as television remote
controls. Infrared transmission is directional because the waves travel in a straight line. Due to
their high frequency, infrared waves cannot penetrate solid obstacles such as walls, which
limits their use to line-of-sight communication.
1. Very short range – Infrared communication works only over short distances,
limiting its applications.
2. Line-of-sight requirement – The transmitter and receiver must be aligned;
obstacles can easily block the signal.
3. Cannot penetrate walls – Solid objects such as walls completely block infrared
waves, restricting coverage.
4. Affected by ambient light – Strong sunlight or artificial lighting can interfere
with infrared signals.
Light Transmission
Laser signals cannot penetrate obstacles such as walls, rain, or thick fog. Furthermore, laser
beams can be distorted by environmental factors including wind, atmospheric conditions, and
temperature variations along the transmission path.
Laser transmission is unidirectional, meaning that a laser source is required at the transmitting
end and a photo-detector at the receiving end. Since a laser beam is typically about 1 mm wide,
precise alignment is required, especially over long distances, to ensure accurate data reception
Laser communication is considered secure because the laser beam is typically about 1 mm wide,
making it extremely difficult to intercept without disrupting the communication channel.
Due to the very high frequency of light waves, they travel strictly in a straight line, making light
transmission a line-of-sight communication system. As a result, the transmitter and receiver
must be directly aligned with each other.
Networking Devices
1. Router
A router is a networking device that connects two or more networks and forwards data
packets between them. It operates at the Network Layer (Layer 3) of the OSI model, where it
uses IP addresses to determine the best path for data transmission.
When data is sent from a source device, the router examines the destination IP address, consults
its routing table, and forwards the packet through the most efficient route toward the destination
network. This allows multiple devices within a local network to communicate with other
networks, including the Internet.
Routers using this approach share information with directly connected neighbors only. Each router decides the best path based on distance (cost) and direction
(next hop).
Examples
Each router builds a complete map of the network topology and independently calculates the shortest path using algorithms like Dijkstra’s algorithm.
Used mainly for routing between large networks (Autonomous Systems) such as the internet.
In addition to routing data, routers often provide network security, traffic management, and
internet sharing, making them essential components of modern computer networks.
2. Switch
A switch is a networking device used to connect multiple devices within the same local area
network (LAN). It operates at the Data Link Layer (Layer 2) of the OSI model and uses
MAC addresses to forward data frames to the correct destination device.
When a device sends data, the switch examines the destination MAC address, checks its MAC
address table, and forwards the frame only to the specific port connected to the intended device.
This reduces unnecessary network traffic and improves overall network efficiency.
Switches improve network performance by minimizing collisions and allowing multiple devices
to communicate simultaneously within the same network.
Short exam summary:
A switch is a Layer 2 device that connects devices in a LAN and forwards data using MAC
addresses.
3. Hub
A hub is a basic networking device used to connect multiple devices within the same local area
network (LAN). It operates at the Physical Layer (Layer 1) of the OSI model and does not
perform any intelligent data processing.
When a hub receives data from one device, it broadcasts the data to all connected devices,
regardless of the intended destination. Because it does not recognize MAC or IP addresses, all
devices share the same bandwidth, which can lead to network congestion and collisions.
Due to its inefficiency and lack of security, hubs are largely obsolete and have been replaced by
switches in modern networks.
4. Port
A port is a communication interface that allows devices or applications to send and receive data.
Ports can be physical or virtual, each serving a different purpose in networking.
Physical Port
Virtual Port
A virtual port (also called a logical port) is a software-based communication endpoint used
by applications and services. Virtual ports operate at the Transport Layer (Layer 4) and are
identified by port numbers (e.g., HTTP uses port 80, HTTPS uses port 443). They allow
multiple applications to communicate over the same network connection without interference.
A computer is an electronic device that accepts data (input), processes it according to a set of
instructions (programs), stores it, and produces information (output). It is an essential
component in a network, acting as either a source, destination, or intermediate processing
device for data.
A computer consists of key components such as the Central Processing Unit (CPU), memory,
storage devices, and input/output devices. In networking, a computer uses a network interface
card (NIC) to connect to a network and communicate with other devices using standard
protocols.
Computers interact with all layers of the OSI model, from the Physical Layer (sending electrical
or wireless signals) up to the Application Layer (running user applications such as web browsers
and email).
Short exam summary:
A computer is an electronic device that processes data into information and communicates on a
network using hardware and software components.
Explanation
Each computer:
Key Characteristics
No dedicated server
Easy to set up
Low cost
Suitable for small networks
Example
Advantages
Simple to install
No special server required
Low maintenance cost
Disadvantages
Weak security
Data is not centralized
Poor performance when many users are connected
2. Client–Server Network
Explanation
Key Characteristics
Example
Strong security
Centralized data storage
Easy backup and management
Better performance for large networks
Disadvantages
Expensive to set up
Requires skilled administration
If the server fails, clients are affected
Summary
Required Equipment
An Internet modem
A router (unless the modem has a built-in router)
Ethernet cables
Computers with Ethernet (LAN) ports
1. Connect the Internet service cable (DSL or coaxial) to the modem’s Internet/Cable
port.
2. Use an Ethernet cable to connect the modem to the router’s WAN (Internet) port.
(Skip this step if the modem includes a built-in router.)
3. Connect each computer to the router using an Ethernet cable plugged into the LAN
ports.
4. Turn on the modem, router, and computers.
5. Check the network icon on the computer to confirm a wired connection.
6. Open a web browser and access a website to verify that the connection is working.
A wireless network (Wi-Fi) allows computers and other devices to connect to a network
without using physical cables. It uses radio waves transmitted by a wireless router to provide
network and Internet access. Wireless networks are widely used in homes, offices, and public
places due to their mobility and convenience.
Required Equipment
An Internet modem
A wireless-enabled router
An Ethernet cable (to connect the modem to the router)
Computers or devices with wireless network adapters (built-in or external)
Mobility and flexibility, allowing users to move freely within coverage range
Easy installation, with no need for extensive cabling
Supports multiple devices, including smartphones and tablets
HomeGroup in Windows
A HomeGroup is a Windows networking feature that allows computers on the same home
network to easily share files, folders, and printers using a common password. It was mainly
used in Windows 7 and Windows 8/8.1 to simplify network sharing without complex
configuration.
HomeGroup uses a single password to allow trusted computers to join and share resources
securely.
How to Create a HomeGroup
1. Connect the computer to a home network (wired or wireless).
2. Open Control Panel → Network and Internet → HomeGroup.
3. Click Create a HomeGroup.
4. Select what you want to share (Documents, Pictures, Music, Videos, Printers).
5. Click Next.
6. Windows generates a HomeGroup password—note it down.
7. Click Finish to complete the setup.
The computer is now part of the HomeGroup and can access shared resources.
Advantages of HomeGroup
Easy file and printer sharing
Simple setup using a single password
Secure sharing within a trusted home network
Limitations of HomeGroup
Available only in older Windows versions
Works only on private (home) networks
Removed in Windows 10 (version 1803 and later)
A HomeGroup is a Windows feature that enables easy sharing of files and printers among
computers on the same home network using a common password.
Element 3: Configure Network Devices
Network Configuration
Network configuration refers to the process of setting up and managing network devices so
that they can communicate effectively.
Proper network configuration ensures reliable connectivity, efficient data flow, and secure
communication between devices on a network.
System Administrator
A system administrator (sysadmin) is a professional responsible for installing, maintaining,
and managing computer systems and networks. The system administrator ensures that
systems operate efficiently, securely, and without interruption.
Key responsibilities include user management, network monitoring, data backup, software
updates, troubleshooting, and enforcing security policies.
Network Architecture
Network architecture is the structural design of a network, defining how devices and services
communicate.
It defines how data flows within the network and how components interact.
Examples of network protocols include TCP/IP, HTTP, FTP, and SMTP. Without protocols,
network communication would not be possible.
Definition
The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes
how data is transmitted between computers in a network. It divides network communication into
seven distinct layers, each with specific responsibilities, to ensure interoperability, clarity,
and easier troubleshooting.
To solve this problem, ISO proposed the OSI model as a universal standard that would allow
systems from different vendors to communicate by following a common layered approach.
Although the OSI model itself is mostly theoretical today, it remains fundamental for
understanding, designing, and troubleshooting networks.
7. Application Layer
Function
Provides network services directly to user applications. This is the layer closest to the user and
where network communication begins.
Examples
Web browsers
Email clients
File transfer applications
Communication Example
Computer A opens a web browser and requests a webpage from Computer B. This request is
generated at the Application layer.
6. Presentation Layer
Function
Handles data formatting, encryption, compression, and translation, ensuring data is readable
and secure for the receiving system.
Communication Example
The webpage request is formatted and encrypted, allowing Computer B to correctly interpret
the data regardless of operating system or hardware differences.
5. Session Layer
Function
Establishes, manages, and terminates communication sessions between devices, keeping data
exchanges organized and synchronized.
Communication Example
A session is created between Computer A and Computer B to keep the communication active
and synchronized while the webpage is being loaded.
4. Transport Layer
Function
Ensures reliable or fast data delivery, manages error checking, and controls data flow
between devices.
Key Protocols
Communication Example
The webpage data is broken into segments, numbered, and sent using TCP, ensuring that any
missing data is retransmitted.
3. Network Layer
Function
Key Concept
IP addressing
Communication Example
The data segments are assigned source and destination IP addresses, and routers determine the
best path for the data to travel from Computer A to Computer B.
Provides node-to-node delivery, performs error detection, and uses MAC addresses to deliver
data within the local network.
Communication Example
Within the LAN, data is packaged into frames and delivered using MAC addresses, ensuring
the data reaches the correct device.
1. Physical Layer
Function
Transmits raw bits (0s and 1s) over the physical medium.
Examples
Ethernet cables
Fiber optics
Wi-Fi radio signals
Communication Example
The frames are converted into electrical signals, light pulses, or radio waves and physically
transmitted from Computer A to Computer B.
The TCP/IP model (Transmission Control Protocol / Internet Protocol) is a layered networking
model that explains how data is transmitted from one device to another across interconnected
networks, especially the Internet.
1. Physical
2. Data Link
3. Internet
4. Transport
5. Application
Each layer performs a specific function, working together to ensure accurate, reliable, and
efficient communication.
The TCP/IP protocol suite is a collection of communication protocols designed to enable end-
to-end data transmission across different networks.
Major milestones:
TCP/IP was developed before the OSI model because it was created to solve immediate, real-
world networking problems.
TCP/IP characteristics:
[Link] backbone
TCP/IP is the foundation of the Internet. All online services such as web browsing, email, and
file transfer rely on TCP/IP.
2. Interoperability
TCP/IP enables communication between different devices, operating systems, and manufacturers
using standard protocols.
3. Scalability
The model supports both small networks and large global networks, allowing easy network
expansion.
Through protocols like TCP, the model ensures error-free, ordered, and reliable data delivery.
TCP/IP powers cloud computing, mobile networks, video conferencing, and IoT systems.
6. Fault Tolerance
If a network path fails, TCP/IP can reroute data, ensuring continuous communication.
8. Industry Standard
The Application Layer is the topmost layer of the TCP/IP model that combines the roles of
Application, Presentation, and Session layers of the OSI model. It is the layer closest to the user
and is responsible for providing network services directly to application software (e.g.,
browsers, email clients, file transfer tools).
Key functions
Automatically assigns:
o IP address
o Subnet mask
o Gateway
o DNS server
Uses UDP
Ports: 67 (server), 68 (client)
k) Telnet
Core functions
1. Segmentation
o Breaks large application data into smaller units called segments
o Makes transmission efficient and manageable
2. Reassembly
o Reorders and combines received segments into the original data
3. Port Addressing
o Uses port numbers to identify sending and receiving applications
o Example: Web server uses port 80 or 443
4. Multiplexing and Demultiplexing
o Allows multiple applications to share the network simultaneously
o Delivers received data to the correct application
5. Flow Control
o Prevents a fast sender from overwhelming a slow receiver
6. Error Control
o Detects lost or corrupted segments
o Ensures accurate delivery (protocol-dependent)
7. Connection Management
o Establishes, maintains, and terminates logical connections (if supported)
Steps
a. SYN
o The client sends a synchronize (SYN) segment to the server
o Indicates: “I want to start a connection”
b. SYN–ACK
o The server responds with SYN + ACK
o Indicates: “I received your request and I’m ready”
c. ACK
o The client sends an ACK
o The connection is now established
2. Data transfer
3. Error handling
o Lost segments are retransmitted
o Corrupted data is detected using checksums
4. Flow control
o Uses a sliding window mechanism
o The receiver advertises a window size (available buffer space).
o If the receiver is busy: It advertises a smaller window
o If it has more capacity: It advertises a larger window
o Adjusts sending rate based on receiver capacity
5. Congestion control
TCP monitors the network for congestion signs such as; Packet loss and Increased delays
When congestion is detected, TCP reduces the sending rate
When the network is stable: TCP gradually increases the sending rate
6. Connection termination
o Graceful connection close using FIN and ACK flags
Steps
UDP is an unreliable, connectionless transport protocol designed for speed and efficiency.
Key features