Network Notes

CEF — FIB, Adjacency & Why Process Switching Died

CEF is the default forwarding engine: no per-packet CPU work. Two precomputed structures: FIB —

Ansible — Agentless Network Automation

Agentless automation over SSH: a control node connects to managed nodes, runs YAML playbooks, and

Ping & Traceroute as Diagnostic Patterns

ping + traceroute answer “which layer is broken?” — read the patterns, don’t guess: Symptom

Fabric, SD-Access, LISP & SD-WAN

Fabric thinking: a big L2-ish reach (VXLAN overlay) over a simple routed underlay, with identity

SDN — Centralised Control Plane

SDN is an architecture, not a protocol: separate control plane from data plane, put the

IP SLA & Object Tracking — Failover on Health

Routing protocols see up/down and adjacencies — never latency, jitter, loss or a dead application.

Network Telemetry — Push-Based Monitoring

SNMP asks repeatedly and learns late. Telemetry inverts it: the device pushes state streams on

NetFlow & Flexible NetFlow

Interface counters say how much; NetFlow says who talks to whom, how, when. Flows are

SPAN, RSPAN & ERSPAN

Switches don’t let you sniff other people’s traffic — SPAN copies frames from source ports/VLANs

Syslog — Facilities, Severity & Timestamps

Every event is classified facility (which subsystem) + severity 0–7 (emergency → debug; “0 is

SNMP — Polls, Traps & v3 Security Model

Manager ↔ agent over UDP: queries on 161, traps/informs on 162. Devices expose a MIB

DAI & IP Source Guard — the Binding-Table Duo

Dynamic ARP Inspection (DAI) and IP Source Guard are Layer 2 features that validate ARP

DHCP Snooping — Rogue Servers & the Binding Table

DHCP snooping is a Layer 2 security feature that protects against rogue DHCP servers by

Port Security — Sticky MACs & Violation Modes

Port Security protects switch ports by limiting and controlling which MAC addresses may send traffic

ACL Design & Troubleshooting — Placement, Order, Counters

Good ACL design is about correct placement, minimal traffic impact and easy troubleshooting – and

Routing Protocol Authentication & Passive Interfaces

Routing protocol authentication ensures only legitimate routers can exchange routing updates by protecting the protocol’s

CoPP — Protecting the CPU That Protects Everything

CoPP (Control Plane Policing) protects the device’s CPU from DoS and unwanted traffic by rate-limiting

TACACS+ — Encrypted, Separated AAA for Device Admin

TACACS+ is a Cisco-based AAA protocol that centralizes authentication, authorization and accounting for administrative access

RADIUS — UDP AAA for Access & Accounting

RADIUS is a centralized AAA protocol that authenticates, authorizes and logs users (e.g. 802.1X, VPN,

Local AAA — Users, Method Lists & Lockout Traps

AAA = Authentication (who are you?), Authorization (what may you do?), Accounting (what did you

Cloud Service & Deployment Models — IaaS, PaaS, SaaS

Cloud service models (IaaS, PaaS, SaaS) describe how much responsibility the customer vs. the provider

Overlay VPNs — DMVPN & FlexVPN

Site-to-site VPN technologies: GRE over IPsec for simple tunnels, DMVPN for dynamic multipoint, FlexVPN for

IPsec — ESP, IKE & Tunnel Mode

IPsec is the IETF standard for VPNs: IKE negotiates keys, ESP encrypts the traffic. How

VPN Types — Site-to-Site, Remote Access, GRE, NAT-T

A VPN is an encrypted tunnel over an insecure network (usually the internet) that connects

WAN Technologies — From Leased Lines to SD-WAN

WAN (Wide Area Network) connects geographically separated networks via service providers using dedicated, packet-switched or

MPLS — Labels, LDP & Layer 3 VPN

MPLS forwards packets based on labels instead of IP lookups and enables scalable VPN solutions

NAT in Four Flavours — Static, Dynamic, PAT

NAT (Network Address Translation) translates IP addresses (and sometimes ports) between private and public networks.

QoS — EF, LLQ & the Trust Boundary

QoS ensures that delay-sensitive traffic (voice and video) is prioritized correctly under network load. Facts

ICMP — The Error Messages That Explain the Network

ICMP is used for error handling and diagnostics in IP networks by sending control and

DNS — Hierarchy, Records & TTL

DNS is a critical network service that translates domain names (e.g. www.cisco.com) into IP addresses.

NTP — Strata, Peers & Authentication

NTP makes sure every network device has the same precise time so that logs, security

SLAAC vs DHCPv6

SLAAC: the IPv6 client builds its own address based on Router Advertisements (RA). DHCPv6: a

DHCP — DORA, Relay & Options

DHCP is a network service that automatically assigns IP addresses and other IP parameters to

ARP — Requests, Caches & Gratuitous

ARP translates IPv4 addresses into MAC addresses so Layer 3 can communicate correctly over Layer

Prefix-Lists & the Route Filtering Stack

Prefix-lists are a precise and scalable tool to filter routes based on network prefix and

Summarization vs Aggregation (Null0)

Route summarization/aggregation combines several more specific routes into one summary route: 10.1.1.0/24 10.1.2.0/24 → 10.1.0.0/16

Route Redistribution — And Its Loop Traps

Route redistribution shares routes between different routing protocols – but introduces complexity and potential routing

Inter-VLAN Routing — SVI & Router-on-a-Stick

Switch Virtual Interface (SVI) – inter-VLAN routing A Switch Virtual Interface (SVI) is a logical

VRRP & GLBP

VRRP (open standard) and GLBP (Cisco, with load balancing) – the FHRP siblings of HSRP.

HSRP Deep Dive

HSRP (Hot Standby Router Protocol) creates redundancy between routers by assigning a virtual IP and

FHRP Compared — HSRP vs VRRP vs GLBP

FHRP (First Hop Redundancy Protocol) is a family of protocols – HSRP, VRRP and GLBP

VRF — Several Routers in One

VRF (Virtual Routing and Forwarding) lets one router keep several separate routing tables, so traffic

Advanced BGP — Route Reflectors, Protection, Policy

Where basic BGP is about neighbors and exchanging routes, advanced BGP is about scalability and

BGP Basics — Attributes & Aggregation

BGP is a path-vector routing protocol used between autonomous systems to select routes based on

EIGRP & DUAL — The Feasibility Condition

EIGRP uses DUAL (Diffusing Update Algorithm) to select the best path and guarantee fast, loop-free

OSPF Area Types & Where Filtering Works

OSPF area types control which LSAs may exist in an area – to reduce routing-table

OSPF Core — LSAs, Timers, Router ID

OSPF is a link-state IGP that uses cost as its metric and requires Area 0

Static Routes — Default, Floating, Recursive

A static route is manually configured by the administrator. The router does not learn it

Best Path Selection: LPM, AD, Metric, ECMP

Longest Prefix Match → Administrative Distance → Metric → ECMP → FIB (CEF) When a

STP Design & Topology Choices

STP design is about control: who is root, and how traffic flows. Design choice Why

STP Troubleshooting

STP failures are most often caused by missing BPDUs or bad links. Problem Solution Missing

UDLD — Unidirectional Link Detection

UDLD (Unidirectional Link Detection) detects one-way links – when A → B works but B

Loop Guard

Loop Guard is an STP security mechanism that protects against Layer 2 loops that can

Root Guard

What is Root Guard? Root Guard prevents a port from becoming a Root Port. Which

BPDU Filter — the Dangerous One

What is BPDU Filter? BPDU Filter prevents a port from sending and/or receiving BPDUs. In

BPDU Guard

What is BPDU Guard? BPDU Guard shuts a port down when a BPDU is received.

PortFast

What is PortFast? PortFast makes a port go straight to forwarding. Which problem does it

IGMP Snooping & the Querier Trap

IGMP snooping is a Layer 2 switch feature that listens to IGMP messages so that

Layer 2 Multicast

Layer 2 multicast is about how switches forward multicast frames based on MAC addresses, and

How a Switch Learns (CAM Table)

A switch learns MAC addresses from the source MAC of incoming frames and uses the

802.1Q Trunking

Point Trunk Purpose Multiple VLANs over one link Standard 802.1Q Frames Tagged Native VLAN Untagged

VLANs & the VLAN 1 Problem

A VLAN creates separate Layer 2 broadcast domains on the same physical switch. Devices in

BPDUs Deep Dive

BPDU (Bridge Protocol Data Unit) is STP’s control packet, used to elect the root bridge,

STP Flavors Compared (802.1D to MST)

Different STP flavors solve the same problem – loop prevention – with different trade-offs in

Spanning Tree — Root Election & Config

Spanning Tree Protocol prevents Layer 2 loops by electing one active path and blocking redundant

EtherChannel & LACP

EtherChannel is Cisco’s implementation of Link Aggregation (LAG), bundling multiple physical links into one logical

IPv6 Address Formats — Cheat Sheet

IPv6 address formats define the purpose and scope of an address – routing, local communication,

What is IPv6?

IPv6 is the next generation of IP, designed to replace IPv4 because IPv4 ran out

VLSM — Variable Length Subnet Masking

VLSM lets you use different subnet masks inside the same network, so IP space is

Special IPv4 Addresses

Special IPv4 addresses are reserved for specific purposes and cannot be used as normal host

Private vs Public IP Addresses

IPv4 addressing gives every device a unique 32-bit address so packets can be identified and

The TCP/IP Model (Cisco 5-Layer)

The Cisco TCP/IP model has 5 layers – the Network Access layer is split into

The OSI Model — Layers, Scopes, Protocols

OSI model – functions, scope and examples Layer Name Primary function Scope Typical protocols Data

The Ethernet II Frame

The Ethernet II frame (with the physical-layer preamble/SFD) is built as follows: PREAMBLE START FRAME

The IPv6 Header

The IPv6 header is a fixed 40-byte Layer 3 header designed for faster routing, better

The IPv4 Header

The IPv4 header is a variable Layer 3 header (RFC 791, 20–60 bytes) containing everything

Encapsulation & Decapsulation

Encapsulation is the process where data is wrapped layer by layer with headers (and sometimes

Collision vs Broadcast Domains

Collision domain: where frames can collide (only relevant for half-duplex). Broadcast domain: where broadcasts (ff:ff:ff:ff:ff:ff)

Locking the cluster behind the jump: ufw without the foot-gun

The admin path is one jump host; this is the firewall layer that makes that

One door in: a jump host for my k3s cluster

Every laptop that holds cluster credentials is a door left unlocked. After a podman toolbox

My .vimrc for Kubernetes YAML (2 spaces and a whitespace alarm)

The other half of my container setup is the .vimrc. Two spaces is the standard

Stop typing kubectl – bash alias and completion

I use my k8s-admin container (ubuntu with kubectl, flux, helm and kustomize) for all kubernetes

Lorem ipsum dolor sit amet, consectet adipiscing elit,sed do eiusm por incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea sint occaecat cupidatat non proident, sunt in culpa qui officia mollit natoque consequat massa quis.

Donec pede justo, fringilla vitae, eleifend acer sem neque sed Lorem Lorem ipsum dolor sit amet, consectet adipiscing elit,sed do eiusm por incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ipsum. Nam quam nunc, blandit vel, ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium consectetuer luculvinar, ids lorem. Maecenas nec odio et ante tincidunt tempus.

Lorem ipsum dolor sit amet, consectet adipiscing elit,sed do eiusm por incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea sint occaecat cupidatat non proident, sunt in culpa qui officia mollit natoque consequat massa quis enim.

Give options to click

Option 1
Option 2
Option 3