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.

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
Three-Step Diagram For Configuring A Stateful Dhcpv6 Server: Create Pool, Set Address Prefix And Lifetime, Bind To Interface And Set The M Flag
CCNA

Configuring a Stateful DHCPv6 Server on a Cisco Router

Stateful DHCPv6 is the IPv6 mode that behaves the way DHCPv4 always has: the server assigns the address itself, tracks which client has which address, and hands out supplementary options alongside it — no SLAAC involved on the client side at any point. That’s the core distinction from stateless DHCPv6, and it changes almost every...

Mujtaba Khattak 8 min read
Three-Panel Diagram Showing Slaac With M Equals 0 O Equals 0 Where The Client Self-Configures Entirely From The Router Advertisement, Stateless Dhcpv6 With M Equals 0 O Equals 1 Where The Client Self-Configures Its Address But Contacts A Dhcpv6 Server For Dns And Other Config, And Stateful Dhcpv6 With M Equals 1 O Equals 1 Where The Client Gets Its Full Address And Configuration From A State-Tracking Dhcpv6 Server
CCNA

SLAAC and DHCPv6

Recall that the router sends a Router Advertisement (RA) message, and the settings within that RA message decide whether a client can obtain its IPv6 address information automatically using SLAAC, DHCPv6, or a combination of both. This guide covers both methods, the three possible RA flag combinations, and how to configure and verify each on...

Mujtaba Khattak 8 min read