Mujtaba Khattak

Mujtaba Khattak is a network solutions architect specializing in SD-WAN, cloud infrastructure, and network optimization. He holds a BS in Artificial Intelligence from SZABIST, an MBA from Virtual University (VU), and Cisco certifications (CCNA and CCNP). As the founder of NetworkUstad.com, He produce technical guides and tutorials on networking, cybersecurity, and AI applications.

Labeled Diagram Of The 12-Field, 35-Byte Bpdu Frame Structure Encapsulated In An 802.3 Ethernet Frame
CCNA

Bridge Protocol Data Unit (BPDU): Frame Format, Fields, and How Root Bridge Election Actually Works

Every root bridge election, every port role assignment, and every failover this series has covered so far runs on one underlying mechanism: switches exchanging Bridge Protocol Data Units, or BPDUs. This article breaks down the BPDU frame field by field, walks through exactly how cost increments as a BPDU propagates through a topology, and clears...

Mujtaba Khattak 9 min read
Two-Column Table Comparing The 16-Bit Short Cost Method And 32-Bit Long Cost Method Across Link Speeds From 10 Mbps To 1 Tbps
CCNA

Spanning Tree Path Cost: Root Port Election Explained

When a loop occurs in the switched network, STP uses path cost to resolve which ports forward and which block. Path cost is derived from a port’s speed. If two connected ports end up with equal path cost, spanning tree falls back to the lowest port ID as the final tiebreaker. For CCNA students, understanding...

Mujtaba Khattak 8 min read
Diagram Of The 64-Bit Bridge Id Split Into 4-Bit Priority, 12-Bit Extended System Id, And 48-Bit Mac Address
CCNA

Spanning Tree Root Bridge: Election, Bridge ID, and Configuration

Every spanning-tree-enabled switched network has a single switch designated as the root bridge. It serves as the reference point every other switch in the broadcast domain measures its path against, and the spanning tree algorithm uses it to determine which redundant paths to block. The root bridge is chosen through an automatic election process every...

Mujtaba Khattak 8 min read
Diagram Contrasting Classic Stp'S Single Blocking Role With Rstp'S Split Alternate And Backup Port Roles
CCNA

Spanning Tree Port Roles Explained: Root, Designated, Alternate, and Backup

Spanning Tree Protocol doesn’t block loops by disabling switches. It blocks loops by assigning every active port a specific role, then forwarding or blocking traffic based on that role alone. Understanding what each role does — and which roles belong to classic STP versus Rapid STP — is the difference between reading a show spanning-tree...

Mujtaba Khattak 9 min read
Comparison Showing Redundant Switch Links Without Stp Causing A Loop Versus The Same Topology With Stp Safely Blocking One Redundant Path
CCNA

Network Redundancy: Layer 1/2 Loops, STP, and Failover Design

Network redundancy means building more than one path for data to travel, so a single failed link or device doesn’t take down access to network resources entirely. It’s a foundational design principle behind the three-tier hierarchical model (core, distribution, access), and it comes with a real, important trade-off: physical redundancy alone can create Layer 2...

Mujtaba Khattak 8 min read
Diagram Showing Pc1 And Laptop0 Sharing A Single Public Address Through Pat, Differentiated By Port Numbers 1025 And 1026
CCNA

How to Configure Port Address Translation (PAT)

Port Address Translation (PAT), also called NAT overload, lets many internal devices share a single public address, distinguished from each other by port number rather than needing a separate address for each device. This is the guide that completes our shared NAT lab — if you’ve worked through Static NAT and Dynamic NAT already, PAT...

Mujtaba Khattak 8 min read
Diagram Showing Pc1 And Laptop0 Sharing A Dynamic Nat Pool Of Ten Addresses On Router R2, Assigned First-Come First-Served
CCNA

How to Configure Dynamic NAT

Dynamic NAT automatically maps inside local addresses to a pool of inside global addresses, first-come-first-served — the middle ground between static NAT’s permanent one-to-one mappings and PAT’s many-to-one port sharing approach. It’s the right choice when a known, moderate number of internal devices need outbound internet access, without needing a dedicated public address reserved for...

Mujtaba Khattak 8 min read
Cisco Router R2 With Two Internal Web Servers Connected Via G0/0 And G0/1, Each With A Static Nat Translation Arrow To A Distinct Public Ip Address, Reachable From An Internet Client Through The Outside Serial Interface
CCNA

How to Configure Static NAT on Cisco Routers

Static NAT maps inside and outside addresses one-to-one. It allows external devices to establish a session with internal devices using a statically assigned public address. For example, an internal web server is mapped to a specific inside global address, letting outside clients reach it using a public IP while the server itself keeps its private...

Mujtaba Khattak 8 min read
Three-Column Comparison Of Static Nat, Dynamic Nat, And Pat Covering Mapping Type And Address Requirements
CCNA

What Are the Types of NAT Translation?

There are three types of NAT: static NAT, dynamic NAT, and Port Address Translation (PAT), also called NAT overload. They all solve the same underlying problem — mapping private addresses to public ones — but they differ significantly in how permanent the mapping is and how many public addresses they actually require to function. This...

Mujtaba Khattak 8 min read
Nat Terminology Topology Diagram Showing Pc-1 With Inside Local 192.168.1.100 On The Inside Network Translated By Nat Router R1 To Inside Global 203.0.113.10 Destined For Web Server At Outside Global And Outside Local 209.165.201.1 On The Outside Network
CCNA

NAT Terminology Explained: CCNA 200-301 Must-Know Address Types

As discussed before, NAT translates private IP addresses into public IP addresses. In the process of translation, there are different operations involved, and understanding each of them requires understanding NAT terminology. Before understanding NAT in detail, it is important to understand the four NAT address types — inside local, inside global, outside local, and outside...

Mujtaba Khattak 11 min read