<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sebastian Mejia</title>
    <description>The latest articles on DEV Community by Sebastian Mejia (@sdmejia).</description>
    <link>https://dev.to/sdmejia</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3278279%2Fd98ed14e-d150-41e0-a0bc-038d1e19813d.png</url>
      <title>DEV Community: Sebastian Mejia</title>
      <link>https://dev.to/sdmejia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sdmejia"/>
    <language>en</language>
    <item>
      <title>Highly Available Office Network Design</title>
      <dc:creator>Sebastian Mejia</dc:creator>
      <pubDate>Fri, 20 Jun 2025 03:25:12 +0000</pubDate>
      <link>https://dev.to/sdmejia/highly-available-office-network-design-5ci1</link>
      <guid>https://dev.to/sdmejia/highly-available-office-network-design-5ci1</guid>
      <description>&lt;p&gt;In this post, I’ll walk through a high availability (HA) office network architecture I’ve implemented across several branch environments. The goal was to create a resilient, fault-tolerant design that ensures connectivity, security, and uptime — even during ISP outages, hardware failures, or power events.&lt;/p&gt;

&lt;p&gt;The design uses FortiGate firewalls in HA mode, Meraki switches, SD-WAN with SLA rules, and redundant power and network paths.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧱 Network Design Overview
&lt;/h2&gt;

&lt;p&gt;Here’s the logical architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dual ISPs&lt;/strong&gt;: Two independent internet circuits for redundancy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WAN Layer&lt;/strong&gt;: Two WAN switches (one per ISP).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Firewalls&lt;/strong&gt;: Two FortiGate appliances in HA (active/passive) mode.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LAN Layer&lt;/strong&gt;: Two internal Meraki switches — each connected to a different FortiGate unit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch Interconnect&lt;/strong&gt;: Internal switches connected via a port-channel (LAG) for redundancy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UPS Redundancy&lt;/strong&gt;: Power is fed through separate UPS circuits (A/B) to isolate failures.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🖥️ Diagram
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp626mcaz5riso7kj1mbi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp626mcaz5riso7kj1mbi.jpg" alt="Image description" width="558" height="641"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🔧 Key Design Highlights
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🔁 FortiGate HA Configuration
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Active/passive mode with heartbeat and session sync&lt;/li&gt;
&lt;li&gt;Dual WAN interfaces on each firewall, connecting to both WAN switches&lt;/li&gt;
&lt;li&gt;SD-WAN configured with SLA tracking for packet loss, jitter, and latency&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🌐 SD-WAN Failover Logic
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If ISP 1 experiences packet loss or latency beyond SLA thresholds, traffic auto-fails over to ISP 2&lt;/li&gt;
&lt;li&gt;No user interaction required; seamless failover from the user perspective&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔌 Power Resilience
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;UPS Circuit A powers one side (WAN switch + FortiGate + Internal switch)&lt;/li&gt;
&lt;li&gt;UPS Circuit B powers the other side&lt;/li&gt;
&lt;li&gt;A failure on one power path doesn’t take down the core network infrastructure&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🧩 Switch Redundancy
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Internal Meraki switches are interconnected using a LAG (Port-Channel) to provide redundancy and maintain internal traffic paths&lt;/li&gt;
&lt;li&gt;Each Meraki switch also connects to the FortiGate cluster via a dedicated LAG, ensuring link-level redundancy between LAN and firewall layers&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔄 Real-World Results
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Survived ISP outages with zero downtime thanks to SD-WAN&lt;/li&gt;
&lt;li&gt;No business disruption during firewall firmware upgrades (failover was seamless)&lt;/li&gt;
&lt;li&gt;Local power failures affected one side only — only endpoints connected to the affected internal switch lost connectivity, while core infrastructure remained operational&lt;/li&gt;
&lt;li&gt;Easy to replicate at other offices due to modular and well-documented design&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 Lessons Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;SD-WAN SLA tuning is critical — overly sensitive thresholds can cause flapping&lt;/li&gt;
&lt;li&gt;Always validate HA failover under load — test VPNs, NAT, and logging&lt;/li&gt;
&lt;li&gt;Label power and data paths clearly — it saves time in emergencies&lt;/li&gt;
&lt;li&gt;Documentation is as important as design — it enabled repeatable deployments&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;This design has proven highly effective across multiple office deployments. It offers true high availability across networking, power, and internet access layers — while staying relatively simple to manage.&lt;/p&gt;

&lt;p&gt;If you’re designing or upgrading a branch office or small datacenter, consider using this architecture as a blueprint. Feel free to adapt it to your own stack — whether you're using FortiGate, Palo Alto, Meraki, or other gear.&lt;/p&gt;

</description>
      <category>networking</category>
      <category>highavailability</category>
      <category>networkdesign</category>
      <category>sdwan</category>
    </item>
  </channel>
</rss>
