Computer Network A system of interconnected devices (such as computers, servers, routers, and switches) that communicate and share resources using communication protocols over wired or wireless connections
Key Components Computer Network
Network Types LAN – Local Area Network (e.g., office) WAN – Wide Area Network (e.g., Internet) PAN – Personal Area Network (e.g., Bluetooth) MAN – Metropolitan Area Network WLAN - Wireless Local Area Network (e.g., Wifi) Computer Network
Network Topology Computer Network Point to point Bus Star Ring Mesh Hybrid Tree
Protocol Layers OSI & TCP/IP Model
Common Services DNS – Resolves domain names DHCP – Assigns IP addresses dynamically IPAM (e.g., QIP) – Manages IP allocation DDI
IP Address (Internet Protocol)
Definition A unique numerical identifier assigned to each device connected to a network Allows devices to locate and communicate with each other across networks IP Address
Types Public IP : Used to identify a network on the internet Private IP : Used within a local network (LAN). Static IP : A fixed IP address that does not change Dynamic IP : be provided by the DHCP server, which can change IP address
Versions IP address IPv4 IPv6 Older and more widely used version The newer version, designed to replace IPv4 Length 32-bit Length 128-bit Format : xxx.xxx.xxx.xxx ( Each group represents a number between 0 and 255 ) Format : xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx ( Each section consists of a hexadecimal value ) ~4.3 billion (2³²) addresses ~340 undecillion (2¹²⁸) addresses
Subnet Subnetwork
Definition Subnet: A smaller network that is split from a larger parent network. Subnet Mask: Separates the IP address into network and host portions.(Decimal & CIDR formats) IP Address: [Network] + [Host] IP address
Benefits of Subnetting: Helps divide a large network into smaller —> more manageable segments Enhances security and optimizes performance Saves IP address space Separates networks for users, servers, departments, etc. IP address
How to Subnet
Problem Given the 192.168.1.0 /24 network, you want to create subnets that can support 50 hosts each Subnetting
Preparation Ask yourself one of these questions: How many subnets do I need? How many hosts do I need per subnet? -> 50 hosts → This determines your subnet mask and subnet size. Subnetting
Step 1 – Identify Base IP and Subnet Mask IP: 192.168.1.0 Subnet mask: /24 → 255.255.255.0 Subnetting
Step 2 – Calculate the number of required hosts Each subnet need to have at least 50 usable hosts. Choose a subnet with at least 52 addresses (since 2 addresses are reserved). /26 subnet (62 usable hosts) is suitable. 4 subnet (from reference table) Subnetting
Step 3 – Calculate the block size (subnet increment) /26 → Subnet mask: 255.255.255.192 The last octet is 192 , so: → Block size = 256 – 192 = 64 This means each subnet will increase by 64 addresses in the last octet (e.g., 0, 64, 128, 192, 255). Subnetting
DNS (Domain name service) A system resolves human-readable domain names into IP addresses DDI
How DNS works DNS
DNS Records DNS Type Full Name A Address AAAA IPv6 Address CNAME Canonical Name NS Name Server TXT Text SOA Start of Authority
DNS Hierarchical DNS
Step 1: Register and Own a Domain Name Step 2: Set Up a DNS Server Step 3: Create a DNS Zone for the Domain Step 4: Add DNS Records Step 5: Save and v erify DNS Configuration DNS Configuration steps DNS
DNS checker tools Window: nslookup example.com Linux/ macOS : dig exmaple.com Online: DNS Checker DNS
DHCP (Dynamic Host Configuration Protocol)
Definition DHCP A protocol used to automatically assign IP addresses to devices (clients) on a network.
How DHCP works DHCP works through a 4 main steps (DORA) DHCP
How to use DHCP Step 1: Install/Enable DHCP Server Step 2: Define DHCP Scope/Pool (IP range) IP address pool Subnet mask Default gateway DNS servers Lease duration Step 4: Save config and start the DHCP service Step 5: Verify DHCP
IPAM (IP Address Management)
Definition A system used to plan, track, and manage IP addresses and related network information. Tools support: Microsoft IPAM SolarWinds Infoblox phpIPAM IPAM
Key Functions of IPAM Track IP usage across subnets Manage static and dynamic IP assignments Integrate with DHCP and DNS servers Detect IP conflicts and duplicate IPs Automate IP address discovery and updates IPAM
Benefits Prevents IP duplication and conflicts Improves visibility and control of IP space Enables easier network scaling and planning Automates manual IP tracking (e.g., no more Excel sheets) IPAM
Defects
Definition Defects are technical errors that occur during the design, configuration, deployment, or operation of a network. They can cause: Loss of connectivity Reduced speed Service interruptions (downtime) Security vulnerabilities Negative impact on user experience Defects
Types of Network Defects Hardware defects Configuration defects Connectivity defects Wireless defects Security defects Software or Protocol Defects Defects
Causes of Network Defects Faulty hardware devices (routers, switches, cables) Misconfigurations (DHCP, routing, VLANs) System overload (limited bandwidth, too many devices) Software bugs or outdated firmware External factors (cyberattacks, electromagnetic interference) Defects