DEV Community

Cover image for Ultimate Guide to System and Network Adminstration 🌐 πŸ› οΈ
Riya Halbhavi
Riya Halbhavi

Posted on

Ultimate Guide to System and Network Adminstration 🌐 πŸ› οΈ

In a world completely powered by technology, have you ever wondered what actually keeps our digital lives from crashing down? Enter the unsung heroes: system and network administration.


Think of an operating system like Windows or Linux as a computer's command center, orchestrating everything from the heavy-lifting CPU to the smallest plugged-in device. To keep your data safe and your machine stable, it cleverly splits its brain into two zones: a restricted "user mode" where your everyday apps play, and a highly secure, privileged "kernel mode" reserved strictly for critical system operations.

When individual computers connect to form massive global networks, the complexity skyrockets. This comprehensive guide breaks down those complex environments into simple, bite-sized concepts.

Here is a quick snapshot of what we will cover:

  1. Host & OS Administration: This module covers how an operating system functions as the primary intermediary between a user and a computer's raw physical hardware. It explains how the system kernel manages critical computing processes, memory allocation, local storage file systems, and administrative tasks like security patching and automated scripting.
  2. Networking Concepts, Topologies, and Protocols: This module explores how individual computer systems connect and communicate across localized or global distances. It details the structural design of network topologies, addressing rules like IPv4 and IPv6, and the standardized layer frameworks that ensure safe and efficient data transmission.

πŸ›οΈ Part 1: Operating Systems & Host Administration


πŸ–₯️ Computer Resources and Functions


At its core, every computer system is a collection of physical machinery and digital structures working together to solve problems. To understand how an operating system manages these pieces, it helps to look at the foundational puzzle blocks of a computer. This section maps out the primary hardware and data elements the system has to control, alongside a simple breakdown of how data flows through a machine from the moment you provide an input to when it saves or displays your final results.


Computer Resources

  • CPU
  • Memory
  • Input / Output Devices
  • Files

Computer Functions

 πŸ“₯ Input ───► βš™οΈ Process ───► πŸ“€ Output
                  β–²
                  β”‚
                  β–Ό
              πŸ’Ύ Storage
Enter fullscreen mode Exit fullscreen mode

βš™οΈ Operating Systems


πŸ’» Definition

  • System software that manages computer hardware & software resources.
  • Intermediary between users and computer hardware.
  • Provides essential services for application programs.

🌟 Features

  • User Interface: method for users to interact with computer.
  • File system: method by which OS stores and organizes files.
  • Processes and services
  • Kernel: Heart of OS, runs with highest priority.
  • Ensures high-priority processes are taken care of first.
  • Manages memory, makes sure I/O devices are accessed by only 1 person at a time.

πŸ“ Examples:

  • Desktop OS: Windows, macOS, Linux
  • Server OS: Windows Server, Unix, Red Hat Enterprise, etc.
  • Mobile OS: Android, iOS

πŸ› οΈ Core Functions:

  • Process Management
  • Memory Management
  • File System Management
  • Device Management
  • Security & Access Control

πŸ”„ Process and CPU Management


πŸ”„ Process Management

  • Process: Program / event in execution.
  • Process creation, scheduling, termination of processes.
  • Multitasking: context-switching, scheduling algorithms.
  • Zombie process: Parent process deleted, child process executed.

⏱️ CPU Allocation Concepts

  • Each process is given a "time slice" by CPU.
  • After an operation is complete, the kernel gives the next process CPU access for its time slice.
  • FIFO (First In First Out) Method: Arrive first, get served first. Once a program starts running on the CPU, it cannot be interrupted or stopped by any other program until it is completely finished with its task. This is an example of a non-preemptive scheduling rule.
  • Preemption (Priority-Based Selection): The operating system retains the power to forcibly interrupt and freeze a running program if a higher-priority, time-critical application suddenly cuts in line and demands immediate CPU attention.

πŸ“Š Process Time-Slice Allocation Example

P1 P2 P3 P4 P5
a b c d e
12 s 10 s 15 s 20 s 10 s

πŸ”„ Operating System Execution Modes


Restricted / User Mode vs. Privileged / Kernel Mode

Restricted / User Mode Privileged / Kernel mode
- Executing code has inability to directly access hardware or reference memory. - Executing code has full access to underlying hardware.
- Must assign to system APIs to access hardware / memory. - Can execute any CPU instruction and reference any memory address.
- Purpose is to run user-level applications and software. - Purpose is to manage system hardware & resources.
- Crashes don't crash entire OS. - Crashes may crash entire OS.
- Limited exception handling. - Comprehensive exception handling.

🧠 Memory Management & Storage Mapping


πŸ› οΈ OS Memory Management Tasks

  • Allocates memory to processes, handles de-allocation.
  • Memory segmentation & paging: splits memory if there is no continuous storage space.
  • Ensures memory protection to prevent processes from interfering with each other.

Kinds of Memory

  • Main memory
  • Secondary memory
  • Cache memory
  • Register memory
  • Flash memory

πŸ—² Main Memory

  • Located on the motherboard of the computer.
  • It stores data, instructions to be executed.

Includes:

  • RAM (Random Access Memory)
  • ROM (Read-Only Memory)

πŸ’Ύ Secondary Memory

  • Physical device for the storage of data permanently.
  • This data can be accessed and retrieved even after the computer is turned off.

Examples:

  • Hard disk
  • Flash drive
  • Compact drive

⚑ Cache Memory

  • Kind of RAM, located on both sides of the CPU.
  • It stores frequently accessed data and programs, allowing the CPU to quickly retrieve this data and execute instructions when needed.

πŸ“Ÿ Register Memory

  • Located in the CPU.
  • This stores data in registers which is currently being executed by the CPU.
  • It's useful for parallel processing.

πŸ“Έ Flash Memory

  • Non-volatile storage devices which are external.

Examples:

  • USB Drives
  • DVDs
  • Cameras in phones
  • Embedded systems in microcontrollers.

πŸ–₯️ Environment Architectures: Desktop vs. Server


πŸ‘€ Desktop OS

  • Client OS
  • Used by 1 person at a time.
  • Always connected to a network (wired / wireless).

Hardware with this OS:

  • Desktop computers (CPU box, keyboard, mouse, monitor)
  • Laptops
  • iMac computers
  • Tablet computers (iPad Pro, Microsoft Surface) with detachable keyboards.

🌐 Server OS

  • Installed on a more powerful computer.
  • Usually wired connection.
  • Enables usage by multiple users.

Hardware with this OS:

  • Traditional server hardware
  • Rack-mounted server hardware
  • Blade servers

πŸ—„οΈ Server Types

  Traditional            Rack Server             Blade Server  
  _________             _____________            ___________
 |         |           |  Server 1   | 4        |||||||||||
 |    o    |           |-------------| Racks    |||||||||||
 |         |           |  Server 2   |          |||||||||||
 |_________|           |-------------|          |||||||||||
                       |  Server 3   |          |___________|
                       |-------------|            <- slots ->
                       |  Server 4   |
                       |_____________|

Enter fullscreen mode Exit fullscreen mode

πŸ’Ύ Kinds of Historical & Modern Operating Systems


πŸͺŸ Windows: Developed by Microsoft

  • Used in PCs, laptops, servers.

Architecture:

  1. Pentium architecture
  2. 32-bit architecture

⏳ Versions Timeline

  • Windows 3.x (1989)
  • Windows 95 (PnP)
  • Windows 98 (Active Desktop)
  • Windows Millennium Ed.
  • Windows New Technology (desktop & servers) : workstations, server
  • Windows 2000 (VPNs)
  • Windows Vista (desktop)
  • Windows XP
  • Windows 7 (success)
  • Windows 8 / 8.1
  • Windows 10
  • Windows 11

🐧 Linux

  • Open-source, Unix-like OS kernel.
  • Runs on Intel & AMD-based processors.

πŸ“¦ Distributions:

  • Ubuntu
  • Fedora
  • Debian
  • CentOS
  • Arch Linux
  • OpenSUSE Linux
  • Turbolinux

🍏 macOS

  • Developed by Apple
  • Intel processors, proprietary hardware
  • Built on Darwin UNIX - distribution of BSD Linux UNIX version

πŸ“Œ Versions:

  • Mac OS X
  • Mac OS 10.x : firmware - hardware - functions located in ROM (unique)

πŸ’Ύ MS-DOS and PC DOS

  • Microsoft's original OS for IBM PC hardware platform
  • Text-based CLI
  • Version called PC DOS as it was customized & marketed by IBM

🌐 UNIX Operating System


  • Developed at AT&T, headed by Ken Thompson & Dennis Ritchie, in 1969.
  • Company made it open-source.

πŸ›οΈ UNIX Standards:

  • BSD (Berkeley Software Distribution) standard: NetBSD, FreeBSD, BSDi UNIX (paid)
  • SVR4 (System V Release 4) standard: free Linux ver.s, Oracle Solaris, SCO UNIX

πŸ“ Design Standards:

  • Modularity: Made of separate components, each performing a specific function.
  • Simplicity: Small set of tools, each performing a specific function.
  • Composability: Tools designed to work together seamlessly by using standard I/O streams.
  • Extensibility: Functionalities can be extended by users
  • Standards:
  • SUS (Single UNIX Specification)
  • POSIX (Portable OS standards)

🌿 UNIX Distribution Family Tree

                      🐧 [UNIX Distributions]
                     /                       \
        πŸ› οΈ [Unix-Based]                     🧬 [Unix-Like]
       /   β”‚   β”‚   β”‚   \                   /   β”‚   β”‚   β”‚   \
    [AIX] [Sol] [IRIX] [HP-UX]          [FBSD] [NBSD] [GL] [COS] [OBSD]
      β”‚     β”‚     β”‚                       β”‚      β”‚     β”‚    β”‚
   (macOS) (Deb) (Fed)                 (And)  (QNX)  (SCO) (Tru)
      β”‚
   (Ubu)

Enter fullscreen mode Exit fullscreen mode

🐚 Shell and Terminal Frameworks


Input prompt ───► Command ───► Execution
Enter fullscreen mode Exit fullscreen mode
  • A Shell is a computer program that allows the user to interact with the operating system. It's like an interface between the user and the OS, kernel.
  • It enables users to execute commands, run programs, and manage system resources.

πŸ“‹ Types of Shells:

πŸ’» Command-line Shells

  • Bash (Bourne Again Shell)
  • sh (Bourne Shell)
  • csh (C Shell)
  • zsh
  • PowerShell
  • ksh (Korn Shell)
  • Fish (Friendly Interactive Shell)
  • Tsh (T Shell)

πŸ–ΌοΈ GUI Shells

  • Windows Shell
  • GNOME Shell
  • KDE Plasma
  • macOS Finder

🌐 Remote / Network Shells

  • Allow users to interact with a system over a network.
  • SSH (Secure Shell)
  • Telnet (Outdated)

πŸ“± Mobile & Embedded Shells

  • Used in mobiles and embedded systems.
  • ADB shell - Android

πŸ“ Line Editor vs. Text Editor

Line Editor Text Editor
- Text is edited line by line - Text can be edited at once
- CLI - GUI, interactive interface
- Challenging for users with no coding skill - Suitable for all users
- ... Simultaneous - Can edit multiple lines simultaneously
- Minimal resource usage - Greater resource usage
- Used for embedded systems - Used for programming, writing, general-purpose editing
- Examples: ed, ex - Examples: VS Code, Notepad, Sublime Text, Vim, GNU Emacs

πŸ“Š Operating System Deployment & Design Models


An operating system can be designed differently depending on who is using it and what kind of computer it runs on.


Types of OS

Here are the core types:

  • Batch Processing OS: The oldest type of system where the computer collects similar data jobs into a "batch" and processes them all at once later without any human interaction.
  • Time-Sharing OS: Allows multiple users located at different terminals to share a single central computer's processor time simultaneously. The CPU switches between users so fast that everyone feels like they have their own dedicated computer. (Examples: UNIX, IBM VM/370).
  • Real-Time OS (RTOS): Built for environments where timing is everything. It must receive an input and guarantee a correct output within a strict, razor-thin time limit. (Examples: Systems inside automated factory machinery, rocket guidance systems, or medical equipment).
  • Multiuser OS: Designed to let multiple people log in, run programs, and access the computer's resources at the exact same time. All modern server operating systems fall into this category.
  • Multitasking OS: Allows a single user to run and switch between multiple different applications seamlessly at the same time (like listening to music while typing a document). This is managed using two scheduling strategies:
  • Pre-emptive Multitasking: The operating system acts as a strict boss, forcibly pausing programs when their time slice is up or when a higher-priority app needs to use the CPU.
  • Non Pre-emptive (Cooperative) Multitasking: Programs are on the "honor system." A program keeps control of the CPU for as long as it wants and must voluntarily release it to let the next application run. If one app freezes, the whole computer freezes.

πŸ—„οΈ Specialized Computing Environments

  • Mainframe Computer: Massive, highly reliable computers used by large organizations (like banks, insurance companies, and scientific institutions) to safely process huge, bulk volumes of critical data transactions.
  • Single-User OS: Designed to easily manage a device for exactly one person at a time with no shared network user pipelines required. (Examples: MS-DOS, early mobile devices, or simple embedded microcontrollers).

⏱️ RTOS (Real-Time Operating System) Classifications

  • Hard RTOS: Strict time constraints for completing tasks
  • Soft RTOS: timeliness is not critical, allows small errors.
Hard RTOS Soft RTOS
- Aerospace - Smartphones
- Defense - Cameras
- Automotive - PCs
- Industrial automation - Online games
- Email systems
- Digital audio systems
  • Single-user: handles 1 user at a time
  • Ex: VxWorks, QNX, Windows CE

πŸ”€ OS Type Comparison


Comparison Time-sharing Real-time Multiuser Multitasking
Functionalities - Allows multiple users to share CPU time, batch processes - Ensures process execution in specific time intervals - Allows multiple users to access single system. - Allows multiple users to perform multiple tasks at same time.
- Processes data as it comes in. - Switches between tasks. - Individual sessions for each user. - Allocates CPU time to tasks using scheduling algorithms
Scheduling - Priority-based - Time-slicing - User-specific - Pre-emptive / non-pre-emptive
Advantages - Efficient utilization of resources - Very reliable & predictable - Enhances collaborative workflows - Enhances productivity
- Allows for remote operation - Continuous performance, no interruptions - Improves resource sharing among users - Reduces CPU idle time
- Reduces CPU idle time - Sticks to deadlines - Good security & system monitoring mechanisms - Background running of processes
- Cost-effective - Useful in embedded systems - Smooth multi-tasking
- Allows multiple users to work / access
Disadvantages - Performance may degrade with system load - Expensive in cost to maintain & develop - More complex - Performance can be hindered by many tasks
- Security vulnerabilities due to resource sharing - Limited flexibility in non-critical applications. - May need high-end hardware - Debugging is complex in inter-dependent tasks
- Requires efficient scheduling to prevent conflicts - For strict time-slices, higher costs required - Security risks caused only by 1 user - Resources can cause system delays or instability
- Overhead of context switching - Complex debugging & testing - Performance can degrade with too many users
Examples - UNIX - Hard RTOS: VxWorks, FreeRTOS - Windows Server - Windows 10/11
- Linux (multi-user mode) - Soft RTOS: Windows CE, QNX - Linux (multi user mode) - macOS
- Windows Server - Unix - Android
- Linux (desktop distributions)
Reliability High Very high High Moderate - high

πŸ’Ώ System Installation and Virtualization


πŸ’Ώ OS Installation Types

  • Clean Installation:
  • Performed on system with no os installed.
  • OS deleted and replaced with new OS
  • new OS installed on different volume
  • Upgrade Installation:
  • computer already having os.

πŸ› οΈ Installation Procedure:

  1. Gathering system information
  2. Running Installation program
  3. Determining which OS elements to be installed
  4. Copying OS files to computer (unzip files)
  5. Configuring devices & drivers
  6. Restarting system and finalizing configuration of devices

πŸ–₯️ VT-x / Virtualization Technology


Guest OS ---> Base / Host OS communication
Enter fullscreen mode Exit fullscreen mode

πŸ› οΈ Verification & Installation Setup:

  1. Open Terminal
  2. Run systeminfo.exe
  3. Check Hyper-V requirements (Hyper-Visor)
  4. Virtualization Enabled - Yes/No

πŸͺŸ Enabling Virtualization in Windows:

Settings --> Updates and Security --> Restart Now --> Troubleshoot --> Advanced --> UEFI Firmware Setting --> Virtualization --> Enable


πŸ“¦ Virtual Box Installation Guide (On Windows)


πŸš€ Phase I: Base OS Setup

  1. Install Oracle Virtual Box, Ubuntu, Windows 10 ISO file (Disk image).
  2. New --> Name: Ubuntu, Mac OS X, 64-bit
  3. Settings: storage --> Choose a disk file --> Windows 10 ISO file
  4. 'Start' button

πŸ–₯️ Windows Setup Screen Navigation:

  • Lang - 'English'
  • 'Install Now'
  • Activate Windows --> 'I don't have a product key'
  • 'Windows 10 Home' --> Next
  • Accept Terms & Conditions --> 'Next'
  • Type of installation --> 'Custom install'
  • Where: Partition ('New') --> Don't partition --> 'Next'$ (10-15 mins)
  • Keyboard --> US Keyboard
  • Second Keyboard --> 'Skip'
  • Create Account --> Get a new email address --> outlook.com email --> country, birthdate, phone no.
  • Accept

πŸ”Œ Phase II: USB Drive / Flash Storage Setup


🧑 Guest Host Administration (Ubuntu Linux Baseline)


  • Free, open-source Linux distribution
  • Introduced in 2004 by Canonical
  • Operates smoothly on low-end devices
  • GUI - GNOME

⌨️ Essential Terminal Commands

Command Description
pwd Displays present working directory
sudo apt Installs modules
cd ~/Destination Navigates to destination/folder
ls Lists directories in system
uname -a Displays kernel version, architecture
lscpu Displays CPU architecture
cat /proc/cpuinfo Displays CPU details
nproc Displays no. of processors in system

πŸ” Checking System Information Tasks

1. OS Version Check:

  • Go to Settings --> About --> Operating System
  • Ver: Ubuntu 24.04.1 LTS

2. Kernel Version Check:

  • In Terminal, run 'uname -a'
  • Ver --> Linux

3. CPU Information Check:

  • terminal --> run 'cpu-info'
  • Intel 13th Gen Core i5-1335U

πŸ–₯️ System Settings & Verification (Ubuntu GUI)


πŸ“Ί Display

  • Settings --> Displays
  • Landscape, Res: 1920 x 1080, Refresh rate: 120.02Hz, Scale: 100%

πŸ”Š Sound

  • Settings --> Sound
  • Output: Speakers, Input: Internal Microphone

🧠 Virtual Memory

  • 2 GB (2048 MB)

🌐 IP Address & Network Settings

  1. Terminal
  2. Run 'sudo apt install net-tools'
  3. Run 'ifconfig'
enpls0: ether 0f:bf:1b:ba:9a:1a
lo: inet 127.0.0.1 netmask 255.0.0.0
wlp1s0: inet 192.168.102.218

<global>:
inet6 2401:4900:9024:6073:2fcd:8cd0:a0e6:c5a

Enter fullscreen mode Exit fullscreen mode
  • To check utility tool version: 'ifconfig --version' --> net-tools 2.10

πŸ’Ύ Hardware Information

  • Memory Information: Settings --> System --> Memory --> Memory: 16.0 GiB
  • Disk usage: 0.8 GiB (Apparent size: 0.7 GiB)
  • BIOS Mode Check: UEFI / Terminal --> sudo systemctl reboot --firmware-setup

πŸͺŸ Windows 10 Virtual Machine (VM) Properties


  • OS Version: Windows 10 Home 22H2 Build: 19045.3803
  • System Name: DESKTOP-EJSNR19
  • CPU Information: 13th Gen Intel(R) Core(TM) i5-1335U 2.50 GHz
  • Installed RAM: 2.00 GB
  • Disk Image: OS (C:) --> 112.56 GB NTFS (Healthy) Usage: 5%
  • IP Address Configuration: IPv6: fd00::4bd5:69ad:2303:169b --> IPv4: 10.0.2.15
  • Graphics Card Adapter Type: Microsoft Basic Display Adapter
  • Keyboard layout: QWERTY
  • Pointing Device: no of buttons --> Mouse
  • BIOS Version: SMBIOS BIOS VERSION Virtual Box

πŸ”Œ Host Hardware & Peripheral Management


πŸ› οΈ Basic I/O Device Configuration Steps

  1. Install device drivers
  2. Connect input/output/storage device
  3. Turn on device

πŸͺŸ Windows Driver Deployment Lifecycle

Automatic Driver Installation (Plug and Play - PnP): Automatically detects and installs drivers when user connects device

Windows Update (Online): download & install missing/updated drivers

  • Settings --> Update & Security --> Windows Update

Manual Installation via Device Manager:

  • Win + X --> Device Manager --> Locate device
  • Actions available: Update/roll back to earlier version, Disable device/Uninstall driver

🐧 Ubuntu Driver Deployment Lifecycle (Terminal)

  • ubuntu-drivers devices (list drivers)
  • sudo ubuntu-drivers autoinstall

πŸ–₯️ Device Manager Properties

Devices --> Properties --> Update Driver


⌨️ Input Devices & Peripherals


Common Examples:

  • Keyboard (USB-enabled, PS2-enabled)
  • Scanner (Flatbed, Handheld, Sheetfed, Photo)
  • Light pen
  • Remote
  • Webcam
  • OCR (Optical Character Recognition)
  • MICR (Magnetic Ink Recognition)
  • Mouse - mechanical/optical/wireless (Bluetooth/Wi-Fi/IrDA (Infrared))
  • Joystick - Game controller/pad (D-pad, Analog sticks, action buttons, triggers)
  • Mic
  • Touch pad/screen
  • Biometric Devices

βš™οΈ Core Peripheral Drivers

  • Mouse Device Driver: Actions are translated into digital signals understood by OS & applications. Ensures compatibility with OS & applications
  • Keyboard Driver: Converts keystrokes into digital signals, enables special keys

πŸ–¨οΈ Printers and Imaging Technology


  • Printer: Peripheral device
  • Printer Driver: Translates digital documents into device specific instructions

πŸ”¬ Common Printing Systems

  • Inkjet: liquid ink sprayed
  • Laser: powdered toner & laser
  • Multi-Function: print, scan, fax, copy (All-in-one)
  • Dot Matrix: print head moving back & forth, strikes inky ribbon on paper
  • Plotter: large vector graphics, architectural blueprints, maps, eng. designs
  • Label: printing adhesive labels & tags, thermal/inkjet technology
  • Line: prints content line by line - entire line at once
  • Thermal-wax transfer: Uses heat to transfer ink onto coated paper
  • Dye Sublimation: Uses heat to transfer dye onto plastic/card/paper/fabric
  • 3D: Fused Deposition Modeling, SLA-Stereolithography, SLS- Selective Laser Sintering

πŸ’‘ Sublimation definition: Solid dye sublimated into gas without passing through liquid state


πŸ”Œ Display Adapters & Audio Processing

πŸ–₯️ Display Adapter

  • Graphics adapter / Graphics card / Video card / GPU
  • Converts data from CPU into visual output, rendering visuals
  • PC-Display adapter card, pixels - horizontal & vertical
  • Higher resolution requires larger monitor

Resolution units:

  • dots per inch (dpi) - printers
  • pixels per inch (ppi) - monitors

  • DVI (Digital Visual Interface): 1920 x 1200 - High-quality visual standard for LCD displays and digital projectors, TVs. - HDMI

🎡 Sound Card

  • Enables system to process & output audio signals.

Types:

  • Integrated sound card (motherboard)
  • Dedicated sound card (bus slot)

πŸ—° Local Storage Drive Initialization & File Systems


πŸ”€ Memory Classifications

  • Volatile (temporary): RAM
  • Non-volatile (permanent): ROM, SSD, HDDs, USBs, CD/DVDs

πŸ’Ύ Hardware Storage Profiles

  • HDD: bulk storage, spinning magnetic disks
  • SSD: flash memory (no moving parts)
  • USB: Uses flash memory
  • CD/DVD: Optical storage
  • Magnetic tape: large-scale data backup / archival storage

πŸ“₯ Storage Block Allocation Mapping

  • Uses: OS Files, User apps, User documents, Virtual memory, Log files, Virtual machines, Database storage

πŸ›°οΈ Enterprise Storage Access Methodologies

  • Local Storage: internal (SSD/hard drive), External (USB / hard disk)
  • Direct-attached storage (DAS): connected to computer without network
  • Network-attached storage (NAS): device, network-connected
  • Storage area network (SAN): connects multiple storage devices to multiple servers.
  • Technologies: Fibre channel

πŸ› οΈ Local Drive Initialization Protocol (Hard Drive / SSD Setup)

  1. Connect disk - Install inside computer
  2. Initialize disk - OS detects disk
  3. Partitioning (volume)
  4. Formatting (File systems - NTFS/FAT32 to make disk usable)
  5. Assign a drive letter (ex: C:, D:) - by system
  • Disk capacity flags: B, KB, MB, GB, TB, PB (Petabyte)
  • Disk speed: RPM (Revolutions per minute)

πŸ”Œ Storage & File System Interfaces


⛓️ Hardware Connection Interfaces

  • SATA (Serial Advanced Technology Attachment)
  • SAS (Serial Attached SCSI)
  • SCSI (Small computer system Interface)
  • SATA: connect HDDs/SSDs to computer
  • SAS: connect hard drives to computer, in server / enterprise networks / systems
  • SCSI: similar to SAS, predecessor, up to $6\text{ Gb/s}$

πŸ“‚ File System Principles


  • Used by OS to organize, store, retrieve, manage data on storage devices.

πŸ› οΈ Core Administrative Functions

  • File Organization - Into directories
  • File Naming
  • File Access Control - r, w, x (execution)
  • Data Integrity & Security
  • File Retrieval / Deletion
  • File Backup / Recovery
  • Path syntax: Ex: C:/folder/filename

πŸ—ΊοΈ Default OS File System Matrix

Operating System Native File System Default External Storage Default
Windows NTFS USB Drives --> FAT32 / exFAT
Linux EXT Memory cards --> External storage
macOS APFS (Apple File System)

πŸ“‚ File System Interfaces & Structures


πŸ‘₯ User Navigation Platforms

  • GUI
  • CLI
  • API (programmatically). Ex: Windows API, POSIX API (Linux), Java File API

🌿 Directory Structure Path Formats

  • Linux Structure: Root / Dir / Subdir / File path
  • Windows Structure: C: Root \ Dir \ subdir \ File path

πŸ’Ύ File System Formats / Architectures


πŸͺŸ Windows Formats

  • FAT32 & exFAT (FAT64): File Allocation Table
  • NTFS: New Technology File system
  • ReFS: Resilient File System (large scale)
  • CDFS: Compact Disc File System (CD-ROMs)
  • UDF: Universal Disk Format (DVDs, Blu-ray)

🐧 Linux Formats

  • EXT: Extended File System (EXT2, EXT3, EXT4)
  • EXT4: Ubuntu, Fedora, Debian - upto 16TB files, 1EB volumes

🧰 Drive Mounting & Permission Architecture


🧭 Media Volume Mounting Protocols

Mounting: making storage devices accessible to the OS / mounting to folder

  • Command syntax: * sudo mount /device/xyz /folder

Unmounting: Removing file system, ejecting safely

  • Linux Command: * sudo umount /folder
  • Windows Action: "Safely Remove Hardware"

πŸ”’ Linux File Access Permissions Configuration

  • Linux: sudo chmod 1/2/3/4/5/6/7/0

πŸ”’ Absolute Access Settings (Octal Mode Representation)

Octal Absolute Permissions Name
0 None
1 Execute (x)
2 Write
3 Write & Execute
4 Read
5 Read & Execute
6 Read & Write
7 All

πŸ”£ Relative Permissions Adjustments (Symbolic Mode Representation)

  • Target Identity Scopes: user (u), group (g), others (o), All (a)
  • Operator Flag Controls:
  • + adds privilege
  • - removes privilege
  • = reassigns only specified

πŸ“ Concrete CLI File Configuration Examples

  • Ex: chmod 142 filepath (ugo)
  • Ex: sudo chmod u+x filename (user execute)
  • Create file: gedit filename
  • Compile file: gcc filename
  • Run file: ./a.out

πŸ‘₯ Host Accounts & Directory Services


πŸ”‘ User Accounts Primary Profiles

  • Authentication Tokens: Passwords (login / identity verification), PINs, Biometrics, multi-factor authentication (MFA)
  • Personal & system-related details registry: username & password, Full name, Email address, User role (Admin, Standard, Guest), Permissions & Access Rights
  • User Directories Engines:
  • Active Directory - Windows
  • Lightweight Directory Access Protocol - Linux

πŸ‘₯ Group Accounts Core Tasks

  • Group of user accounts sharing access permissions / rights.
  • simplifies permission management
  • Improves security & access control, security policies
  • Enhances efficiency in managing resources.

πŸ“Š Structural Profile Differences Matrix

Feature Check User Account Group Account
Definition Represents 1 user in network Represents collection of users
Purpose Allows users to authenticate & access resources Helps manage permissions for multiple users
Permissions Assigned to single user Assigned to multiple users
Examples "UserName", "Riya H" "G_Dept"
Management Complexity Difficult when managing multiple user accounts Easier to manage

πŸ”’ Security Policies & Password Conventions


  • Consistent scheme
  • Character limits
  • Real name / cryptic Name (random characters)
  • Special characters (., _)
  • Some OSs are case-sensitive
  • Admins may use dictionary attacks to test password strength

πŸ—ƒοΈ Built-in Accounts Available in Windows System:

  • Administrator Account
  • Guest Account (Deprecated)
  • Microsoft Account
  • Local Account (Offline)
  • Work or school Account (Managed by IT administrators)

🐧 Terminal User & Group Administration (Linux)


πŸ‘€ Creating User Accounts

  • useradd / adduser command
  • sudo useradd username --> asks for full name, password, no.s, Other
  • sudo adduser username

πŸ›‘οΈ Verify and Audit Accounts

  • id username
  • cat /etc/passwd
  • View all user names: cut -d: -f1 /etc/passwd

πŸ‘₯ Creating Groups

  • List groups: getent group
  • sudo groupadd name
  • sudo usermod --append --groups testgroup testuser

πŸ‘₯ View user names excluding system users

  • awk -F':' '$3>=1000 {print $1}' /etc/passwd
  • Output baseline entries: nobody, user1, user2... etc.

🚫 Remove user account forcefully

  • pkill -u username
  • userdel -r username

πŸ” Check currently logged-in users

  • who
  • w

πŸ“Š Host Health Audits & Maintenance Routine Automation


  • Tracking the state of system's resources, and performance.
  • Like CPU, memory, disk, network - over time
  • Continuous checking of system metrics and ensuring the system is running smoothly.

🎯 Key Administrative Purposes:

  • Detect issues early on
  • Understand system behavior (usage patterns)
  • Ensure system uptime & availability
  • Capacity planning

🐧 Linux Execution Tool Ecosystem:

  • top
  • htop
  • Target Zombie processes check syntax: ps aux | grep Z or top -b n1 | grep zombie

πŸ” Standard top Shell Output Data Map

top - 15:43:06 up 4:03, 1 user, load average: 0.27, 0.43, 0.61
Tasks: 320 total, 1 running, 321 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.4 us, 0.9 sy, 0.0 ni, 98.9 id, 0.1 wa (waiting), 0.0 hi (h.interr), 0.0 si (s.interr), 0.0 st
MiB Mem: 15677.2 total, 10885.2 free, 3068.1 used, 2464.6 buff/cache
MiB Swap: 4096.0 total, 4096.0 free, 0.0 used, 12509.1 avail Mem

Enter fullscreen mode Exit fullscreen mode
PID USER PR NI VIRT (Virtual mem) RES SHR (Shared mem) S (Sleep) %CPU %MEM TIME+ COMMAND
975 root 20 0 117284 30948 11540 S 3.7 0.2 COMMAND

🎨 Standard htop Interface Visual Rules

  • Green Color Line flag: user processes
  • Orange Color Line flag: cache memory parameters
  • Blue Color Line flag: low priority processes
  • Memory Bar Gauge Output: Mem[||||||........... 2.30G/15.3G]
  • Swap Space Bar Gauge Output: Swp[||||||........... 0K/4.00G]

🧠 Dedicated Resource Monitoring Targets

1. System Memory Verification Commands:

  • free (free -h) --> (h --> human-readable format)
  • vmstat (virtual memory statistics)
  • htop
            πŸ”„ [RAM Swapping Core Cycles]
          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
          β–Ό                               β”‚
 πŸ’Ύ [Secondary Memory] ◄───swap out─── [Main Memory RAM (Full)]

Enter fullscreen mode Exit fullscreen mode

2. Local Disk Operations Verification Commands:

  • df (disk free) --> Ex: etwfs Size: 438K, Used: 209K, Use%: 49%
  • du (disk usage) --> du -sh (Summary) --> Ex: 12 G
  • iostat (I/O stats)
  • I/O Definition: maps out how fast system disk blocks execute read/write performance

3. Live Network Interface Traffic Verification Commands:

  • tracks incoming / outgoing data & traffic
  • nload
  • netstat -tuln (stats)
  • ss -tuln (stats)
  • Provides explicit data metrics details covering: bandwidth usage, line latency (time delay), packet loss, low bandwidth issues, data congestion bottleneck points, firewall/filter block errors, hardware connection faults.
Command: nload
  • Incoming: Total data flow rate (TTL)
  • Outgoing: Total data flow rate (TTL)
  • Audit TCP connections parameters: netstat -ant
  • Audit UDP connections parameters: netstat -anu

4. System Process Control Tasks:

  • ps
  • top
  • htop

🏎️ Performance Tuning


πŸ› οΈ Optimization Domains

  • CPU tuning: Adjusting process priorities, managing cores, and scheduling behaviors.
  • Memory tuning: Customizing cache boundaries and minimizing data paging constraints.
  • Disk tuning (I/O optimization): Optimizing queue sizes and block behaviors for faster reads/writes.
  • Network tuning: Modifying buffering schemas and network behaviors.
  • Essential validation diagnostics commands: netstat, ping
  • Primary system administration goal: Avoid dropped packets

πŸ—„οΈ Backup & Recovery Procedures


🧩 Core Definitions

  • Backup: The process of copying and safely storing operational data assets on an alternative volume or system.
  • Recovery: Restoring data blocks from a saved backup destination back to their original or a designated new operating location.

🎯 Strategic System Purpose

  • Prevents absolute data loss resulting from runtime directory corruption, accidental deletion, or malicious attacks.
  • Enables robust recovery from fatal system crashes and large-scale environmental infrastructure disasters.

πŸ”€ Standard Enterprise Backup Formats

  • Full file-by-file Backup: Traditional mechanism where every single operational asset is individually copied.
  • Incremental Backup: Captures only the absolute changes or new records created since the most recent backup operation of any type.
  • Differential Backup: Captures all changes made since the last Full backup, regardless of whether other intermediary backups were performed.
  • Binary Backup: Clones the entire targeted disk array or logical volume partition structure at a low block level.

πŸ“Š Comparison of Execution Models

Scenario A: Incremental Backup Lifespan

  • Monday (Full Backup Base): Saves baseline files A, B, C
  • Tuesday: User writes new database segment D --> Backup captures: D
  • Wednesday: User writes new schema script E --> Backup captures: E
  • Disaster Recovery Process: To restore Wednesday's state, the administrator must deploy:

Restore Sequence = Monday Full + Tuesday (D) + Wednesday (E) + Thursday (F)

Scenario B: Differential Backup Lifespan

  • Monday (Full Backup Base): Saves baseline files A, B, C
  • Tuesday: User creates asset D --> Backup captures: D
  • Wednesday: User creates asset E --> Backup captures accumulated changes: D + E
  • Thursday: User creates asset F --> Backup captures accumulated changes: D + E + F
  • Disaster Recovery Process: To restore Thursday's state, the administrator needs only the original baseline and the final differential file:

Restore Sequence = Monday Full Backup + Thursday Full Differential Backup


🌐 Backup Storage Deployments

  • Local backup: Stored on the same physical server array or attached via a local external drive.
  • Remote backup: Transferred to a separate physical facility or remote data center server (Significantly safer profile).
  • Cloud backup: Handed off directly to public/private cloud storage spaces.
  • Hybrid backup: Blends local on-premise appliances directly with off-site cloud storage networks.

βš™οΈ Administrative Configuration Checklists

  • Frequency: Standard operational interval definitions.
  • Encryption Layer Profiles: High-security transmission and rest controls (e.g., SFTP, HTTPS).

πŸ”„ Recovery Procedures Lifespan

  1. Identify exact datasets to be recovered.
  2. Select the optimal clean backup target.
  3. Perform the automated directory/volume restore.
  4. Verify recovery integrity and validate system state.

πŸ›‘οΈ Security & Patch Management


πŸ—‚οΈ Core Security Classification Framework

                       πŸ›‘οΈ [Security Architecture]
                      /        /        \        \
         🟒 Network         πŸ”΅ System    🟣 App     🟑 Info
        /    β”‚    \         /    \        /    \    /   β”‚   \
     [FW]  [AV]  [VPN]    [AC]  [SB]   [CP] [Auth] [C] [I]  [A]

Enter fullscreen mode Exit fullscreen mode

🩹 Patch Management

  • Definition: The programmatic workflow used to identify, acquire, test, validate, and install software updates or modifications ("patches") across system infrastructure.

🎯 Strategic System Aims

  • Resolves software bugs and stability glitches.
  • Mitigates discovered security vulnerabilities.
  • Improves overall system performance.
  • Ensures hardware/software compatibility with newly deployed enterprise technologies.
  • Maintains systemic long-term platform stability.

πŸ”€ Common Software Patch Designations

  • Security patch: Target fixes specifically built to eliminate known system vulnerabilities.
  • Bug fix: Code updates deployed to resolve operational logic glitches (such as random crashes).
  • Feature update: Adds new tools or expands user software capabilities.
  • Performance patch: Speeds up system processes and optimizes memory footprints.
  • Cumulative patch: A consolidated bundle containing multiple historical updates, hot fixes, and security adjustments.

πŸ€– Automating Administrative Tasks with Scripts


Automating repetitive administration profiles across enterprise infrastructures relies primarily on Bash scripting for Linux environments and PowerShell scripting for Windows platforms.


πŸ“‹ Common Automation Task Domains

  • User account provisioning and group access management.
  • File tracking, batch renaming, and data maintenance routines.
  • Scheduled resource checks and performance metrics tracking.
  • Automated software installations and system patch updates.
  • Log rotation, parsing, and diagnostic reporting.
  • Automated scheduling of batch jobs and backups.

🐧 1. Bash Script Execution (Linux Ecosystem)

  • Create new script file: gedit filename.sh
#!/bin/bash
# High-level script structure baseline sample entry
echo "Hello"
echo "Date:"
date # Alternative programmatic query format: $(date)

Enter fullscreen mode Exit fullscreen mode
  • Grant execution privileges: chmod +x filename.sh
  • Run script: ./welcome.sh

πŸ› οΈ Handy Bash Automation Snippets

  • Create a folder structure: mkdir "Folder Name"
  • Perform safe automated updates: sudo apt update && sudo apt upgrade -y

πŸͺŸ 2. PowerShell Script Execution (Windows Ecosystem)

  • Automated folder creation command path:
New-Item -Path "C:\Users\Name\Desktop\folder1" -ItemType Directory

Enter fullscreen mode Exit fullscreen mode
  • Run selected script file inside environment: Press F5 key within the execution terminal wrapper interface.

🌐 Part 2: Networking Concepts, Topologies, and Protocols


πŸ“‘ Networking Essentials and Components


A computer network is a system of connected devices that can communicate, share data, and share hardware or software resources. Devices can be linked wirelessly or with physical wires. In most setups, each device on the network is assigned a unique network address and a hostname to identify it.


πŸ—ΊοΈ Network Infrastructure Hardware Components

  • Nodes: Any terminal or device connected directly to a network (such as PCs, laptops, or smartphones).
  • Router: A specialized routing device that connects your localized home or office network to the external internet.
  • Switch: A smart central connection point that links individual devices together within the same Local Area Network (LAN).
  • Hub: An older, legacy device that connects multiple devices together in a LAN. Unlike a switch, a hub does not target specific data paths; any information received is indiscriminately broadcast to every single connected device.
  • Modem: Short for modulator-demodulator. This hardware converts incoming analog signals from your service provider line into digital data your computer can understand, and vice versa.
  • Access Point: A Wireless Access Point (WAP) that broadcasts wireless signals, allowing Wi-Fi-enabled devices to connect to a physical, wired network grid.
  • Cables & Wireless Media: The physical transmission pathways (like fiber optic wires or radio frequencies) that data travels along.
  • NIC (Network Interface Card): The internal hardware component that physically allows a computer to connect to a network. They can be built directly onto the motherboard or added externally via USB or expansion slots (such as a Wi-Fi adapter card).

πŸ”€ Network Types / Classifications

  • PAN (Personal Area Network): Used for localized, personal devices like pairing a phone to a headset via Bluetooth, Infrared (IrDA), or Zigbee. Usually scales up to 100 meters.
  • LAN (Local Area Network): Built across a single building, home, or office using Wi-Fi or Ethernet cables. Scales up to 2 kilometers, offering high speeds but requiring localized hardware maintenance.
  • MAN (Metropolitan Area Network): Spans across an entire city or town. It connects multiple smaller LANs together using high-speed transmission standards like FDDI, CDDI, or ATM. Scales from 5 to 50 kilometers at speeds of 10 to 100 Mbps.
  • WAN (Wide Area Network): Covers vast geographical distances spanning across countries or the entire globe using leased telecom lines, dial-up, or satellite networks. The public internet is the largest example of a WAN, scaling well beyond 50 kilometers.

πŸ§ͺ Standard Protocol Profiles:

  • FDDI: Fiber Distributed Data Interface
  • CDDI: Copper Distributed Data Interface
  • ATM: Asynchronous Transfer Mode

πŸ“‘ WAN Communication Channels:

Satellite <─────────────────> Base station / Ground

Enter fullscreen mode Exit fullscreen mode

πŸ”— Structural Device Connectivity Topologies

                     πŸ”Œ [Network Switch]
                    /                   \
                   β–Ό                     β–Ό
          πŸ’» [Target Node D1]   πŸ’» [Target Node D2]

Enter fullscreen mode Exit fullscreen mode
                        πŸ”Œ [Network Hub]
                       /    /     \    \
                      β–Ό    β–Ό       β–Ό    β–Ό
                    [D1] [D2]     [D3] [D4]

Enter fullscreen mode Exit fullscreen mode

πŸ“‘ Fundamentals of Data Communication Channel Engineering


Data communication relies on a structured baseline pipeline to move information from one point to another safely.


🧩 Core Infrastructure Components:

  • Sender: The source device that creates and transmits the data message.
  • Receiver: The destination device intended to receive the data message.
  • Message: The actual data asset, text, file, or information being sent.
  • Medium: The physical or wireless transmission path the message travels along.
  • Protocol: The standardized set of rules and communication rulebooks that both the sender and receiver must agree on to decode the message properly.
Sender (Protocol) ─────── Message / Medium ───────► Receiver (Protocol)

Enter fullscreen mode Exit fullscreen mode

πŸ—² Primary Wired Cable Mediums

  • UTP (Unshielded Twisted Pair): Copper wires twisted around each other to reduce electrical interference. Very common in everyday office Ethernet networks.
  • STP (Shielded Twisted Pair): Similar to UTP, but wrapped in a protective foil shield to guard against heavy external magnetic or electrical interference.
  • Coaxial Cable: A central copper conductor surrounded by plastic and braided metal shields. Commonly used for cable TV and high-speed broadband lines.
  • Fiber Optic Cable: Ultra-thin strands of glass or plastic that transmit data as pulses of light. It is incredibly fast and immune to electrical interference, making it the backbone of long-distance internet grids.

πŸ“Ά Primary Wireless Connectivity Methods

  • Wi-Fi: Uses radio waves (802.11 standards) to provide high-speed local internet access.
  • Bluetooth: Low-power, short-range wireless connections for personal accessories.
  • IR (Infrared): Line-of-sight light communication commonly found in TV remote controls.
  • Zigbee: A low-power mesh network protocol heavily used in smart home automated sensors.
  • NFC (Near Field Communication): Ultra-short range proximity connection used for tap-to-pay systems.
  • Satellite Communication: Long-distance microwave signals bounced off orbit stations down to ground bases.
  • Cellular/Mobile Networks: Carrier data grids (like 4G or 5G) distributed through cell tower regions.

πŸ”€ Data Flow Transmission Modes

πŸ“» 1. Simplex - 1-way

Data flows strictly in one direction only. The receiver cannot talk back to the sender.

 πŸ“± [Device 1] ───────── Unidirectional Flow Only ─────────► πŸ“Ί [Device 2] (πŸ“» Radio)

Enter fullscreen mode Exit fullscreen mode

πŸ—£οΈ 2. Half-duplex - 2-way, alternate timing

Data can flow in both directions, but not at the exact same time. Devices must take turns transmitting.

 πŸ“± [Device 1] ═════════ ⏳ Time Slice A ═════════════════► πŸ“± [Device 2] (πŸ“³ Walkie-Talkie)
 πŸ“± [Device 1] ◄───────── ⏳ Time Slice B ───────────────── πŸ“± [Device 2]

Enter fullscreen mode Exit fullscreen mode

πŸ“± 3. Full-duplex - 2-way, simultaneous

Data flows in both directions at the exact same time over concurrent transmission streams.

 πŸ“± [Device 1] ◄═════════ πŸ”„ Simultaneous Streams ═════════► πŸ“± [Device 2] (πŸ“ž Smartphone)

Enter fullscreen mode Exit fullscreen mode

πŸ₯ž Network Layer Architecture Approaches


To make sure data moves smoothly between different computer manufacturers, networks rely on layered architectures. The OSI Model provides a 7-layer theoretical framework to understand network concepts, while the TCP/IP Model condenses this into a practical 4-layer stack used by the real-world internet.


πŸ—ΊοΈ OSI Framework / Model

OSI Layer Protocol / Functional Scope
Application - HTTP/HTTPS/FTP/EMAIL (User interaction) / IMAP (Internet Msg Access) - Simple Mail Transfer Protocol (SMTP)
Presentation - Security (enc/dec)
Session - Creating session
Transport - TCP/UDP (User Datagram Protocol - faster, less reliable)
Network - IP (best route)
Data - Errors detected & corrected (Merged as Network Access in TCP/IP)
Physical - 0/1 (bits) (Merged as Network Access in TCP/IP)

πŸ”„ TCP/IP Framework / Model

   πŸ§‘β€πŸ’» [Sender Node Stack]                  πŸ§‘β€ [Receiver Node Stack]
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚  Application Layer   β”‚             β”‚  Application Layer   β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚                                    β”‚
             β–Ό                                    β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚   Transport Layer    β”‚             β”‚   Transport Layer    β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚
             β–Ό                                    β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚    Internet Layer    β”‚ ──(IP/ICMP)─►   Internet Layer    β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚                                    β”‚
             β–Ό                                    β”‚
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Network Access Layer β”‚ ───(MAC)────► Network Access Layer β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚
             β–Ό
   πŸ”Œ [Cables / Wireless Transmission Lines]

Enter fullscreen mode Exit fullscreen mode

🌐 Network Routing and IP Address Architectures


An IP (Internet Protocol) address is a unique identifier assigned to every device on a network so routers know exactly where to send data pack assets.


IPv4 Addressing

IPv4 addresses use a 32-bit format broken down into four 8-bit numbers (octets) separated by dots. It can be viewed in dotted decimal format or computer binary code.

  • Decimal (Standard) Format: 120.35.62.10
  • Dotted Decimal to Binary Map: 01111000.00100011.00111110.00001010

Custom Port Sub-notation: To pinpoint a specific software application on a server, a port number is tacked onto the end using a colon (e.g., :54).

  • Example: 128.11.3.31:54
  • Base IP Address Binary Mapping: 10000000.00001011.00000011.00011111

πŸ“Š Standard IPv4 Class Allocation Table

IP Classes Starting Address Ending Address Marking Type Schema
Class A 0.0.0.0 127.255.255.255 8 (/8) N.H.H.H
Class B 128.0.0.0 191.255.255.255 16 (/16) N.N.H.H
Class C 192.0.0.0 223.255.255.255 24 (/24) N.N.N.H
Class D 234.0.0.0 239.255.255.255 Undefined Multicast
Class E 240.0.0.0 255.255.255.255 Undefined Experimental

IPv6 / New Generation Addressing

Because the world ran out of unique IPv4 addresses, IPv6 was introduced. It uses a 128-bit structure written in hexadecimal blocks separated by colons, providing an almost infinite number of unique addresses.

  • Example: 2000:FE11:2222:83A3:0000:0000:0001:1111

🧩 IP Address Sections / Division

Every IP address is divided into 2 distinct sections:

  1. Network Address: The common prefix identifying the specific network group the device belongs to.
  2. Host Address: The unique sequence identifying that specific individual device within the network group.

Subnet Mask: A mathematical sequence of numbers used by systems to figure out exactly where the network section ends and where the host section begins.

  • Example: With an IP of 192.168.1.100 and a Subnet Mask of 255.255.255.0, the system knows: 192.168.1 is the network portion, and .100 identifies the specific machine.

βœ‚οΈ Intermediate Infrastructure Routing: Gateways & Allocations


πŸ“‘ Subnets & Subnet Domain Mechanics

A subnet is created by slicing a large, single broadcast network into smaller, isolated sub-networks. This improves security, helps route data traffic more efficiently, and stops network slowdowns by keeping broadcast traffic confined to smaller groups.


πŸšͺ Network Gateways

A gateway is a specialized network node or device that serves as the mandatory entry-exit checkpoint between two completely separate networks running on different communication rules.

  • Gateways read network traffic, translate protocols between mismatched network frameworks, monitor packet routes, and keep internal networks safe from outside threats.
 🌐 [Local Network N1] ───► πŸšͺ [Gateway Core Node] ───► ☁️ [Public Internet N3]

Enter fullscreen mode Exit fullscreen mode

πŸ”„ System Working Step Lifecycle:

  1. The gateway intercepts data leaving your local computer.
  2. It analyzes the destination routing header.
  3. It converts the packet data format to match the target network's protocol rulebook.
  4. It safely forwards the translated data across the public internet boundary.
Computer ───► Gateway ───► Internet

Enter fullscreen mode Exit fullscreen mode

βš–οΈ Gateway Deployment Trade-offs

  • Advantages: High levels of system security, traffic filtering, and protocol translation compatibility.
  • Disadvantages: High deployment costs, configuration complexity, and slight network delays caused by real-time data translation overhead.

πŸ› οΈ IP Allocation Methods: Static vs. Dynamic

πŸ”’ Static IP - Fixed Configuration

An IP address that is manually locked into a machine's settings and never changes unless manually altered by an administrator or internet provider.

 πŸ’» [Workstation Node] ◄══ Continuous Fixed Address ══► πŸ–₯️ [Web Server Host]

Enter fullscreen mode Exit fullscreen mode
  • Primary Uses: Hosting public web servers, secure corporate VPN lines, or remote access setups like security CCTV grids.

πŸ”„ Dynamic IP - Rotated Leasing

An IP address that is automatically assigned to a device on a temporary lease by a DHCP (Dynamic Host Configuration Protocol) server. The address can change every time the machine connects to the network.

  PC <───────────> DHCP Server
  PC <───────────> Web Server

Enter fullscreen mode Exit fullscreen mode
  • Primary Uses: Standard consumer smartphones, household smart devices, and daily office workstations.

πŸ•ΈοΈ Network Topologies


A topology is the physical or logical arrangement layout mapping out how different nodes and computer devices link together.

🚌 1. Bus Topology

All devices connect down to a single, shared central cable called the backbone or "bus line."

             D      D      D      D
             β”‚      β”‚      β”‚      β”‚
Signal ──► ──┴──────┴──────┴──────┴──
             β”‚      β”‚      β”‚      β”‚
             D      D      D      D

Enter fullscreen mode Exit fullscreen mode

πŸ’‘ Note: Data travels down the wire to everyone, but only the node with the matching target address will accept the packet.

  • Advantages: Simple to set up in small environments, cost-effective, and uses minimal cabling.
  • Disadvantages: Data travels in one direction only. If the main central backbone cable breaks, the entire network crashes completely.

β­• 2. Ring Topology

Every device links to exactly two neighbors, creating a continuous, closed circular loop path. Data moves around the ring in one or two directions using specialized tokens.

         O ─── O
       /         \
      O           O
       \         /
         O ─── O

Enter fullscreen mode Exit fullscreen mode
  • Advantages: Orderly data flow with zero packet collisions, cheap to run, and highly performant under specific structures.
  • Disadvantages: Adding or moving a device requires shutting down the whole loop. If a single machine breaks down, it breaks the chain and kills the network.

⭐ 3. Star Topology

The modern standard layout where every individual node plugs directly into one smart central device, like an Ethernet switch or hub. It is heavily utilized inside offices, homes, airports, and banks.

             D     D
              \   /
               Hub
              /   \
             D     D

Enter fullscreen mode Exit fullscreen mode
  • Advantages: Extremely easy to expand and install. If one workstation cable breaks, only that single computer disconnects; the rest of the network keeps running completely fine.
  • Disadvantages: Completely dependent on the center machine. If the central switch or hub breaks down, the entire network goes dark.

🌿 4. Tree Topology

A hierarchical design that combines star networks together, linking them up to a central master root controller like branches on a tree.

                       🌳 [Root Node]
                      /              \
                     /                \
             🌿 [Branch 1]         🌿 [Branch 2]
             /           \         /           \
         πŸƒ [Leaf]   Leaf [πŸƒ] πŸƒ [Leaf]   Leaf [πŸƒ]

Enter fullscreen mode Exit fullscreen mode
  • Advantages: Excellent tracking and error isolation. If one leaf node branch fails, the other branches continue operating. Highly scalable.
  • Disadvantages: Heavily cabled and maintenance becomes very difficult as the tree structure grows larger.

πŸ•ΈοΈ 5. Mesh Topology

A fully redundant design where every device is explicitly connected to multiple other devices on the grid, ensuring alternative routes are always available. It is heavily deployed across long-distance carrier pipelines.

                D ─────── D
               / \       / \
              /   \     /   \
             D ────*───*──── D
              \   /     \   /
               \ /       \ /
                D ─────── D

Enter fullscreen mode Exit fullscreen mode
  • Advantages: Exceptional fault-tolerance and privacy. If one data line goes down, routers instantly send information through a different path.
  • Disadvantages: Massive cabling requirements and extreme installation and hardware setup costs.

πŸ”€ 6. Hybrid Topology

A custom layout created by blending two or more of the classic topologies together to match an organization's specific spatial layout needs.

               D       D
               β”‚       β”‚
         ──────┴───────┴──────
         β”‚                   β”‚
       (Hub)             (Ring Node)
      /  β”‚  \           /           \
     D   D   D     (Ring Node) ── (Ring Node)

Enter fullscreen mode Exit fullscreen mode

πŸ› οΈ Practical Network Interface Configurations & Resource Sharing


πŸ› οΈ Configuring Network Interfaces

A network interface serves as the literal bridge where a computer hooks into a network. It combines your physical NIC hardware with software driver components to manage the Physical and Data Link operations of the system.

βš™οΈ Mandatory IPv4 Addressing Prerequisites:

  • IP Address: The unique identity label for your machine on that network.
  • Subnet Mask: Defines the network size boundary rules.
  • Default Gateway: The IP address of your router (mandatory for your computer to find paths out to the internet).
  • DNS Servers: Domain Name System records used to translate text web names into system numbers.

πŸͺŸ Interface Connections Management in Windows

  • Running the shortcut command ncpa.cpl via the Win + R prompt opens the Network Connections pane instantly to manage adapters.
  • Command Prompt Wireless Connection Management: Administrators can audit local wireless connections using terminal queries:
  • netsh wlan show networks (Lists available local Wi-Fi nodes).
  • netsh wlan connect name="TargetName" (Triggers automated terminal network login).

🐧 Interface Connections Management in Ubuntu

Managed easily through the standard native System Network Settings GUI panel.


πŸ“‚ File and Resource Sharing

Sharing resources allows companies to dramatically reduce equipment expenses, centralize backup security routines, streamline collaboration, and manage user growth effectively.

🌐 Industry File Sharing Network Protocols

  • SMB (Server Message Block): The default cross-platform protocol choice across Windows, Linux, and macOS systems.
  • NFS (Network File System): The high-speed native file-sharing standard choice across UNIX and Linux enterprise server environments.

πŸ–¨οΈ Printer Sharing Architecture & Protocols

Network printing requires a physical print device, a software printer representation inside the OS control panel, a print server to manage incoming document jobs, and a print queue to store pending files.

  • SMB Protocol: Handles standard Windows-to-Windows client print traffic pipelines.
  • Linux Printing Protocols:
  • LPD/LPR: An older, legacy line-printing protocol system.
  • CUPS (Common UNIX Printing System): The modern Linux system standard built on top of the HTTP-based Internet Printing Protocol (IPP).

  • IPP System Capabilities: Allows network print software to safely pass data via web encryption paths to check paper levels, audit ongoing job progress, or pause and cancel printing tasks remotely.


🏁 Conclusion


Ultimately, system and network administration serve as the unseen bedrock of modern digital infrastructure.

From managing low-level CPU time slices and file system architectures on individual machines to routing global traffic through complex network topologies, these foundational practices keep the modern world connected and stable.

By mastering hardware resource allocation, configuring resilient communication protocols, and executing protective measures like patch management and task automation, administrators transform raw computational power into secure, efficient, and highly dependable enterprise platforms.

Top comments (0)