Skip to main content
📚Engineering Reference & Architecture Handbook

IT & Network Engineering Technical Guides

In-depth engineering articles covering IP subnet planning, server storage sizing, Linux permissions, and CCTV surveillance design.

📖6 Master Engineering Handbooks

RFC • IEEE • ITU-T Standards
🌐

1. IPv4/IPv6 Subnetting, VLSM & OSPF Wildcard Mask Architecture (RFC 1918 / RFC 4632)

Network & Routing

Hierarchical IP addressing standards, zero-waste VLSM block subnetting, and wildcard mask calculation rules for access lists and dynamic routing protocols (OSPF/EIGRP).

Normative Standard / Formula:Usable Hosts = 2^(32 - Prefix) - 2 | Wildcard Mask = 255.255.255.255 - Netmask
  • /24 = 256 Total IPs, 254 Usable Hosts (Netmask 255.255.255.0, Wildcard 0.0.0.255)
  • /26 = 64 Total IPs, 62 Usable Hosts (Netmask 255.255.255.192, Wildcard 0.0.0.63)
  • /29 = 8 Total IPs, 6 Usable Hosts for Public DMZ (Netmask 255.255.255.248, Wildcard 0.0.0.7)
  • /30 = 4 Total IPs, 2 Usable Hosts for Router PTP WAN (Netmask 255.255.255.252, Wildcard 0.0.0.3)
  • /32 = 1 Single Host for Loopback Interface (Netmask 255.255.255.255, Wildcard 0.0.0.0)
🔀

2. MikroTik RouterOS v7 Multi-WAN PCC Load Balancing & Recursive Failover Guide

Network & Routing

Per-connection classifier (PCC) mechanics with both-addresses-and-ports hashing, RouterOS v7 FIB routing tables, and recursive next-hop gateway monitoring.

Normative Standard / Formula:PCC Matcher: /ip firewall mangle add per-connection-classifier=both-addresses-and-ports:N/I
  • Deploy 'both-addresses-and-ports' hashing for uniform HTTPS packet flow without invalidating banking TLS sessions.
  • Assign connection marks in prerouting chain before committing routing marks.
  • In RouterOS v7, declare custom tables explicitly via /routing table add name=to-WANx fib.
  • Recursive failover binds virtual next-hops to public resolvers (8.8.8.8) with target-scope=30 for zero-loss path fault detection.
💡

3. FTTH GPON / EPON Optical Power Budget & PLC Splitter Attenuation Standards (ITU-T G.984)

CCTV, PoE & Fiber

Optical Distribution Network (ODN) budget sizing across Class B+ (+28 dB) and Class C+ (+32 dB), theoretical PLC splitter insertion loss (1:2 to 1:64), and ONT Rx thresholds.

Normative Standard / Formula:Loss Total (dB) = (Jarak × 0.35) + Σ (Splitter Loss) + (Sambungan Splicing × 0.1) + (Konektor × 0.3) + Margin (3.0 dB)
  • Normative PLC Splitter Loss: 1:2 ~3.5 dB, 1:4 ~7.2 dB, 1:8 ~10.5 dB, 1:16 ~13.8 dB, 1:32 ~17.1 dB, 1:64 ~20.5 dB.
  • Single-mode fiber loss: 0.35 dB/km @ 1310nm and 0.22 dB/km @ 1490/1550nm.
  • Target ONT Rx optical sensitivity window: -15 dBm to -24 dBm (Receiver saturation > -8 dBm, LOS threshold < -27 dBm).
  • Cascade topologies: Deploy asymmetrical PLC taps (80:20 or 70:30) to preserve optical link budget across pole trunks.
🖥️

4. Enterprise Server Storage Sizing: ZFS RAIDZ1/RAIDZ2 vs Hardware RAID 5/6/10 & Proxmox VE Best Practices

Server, ZFS & UPS

Usable storage capacity engineering for ZFS pools, 80% Copy-on-Write threshold safety, ARC memory requirements, dual parity trade-offs, and Proxmox VE VM sizing.

Normative Standard / Formula:Kapasitas Aman (Safe 80%) = (Jumlah Disk - Parity Disk) × Ukuran Disk Riil (TiB) × 0.80
  • ZFS Copy-on-Write (CoW) experiences severe write performance degradation and fragmentation once pool capacity exceeds 80%.
  • RAIDZ2 dual-parity is mandatory for enterprise HDDs >= 8TB due to multi-day resilver windows and secondary drive failure risk.
  • ZFS ARC memory sizing rule-of-thumb: 1 GB ECC RAM per 1 TB usable storage + 8 GB base OS allocation.
  • Dedicated SLOG vdevs require Enterprise NVMe drives featuring Power Loss Protection (PLP) for sync database workloads.
📹

5. CCTV Surveillance NVR Storage, H.265+ Bitrate & PoE 802.3af/at/bt Cable Voltage Drop Guide

CCTV, PoE & Fiber

Formulas for 30-day NVR storage sizing, H.265+ smart compression efficiency, and Cat5e/Cat6 loop resistance voltage drop limits preventing remote camera reboots.

Normative Standard / Formula:Kapasitas NVR (TB) = [Jumlah Kamera × Bitrate (Mbps) × 3600 × 24 × Hari] / (8 × 10^6) | V_drop = 2 × I × R × L
  • 1080p @ 25fps on H.265+ requires an average of 1.5 to 2 Mbps per channel (saving ~50% storage footprint vs legacy H.264).
  • 4K (8MP) sensors require 6 to 8 Mbps per channel for definitive nighttime facial and license plate recognition.
  • PoE Standards: 802.3af (15.4W PSE / 12.95W PD), 802.3at PoE+ (30W PSE / 25.5W PD), 802.3bt Type 4 (90W PSE / 71W PD).
  • Cat6 pure solid copper cable voltage drop must remain below 4.5V over maximum 90-meter structured runs.
🐧

6. Production Linux Server Hardening, Docker Stack Architecture & REST API Rate-Limiting (Little's Law)

Linux & DevOps

Best practices for Linux privilege boundary hardening (chmod/chown), Docker Compose orchestration behind Nginx reverse proxy, and Little's Law API concurrency sizing.

Normative Standard / Formula:Hukum Little (Little's Law): L = λ × W | Konkurensi = Request per Detik × Rata-rata Response Time (Detik)
  • Private SSH keys require strict chmod 600 (-rw-------), while the parent ~/.ssh directory requires chmod 700 (drwx------).
  • Production sshd_config must enforce PasswordAuthentication no and PermitRootLogin prohibit-password.
  • Run Docker containers with non-root UID boundaries and tune host kernel swappiness to 10 for memory latency stability.
  • API Sizing: If an endpoint serves 1,000 RPS with 50ms average latency (0.05s), the backend requires at least 50 concurrent worker threads.

⚡High-Intent Scenario Presets & Cheat Sheets

View All Scenarios →
/32 = Mask 255.255.255.255 • 1 Usable Hosts→

/32 Subnet Mask (255.255.255.255): Usable Hosts (1), Wildcard & IPv4 Range

Instant /32 CIDR reference: Subnet Mask is 255.255.255.255, Wildcard 0.0.0.0, Total IPs 1, and 1 Usable Hosts. Ideal for OSPF/BGP Router Loopback & Single Host Route.

/30 = Mask 255.255.255.252 • 2 Usable Hosts→

/30 Subnet Mask (255.255.255.252): Usable Hosts (2), Wildcard & IPv4 Range

Instant /30 CIDR reference: Subnet Mask is 255.255.255.252, Wildcard 0.0.0.3, Total IPs 4, and 2 Usable Hosts. Ideal for Point-to-Point Inter-Router WAN Link (2 Usable IPs).

/29 = Mask 255.255.255.248 • 6 Usable Hosts→

/29 Subnet Mask (255.255.255.248): Usable Hosts (6), Wildcard & IPv4 Range

Instant /29 CIDR reference: Subnet Mask is 255.255.255.248, Wildcard 0.0.0.7, Total IPs 8, and 6 Usable Hosts. Ideal for DMZ Public Server Sub-Block & BGP Peering (6 Hosts).

/28 = Mask 255.255.255.240 • 14 Usable Hosts→

/28 Subnet Mask (255.255.255.240): Usable Hosts (14), Wildcard & IPv4 Range

Instant /28 CIDR reference: Subnet Mask is 255.255.255.240, Wildcard 0.0.0.15, Total IPs 16, and 14 Usable Hosts. Ideal for Small Branch Office & Switch Management VLAN (14 Hosts).

/27 = Mask 255.255.255.224 • 30 Usable Hosts→

/27 Subnet Mask (255.255.255.224): Usable Hosts (30), Wildcard & IPv4 Range

Instant /27 CIDR reference: Subnet Mask is 255.255.255.224, Wildcard 0.0.0.31, Total IPs 32, and 30 Usable Hosts. Ideal for Department VLAN & PoE IP Camera Segment (30 Hosts).

/26 = Mask 255.255.255.192 • 62 Usable Hosts→

/26 Subnet Mask (255.255.255.192): Usable Hosts (62), Wildcard & IPv4 Range

Instant /26 CIDR reference: Subnet Mask is 255.255.255.192, Wildcard 0.0.0.63, Total IPs 64, and 62 Usable Hosts. Ideal for 50-PC Computer Lab & Classroom VLAN (62 Hosts).

/25 = Mask 255.255.255.128 • 126 Usable Hosts→

/25 Subnet Mask (255.255.255.128): Usable Hosts (126), Wildcard & IPv4 Range

Instant /25 CIDR reference: Subnet Mask is 255.255.255.128, Wildcard 0.0.0.127, Total IPs 128, and 126 Usable Hosts. Ideal for Building Floor LAN & Mid-Size Office Wi-Fi (126 Hosts).

/24 = Mask 255.255.255.0 • 254 Usable Hosts→

/24 Subnet Mask (255.255.255.0): Usable Hosts (254), Wildcard & IPv4 Range

Instant /24 CIDR reference: Subnet Mask is 255.255.255.0, Wildcard 0.0.0.255, Total IPs 256, and 254 Usable Hosts. Ideal for Standard Office LAN & MikroTik Hotspot (254 Hosts).

/23 = Mask 255.255.254.0 • 510 Usable Hosts→

/23 Subnet Mask (255.255.254.0): Usable Hosts (510), Wildcard & IPv4 Range

Instant /23 CIDR reference: Subnet Mask is 255.255.254.0, Wildcard 0.0.1.255, Total IPs 512, and 510 Usable Hosts. Ideal for Hotel/Campus Hotspot & Dual /24 Supernet (510 Hosts).