OPNsense: 5 VLANs, Aislamiento y Seguridad de Perímetro

OPNsense es un firewall serio. Pero la GUI puede generar confusión sobre el orden correcto de operaciones — especialmente cuando combinas VLANs, interfaces, y reglas de firewall que dependen unas de otras. Este post sigue el orden exacto en que debes hacer cada paso para llegar a una configuración funcional y segura. Escenario Un único puerto físico (em1) actúa como trunk hacia un switch administrado. Cinco VLANs para segmentos distintos: ...

April 7, 2026 · 7 min · Francisco Valladolid

Subnetting: From First Principles to VLSM

Subnetting is one of those skills that seems intimidating until it clicks, and then it feels obvious. This post builds from first principles — binary representation, masks, and block sizes — through variable-length subnet masking (VLSM) and summarization. IP Address Structure An IPv4 address is 32 bits divided into two logical parts: network and host. 192.168.10.25 = 11000000.10101000.00001010.00011001 The subnet mask defines the split. A 255.255.255.0 mask (or /24 in CIDR) means the first 24 bits identify the network, the last 8 identify the host. ...

April 7, 2026 · 4 min · Francisco Valladolid

BGP Graceful Restart: What It Is and When It Actually Helps

BGP Graceful Restart (GR) is one of those features you turn on everywhere because the vendor datasheet says it improves availability — and then you spend the next year debugging weird convergence behavior because of it. Let me break down what GR actually does, and more importantly, when it helps versus when it makes things worse. The Problem It Solves When a BGP speaker restarts (software upgrade, process crash, failover), it tears down all its sessions. Every peer withdraws the routes it learned from that speaker, and the network reconverges. This takes time — seconds to minutes, depending on your topology. ...

November 20, 2025 · 3 min · Francisco Valladolid

Network Automation with Ansible: A Practical Starting Point

Most network automation tutorials start with a playbook that configures a VLAN. That’s fine, but it skips the part where you understand why Ansible is structured the way it is and when you should reach for something else. Here’s a practical foundation. Why Ansible for Networks? Ansible uses an agentless model — it connects via SSH (or NETCONF, or HTTPS depending on the platform). No agent to install. For network devices, this is almost always the right model. ...

September 5, 2025 · 2 min · Francisco Valladolid

OSPF LSA Types: A Field Reference

OSPF link-state advertisements are the currency of the protocol. Understanding which LSA type carries what information — and who generates it — is essential for troubleshooting convergence issues. Quick Reference Type Name Originated By Scope 1 Router LSA Every router Single area 2 Network LSA DR on broadcast segment Single area 3 Summary LSA ABR Area → backbone 4 ASBR Summary ABR Area → backbone 5 AS External ASBR Entire OSPF domain 7 NSSA External ASBR in NSSA Single NSSA area Type 1 — Router LSA Every OSPF router originates one Type 1 LSA per area it belongs to. It describes: ...

June 14, 2025 · 2 min · Francisco Valladolid