<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Heerok Mutsuddy on Medium]]></title>
        <description><![CDATA[Stories by Heerok Mutsuddy on Medium]]></description>
        <link>https://medium.com/@heerok?source=rss-b6d6081ffbc8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wnzjdd1GwsN0ae3-</url>
            <title>Stories by Heerok Mutsuddy on Medium</title>
            <link>https://medium.com/@heerok?source=rss-b6d6081ffbc8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:28:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@heerok/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[When the Responder SPI Stays at Zero: A State-Based Approach to Troubleshooting IKEv2, IPsec, and…]]></title>
            <link>https://medium.com/the-resilience-blueprint/when-the-responder-spi-stays-at-zero-a-state-based-approach-to-troubleshooting-ikev2-ipsec-and-6574987c903b?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6574987c903b</guid>
            <category><![CDATA[network-engineering]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[ipsec]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Tue, 14 Jul 2026 13:07:19 GMT</pubDate>
            <atom:updated>2026-07-14T13:20:10.883Z</atom:updated>
            <content:encoded><![CDATA[<h3>When the Responder SPI Stays at Zero: A State-Based Approach to Troubleshooting IKEv2, IPsec, and NAT</h3><h3>A practical Cisco IOS XE troubleshooting case involving VRF-aware IKEv2, GRE over IPsec, peer identification, ESP validation, and static PAT</h3><figure><img alt="Banner" src="https://cdn-images-1.medium.com/max/1024/1*WdkZKH67xA2Ryn-5uZB6Lg.png" /></figure><p>A VPN tunnel being “down” is not a root cause.</p><p>It is only an operational state.</p><p>When IKEv2, IPsec, GRE, VRF routing, and NAT are involved in the same service path, troubleshooting all layers simultaneously usually creates noise. A more effective method is to identify the <strong>first protocol state transition that did not complete</strong> and work forward from that point.</p><p>I recently applied this approach while troubleshooting a route-based IKEv2/IPsec deployment on a Cisco Catalyst 8500 running IOS XE 17.x.</p><p>The case started with an IKEv2 SA stuck in IN-NEG and a responder SPI of zero.</p><p>It ended with a fully operational encrypted tunnel and two application services published through a single NAT address using static TCP port translations.</p><p>This article walks through the troubleshooting process and, more importantly, the reasoning behind each step.</p><h3>The Network Scenario</h3><p>The design included:</p><ul><li>A dedicated VRF for the service</li><li>IKEv2 with pre-shared-key authentication</li><li>GRE protected by an IPsec profile</li><li>AES-256 encryption</li><li>SHA-256 integrity and PRF</li><li>Diffie-Hellman Group 16</li><li>A remote VPN gateway reachable through a routed transport next hop</li><li>Two internal application servers</li><li>One published NAT address</li><li>Different TCP ports used to select each backend service</li></ul><p>The logical topology was:</p><pre>REMOTE NETWORK<br>                               |<br>                               |<br>                       Remote VPN Gateway<br>                               |<br>                         IKEv2 / IPsec<br>                               |<br>                               v<br>                +-----------------------------+<br>                | Cisco Catalyst 8500         |<br>                |                             |<br>                | Front-Door VRF              |<br>                | GRE over IPsec              |<br>                | Tunnel Interface            |<br>                | NAT Outside                 |<br>                +--------------+--------------+<br>                               |<br>                               |<br>                         Static TCP PAT<br>                               |<br>                       Published NAT IP<br>                               |<br>                  +------------+------------+<br>                  |                         |<br>               TCP/8080                  TCP/8095<br>                  |                         |<br>                  v                         v<br>             Backend A                  Backend B<br>             TCP/8080                   TCP/8095<br>                  |<br>             NAT Inside</pre><p>The troubleshooting naturally divided into two areas:</p><ol><li>IKEv2/IPsec tunnel establishment</li><li>NAT and application publishing</li></ol><p>The first rule was to keep those two state machines separate.</p><h3>Start With the IKEv2 State Machine</h3><p>The initial IKEv2 output showed:</p><pre>Status: IN-NEG</pre><pre>Encr: Unknown<br>PRF: Unknown<br>Hash: None<br>DH Grp: 0</pre><pre>Remote SPI: 0000000000000000</pre><p>The detailed SA output contained the most useful line:</p><pre>Status Description: Initiator waiting for INIT response</pre><p>Those two fields immediately narrowed the troubleshooting scope:</p><pre>Remote SPI: 0000000000000000</pre><pre>Initiator waiting for INIT response</pre><p>To understand why, consider the basic IKEv2 exchange:</p><pre>Initiator                              Responder<br>    |                                      |<br>    |-------- IKE_SA_INIT Request --------&gt;|<br>    |                                      |<br>    |&lt;------- IKE_SA_INIT Response --------|<br>    |                                      |<br>    |---------- IKE_AUTH Request ----------&gt;|<br>    |                                      |<br>    |&lt;--------- IKE_AUTH Response ----------|<br>    |                                      |<br>    |              IKE SA READY             |</pre><p>The local router had generated an initiator SPI.</p><p>The responder SPI remained zero.</p><p>The router was explicitly waiting for an IKE_SA_INIT response.</p><p>Therefore, the immediate troubleshooting scope was:</p><pre>IKEv2 policy selection<br>        |<br>        v<br>IKE_SA_INIT generation<br>        |<br>        v<br>Packet transmission<br>        |<br>        v<br>Network path<br>        |<br>        v<br>Remote IKEv2 processing<br>        |<br>        v<br>IKE_SA_INIT response</pre><p>The scope was <strong>not yet</strong>:</p><pre>PSK authentication</pre><pre>IPsec transform set</pre><pre>ESP processing</pre><pre>Application NAT</pre><p>This distinction is important.</p><p>A PSK mismatch is investigated during IKE_AUTH.</p><p>This session had not reached IKE_AUTH.</p><p>Changing the PSK at this point would have been troubleshooting the wrong state.</p><h3>Validate Routing in the Correct VRF</h3><p>The VPN used a dedicated front-door VRF.</p><p>The first routing checks were therefore performed in that VRF:</p><pre>show ip route vrf &lt;CLIENT-VRF&gt; &lt;REMOTE-PEER&gt;</pre><pre>ping vrf &lt;CLIENT-VRF&gt; &lt;REMOTE-PEER&gt; source &lt;LOCAL-IKE-IP&gt;</pre><p>The peer route was present.</p><p>The sourced ping succeeded:</p><pre>!!!!!<br>Success rate is 100 percent</pre><p>This established that:</p><ul><li>The route existed in the correct VRF</li><li>The next hop was reachable</li><li>The expected local IKE source address could reach the destination</li><li>Basic Layer 3 forwarding was operational</li></ul><p>However:</p><blockquote><em>ICMP reachability proves IP reachability. It does not prove IKEv2 reachability.</em></blockquote><p>A peer can answer ICMP while UDP/500 is filtered.</p><p>A firewall can permit ping and drop IKE.</p><p>A reachable address can also be the wrong security endpoint.</p><p>That last point became critical in this case.</p><h3>Treat the IKEv2 Configuration as a Reference Graph</h3><p>On Cisco IOS XE, I prefer to validate route-based IKEv2 configurations as a dependency graph.</p><pre>Tunnel Interface<br>        |<br>        v<br>IPsec Profile<br>        |<br>        +-------- Transform Set<br>        |<br>        v<br>IKEv2 Profile<br>        |<br>        +-------- Keyring<br>        |<br>        v<br>IKEv2 Policy<br>        |<br>        v<br>IKEv2 Proposal</pre><p>The relevant configuration sections were checked individually.</p><h3>IKEv2 Proposal</h3><p>The proposal offered:</p><pre>crypto ikev2 proposal &lt;IKEV2-PROPOSAL&gt;<br> encryption aes-cbc-256<br> integrity sha256<br> group 16</pre><p>Operationally, the router displayed:</p><pre>Encryption : AES-CBC-256<br>Integrity  : SHA256<br>PRF        : SHA256<br>DH Group   : Group 16</pre><h3>IKEv2 Policy</h3><p>The policy matched the front-door VRF and local IKE address:</p><pre>crypto ikev2 policy &lt;IKEV2-POLICY&gt;<br> match fvrf &lt;CLIENT-VRF&gt;<br> match address local &lt;LOCAL-IKE-IP&gt;<br> proposal &lt;IKEV2-PROPOSAL&gt;</pre><h3>IKEv2 Profile</h3><p>The profile matched the expected remote identity and used PSK authentication:</p><pre>crypto ikev2 profile &lt;IKEV2-PROFILE&gt;<br> match fvrf &lt;CLIENT-VRF&gt;<br> match address local &lt;LOCAL-IKE-IP&gt;<br> match identity remote address &lt;REMOTE-PEER&gt; 255.255.255.255<br> authentication remote pre-share<br> authentication local pre-share<br> keyring local &lt;IKEV2-KEYRING&gt;</pre><h3>IPsec Profile</h3><p>The IPsec profile referenced both the transform set and IKEv2 profile:</p><pre>crypto ipsec profile &lt;IPSEC-PROFILE&gt;<br> set security-association lifetime seconds 28800<br> set transform-set &lt;TRANSFORM-SET&gt;<br> set ikev2-profile &lt;IKEV2-PROFILE&gt;</pre><h3>Tunnel Interface</h3><p>The tunnel referenced the IPsec profile:</p><pre>interface Tunnel&lt;X&gt;<br> ip vrf forwarding &lt;CLIENT-VRF&gt;<br> tunnel source &lt;LOCAL-IKE-IP&gt;<br> tunnel destination &lt;REMOTE-PEER&gt;<br> tunnel vrf &lt;CLIENT-VRF&gt;<br> tunnel protection ipsec profile &lt;IPSEC-PROFILE&gt;</pre><p>The dependency chain was internally consistent.</p><p>That did not prove the remote side would accept the negotiation.</p><p>It did mean that randomly changing encryption algorithms, PSKs, or transform sets was not justified by the evidence.</p><p>The next step was to observe the protocol.</p><h3>The Debug That Defined the Failure Point</h3><p>A peer-filtered IKEv2 debug was enabled.</p><p>The router successfully selected the expected policy:</p><pre>Searching Policy with fvrf ...<br>Found Policy &#39;&lt;IKEV2-POLICY&gt;&#39;</pre><p>The crypto engine then processed Diffie-Hellman Group 16:</p><pre>Computing DH public key, DH Group 16</pre><pre>DH key Computation PASSED</pre><p>The router generated an IKE_SA_INIT message:</p><pre>Generating IKE_SA_INIT message</pre><p>The actual proposal in the packet was:</p><pre>AES-CBC<br>SHA256<br>SHA256<br>DH_GROUP_4096_MODP / Group 16</pre><p>The router then transmitted:</p><pre>Sending Packet</pre><pre>To &lt;REMOTE-PEER&gt;:500<br>From &lt;LOCAL-IKE-IP&gt;:500</pre><pre>IKEv2 IKE_SA_INIT Exchange REQUEST</pre><p>Then:</p><pre>Retransmitting packet</pre><p>And again:</p><pre>Retransmitting packet</pre><p>The packet flow looked like this:</p><pre>Cisco C8500                           Remote Peer<br>     |                                    |<br>     |--- IKE_SA_INIT UDP/500 -----------&gt;|<br>     |                                    |<br>     |--- IKE_SA_INIT Retransmission ----&gt;|<br>     |                                    |<br>     |--- IKE_SA_INIT Retransmission ----&gt;|<br>     |                                    |<br>     |--- IKE_SA_INIT Retransmission ----&gt;|<br>     |                                    |<br>     |&lt;------------- No Response ----------|</pre><p>The same initiator SPI remained active.</p><p>The responder SPI remained:</p><pre>0000000000000000</pre><p>The evidence now showed:</p><pre>Policy selection          PASS</pre><pre>DH computation            PASS</pre><pre>IKE proposal generation   PASS</pre><pre>IKE_SA_INIT generation    PASS</pre><pre>Packet transmission       PASS</pre><pre>IKE_SA_INIT response      FAIL</pre><p>This is where SPI analysis became useful.</p><p>The zero responder SPI was not the root cause itself.</p><p>It was an indicator of the exact IKEv2 state that had not completed.</p><h3>The Routed Next Hop Was Not the VPN Security Endpoint</h3><p>The next major finding came from comparing the active configuration with the actual network design.</p><p>The transport topology was effectively:</p><pre>+----------------+<br>| Local C8500    |<br>+-------+--------+<br>        |<br>        | Directly connected transport<br>        |<br>        v<br>+----------------+<br>| Routed Next Hop|<br>+-------+--------+<br>        |<br>        | Provider / routed network<br>        |<br>        v<br>+----------------+<br>| Actual Remote  |<br>| VPN Gateway    |<br>+----------------+</pre><p>The directly reachable transport next hop had initially been treated as the remote VPN peer.</p><p>These addresses had different functions.</p><p>The transport next hop existed to forward packets.</p><p>The remote VPN gateway was the IKEv2 security endpoint.</p><p>The correct relationship was:</p><pre>REMOTE-VPN-PEER /32<br>        |<br>        |<br>        v<br>ROUTE VIA TRANSPORT-NEXT-HOP</pre><p>In Cisco IOS XE terms:</p><pre>ip route vrf &lt;CLIENT-VRF&gt; &lt;REMOTE-VPN-PEER&gt; 255.255.255.255 &lt;TRANSPORT-NEXT-HOP&gt;</pre><p>The actual VPN peer then needed to be used consistently:</p><pre>Tunnel destination<br>        =<br>Remote VPN gateway</pre><pre>IKEv2 remote identity<br>        =<br>Remote VPN gateway</pre><pre>IKEv2 keyring peer<br>        =<br>Remote VPN gateway</pre><p>Conceptually:</p><pre>tunnel destination &lt;REMOTE-VPN-PEER&gt;</pre><pre>match identity remote address &lt;REMOTE-VPN-PEER&gt;</pre><pre>peer &lt;REMOTE-VPN-PEER&gt;</pre><p>This was the key addressing issue.</p><p>A routed next hop is not necessarily an IKE peer.</p><p>This distinction is especially important in:</p><ul><li>MPLS networks</li><li>Carrier Ethernet</li><li>VRF-aware transport</li><li>Routed partner interconnects</li><li>Multi-hop VPN designs</li></ul><p>“IP reachable” and “VPN security endpoint” are not equivalent statements.</p><h3>From Zero Responder SPI to IKEv2 READY</h3><p>After the peer relationship was aligned with the actual VPN design and the remote side was validated, the IKEv2 SA changed state.</p><p>Before:</p><pre>Status: IN-NEG</pre><pre>Remote SPI: 0000000000000000</pre><pre>Initiator waiting for INIT response</pre><p>After:</p><pre>Status: READY</pre><pre>Encryption: AES-CBC<br>Key Size: 256</pre><pre>PRF: SHA256<br>Hash: SHA256</pre><pre>DH Group: 16</pre><pre>Auth Sign: PSK<br>Auth Verify: PSK</pre><p>Both SPIs were now populated:</p><pre>Initiator SPI : &lt;VALID-SPI&gt;</pre><pre>Responder SPI : &lt;VALID-SPI&gt;</pre><p>The session had successfully completed:</p><pre>IKE_SA_INIT<br>      |<br>      v<br>IKE_AUTH<br>      |<br>      v<br>IKE SA READY</pre><p>The established session used UDP/4500.</p><p>This showed that NAT-T had been negotiated.</p><h3>An IKE SA Is Not Proof of a Working Data Plane</h3><p>After IKEv2 reached READY, the next check was the IPsec SA.</p><pre>show crypto ipsec sa vrf &lt;CLIENT-VRF&gt;</pre><p>Both ESP directions were active:</p><pre>Inbound ESP SA:</pre><pre>Status: ACTIVE(ACTIVE)<br></pre><pre>Outbound ESP SA:</pre><pre>Status: ACTIVE(ACTIVE)</pre><p>The packet counters were also increasing:</p><pre>#pkts encaps:  &gt; 0<br>#pkts encrypt: &gt; 0</pre><pre>#pkts decaps:  &gt; 0<br>#pkts decrypt: &gt; 0</pre><p>There were no crypto processing errors:</p><pre>#send errors 0<br>#recv errors 0</pre><p>This separated control-plane and data-plane validation:</p><pre>IKEv2 READY<br>     |<br>     v<br>Control Plane Established<br></pre><pre>ESP SAs ACTIVE<br>     |<br>     v<br>IPsec Data Plane Established<br></pre><pre>Encrypt / Decrypt Counters Increasing<br>     |<br>     v<br>Protected Traffic Actually Flowing</pre><p>An IKE SA proves negotiation.</p><p>Increasing ESP counters prove encrypted packet forwarding.</p><p>Both matter.</p><h3>Then Came the NAT Requirement</h3><p>Once the VPN was operational, the application requirement was addressed separately.</p><p>The remote organization needed to connect to a single published NAT IP.</p><p>Two TCP services were required:</p><pre>&lt;NAT-IP&gt;:8080</pre><pre>&lt;NAT-IP&gt;:8095</pre><p>Internally, the services existed on two separate backend systems:</p><pre>&lt;BACKEND-A&gt;:8080</pre><pre>&lt;BACKEND-B&gt;:8095</pre><p>The required translation was:</p><pre>&lt;NAT-IP&gt;:8080<br>        |<br>        v<br>&lt;BACKEND-A&gt;:8080</pre><p>and:</p><pre>&lt;NAT-IP&gt;:8095<br>        |<br>        v<br>&lt;BACKEND-B&gt;:8095</pre><p>This was not a dynamic source NAT requirement.</p><p>It was a static TCP port translation requirement.</p><h3>Understanding Cisco’s ip nat inside source static Syntax</h3><p>The static mappings followed this model:</p><pre>ip nat inside source static tcp &lt;BACKEND-A&gt; 8080 &lt;NAT-IP&gt; 8080 vrf &lt;CLIENT-VRF&gt;</pre><pre>ip nat inside source static tcp &lt;BACKEND-B&gt; 8095 &lt;NAT-IP&gt; 8095 vrf &lt;CLIENT-VRF&gt;</pre><p>The Cisco command says:</p><pre>ip nat inside source static</pre><p>However, consider the remote-initiated packet direction.</p><p>The packet enters the tunnel as:</p><pre>Source      = REMOTE-HOST<br>Destination = NAT-IP:8080</pre><p>As it moves from NAT outside to NAT inside, the translation is:</p><pre>Before NAT:</pre><pre>DST = NAT-IP:8080<br></pre><pre>After NAT:</pre><pre>DST = BACKEND-A:8080</pre><p>Operationally, engineers often describe this behavior as DNAT or port forwarding.</p><p>Cisco IOS represents the mapping using an inside-source static translation.</p><p>Both descriptions can be correct depending on whether we are discussing configuration syntax or packet transformation.</p><p>The packet flow was:</p><pre>REMOTE HOST<br>     |<br>     | DST = NAT-IP:8080<br>     |<br>     v<br>+---------------------------+<br>| IPsec Tunnel              |<br>| ip nat outside            |<br>+-------------+-------------+<br>              |<br>              |<br>         NAT Translation<br>              |<br>              | DST rewritten<br>              |<br>              v<br>+---------------------------+<br>| Application Interface     |<br>| ip nat inside             |<br>+-------------+-------------+<br>              |<br>              |<br>              v<br>       BACKEND-A:8080</pre><p>For the second service:</p><pre>NAT-IP:8095<br>      |<br>      v<br>BACKEND-B:8095</pre><p>The return packet followed the reverse static translation.</p><p>The remote system continued to communicate with the published NAT address.</p><h3>Validate NAT With State and Counters</h3><p>The NAT translation table showed:</p><pre>Inside Global          Inside Local</pre><pre>NAT-IP:8080             BACKEND-A:8080</pre><pre>NAT-IP:8095             BACKEND-B:8095</pre><p>The NAT statistics showed:</p><pre>Total active translations: 2</pre><pre>2 static<br>0 dynamic</pre><pre>Hits: increasing</pre><pre>In-to-out drops: 0</pre><pre>Out-to-in drops: 0</pre><p>This answered two separate questions.</p><pre>Question 1:</pre><pre>Does the NAT mapping exist?</pre><pre>        |<br>        v</pre><pre>show ip nat translations</pre><p>And:</p><pre>Question 2:</pre><pre>Are live packets matching the NAT mapping?</pre><pre>        |<br>        v</pre><pre>show ip nat statistics</pre><p>A static NAT entry in the configuration only proves that the mapping has been installed.</p><p>Increasing NAT hits prove that traffic is actually traversing the translation path.</p><p>The remote organization subsequently confirmed successful TCP connectivity to both published application ports.</p><h3>The Final Packet Flow</h3><p>The complete operational path was:</p><pre>REMOTE APPLICATION CLIENT<br>             |<br>             |<br>             | TCP/8080 or TCP/8095<br>             |<br>             v<br>      REMOTE VPN GATEWAY<br>             |<br>             |<br>       IKEv2 / IPsec<br>             |<br>             v<br>+--------------------------------+<br>| Cisco Catalyst 8500            |<br>|                                |<br>| IKEv2 SA       : READY         |<br>| Inbound ESP SA : ACTIVE        |<br>| Outbound ESP SA: ACTIVE        |<br>+---------------+----------------+<br>                |<br>                |<br>         GRE/IPsec Tunnel<br>          NAT OUTSIDE<br>                |<br>                v<br>        STATIC TCP PAT<br>                |<br>        +-------+-------+<br>        |               |<br>        v               v<br>   NAT-IP:8080      NAT-IP:8095<br>        |               |<br>        v               v<br> Backend A:8080    Backend B:8095<br>        |<br>   NAT INSIDE</pre><p>The troubleshooting sequence moved through each state independently:</p><pre>VRF Routing<br>     |<br>     v<br>Peer Reachability<br>     |<br>     v<br>IKEv2 State<br>     |<br>     v<br>SPI Analysis<br>     |<br>     v<br>IKE Packet Exchange<br>     |<br>     v<br>IKE Authentication<br>     |<br>     v<br>ESP Security Associations<br>     |<br>     v<br>ESP Packet Counters<br>     |<br>     v<br>NAT Translation State<br>     |<br>     v<br>NAT Hit / Drop Counters<br>     |<br>     v<br>TCP Application Connectivity</pre><h3>A Practical Troubleshooting Principle</h3><p>The most useful question during this case was not:</p><blockquote><em>“Why is the VPN down?”</em></blockquote><p>The better question was:</p><blockquote><em>“What is the first expected protocol state or packet that is missing?”</em></blockquote><p>Initially:</p><pre>Expected:<br>IKE_SA_INIT Response</pre><pre>Observed:<br>IKE_SA_INIT Requests<br>Repeated retransmissions<br>Responder SPI = 0</pre><p>That isolated the IKEv2 problem.</p><p>Later:</p><pre>Expected:<br>Traffic matching static TCP translations</pre><pre>Observed:<br>NAT hits increasing<br>Zero NAT drops</pre><p>That validated the NAT path.</p><p>This approach avoided unnecessary changes to the IKEv2 proposal, pre-shared key, and IPsec transform set.</p><p>The protocol state, SPI values, packet direction, security association counters, and NAT counters provided enough evidence to determine where troubleshooting should move next.</p><h3>Closing Thoughts</h3><p>When troubleshooting a multi-layer VPN service, I try not to troubleshoot “the tunnel” as one object.</p><p>IKEv2 is a state machine.</p><p>IPsec maintains security associations and packet counters.</p><p>Routing determines reachability in a specific table or VRF.</p><p>NAT maintains translation state.</p><p>TCP has its own session behavior.</p><p>Find the first incomplete state transition. Prove it with operational evidence. Fix or escalate that layer, then move forward.</p><p>In this case, that method took the investigation from a zero responder SPI to an established IKEv2 SA, active ESP security associations, verified static PAT, and successful application connectivity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6574987c903b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/when-the-responder-spi-stays-at-zero-a-state-based-approach-to-troubleshooting-ikev2-ipsec-and-6574987c903b">When the Responder SPI Stays at Zero: A State-Based Approach to Troubleshooting IKEv2, IPsec, and…</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 1 Gbps FastConnect That Delivered Only 27 MB/s: A Real-World Journey to Finding the Hidden…]]></title>
            <link>https://medium.com/the-resilience-blueprint/the-1-gbps-fastconnect-that-delivered-only-27-mb-s-a-real-world-journey-to-finding-the-hidden-c3e9480c0779?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3e9480c0779</guid>
            <category><![CDATA[ipsec]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[network-engineering]]></category>
            <category><![CDATA[hybrid-cloud]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Tue, 23 Jun 2026 05:06:07 GMT</pubDate>
            <atom:updated>2026-06-23T05:09:36.585Z</atom:updated>
            <content:encoded><![CDATA[<h3>The 1 Gbps FastConnect That Delivered Only 27 MB/s: A Real-World Journey to Finding the Hidden IPsec Bottleneck</h3><figure><img alt="Network Bottleneck" src="https://cdn-images-1.medium.com/max/1024/1*2-1C3_mee7BffUiEqr4iVg.png" /><figcaption>Network Bottleneck</figcaption></figure><h3>Introduction</h3><p>Every network engineer has experienced it.</p><p>A customer reports poor application performance. The WAN circuit appears healthy. Interface utilization is low. CPU usage is negligible. Yet file transfers crawl at a fraction of the expected speed.</p><p>Recently, I was involved in troubleshooting a performance issue between a cloud environment and a remote on-premises infrastructure. What initially appeared to be a FastConnect bandwidth problem ultimately turned into a fascinating lesson about IPsec licensing, throughput limitations, and the importance of systematic troubleshooting.</p><p>This article walks through the investigation, the dead ends, the clues, and the final root cause.</p><h3>The Environment</h3><p>The customer environment consisted of a hybrid architecture connecting Oracle Cloud Infrastructure (OCI) with a remote on-premises network.</p><p>The traffic path was:</p><pre>OCI VM<br> ↓<br>Local Peering Gateway (Spoke VCN)<br> ↓<br>Local Peering Gateway (Hub VCN)<br> ↓<br>DRG<br> ↓<br>FastConnect (1 Gbps)<br> ↓<br>Cloud Edge Router<br> ↓<br>Carrier Transport Network<br> ↓<br>Remote VPN Router<br> ↓<br>Remote Server</pre><p>The OCI FastConnect virtual circuit was provisioned at <strong>1 Gbps</strong>.</p><p>The expectation was straightforward:</p><ul><li>Large database backups should transfer at high speed.</li><li>File transfers should comfortably exceed several hundred Mbps.</li><li>The FastConnect service should not be the bottleneck.</li></ul><p>However, reality told a different story.</p><h3>The Symptom</h3><p>A large Oracle database dump file was being transferred from OCI to the remote environment using SCP and rsync.</p><p>The transfer consistently stalled around:</p><pre>27 MB/s<br>≈ 216 Mbps</pre><p>No matter what was attempted, throughput remained stubbornly fixed near this value.</p><p>This immediately raised questions.</p><p>Was the FastConnect service underperforming?</p><p>Was there congestion in the carrier network?</p><p>Was IPsec introducing excessive overhead?</p><p>Or was something else limiting throughput?</p><h3>First Suspect: MTU and MSS</h3><p>The first clue appeared during path MTU discovery.</p><p>Tracepath revealed:</p><pre>PMTU = 1400 bytes</pre><p>Meanwhile, tunnel transport MTU values indicated additional encapsulation overhead introduced by IPsec.</p><p>To eliminate fragmentation-related issues, we:</p><ul><li>Adjusted MSS values</li><li>Configured TCP MSS clamping</li><li>Reduced MTU on test hosts</li><li>Performed controlled transfer tests</li></ul><p>Result:</p><pre>No meaningful improvement</pre><p>Throughput remained essentially unchanged.</p><p>MTU was not the primary problem.</p><h3>Second Suspect: Cloud Infrastructure</h3><p>Next, attention shifted toward OCI.</p><p>We reviewed:</p><ul><li>FastConnect configuration</li><li>DRG routing</li><li>LPG architecture</li><li>Virtual circuit MTU</li><li>OCI VNIC configuration</li></ul><p>Everything appeared healthy.</p><p>To validate the cloud side, we performed packet captures and throughput tests.</p><p>Then we executed a critical test:</p><pre>iperf3</pre><p>The results were surprising.</p><p>TCP throughput reached only:</p><pre>~225 Mbps</pre><p>while generating a significant number of retransmissions.</p><p>Even more concerning, UDP testing revealed substantial packet loss under load.</p><p>At this stage, the FastConnect service looked suspicious.</p><h3>Third Suspect: The Network Devices</h3><p>The next step was examining the cloud edge router.</p><p>We reviewed:</p><pre>CPU Utilization<br>Interface Statistics<br>Tunnel Statistics<br>QFP Drops<br>Hardware Crypto Status</pre><p>Everything was clean.</p><p>The router showed:</p><pre>0 input errors<br>0 output errors<br>0 drops<br>0 CRC errors<br>Hardware Encryption: ACTIVE<br>CPU: Near 0%</pre><p>No signs of congestion.</p><p>No packet drops.</p><p>No hardware limitations.</p><p>The edge router was effectively cleared from suspicion.</p><h3>The Turning Point</h3><p>One principle often separates good troubleshooting from guesswork:</p><blockquote>Change one thing at a time and isolate the fault domain.</blockquote><p>To determine whether FastConnect was truly the bottleneck, we created a test VM inside the Hub VCN and temporarily modified routing to bypass the IPsec tunnel entirely.</p><p>The new path became:</p><pre>OCI VM<br> ↓<br>Hub VCN<br> ↓<br>DRG<br> ↓<br>FastConnect<br> ↓<br>Remote Network</pre><p>No IPsec encryption.</p><p>No VPN tunnel processing.</p><p>Just pure FastConnect.</p><p>Then we started a file transfer.</p><p>The result was immediate.</p><h3>The Smoking Gun</h3><p>Transfer speeds jumped dramatically.</p><p>File transfer throughput reached:</p><pre>105 MB/s average<br>112 MB/s peak</pre><p>Equivalent to:</p><pre>842 Mbps average<br>901 Mbps peak</pre><p>In other words:</p><pre>FastConnect was healthy.</pre><p>The cloud infrastructure was healthy.</p><p>The carrier transport was healthy.</p><p>The bottleneck existed somewhere inside the VPN path.</p><p>The investigation suddenly became much smaller.</p><h3>Digging into the VPN Router</h3><p>The remote VPN termination device was a Cisco ISR4451-X.</p><p>At this point, we began reviewing:</p><ul><li>Platform capabilities</li><li>Crypto statistics</li><li>Throughput settings</li><li>Licensing</li></ul><p>Then we found it.</p><p>The router showed:</p><pre>securityk9<br>Installed<br><br>appxk9<br>Installed</pre><p>However:</p><pre>hseck9<br>NOT INSTALLED</pre><p>That single line explained everything.</p><h3>Understanding HSEC Licensing</h3><p>Many engineers are unaware that certain Cisco ISR platforms enforce cryptographic throughput restrictions when the High Security (HSEC) license is absent.</p><p>The router can still:</p><ul><li>Establish IPsec tunnels</li><li>Encrypt traffic</li><li>Route packets normally</li></ul><p>But encrypted throughput is capped.</p><p>In this environment, the observed throughput was:</p><pre>~225 Mbps</pre><p>The platform’s expected encrypted throughput without HSEC was remarkably close to this figure.</p><p>The numbers matched almost perfectly.</p><p>What initially appeared to be a cloud networking problem was actually a licensing limitation on the remote VPN endpoint.</p><h3>Why the Investigation Was Difficult</h3><p>Several factors made this issue challenging:</p><h3>The Tunnel Was Up</h3><p>No alarms.</p><p>No tunnel flaps.</p><p>No packet drops on interfaces.</p><p>No obvious errors.</p><h3>CPU Was Low</h3><p>Most engineers expect throughput bottlenecks to manifest as high CPU utilization.</p><p>This wasn’t the case.</p><p>Hardware crypto was functioning correctly.</p><h3>FastConnect Looked Guilty</h3><p>The symptoms appeared between OCI and on-premises systems.</p><p>Naturally, the cloud connection became an early suspect.</p><p>Only after bypass testing did we conclusively eliminate it.</p><h3>Throughput Wasn’t Exactly 250 Mbps</h3><p>The observed throughput fluctuated around:</p><pre>216–230 Mbps</pre><p>which initially obscured the licensing limitation.</p><p>Protocol overhead, TCP behavior, and retransmissions masked the exact platform ceiling.</p><h3>Key Lessons Learned</h3><h3>1. Always Isolate the Fault Domain</h3><p>Before changing configurations, determine:</p><pre>Cloud?<br>Transport?<br>VPN?<br>Application?</pre><p>Isolation saves enormous amounts of time.</p><h3>2. iperf3 Is Your Friend</h3><p>File transfer tools are useful.</p><p>iperf3 is better.</p><p>It removes storage and application variables and reveals the true network behavior.</p><h3>3. Verify Licensing Early</h3><p>When VPN throughput is unexpectedly low:</p><p>Check:</p><pre>show license authorization<br>show license summary<br>show platform hardware throughput level</pre><p>A missing license can look exactly like a network problem.</p><h3>4. Don’t Trust Assumptions</h3><p>A 1 Gbps circuit does not guarantee 1 Gbps throughput.</p><p>Every device in the path must be capable of forwarding, encrypting, and processing traffic at the desired rate.</p><p>The weakest link determines the end result.</p><h3>Final Outcome</h3><p>After bypassing the IPsec tunnel, throughput immediately increased to approximately 900 Mbps, proving that:</p><ul><li>OCI FastConnect was operating correctly</li><li>The cloud network was healthy</li><li>The carrier transport was healthy</li></ul><p>The root cause was identified as:</p><blockquote>Missing High Security (HSEC) license on the remote Cisco ISR4451-X, resulting in IPsec throughput limitations.</blockquote><p>A problem that initially looked like a cloud networking issue ultimately turned out to be a licensing issue hidden deep inside the VPN infrastructure.</p><p>And like many real-world troubleshooting cases, the answer was discovered not by looking harder — but by systematically eliminating possibilities until only one remained.</p><h3>Conclusion</h3><p>Network troubleshooting is rarely about finding the problem immediately.</p><p>It’s about narrowing the possibilities.</p><p>In this case, every test — from MTU adjustments and packet captures to iperf3 benchmarks and bypass routing — removed another suspect until the real culprit was exposed.</p><p>Sometimes the fastest way to solve a networking problem isn’t to examine the network more closely.</p><p>It’s to ask:</p><blockquote>“What if the network isn’t the problem at all?”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3e9480c0779" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/the-1-gbps-fastconnect-that-delivered-only-27-mb-s-a-real-world-journey-to-finding-the-hidden-c3e9480c0779">The 1 Gbps FastConnect That Delivered Only 27 MB/s: A Real-World Journey to Finding the Hidden…</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When a Green VPN Tunnel Isn’t Enough: Lessons from an OCI IPSec Troubleshooting Case]]></title>
            <link>https://medium.com/the-resilience-blueprint/when-a-green-vpn-tunnel-isnt-enough-lessons-from-an-oci-ipsec-troubleshooting-case-eb2327a7be8c?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb2327a7be8c</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cloud-networking]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[cisco]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Thu, 18 Jun 2026 13:32:53 GMT</pubDate>
            <atom:updated>2026-06-18T13:32:53.225Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“The VPN tunnel is up.”</em></p><p>As network engineers, we’ve all heard this statement. Most of the time, it brings relief. A green tunnel status usually means connectivity should be working.</p><p>But what happens when the tunnel is up, IKE negotiation is successful, routing looks correct, security policies appear clean, and yet an application remains unreachable?</p><p>This is the story of how a seemingly healthy Oracle Cloud Infrastructure (OCI) IPSec VPN concealed a design limitation that only revealed itself during production troubleshooting.</p><h3>The Environment</h3><p>The environment consisted of:</p><ul><li>Cisco IOS-XE router acting as the Customer Premises Equipment (CPE)</li><li>Oracle Cloud Infrastructure (OCI)</li><li>IPSec VPN using IKEv2</li><li>Static routing</li><li>OCI application servers hosted within the same subnet</li></ul><p>The business requirement was straightforward. An on-premises application needed to communicate with services hosted in OCI.</p><p>The VPN tunnel showed an UP status on both sides.</p><p>At first glance, everything appeared normal.</p><h3>The First Sign of Trouble</h3><p>The application team reported inconsistent connectivity.</p><p>One OCI server was reachable:</p><pre>telnet 10.11.11.210 8070</pre><p>The result was immediate:</p><pre>HTTP/1.1 400 Bad Request</pre><p>While the HTTP response itself was expected, it confirmed something important:</p><ul><li>Routing was working</li><li>The VPN path was operational</li><li>TCP connectivity was established</li></ul><p>However, a second server located within the same OCI subnet told a different story:</p><pre>telnet 10.11.11.119 8085</pre><p>Result:</p><pre>Connection timed out</pre><p>This was puzzling.</p><p>Two servers.</p><p>Same subnet.</p><p>Same VPN tunnel.</p><p>Different outcomes.</p><h3>Eliminating the Obvious</h3><p>The initial investigation focused on the usual suspects.</p><h3>OCI Security Rules</h3><p>Ingress policies were verified.</p><p>Traffic from the on-premises network was explicitly allowed.</p><h3>OCI Route Tables</h3><p>Routes toward the Dynamic Routing Gateway (DRG) were present.</p><h3>Linux Firewalls</h3><p>The application servers were inspected directly.</p><p>The iptables policies showed no restrictions preventing inbound connectivity.</p><h3>Cisco Crypto ACLs</h3><p>The crypto ACL was reviewed and expanded to include the entire OCI subnet:</p><pre>permit ip host 10.100.100.51 10.11.11.0 0.0.0.255</pre><p>Everything appeared correct.</p><p>Yet the problem remained.</p><h3>The Breakthrough</h3><p>When conventional troubleshooting failed to identify the issue, attention shifted to IPSec debugging on the Cisco router.</p><p>The logs revealed an interesting pattern:</p><pre>rec&#39;d delete notify from ISAKMP<br>spi=0x0<br>sa null</pre><p>This message appeared every time traffic destined for the problematic server attempted to initiate a new IPSec Security Association (SA).</p><p>At first, the tunnel status seemed to contradict the logs.</p><p>The tunnel was clearly UP.</p><p>However, the Child Security Association required for the traffic flow was never established.</p><p>The tunnel existed.</p><p>The traffic did not.</p><h3>Understanding What Was Happening</h3><p>The VPN had originally been deployed using a policy-based IPSec design.</p><p>In a policy-based VPN, traffic must match negotiated traffic selectors (sometimes called proxy IDs or encryption domains).</p><p>The Cisco router attempted to negotiate traffic selectors such as:</p><pre>10.100.100.51/32 ↔ 10.11.11.119/32</pre><p>and later:</p><pre>10.100.100.51/32 ↔ 10.11.11.0/24</pre><p>OCI immediately rejected the proposal.</p><p>The evidence was clear:</p><pre>DELETE NOTIFY<br>SPI = 0<br>Active SAs = 0</pre><p>No Child SA was successfully created.</p><p>Without a valid Child SA, packets could never traverse the tunnel.</p><h3>The Clue Hidden in Plain Sight</h3><p>One observation stood out.</p><p>Traffic toward 10.11.11.210 continued to work.</p><p>When the IPSec session details were examined, an existing active security association was visible for that specific host.</p><p>Meanwhile, all newly proposed subnet-wide selectors were rejected.</p><p>This explained the inconsistent behavior.</p><p>The VPN was not completely broken.</p><p>It was only permitting traffic that matched previously accepted selectors.</p><p>The design itself had become the limitation.</p><h3>Rethinking the Architecture</h3><p>Rather than continuing to troubleshoot traffic selectors and proxy IDs, we stepped back and reconsidered the VPN architecture.</p><p>OCI supports route-based IPSec VPNs using tunnel interface addressing.</p><p>Instead of relying on policy-based encryption domains, traffic can be routed through a virtual tunnel interface.</p><p>The decision was made to migrate the VPN.</p><p>The IPSec connection was reconfigured as a route-based VPN.</p><p>Tunnel interface addressing was introduced:</p><pre>Cisco Tunnel Interface : 10.110.120.1/30<br>OCI Tunnel Interface   : 10.110.120.2/30</pre><p>Traffic forwarding would now be controlled through routing rather than negotiated traffic selectors.</p><h3>The Result</h3><p>After the migration:</p><p>✅ Connectivity to 10.11.11.210 remained operational</p><p>✅ Connectivity to 10.11.11.119 was immediately restored</p><p>✅ No additional traffic selector negotiations were required</p><p>✅ No Child SA failures occurred</p><p>✅ Future subnet additions became significantly easier to manage</p><p>Most importantly, the VPN design became more scalable and predictable.</p><h3>Lessons Learned</h3><p>This incident reinforced several valuable lessons.</p><h3>1. A Tunnel Can Be UP While Traffic Is Still Failing</h3><p>Tunnel status only confirms the health of the IPSec control plane.</p><p>It does not guarantee successful traffic forwarding.</p><h3>2. Child Security Associations Matter</h3><p>When troubleshooting IPSec VPNs, always examine:</p><pre>show crypto session detail<br>show crypto ipsec sa</pre><p>A healthy IKE session does not necessarily mean a healthy IPSec data path.</p><h3>3. Policy-Based VPNs Can Introduce Hidden Complexity</h3><p>As environments grow and connectivity requirements evolve, traffic selector management can become increasingly difficult.</p><h3>4. Route-Based VPNs Simplify Operations</h3><p>For modern cloud deployments, route-based VPNs provide:</p><ul><li>Greater flexibility</li><li>Easier scaling</li><li>Simpler troubleshooting</li><li>Cleaner routing design</li></ul><h3>Final Thoughts</h3><p>What initially appeared to be a routing issue, firewall issue, or application issue ultimately turned out to be a VPN architecture issue.</p><p>The tunnel was green.</p><p>The routing was correct.</p><p>The security policies were clean.</p><p>Yet traffic still failed because the VPN design relied on policy-based traffic selectors that no longer aligned with the connectivity requirements.</p><p>Sometimes the most effective troubleshooting step is not finding a broken configuration.</p><p>It’s recognizing when the design itself needs to evolve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juP1HARp0rZzjakzFmTAzQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb2327a7be8c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/when-a-green-vpn-tunnel-isnt-enough-lessons-from-an-oci-ipsec-troubleshooting-case-eb2327a7be8c">When a Green VPN Tunnel Isn’t Enough: Lessons from an OCI IPSec Troubleshooting Case</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tunnel That Came Back to Life]]></title>
            <link>https://medium.com/the-resilience-blueprint/the-tunnel-that-came-back-to-life-86c5c5af11bb?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/86c5c5af11bb</guid>
            <category><![CDATA[cisco]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[ipsec]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 04:45:58 GMT</pubDate>
            <atom:updated>2026-06-16T05:10:56.885Z</atom:updated>
            <content:encoded><![CDATA[<p>The incident seemed straightforward.</p><p>A partner organization reported that their Site-to-Site IPSec VPN tunnel to our Oracle Cloud Infrastructure environment was down. According to them, no configuration changes had been made, yet connectivity had suddenly stopped working.</p><p>As cloud infrastructure engineers, we’ve all seen similar reports before. Sometimes the problem is a routing issue. Sometimes it’s a VPN parameter change. Occasionally it’s a cloud-side or remote partner CPE device misconfiguration.</p><p>The first step was to verify the OCI environment.</p><p>We checked the IPSec tunnel details. Surprisingly, everything appeared healthy. The VPN configuration was intact, the DRG routes were active, and there were no obvious alarms or errors.</p><p>Yet the partner continued to report the tunnel down status in OCI console.</p><p>To investigate further, we scheduled a joint troubleshooting session with the remote network team.</p><p>During the meeting, one observation immediately stood out. The remote Cisco device wasn’t using a dedicated tunnel interface. Instead, IPSec was configured directly against the public-facing interface using a traditional crypto map.</p><p>The tunnel remained idle until we initiated a simple test.</p><p>The remote team configured a temporary loopback address and started sending ICMP traffic toward a server inside OCI.</p><p>Within seconds, the tunnel status changed.</p><p>IKE negotiation completed.</p><p>IPSec security associations were established.</p><p>Traffic began flowing normally.</p><p>The tunnel hadn’t been broken at all.</p><p>The real issue was that the VPN was traffic-triggered. When no interesting traffic existed, the security associations expired and OCI reported the tunnel as down. As soon as traffic appeared, the tunnel automatically re-established itself.</p><p>The experience served as a reminder that “down” doesn’t always mean “failed.”</p><p>Sometimes a tunnel is simply waiting for a reason to exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*494cveJG_yY0xwW7P-2kvA.png" /><figcaption>A Real-World VPN Troubleshooting Story</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86c5c5af11bb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/the-tunnel-that-came-back-to-life-86c5c5af11bb">The Tunnel That Came Back to Life</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How ECMP Prevented a Hybrid Cloud Outage: An Oracle Cloud Infrastructure Case Study]]></title>
            <link>https://medium.com/the-resilience-blueprint/how-ecmp-prevented-a-hybrid-cloud-outage-an-oracle-cloud-infrastructure-case-study-56e03e778154?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/56e03e778154</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[network-architecture]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 15:12:51 GMT</pubDate>
            <atom:updated>2026-06-11T15:12:51.236Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>It was a normal weekday afternoon.</p><p>Users were actively accessing applications hosted in Oracle Cloud Infrastructure (OCI), while backend systems remained in the on-premises data center.</p><p>Suddenly, one of the IPsec VPN tunnels connecting OCI to the data center failed because of a fiber cut on the transmission link.</p><p>Normally, such failures can result in application outages, dropped sessions, and emergency bridge calls.</p><p>In this deployment, however, users never noticed.</p><p>The reason was <strong>Equal Cost Multi-Path (ECMP)</strong>.</p><p>This article demonstrates how ECMP works in OCI using a real-world hybrid-cloud architecture and how it provides resiliency during tunnel failures.</p><h3>The Environment</h3><p>The architecture consists of:</p><h4>On-Premises</h4><pre>| Component                         | IP Address     |<br>| --------------------------------- | -------------- |<br>| VM-3                              | 192.168.10.40  |<br>| VM-4                              | 192.168.10.60  |<br>| Customer Premises Equipment (CPE) | IPSec Endpoint |</pre><h4>Oracle Cloud Infrastructure</h4><pre>| Component | IP Address            |<br>| --------- | --------------------- |<br>| VM-1      | 192.168.20.40         |<br>| VM-2      | 192.168.20.60         |<br>| DRG       | VPN Termination Point |</pre><h4>VPN Connectivity</h4><pre>| Tunnel   | CPE IP      | DRG IP      |<br>| -------- | ----------- | ----------- |<br>| Tunnel-1 | 10.0.0.1/30 | 10.0.0.2/30 |<br>| Tunnel-2 | 10.0.0.5/30 | 10.0.0.6/30 |</pre><h3>Network Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GUtupiuxnVY6tdLLWr-QYA.png" /><figcaption>Network Architecture</figcaption></figure><h3>Normal Operations</h3><p>Under normal conditions, both IPSec tunnels are established and active.</p><p>The DRG learns the same on-premises network through two equal-cost paths.</p><figure><img alt="Normal Operations Scenario" src="https://cdn-images-1.medium.com/max/830/1*4C_HEN9DLZCwy545O0Rnvw.png" /><figcaption>Normal Operations Scenario</figcaption></figure><p>Since both paths have equal cost, ECMP installs both routes into the forwarding table.</p><p>Instead of keeping one tunnel idle, OCI can actively use both paths.</p><h3>Verifying ECMP Before Failure</h3><p>Before conducting any failover test, verify that both tunnels are forwarding traffic.</p><h4>Verify IPSec Tunnel Status</h4><p><strong>OCI Console</strong></p><pre>Networking<br>→ Site-to-Site VPN<br>→ IPSec Connections</pre><p>Expected:</p><pre>Tunnel-1 : UP<br>Tunnel-2 : UP</pre><h4>Verify BGP Sessions</h4><p>Cisco Example:</p><pre>show bgp ipv4 unicast summary</pre><p>Expected:</p><pre>Neighbor      State<br>10.0.0.2      Established<br>10.0.0.6      Established</pre><p>Both BGP sessions must be established.</p><h4>Verify Equal-Cost Routes</h4><pre>show ip route 192.168.20.0</pre><p>Expected:</p><pre>B 192.168.20.0/24<br><br>via 10.0.0.2<br>via 10.0.0.6</pre><p>This confirms that ECMP is installed.</p><h4>Verify Tunnel Utilization</h4><pre>show crypto ipsec sa</pre><p>Example:</p><pre>Tunnel-1 packets encapsulated: 15420<br>Tunnel-2 packets encapsulated: 14887</pre><p>Traffic counters increasing on both tunnels is one of the strongest indicators that ECMP is functioning.</p><h3>Application Traffic Flow</h3><p>When VM-3 communicates with VM-1, packets may traverse either tunnel.</p><figure><img alt="Application Traffic Flow" src="https://cdn-images-1.medium.com/max/1024/1*T8yH41Fhl0C35IEIw-eETQ.png" /><figcaption>Application Traffic Flow</figcaption></figure><p>The exact behavior depends on the hashing algorithm used by the routing platform, but both tunnels remain available for forwarding.</p><h3>The Incident</h3><p>At 2:17 PM, a carrier issue caused Tunnel-1 to fail.</p><p>Tunnel-1 immediately stopped forwarding traffic.</p><p>Without ECMP, this could have resulted in:</p><pre>Tunnel Failure<br>↓<br>Route Convergence<br>↓<br>Packet Loss<br>↓<br>Application Timeout<br>↓<br>User Impact</pre><p>However, this environment was built differently.</p><h3>Failure Scenario</h3><figure><img alt="Failure Scenario" src="https://cdn-images-1.medium.com/max/1024/1*S22_XQODUCjqJlO6E5ibiA.png" /><figcaption>Failure Scenario</figcaption></figure><p>Tunnel-1 disappears from the routing table.</p><p>Tunnel-2 remains active.</p><p>Traffic is immediately redirected.</p><h3>What Happens Inside the Routing Table?</h3><p>Before Failure:</p><pre>192.168.20.0/24<br><br>via 10.0.0.2<br>via 10.0.0.6</pre><p>After Failure:</p><pre>192.168.20.0/24<br><br>via 10.0.0.6</pre><p>One path disappears.</p><p>The remaining path continues forwarding traffic.</p><p>No manual intervention is required.</p><h3>Verifying Resiliency</h3><p>While continuously pinging VM-1 from VM-3:</p><pre>ping 192.168.20.40</pre><p>Bring Tunnel-1 down.</p><p>Observe:</p><pre>64 bytes from 192.168.20.40<br>64 bytes from 192.168.20.40<br>64 bytes from 192.168.20.40<br>64 bytes from 192.168.20.40</pre><p>Traffic continues over Tunnel-2.</p><h3>Traffic Transition Visualization</h3><figure><img alt="Traffic Transition Visualization" src="https://cdn-images-1.medium.com/max/358/1*JerqUT-vRiym-QeF6JTVSg.png" /><figcaption>Traffic Transition Visualization</figcaption></figure><p>Notice that application availability remains intact throughout the event.</p><h3>Why ECMP Matters</h3><p>Many organizations deploy two VPN tunnels but only use one actively.</p><p>This provides redundancy but not true resiliency.</p><pre>Traditional VPN Design<br><br>Tunnel-1 Active<br>Tunnel-2 Standby</pre><p>Versus:</p><pre>ECMP Design<br><br>Tunnel-1 Active<br>Tunnel-2 Active</pre><p>When a failure occurs, traffic is already distributed across multiple paths.</p><p>Recovery becomes nearly instantaneous.</p><h3>Key Takeaways</h3><p>✓ ECMP allows OCI DRG to install multiple equal-cost routes.</p><p>✓ Both IPSec tunnels can actively forward traffic.</p><p>✓ Traffic counters on both tunnels confirm ECMP operation.</p><p>✓ Tunnel failures do not cause application outages.</p><p>✓ ECMP transforms a redundant design into a resilient design.</p><h3>Final Thoughts</h3><p>In hybrid cloud architectures, outages are often caused not by the failure itself, but by the time required for networks to recover from the failure.</p><p>By leveraging ECMP with OCI Site-to-Site VPN and DRG, organizations can significantly reduce the impact of tunnel failures and maintain uninterrupted connectivity between on-premises infrastructure and Oracle Cloud.</p><p>In our scenario, a failed IPSec tunnel became a non-event. Applications stayed online, users remained productive, and the network behaved exactly as it was designed to: resilient, redundant, and always available.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56e03e778154" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/how-ecmp-prevented-a-hybrid-cloud-outage-an-oracle-cloud-infrastructure-case-study-56e03e778154">How ECMP Prevented a Hybrid Cloud Outage: An Oracle Cloud Infrastructure Case Study</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Engineering a Resilient Tier III ↔ Tier IV DC-DC Backbone Using Dark Fiber and DWDM Transport]]></title>
            <link>https://medium.com/the-resilience-blueprint/engineering-a-resilient-tier-iii-tier-iv-dc-dc-backbone-using-dark-fiber-and-dwdm-transport-1bf0304be2e6?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bf0304be2e6</guid>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[dwdm]]></category>
            <category><![CDATA[datacenter-infrastructure]]></category>
            <category><![CDATA[optical-fiber]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Thu, 28 May 2026 09:40:37 GMT</pubDate>
            <atom:updated>2026-05-29T11:10:13.769Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a National-Scale Government Data Center Interconnect with High Availability, Optical Diversity, and Operational Resiliency</h3><p>Modern government and enterprise digital services increasingly depend on geographically separated data centers operating as a unified infrastructure platform. Disaster recovery replication, cloud onboarding, inter-agency services, and mission-critical workloads require a transport backbone capable of delivering deterministic latency, high throughput, and carrier-grade resiliency.</p><p>This article shares the engineering supervision experience from the client side during the implementation of a national-scale government Data Center to Data Center (DC-DC) backbone network interconnecting a Tier IV data center in Gazipur and a Tier III data center in Dhaka using leased dark optical fiber infrastructure and Huawei DWDM transport systems.</p><p>The project focused heavily on:</p><ul><li>Physical fiber diversity</li><li>Layer-1 transport resiliency</li><li>Optical budget engineering</li><li>DWDM commissioning and validation</li><li>End-to-end failover testing</li><li>Operational handover readiness</li></ul><p>The backbone was designed to support:</p><ul><li>Disaster Recovery (DR) replication</li><li>Future cloud interconnectivity</li><li>Government digital platform hosting</li><li>Enterprise-grade workload mobility</li><li>Scalable 100G optical transport services</li></ul><h3>Project Overview</h3><pre>Parameter                       Design Specification<br>---------------------------------------------------------------------<br>Interconnect Type               DC-DC Backbone<br>Data Centers                    Tier IV (Gazipur) ↔ Tier III (Dhaka)<br>Transport Technology            DWDM<br>Fiber Type                      Single Mode G.652D<br>Fiber Ownership                 Leased Dark Fiber from NTTN Operators<br>Protection Model                DWDM Optical Line Protection (OLP)<br>Transmission Capacity           100G Coherent<br>Wavelength Capacity             16 Wavelengths (C-Band)<br>Routing Model                   Pure Layer-2 Transport<br>Fiber Paths                     Primary + Secondary Diverse Paths<br>Monitoring Platform             Huawei U2000</pre><h3>Why Dark Fiber + DWDM?</h3><p>Instead of relying on managed bandwidth services from carriers, the organization selected dark optical fiber infrastructure combined with dedicated DWDM transport equipment.</p><p>This provided several strategic advantages:</p><ul><li>Full control over optical transport</li><li>Dedicated wavelength scalability</li><li>Future 100G/400G expansion capability</li><li>Deterministic latency</li><li>Better DR replication performance</li><li>Independent Layer-1 resiliency engineering</li><li>Controlled optical supervision and monitoring</li></ul><p>The architecture was intentionally designed to separate the transport layer from the IP layer, ensuring transport independence for future cloud and backbone integrations.</p><h3>Layer-1 Transport Architecture</h3><p>The backbone architecture was built around dual physically diverse optical paths between the two data centers.</p><h4>Fiber Path Design</h4><h4>Primary Path</h4><ul><li>Approximate distance: 55 km</li><li>Combination of underground armored fiber</li><li>Metro transmission route</li></ul><h4>Secondary Path</h4><ul><li>Approximate distance: 65 km</li><li>Fully geographically diverse route</li><li>Avoided overlap with primary transmission corridor</li></ul><p>One of the major design objectives was ensuring the two optical paths never entered the same underground duct route before reaching the respective Meet-Me-Rooms (MMRs) of the data centers.</p><p>This requirement became one of the most operationally challenging aspects of the implementation.</p><h3>Physical Diversity Topology</h3><figure><img alt="1. Physical Fiber Diversity Topology" src="https://cdn-images-1.medium.com/max/727/1*qraGqAtNccuRTNLOPPsJkw.png" /><figcaption>1. Physical Fiber Diversity Topology</figcaption></figure><h3>Fiber Diversity Engineering Challenges</h3><p>In theory, diverse routing sounds straightforward.</p><p>In practice, implementing true physical diversity in developing urban environments is extremely difficult.</p><p>Several implementation risks were identified early:</p><h4>1. Shared Duct Risk</h4><p>Some NTTN providers unintentionally routed “diverse” fibers through common underground ducts for portions of the path.</p><p>This creates a hidden single point of failure.</p><p>A single excavation incident could simultaneously impact both primary and secondary circuits.</p><h4>Mitigation</h4><ul><li>Continuous route verification</li><li>Joint field inspection with vendors</li><li>GIS/path validation</li><li>Mandatory route audit before acceptance</li><li>Escalation when common duct sections were identified</li></ul><h4>2. Road Construction Activities</h4><p>Frequent urban road excavation activities introduced major operational risks.</p><p>In several sections, ongoing construction work threatened fiber integrity during deployment.</p><h4>Mitigation</h4><ul><li>Daily coordination with transmission vendors</li><li>Active supervision during civil work</li><li>Immediate rerouting discussions</li><li>Protection reinforcement for vulnerable segments</li><li>Emergency restoration planning</li></ul><h4>3. MMR Entry Path Convergence</h4><p>Even when long-haul routes were diverse, some providers attempted to converge fibers near the final MMR approach.</p><p>This was strictly rejected.</p><p>The engineering requirement mandated complete diversity until MMR ingress.</p><h4>Mitigation</h4><ul><li>Separate building entry paths</li><li>Independent riser verification</li><li>MMR patch panel segregation</li><li>Physical tracing validation</li></ul><h3>Optical Budget Planning</h3><p>Optical budget engineering was one of the most critical parts of the project.</p><p>The design target was:</p><figure><img alt="equation" src="https://cdn-images-1.medium.com/max/364/1*CmjkVhZ30UudFC2FurM92A.png" /></figure><p>This included:</p><ul><li>Fiber attenuation</li><li>Connector loss</li><li>Fusion splice loss</li><li>Patch panel insertion loss</li><li>MUX/DEMUX attenuation</li></ul><h4>Optical Budget Considerations</h4><pre>Parameter                       Typical Value<br>------------------------------------------------<br>Fiber attenuation               0.22–0.30 dB/km<br>Fusion splice loss              0.05–0.1 dB<br>Connector insertion loss        0.2–0.5 dB<br>MUX/DEMUX insertion loss        Vendor dependent<br>Safety margin                   Mandatory</pre><p>The engineering supervision team validated:</p><ul><li>OTDR traces</li><li>Splice quality</li><li>Connector cleanliness</li><li>End-to-end attenuation consistency</li></ul><p>Several deployed dark fibers showed degradation beyond initial provider claims due to:</p><ul><li>Aging fiber segments</li><li>Poor historical splicing</li><li>Excessive patching</li><li>Legacy transmission infrastructure reuse</li></ul><h3>DWDM Platform Deployment</h3><p>The optical transport backbone used Huawei DWDM infrastructure with coherent 100G transmission capability.</p><p>The deployment included:</p><ul><li>Bidirectional Fiber Interface Board</li><li>Optical Line Protection (OLP) Board</li><li>Enhanced 8-Channel Optical Add/Drop Multiplexer</li><li>Optical Booster Board with Optical Power Adjustment</li><li>11× Multi-rate Optical Transponder Board</li><li>8-Channel Optical Power Monitor Board</li><li>Four-Directional OSC and Timing Transmission Unit</li><li>Integrated Advanced OTDR</li></ul><h3>DWDM Layer-1 Architecture</h3><figure><img alt="2. DWDM Layer-1 Architecture" src="https://cdn-images-1.medium.com/max/809/1*Vdb_cAKdRE8uZF9tRerO_Q.png" /><figcaption>2. DWDM Layer-1 Architecture</figcaption></figure><h3>Real-World DWDM Deployment Challenges</h3><h4>1. Manual Nominal Gain Adjustment</h4><p>One of the biggest field challenges involved optical power inconsistency caused by:</p><ul><li>Fiber aging</li><li>Poor splice quality</li><li>Uneven attenuation</li><li>Variable insertion loss</li></ul><p>Default vendor-recommended optical gain values did not always achieve acceptable received optical power levels.</p><h4>Mitigation</h4><ul><li>Manual optical gain tuning</li><li>Continuous optical power monitoring</li><li>Multi-stage attenuation validation</li><li>Coordinated tuning between both DWDM nodes</li></ul><p>This process required repeated fine adjustments during commissioning.</p><h4>2. Patch Cord Type Compatibility</h4><p>Mismatch between:</p><ul><li>MMR patch panels</li><li>DWDM interfaces</li><li>Fiber connectors</li></ul><p>created avoidable attenuation and operational complexity.</p><h4>Critical Validation Areas</h4><ul><li>LC/UPC vs LC/APC compatibility</li><li>Patch panel polarity</li><li>Connector cleanliness</li><li>Patch cord bend radius</li></ul><h4>3. Patch Cord Management</h4><p>Large-scale patching inside MMR environments became operationally sensitive.</p><p>Improper patch cord length planning caused:</p><ul><li>Congestion</li><li>Signal tracing complexity</li><li>Airflow obstruction</li><li>Maintenance difficulties</li></ul><h4>Mitigation</h4><ul><li>Physical route survey</li><li>Predefined patch cord length matrix</li><li>Standardized tagging policy</li><li>Color-coded path identification</li></ul><p>This significantly improved operational maintainability.</p><h3>Optical Validation and Acceptance Testing</h3><p>The acceptance process was extremely detailed because the backbone would carry mission-critical workloads.</p><p>The validation included:</p><h4>OTDR Validation</h4><ul><li>End-to-end fiber trace analysis</li><li>Splice point identification</li><li>Reflection analysis</li><li>Distance verification</li></ul><h4>Optical Power Validation</h4><ul><li>TX/RX power measurement</li><li>Attenuation consistency checks</li><li>Booster output verification</li></ul><h4>BER Testing</h4><p>Bit Error Rate testing validated optical transmission stability under load.</p><h4>Latency Testing</h4><p>Latency consistency between primary and secondary paths was validated to ensure DR replication performance.</p><h4>Fiber Polarity Validation</h4><p>Polarity mismatch checks were conducted before production activation.</p><h4>End-to-End Wavelength Validation</h4><p>Every wavelength was validated independently.</p><h4>Optical Failover and Resiliency Testing</h4><p>The backbone implemented Optical Line Protection (OLP) switching between primary and secondary transport paths.</p><h4>Failover Validation Objectives</h4><ul><li>Zero manual intervention</li><li>Stable traffic continuity</li><li>Minimal switching delay</li><li>Alarm propagation validation</li><li>Service restoration verification</li></ul><h4>OLP Failover Workflow</h4><figure><img alt="3. OLP Failover Workflow" src="https://cdn-images-1.medium.com/max/730/1*tvEzKSddPMvG5HaqrfBNWg.png" /><figcaption>3. OLP Failover Workflow</figcaption></figure><h3>Routing and Backbone Resiliency</h3><p>The network intentionally used pure Layer-2 optical transport.</p><p>This simplified:</p><ul><li>DR extension</li><li>Storage replication</li><li>VLAN extension</li><li>Future cloud onboarding</li></ul><p>The DWDM transport layer absorbed optical failures while upper-layer services remained operational.</p><p>The architecture also reduced operational complexity compared to introducing MPLS or overlay transport during the initial phase.</p><h3>Operational Readiness and Handover</h3><p>One of the most overlooked areas in infrastructure deployment is operational transition.</p><p>A technically successful deployment can still fail operationally without proper handover procedures.</p><p>The client-side engineering supervision therefore focused heavily on:</p><ul><li>Documentation accuracy</li><li>Alarm verification</li><li>Fiber labeling</li><li>Patch panel mapping</li><li>OTDR archive collection</li><li>Power baseline recording</li><li>Spare inventory validation</li></ul><h3>Handover and Acceptance Workflow</h3><figure><img alt="4. Handover and Acceptance Workflow" src="https://cdn-images-1.medium.com/max/807/1*80zvg1duChNMtI1AVZECEw.png" /><figcaption>4. Handover and Acceptance Workflow</figcaption></figure><h3>O&amp;M Readiness and Monitoring Strategy</h3><p>Huawei U2000 was used for centralized monitoring and operational management.</p><p>The monitoring scope included:</p><ul><li>Optical power levels</li><li>LOS alarms</li><li>OLP switching status</li><li>Transponder health</li><li>Wavelength performance</li><li>Historical alarm tracking</li><li>OTDR-based fiber fault localization with automatic identification and calculation of the exact physical distance to fiber cuts</li></ul><p>The operations team was also trained on:</p><ul><li>Optical troubleshooting</li><li>Fiber isolation procedures</li><li>Power degradation analysis</li><li>Emergency restoration coordination</li></ul><h3>Lessons Learned from the Field</h3><p>Several engineering lessons became clear during implementation:</p><h4>Physical diversity must be validated physically, not contractually</h4><p>A provider’s “diverse route” statement should never be accepted without field verification.</p><h4>Optical quality degrades over time</h4><p>Dark fiber condition varies significantly depending on historical usage and maintenance quality.</p><h4>MMR planning matters more than expected</h4><p>Poor patch management creates long-term operational problems.</p><h4>Optical commissioning is iterative</h4><p>Real-world DWDM deployment rarely works optimally with default optical values.</p><h4>Continuous supervision is essential</h4><p>Field deployment quality improves dramatically when engineering supervision remains active throughout implementation.</p><h4>Final Thoughts</h4><p>Building a resilient DC-DC backbone is far more than installing optical equipment between two buildings.</p><p>It requires:</p><ul><li>transport engineering,</li><li>optical science,</li><li>physical infrastructure validation,</li><li>operational discipline,</li><li>and long-term resiliency planning.</li></ul><p>For mission-critical government and enterprise workloads, the reliability of the transport layer directly impacts business continuity, disaster recovery capability, and national digital infrastructure resilience.</p><p>This project demonstrated that combining physically diverse dark fiber infrastructure with carrier-grade DWDM transport can deliver a scalable, resilient, and future-ready backbone capable of supporting modern digital transformation initiatives.</p><p>As data centers continue evolving into interconnected cloud ecosystems, resilient optical transport networks will remain one of the most critical foundations beneath the entire digital infrastructure stack.</p><ul><li>Physical tracing validation</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bf0304be2e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/engineering-a-resilient-tier-iii-tier-iv-dc-dc-backbone-using-dark-fiber-and-dwdm-transport-1bf0304be2e6">Engineering a Resilient Tier III ↔ Tier IV DC-DC Backbone Using Dark Fiber and DWDM Transport</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing OCI Cross-Tenancy Transit Networking Using LPG, DRG, and FastConnect]]></title>
            <link>https://medium.com/the-resilience-blueprint/designing-oci-cross-tenancy-transit-networking-using-lpg-drg-and-fastconnect-d9175b1b5609?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9175b1b5609</guid>
            <category><![CDATA[iam-policy]]></category>
            <category><![CDATA[fast-connect]]></category>
            <category><![CDATA[local-peering-gateway]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oci]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Tue, 26 May 2026 13:28:27 GMT</pubDate>
            <atom:updated>2026-05-29T11:09:56.019Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a Secure Multi-Tenant Hub-and-Spoke Transit Architecture in Oracle Cloud Infrastructure</h4><p>Modern enterprise cloud networking rarely exists in a single tenancy. Large organizations, government agencies, financial institutions, and managed service providers often separate environments into multiple OCI tenancies for governance, security, and operational isolation.</p><p>In these architectures, one of the most common requirements is centralized private connectivity from multiple OCI tenancies toward an on-premises data center through FastConnect.</p><p>This article demonstrates how to design and implement a same-region cross-tenancy hub-and-spoke transit architecture using:</p><ul><li>OCI DRG v2</li><li>Local Peering Gateway (LPG)</li><li>FastConnect Private Virtual Circuit</li><li>Dedicated LPG per spoke design</li><li>Cross-tenancy IAM policies</li><li>Segmented DRG route tables</li><li>NSG + Security List hybrid security model</li></ul><p>The goal is to build a production-grade OCI transit networking architecture where:</p><pre>APP-PROD-TENANCY → HUB-TENANCY → FastConnect → On-Prem<br>GOV-SERVICE-TENANCY  → HUB-TENANCY → FastConnect → On-Prem</pre><p>The architecture intentionally prevents east-west communication between spokes.</p><h3>Architecture Objectives</h3><p>This design addresses the following enterprise requirements:</p><ul><li>Centralized FastConnect access</li><li>Cross-tenancy connectivity</li><li>Transit routing through a shared hub tenancy</li><li>Isolation between application and government service spokes</li><li>Least-privilege IAM design</li><li>Segmented route control using DRG v2</li><li>Operational scalability for future spoke onboarding</li></ul><h3>Environment Overview</h3><h4>Tenancies</h4><pre>Tenancy                      Purpose<br>----------------------------------------------------------------<br>HUB-TENANCY                  Central transit and FastConnect hub<br>APP-PROD-TENANCY             Application workloads<br>GOV-SERVICE-TENANCY          Database workloads</pre><h3>Network Topology</h3><pre>VCN                        CIDR<br>----------------------------------------<br>Hub VCN                    10.31.32.0/24<br>APP Spoke VCN              10.10.0.0/16<br>GOV Spoke VCN              10.20.0.0/16</pre><h3>High-Level Architecture</h3><figure><img alt="High-Level Architecture" src="https://cdn-images-1.medium.com/max/1024/1*eaPbCOnP1c7t7MltSK3bSg.png" /><figcaption>High-Level Architecture</figcaption></figure><h3>Why Dedicated LPG Per Spoke?</h3><p>Many OCI transit examples use a shared LPG transit pattern. However, dedicated LPGs per spoke provide stronger segmentation and operational clarity.</p><h4>Benefits</h4><ul><li>Better route isolation</li><li>Easier troubleshooting</li><li>Dedicated route-table association</li><li>Clear packet-path visibility</li><li>Simplified security enforcement</li><li>Controlled spoke onboarding</li><li>Reduced routing ambiguity</li></ul><p>This architecture intentionally avoids spoke-to-spoke communication.</p><h3>Hub VCN Design</h3><p>The Hub VCN acts as the transit core for OCI networking.</p><h4>Hub Subnet Layout</h4><pre>Subnet               CIDR              Purpose<br>------------------------------------------------------------------------<br>DRG Subnet           10.31.32.0/27     DRG attachment transit<br>Transit Subnet       10.31.32.32/27    LPG transit routing<br>Security Subnet      10.31.32.64/27    Future firewall/security services<br>Management Subnet    10.31.32.96/27    Bastion and operations</pre><h3>Spoke VCN Design</h3><p>Each spoke contains multiple workload tiers.</p><h4>APP Spoke Example</h4><pre>Subnet                    Purpose<br>------------------------------------------------<br>Web Subnet                Frontend workloads<br>App Subnet                Application tier<br>DB Subnet                 Internal database tier</pre><p>The government service tenancy follows the same model.</p><h3>DRG v2 Design</h3><p>OCI DRG v2 provides granular route segmentation and controlled transit routing.</p><h4>DRG Route Tables</h4><pre>DRG Route Table              Purpose<br>---------------------------------------------------------<br>DRG-RT-FC                    FastConnect route management<br>DRG-RT-HUB-VCN               Hub VCN route control<br>DRG-RT-SPOKES                Spoke route management</pre><h3>DRG Route Flow</h3><figure><img alt="DRG Route Flow" src="https://cdn-images-1.medium.com/max/832/1*JTC9WhqwhlwAvH38OOV2qg.png" /><figcaption>DRG Route Flow</figcaption></figure><h3>Security Strategy</h3><p>This architecture uses a hybrid NSG and Security List model.</p><h4>Security Lists</h4><p>Used for:</p><ul><li>Baseline subnet-level controls</li><li>Core transit enforcement</li><li>Initial deny posture</li></ul><h4>NSGs</h4><p>Used for:</p><ul><li>Application segmentation</li><li>Workload-specific filtering</li><li>Tier-based security</li><li>Granular east-west control</li></ul><h3>East-West Isolation Strategy</h3><p>One of the most important architectural decisions is preventing direct spoke-to-spoke communication.</p><h4>Why?</h4><p>In enterprise environments:</p><ul><li>APP workloads should not directly access government service tenancy workloads</li><li>Transit hubs should not unintentionally become lateral movement paths</li><li>FastConnect access should remain deterministic</li></ul><h4>Enforcement Layers</h4><pre>Layer                       Enforcement<br>---------------------------------------------------------<br>LPG Route Tables            No spoke CIDR advertisement<br>DRG Route Tables            Segmented route import/export<br>Security Lists              Deny east-west traffic<br>NSGs                        Workload isolation</pre><h3>IAM Architecture</h3><p>Cross-tenancy LPG peering requires explicit trust relationships between tenancies.</p><p>This is one of the most misunderstood areas in OCI networking.</p><p>OCI uses:</p><ul><li>Endorse policies</li><li>Admit policies</li><li>Define tenancy statements</li><li>Define group statements</li></ul><p>The requestor tenancy must endorse actions. The acceptor tenancy must admit them.</p><h3>IAM Trust Relationship</h3><figure><img alt="OCI Cross-Tenancy IAM Trust Relationship" src="https://cdn-images-1.medium.com/max/1024/1*TKSMJS2G0ip79Mzc-clHyg.png" /><figcaption>OCI Cross-Tenancy IAM Trust Relationship</figcaption></figure><h3>Compartment Strategy</h3><p>Each tenancy uses dedicated compartments.</p><h4>Example Structure</h4><pre>Compartment                        Purpose<br>--------------------------------------------------------<br>Network-Compartment                Networking resources<br>Security-Compartment               Security tooling<br>Application-Compartment            Application resources<br>Database-Compartment               Database resources</pre><p>This enables compartment-scoped least privilege.</p><h3>IAM Policy Design</h3><h4>HUB-TENANCY Policies</h4><p>The hub tenancy initiates LPG peering requests.</p><h4>Define Statements</h4><pre>Define tenancy APP as ocid1.tenancy.oc1..app-tenancy-ocid<br>Define tenancy DB as ocid1.tenancy.oc1..db-tenancy-ocid<br><br>Define group AppNetAdmins as ocid1.group.oc1..app-group-ocid<br>Define group GovNetAdmins as ocid1.group.oc1..db-group-ocid</pre><h4>Endorse Policies</h4><pre>Endorse group Hub-Network-Admins to manage local-peering-gateways in tenancy APP<br><br>Endorse group Hub-Network-Admins to manage local-peering-gateways in tenancy DB</pre><h3>APP-PROD-TENANCY Policies</h3><h4>Define Statements</h4><pre>Define tenancy HUB as ocid1.tenancy.oc1..hub-tenancy-ocid<br>Define group HubNetAdmins as ocid1.group.oc1..hub-group-ocid</pre><h4>Admit Policies</h4><pre>Admit group HubNetAdmins of tenancy HUB to manage local-peering-gateways in compartment Network-Compartment</pre><h3>GOV-SERVICE-TENANCY Policies</h3><h4>Define Statements</h4><pre>Define tenancy HUB as ocid1.tenancy.oc1..hub-tenancy-ocid<br>Define group HubNetAdmins as ocid1.group.oc1..hub-group-ocid</pre><h4>Admit Policies</h4><pre>Admit group HubNetAdmins of tenancy HUB to manage local-peering-gateways in compartment Network-Compartment</pre><h3>Why Least Privilege Matters</h3><p>Many implementations incorrectly use tenancy-wide permissions.</p><p>That creates:</p><ul><li>excessive network control</li><li>accidental route modifications</li><li>increased blast radius</li><li>governance violations</li></ul><p>Compartment-scoped IAM provides:</p><ul><li>operational separation</li><li>controlled onboarding</li><li>audit clarity</li><li>improved compliance posture</li></ul><h3>Step-by-Step OCI Console Configuration</h3><h3>Step 1 — Create VCNs</h3><p>Create:</p><ul><li>Hub VCN</li><li>APP Spoke VCN</li><li>GOV Spoke VCN</li></ul><p>Ensure all CIDRs are non-overlapping.</p><h3>Step 2 — Create DRG v2</h3><p>Inside HUB-TENANCY:</p><ol><li>Create DRG</li><li>Create DRG route tables</li><li>Associate FastConnect virtual circuit</li><li>Attach Hub VCN</li></ol><h3>Step 3 — Configure FastConnect</h3><p>Attach the private virtual circuit to:</p><pre>DRG-RT-FC</pre><p>Enable route advertisement for:</p><ul><li>10.10.0.0/16</li><li>10.20.0.0/16</li><li>10.31.32.0/24</li></ul><p>On-prem routers dynamically learn OCI spoke routes through BGP.</p><h3>Step 4 — Create LPGs</h3><h3>In HUB-TENANCY</h3><p>Create:</p><ul><li>Hub-LPG-APP</li><li>Hub-LPG-GOV</li></ul><h3>In APP-PROD-TENANCY</h3><p>Create:</p><ul><li>APP-LPG</li></ul><h3>In GOV-SERVICE-TENANCY</h3><p>Create:</p><ul><li>GOV-LPG</li></ul><h3>Step 5 — Configure IAM Policies</h3><p>Apply:</p><ul><li>Endorse policies in HUB-TENANCY</li><li>Admit policies in spoke tenancies</li></ul><p>Without both sides configured correctly:</p><pre>LPG peering requests will fail.</pre><h3>Step 6 — Establish LPG Peering</h3><p>From HUB-TENANCY:</p><ol><li>Open Hub-LPG-APP</li><li>Select Establish Peering Connection</li><li>Choose APP-LPG</li><li>Repeat for GOV-LPG</li></ol><p>The spoke tenancy accepts the request.</p><h3>Step 7 — Configure Route Tables</h3><h4>APP Spoke Route Table</h4><pre>Destination                     Target<br>----------------------------------------------<br>0.0.0.0/0                       Not configured<br>On-Prem CIDRs                   APP-LPG</pre><h4>GOV Spoke Route Table</h4><pre>Destination                     Target<br>---------------------------------------<br>On-Prem CIDRs                   GOV-LPG</pre><h4>Hub Route Tables</h4><pre>Destination                     Target<br>-------------------------------------------<br>10.10.0.0/16                    Hub-LPG-APP<br>10.20.0.0/16                    Hub-LPG-GOV<br>On-Prem CIDRs                   DRG</pre><h3>Transit Routing Flow</h3><figure><img alt="Transit Packet Flow" src="https://cdn-images-1.medium.com/max/1024/1*DZFKdsM6RfvcbID0Z_qcUA.png" /><figcaption>Transit Packet Flow</figcaption></figure><h3>Important OCI Transit Limitations</h3><h4>1. LPG Transit Requires Explicit Routing</h4><p>OCI does not automatically create transit paths.</p><p>All route propagation must be intentionally designed.</p><h4>2. Avoid Asymmetric Routing</h4><p>Ensure return traffic follows the same DRG/LPG path.</p><p>Asymmetric paths can break:</p><ul><li>firewalls</li><li>stateful inspection</li><li>session tracking</li></ul><h4>3. Overlapping CIDRs Are Unsupported</h4><p>All VCN CIDRs must remain unique.</p><h4>4. DRG Route Segmentation Is Critical</h4><p>Without segmented DRG route tables:</p><ul><li>spoke isolation becomes difficult</li><li>route leakage can occur</li><li>operational troubleshooting becomes complex</li></ul><h3>Validation Workflow</h3><p>Production deployments should validate:</p><ul><li>LPG status</li><li>DRG route advertisements</li><li>effective VNIC routes</li><li>packet symmetry</li><li>FastConnect route propagation</li></ul><h3>Packet Validation Flow</h3><figure><img alt="Packet Validation Flow" src="https://cdn-images-1.medium.com/max/1024/1*oVmEVw9sUaNgoeEmLlTELg.png" /><figcaption>Packet Validation Flow</figcaption></figure><h3>Validation Commands</h3><h3>Linux</h3><pre>ping &lt;on-prem-ip&gt;<br>traceroute &lt;on-prem-ip&gt;<br>ip route</pre><h3>Windows</h3><pre>ping &lt;on-prem-ip&gt;<br>tracert &lt;on-prem-ip&gt;<br>route print</pre><h3>Troubleshooting Matrix</h3><pre>| Problem                      | Possible Cause                  | Validation               |<br>| ---------------------------- | ------------------------------- | ------------------------ |<br>| LPG peering stuck            | Missing IAM admit policy        | Check tenancy IAM        |<br>| Traffic not reaching on-prem | Missing DRG route               | Inspect DRG route tables |<br>| One-way communication        | Asymmetric routing              | Validate return path     |<br>| Spoke isolation failure      | Incorrect route propagation     | Inspect LPG routes       |<br>| BGP route missing            | FastConnect advertisement issue | Check VC learned routes  |<br>| Packet drop                  | NSG or Security List deny       | Validate security rules  |</pre><h3>Operational Considerations</h3><h4>Future Spoke Expansion</h4><p>Dedicated LPG per spoke simplifies:</p><ul><li>onboarding</li><li>governance</li><li>troubleshooting</li><li>route isolation</li></ul><p>New spokes can be added independently.</p><h3>Monitoring Recommendations</h3><p>Use:</p><ul><li>OCI Flow Logs</li><li>DRG route inspection</li><li>FastConnect metrics</li><li>NSG logging</li><li>VCN route audits</li></ul><h3>Change Management</h3><p>Route-table modifications in transit architectures can impact multiple tenancies.</p><p>Implement:</p><ul><li>peer review</li><li>route validation</li><li>staged deployment</li><li>rollback planning</li></ul><h3>IAM Policy Cheat Sheet</h3><pre>| Tenancy             | Policy Type | Purpose                                   |<br>| ------------------- | ----------- | ----------------------------------------- |<br>| HUB-TENANCY         | Endorse     | Allow hub admins to manage LPGs in spokes |<br>| APP-PROD-TENANCY    | Admit       | Permit hub tenancy LPG management         |<br>| GOV-SERVICE-TENANCY | Admit       | Permit hub tenancy LPG management         |</pre><h3>Final Thoughts</h3><p>OCI transit networking becomes significantly more powerful when DRG v2, LPGs, and FastConnect are combined correctly.</p><p>However, the real complexity is not the peering itself.</p><p>The real challenge is:</p><ul><li>IAM trust design</li><li>route segmentation</li><li>operational governance</li><li>deterministic packet flow</li><li>security isolation</li></ul><p>Using dedicated LPGs per spoke with segmented DRG route tables creates a scalable and enterprise-grade foundation for secure multi-tenant networking in OCI.</p><p>For organizations operating hybrid infrastructure at scale, this architecture provides:</p><ul><li>centralized connectivity</li><li>strong isolation</li><li>predictable routing</li><li>easier operations</li><li>better governance</li></ul><p>without sacrificing tenancy separation.</p><h3>References</h3><p>Official OCI documentation:</p><ul><li>OCI DRG v2 Documentation</li><li>OCI Local Peering Gateway Documentation</li><li>OCI FastConnect Documentation</li><li>OCI Transit Routing Documentation</li><li>OCI Cross-Tenancy IAM Policies Documentation</li><li>OCI Route Tables Documentation</li><li>OCI NSG Documentation</li><li>OCI Security Lists Documentation</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9175b1b5609" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/designing-oci-cross-tenancy-transit-networking-using-lpg-drg-and-fastconnect-d9175b1b5609">Designing OCI Cross-Tenancy Transit Networking Using LPG, DRG, and FastConnect</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Cloud Infrastructure (OCI) Network Firewall Routing Design for Secure Egress Inspection]]></title>
            <link>https://medium.com/the-resilience-blueprint/oci-network-firewall-routing-design-for-secure-egress-inspection-in-oci-6a393b739710?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a393b739710</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[firewall-network]]></category>
            <category><![CDATA[oci]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[traffic-engineering]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Fri, 22 May 2026 09:46:26 GMT</pubDate>
            <atom:updated>2026-05-29T11:09:39.126Z</atom:updated>
            <content:encoded><![CDATA[<p>In Oracle Cloud Infrastructure, deploying a Network Firewall is easy. Designing the routing correctly is where most production issues occur.</p><p>A common mistake is allowing private workloads to bypass inspection due to incorrect route-table design or asymmetric routing.</p><p>This guide demonstrates a simple production-style egress inspection architecture using:</p><ul><li>OCI Network Firewall</li><li>Internet Gateway (IGW)</li><li>private subnet workloads</li><li>route-table steering</li><li>stateful outbound inspection</li></ul><p>The goal is to securely control outbound internet access from private Oracle Linux workloads.</p><h3>Executive Summary</h3><p>This design routes all outbound traffic from a private subnet through OCI Network Firewall before reaching the internet.</p><p>Allowed:</p><ul><li>HTTP (TCP/80)</li><li>HTTPS (TCP/443)</li></ul><p>Denied:</p><ul><li>all other outbound traffic</li></ul><p>Key concept:</p><pre>0.0.0.0/0 → Firewall Private IP</pre><p>The firewall becomes the mandatory egress inspection point.</p><h3>Architecture Overview</h3><h4>High-Level Topology</h4><figure><img alt="High-Level Topology" src="https://cdn-images-1.medium.com/max/1024/1*cj4s8MawB-YLPApA-4Whzw.png" /><figcaption>High-Level Topology</figcaption></figure><h4>OCI Logical Design</h4><figure><img alt="OCI Logical Design" src="https://cdn-images-1.medium.com/max/716/1*i4adae0bpYLgPt3Dw4ANfg.png" /><figcaption>OCI Logical Design</figcaption></figure><h3>Key Design Principle</h3><p>The private workload subnet does <strong>not</strong> send traffic directly to the Internet Gateway.</p><p>Instead:</p><pre>0.0.0.0/0 → OCI Network Firewall Private IP</pre><p>This makes the firewall the mandatory inspection point.</p><h3>Traffic Flow Analysis</h3><h4>Outbound Packet Flow</h4><p>Step-by-Step Flow</p><p>· Oracle Linux VM initiates HTTPS traffic.</p><p>· Subnet route table forwards traffic to firewall private IP.</p><p>· OCI Network Firewall performs:</p><ul><li>session creation,</li><li>policy inspection,</li><li>state tracking.</li></ul><p>· Firewall forwards approved traffic toward IGW.</p><p>· Internet response returns through IGW.</p><p>· Return traffic reaches firewall session table.</p><p>· Firewall validates session state.</p><p>· Firewall forwards traffic back to VM.</p><h4>Packet Flow Diagram</h4><figure><img alt="Packet Flow Diagram" src="https://cdn-images-1.medium.com/max/1024/1*xQ3AAezD_3Kq7ohK7Mswqg.png" /><figcaption>Packet Flow Diagram</figcaption></figure><p>The return path must traverse the same firewall.<br>Otherwise, asymmetric routing breaks stateful sessions.</p><h3>Configuration Steps</h3><h4>1. Create VCN and Subnets</h4><pre>| Component          | CIDR         |<br>| ------------------ | ------------ |<br>| VCN                | 10.10.0.0/16 |<br>| Private App Subnet | 10.10.1.0/24 |<br>| Firewall Subnet    | 10.10.2.0/24 |</pre><h4>2. Deploy OCI Network Firewall</h4><p>Deploy the firewall in a dedicated subnet.</p><p>Example:</p><ul><li>Firewall Private IP: 10.10.2.10</li></ul><h3>3. Configure Route Tables</h3><h4>Private Subnet Route Table</h4><pre>| Destination | Target     |<br>| ----------- | ---------- |<br>| 0.0.0.0/0   | 10.10.2.10 |</pre><p>Why?<br> All outbound traffic is forced through the firewall.</p><h4>Firewall Subnet Route Table</h4><pre>| Destination | Target           |<br>| ----------- | ---------------- |<br>| 0.0.0.0/0   | Internet Gateway |</pre><h4>Firewall Policy Example</h4><pre>| Rule        | Service | Action |<br>| ----------- | ------- | ------ |<br>| Allow HTTPS | TCP/443 | Allow  |<br>| Allow HTTP  | TCP/80  | Allow  |<br>| Deny All    | Any     | Deny   |</pre><h3>Asymmetric Routing Example</h3><h4>Incorrect Design</h4><figure><img alt="Incorrect Design" src="https://cdn-images-1.medium.com/max/884/1*sKuiw8XP7ak9-41ZI4mYZQ.png" /><figcaption>Incorrect Design</figcaption></figure><p>This breaks firewall state tracking.</p><h3>Correct Design</h3><figure><img alt="Correct Design" src="https://cdn-images-1.medium.com/max/810/1*Ys-z4tOpa5jLFCndtXXpDg.png" /><figcaption>Correct Design</figcaption></figure><h3>NSG Example</h3><h4>Workload NSG</h4><p>Allow outbound:</p><ul><li>TCP/80</li><li>TCP/443</li></ul><h4>Logging &amp; Monitoring</h4><p>Enable:</p><ul><li>OCI Network Firewall Logs</li><li>VCN Flow Logs</li><li>OCI Logging</li></ul><p>Monitor:</p><ul><li>denied sessions</li><li>unusual outbound traffic</li><li>policy violations</li></ul><h4>Verification</h4><p>Test outbound access:</p><pre>curl https://ifconfig.me</pre><p>Test HTTPS:</p><pre>curl -I https://oracle.com</pre><p>Test blocked traffic:</p><pre>telnet google.com 25</pre><p>Expected:</p><ul><li>blocked by firewall policy</li></ul><h3>Troubleshooting</h3><h4>No Internet Access</h4><p>Check:</p><ul><li>route tables</li><li>firewall policy</li><li>NSGs</li><li>firewall subnet routing</li></ul><h4>Intermittent Connectivity</h4><p>Most common cause:</p><ul><li>asymmetric routing</li></ul><p>Symptoms:</p><ul><li>TCP timeout</li><li>SSL handshake failure</li><li>unstable sessions</li></ul><h4>Best Practices</h4><ul><li>Use dedicated firewall subnets</li><li>Keep workloads private</li><li>Apply least-privilege outbound rules</li><li>Monitor denied traffic</li><li>Avoid asymmetric routing</li></ul><h4>Assumptions</h4><p>This article assumes:</p><ul><li>single VCN deployment</li><li>IPv4 environment</li><li>outbound inspection only</li><li>Oracle Linux workload</li></ul><h3>References</h3><ul><li><a href="https://docs.oracle.com/en-us/iaas/Content/network-firewall/home.htm?utm_source=chatgpt.com">OCI Network Firewall Documentation</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingroutetables.htm?utm_source=chatgpt.com">OCI Route Tables Documentation</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingIGs.htm?utm_source=chatgpt.com">OCI Internet Gateway Documentation</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/networksecuritygroups.htm?utm_source=chatgpt.com">OCI NSG Documentation</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/Logging/home.htm?utm_source=chatgpt.com">OCI Logging Documentation</a></li></ul><p>OCI Network Firewall routing is fundamentally a traffic-engineering problem. Once the route path is designed correctly, inspection becomes predictable, secure, and operationally stable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a393b739710" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/oci-network-firewall-routing-design-for-secure-egress-inspection-in-oci-6a393b739710">Oracle Cloud Infrastructure (OCI) Network Firewall Routing Design for Secure Egress Inspection</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When TCP Works but HTTPS Fails: A Real MTU/TLS Troubleshooting Case]]></title>
            <link>https://medium.com/the-resilience-blueprint/when-tcp-works-but-https-fails-a-real-mtu-tls-troubleshooting-case-bf1779d2c6e7?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf1779d2c6e7</guid>
            <category><![CDATA[mpls-network]]></category>
            <category><![CDATA[transportlayersecurity]]></category>
            <category><![CDATA[packet-analysis]]></category>
            <category><![CDATA[mtu-troubleshooting]]></category>
            <category><![CDATA[computer-networking]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Tue, 19 May 2026 10:21:11 GMT</pubDate>
            <atom:updated>2026-05-29T11:09:07.956Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>One of the most misleading network incidents is when:</p><ul><li>TCP connectivity works,</li><li>routing looks healthy,</li><li>firewall policies appear correct,</li><li>but HTTPS applications still fail.</li></ul><p>Recently, during a government API onboarding project running across Oracle Cloud Infrastructure, Cisco VPN infrastructure, and an MPLS WAN, we encountered exactly that scenario.</p><p>The issue eventually traced back to a classic but difficult problem:</p><blockquote>MTU and MSS mismatch causing TLS session instability.</blockquote><h3>Environment Overview</h3><h4>Network Topology</h4><figure><img alt="Network Topology" src="https://cdn-images-1.medium.com/max/972/1*0x0vPJ4yVzjOxZm9yg5Zng.png" /><figcaption>Network Topology</figcaption></figure><p>The issue affected only:</p><ul><li>Windows/Linux machines configured with Jumbo MTU (9000).</li></ul><h3>Initial Symptoms</h3><p>The client reported:</p><ul><li>HTTPS API calls failed</li><li>TCP port 443 reachable</li><li>No successful API response</li></ul><p>Testing from Windows showed:</p><pre>&lt;/&gt; PowerShell<br>curl.exe -X POST &quot;https://api.example.gov/auth/login&quot;</pre><p>Result:</p><pre>curl: (35) Recv failure: Connection was reset</pre><p>Even forcing TLS versions did not help:</p><pre>&lt;/&gt; PowerShell<br>curl.exe --tlsv1.2<br>curl.exe --tlsv1.1</pre><h3>First Validation</h3><h4>TCP Connectivity</h4><pre>&lt;/&gt; PowerShell<br>Test-NetConnection 192.168.x.x -Port 443</pre><p>Result:</p><pre>TcpTestSucceeded : True</pre><p>This confirmed:</p><ul><li>routing worked,</li><li>firewall allowed TCP/443,</li><li>TCP handshake completed successfully.</li></ul><p>At this point, the issue appeared to be:</p><ul><li>TLS-related,</li><li>application-related,</li><li>or transport-related.</li></ul><h3>Packet Capture Findings</h3><p>A client-side packet capture revealed the first important clue.</p><h3>Server MSS</h3><pre>TCP Option - Maximum segment size: 1380 bytes</pre><p>But the Windows client advertised:</p><pre>TCP Option - Maximum segment size: 8960 bytes</pre><p>This was suspicious immediately.</p><h3>TLS Handshake Analysis</h3><p>The TLS Client Hello was transmitted successfully:</p><pre>TLSv1.2 Handshake Protocol: Client Hello</pre><p>This disproved:</p><ul><li>complete firewall blocking,</li><li>routing failure,</li><li>immediate TLS rejection.</li></ul><p>However, shortly afterward:</p><pre>TCP Segment Len: 1336</pre><p>was observed from the server side, followed by:</p><pre>SACK 2761-4097</pre><p>The client acknowledged only selective segments instead of normal stream continuity.</p><p>Then the server terminated the session.</p><h3>MTU Investigation</h3><p>The breakthrough came during DF ping testing.</p><pre>&lt;/&gt; PowerShell<br>ping api.example.gov -f -l 1390</pre><p>Result:</p><pre>Packet needs to be fragmented but DF set</pre><p>This confirmed a Path MTU problem.</p><h3>Root Cause</h3><p>The root cause was:</p><blockquote><em>Jumbo MTU clients communicating through a lower-MTU MPLS/VPN path where PMTUD behavior failed.</em></blockquote><h4>MTU/MSS Summary</h4><pre>| Component     | MTU/MSS  |<br>| ------------- | -------- |<br>| Client NIC    | MTU 9000 |<br>| WAN/VPN Path  | MTU 1500 |<br>| Remote Server | MSS 1380 |</pre><p>Small packets worked:</p><ul><li>SYN</li><li>SYN/ACK</li><li>ACK</li><li>small TLS packets</li></ul><p>But larger TLS records triggered fragmentation-related instability.</p><h3>Fix</h3><h4>Windows</h4><pre>&lt;/&gt; PowerShell<br>Set-NetIPInterface -InterfaceAlias &quot;Ethernet 2&quot; -NlMtuBytes 1300</pre><h4><strong>Linux</strong></h4><pre>&lt;/&gt; Bash<br>sudo ip route add &lt;destination-ip&gt; via &lt;next-hop&gt; mtu 1300 dev &lt;interface&gt;</pre><p>No firewall or router MSS changes were required.</p><h3>Validation</h3><p>After reducing MTU:</p><pre>&lt;/&gt; PowerShell<br>curl.exe -vk --tlsv1.2 https://api.example.gov/</pre><p>Result:</p><ul><li>TLS handshake successful</li><li>HTTPS stable</li><li>API connectivity restored</li></ul><h3>Lessons Learned</h3><h4>1. TCP Reachability ≠ Application Health</h4><p>A successful TCP handshake does not guarantee:</p><ul><li>TLS stability,</li><li>application functionality,</li><li>or payload integrity.</li></ul><h4>2. PMTUD Issues Still Exist Everywhere</h4><p>Especially across:</p><ul><li>MPLS,</li><li>VPNs,</li><li>cloud interconnects,</li><li>NAT environments,</li><li>firewalls.</li></ul><h4>3. Jumbo Frames Require End-to-End Validation</h4><p>Configuring MTU 9000 on a server NIC means nothing unless every hop supports it.</p><h3>Useful Commands</h3><h4>Windows</h4><pre>&lt;/&gt; PowerShell<br>Get-NetIPInterface</pre><pre>&lt;/&gt; PowerShell<br>ping api.example.gov -f -l 1390</pre><h4>Linux</h4><pre>&lt;/&gt; Bash<br>tracepath &lt;destination&gt;</pre><pre>&lt;/&gt; Bash<br>tcpdump -i eth0 host &lt;server-ip&gt; and port 443</pre><h4>Cisco IOS</h4><pre>&lt;/&gt; Cisco<br>show interface</pre><pre>&lt;/&gt; Cisco<br>show tcp statistics</pre><h3>Conclusion</h3><p>At first glance, this looked like:</p><ul><li>firewall blocking,</li><li>TLS rejection,</li><li>or application instability.</li></ul><p>But the actual issue was:</p><ul><li>MTU asymmetry,</li><li>PMTUD failure,</li><li>and MSS mismatch during TLS negotiation.</li></ul><p>When:</p><ul><li>TCP works,</li><li>ping works,</li><li>but HTTPS fails,</li></ul><p>always check:</p><ul><li>MTU,</li><li>MSS,</li><li>SACK behavior,</li><li>and packet fragmentation early in the investigation.</li></ul><p>It can save hours of troubleshooting across multiple engineering teams.</p><h3>References</h3><p>· RFC 1191 — Path MTU Discovery</p><p>· RFC 879 — TCP Maximum Segment Size</p><p>· RFC 2018 — TCP Selective Acknowledgment Options</p><p>· RFC 2923 — TCP Problems with Path MTU Discovery</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf1779d2c6e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/when-tcp-works-but-https-fails-a-real-mtu-tls-troubleshooting-case-bf1779d2c6e7">When TCP Works but HTTPS Fails: A Real MTU/TLS Troubleshooting Case</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Building Redundant IPSec VPN with IP SLA and Static Route Failover in Cisco Routers]]></title>
            <link>https://medium.com/the-resilience-blueprint/building-redundant-ipsec-vpn-with-ip-sla-and-static-route-failover-in-cisco-routers-fd3ddefd82a0?source=rss-b6d6081ffbc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd3ddefd82a0</guid>
            <category><![CDATA[ipsec-vpn]]></category>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[cisco-networking]]></category>
            <category><![CDATA[network-engineering]]></category>
            <category><![CDATA[enterprise-networking]]></category>
            <dc:creator><![CDATA[Heerok Mutsuddy]]></dc:creator>
            <pubDate>Thu, 06 Nov 2025 12:58:02 GMT</pubDate>
            <atom:updated>2026-05-29T11:07:14.339Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s connected world, <strong>network uptime</strong> equals business uptime. Whether you’re connecting branch offices or establishing secure connectivity with a customer’s premises, <strong>redundancy</strong> is key.</p><p>In this guide, we’ll explore how to build <strong>two redundant IPSec tunnels</strong> over separate ISPs — one <strong>primary</strong>, one <strong>secondary</strong> — and use <strong>Cisco IP SLA</strong> to automate failover seamlessly.</p><h3>🧭 Scenario Overview</h3><p>Let’s imagine you are connecting your network to a customer’s remote site.</p><p><strong>Two WAN links</strong> on your side:</p><ul><li><strong>ISP1</strong> → Primary Internet connection</li><li><strong>ISP2</strong> → Secondary (backup) Internet connection</li></ul><p><strong>Two IPSec tunnels</strong> toward customer CPE:</p><ul><li><strong>Tunnel0</strong> via ISP1 (Primary)</li><li><strong>Tunnel1</strong> via ISP2 (Secondary)</li></ul><p><strong>Two static routes</strong> configured toward the customer LAN:</p><ul><li>One per tunnel</li></ul><p>Your goal:</p><blockquote><em>✅ Prefer the primary tunnel (ISP1).<br> ✅ Fail over automatically to the secondary (ISP2) when ISP1 fails.<br> ✅ Revert automatically when the primary link is restored.</em></blockquote><h3>🧠 What Is Cisco IP SLA?</h3><p><strong>IP SLA (Service Level Agreement)</strong> is a Cisco feature that measures network performance using active traffic probes.</p><p>It can simulate real network traffic (like ICMP echo, HTTP GET, or UDP packets) to monitor reachability or latency.</p><p>When combined with <strong>Object Tracking</strong>, IP SLA can make routing decisions — automatically switching between paths based on real-time link health.</p><p>In our case, we’ll configure IP SLA to <strong>ping a remote IP</strong> (e.g., the customer’s tunnel endpoint) through the <strong>primary tunnel</strong>.<br> If it becomes unreachable, the router will remove the tracked static route, allowing traffic to use the backup tunnel.</p><h3>🏗️ Network Topology</h3><p>Here’s a simple layout:</p><pre>+-------------------------+<br>          |      Customer CPE       |<br>          |  Tunnel0: 10.10.10.2    |<br>          |  Tunnel1: 20.20.20.2    |<br>          +-----------+-------------+<br>                      |<br>        ~~~~~ IPSec Tunnels ~~~~~<br>                      |<br>+------------------------------------------+<br>|        Your Cisco Router (Headend)       |<br>|                                          |<br>|  Tunnel0 -&gt; ISP1 (Primary)               |<br>|  Tunnel1 -&gt; ISP2 (Secondary)             |<br>|                                          |<br>|  LAN: 192.168.1.0/24                     |<br>+------------------------------------------+</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W694uthwdpn50IgL6Us5jg.png" /><figcaption>Network Topology (Primary + Secondary IPSec)</figcaption></figure><h3>⚙️ Step 1 — Configure Static Routes</h3><p>Define two static routes toward the customer LAN:</p><pre>ip route 172.16.10.0 255.255.255.0 Tunnel0 track 1<br>ip route 172.16.10.0 255.255.255.0 Tunnel1 200</pre><p>Explanation:</p><ul><li>The <strong>first route</strong> (via Tunnel0) is <strong>tracked</strong> by IP SLA — active only when the probe succeeds.</li><li>The <strong>second route</strong> (via Tunnel1) has a <strong>higher administrative distance (200)</strong>, making it the backup.</li></ul><h3>⚙️ Step 2 — Configure IP SLA Probe</h3><p>We’ll use ICMP echo to test connectivity through the <strong>primary tunnel</strong>.</p><pre>ip sla 1<br>  icmp-echo 10.10.10.2 source-interface Tunnel0<br>  frequency 5</pre><p><strong>Parameters explained:</strong></p><ul><li>icmp-echo 10.10.10.2 → The remote IP to ping (typically the customer’s tunnel endpoint)</li><li>source-interface Tunnel0 → Ensures probe is sent through the correct tunnel</li><li>frequency 5 → Sends probe every 5 seconds</li></ul><p>Then schedule the operation:</p><pre>ip sla schedule 1 life forever start-time now</pre><h3>⚙️ Step 3 — Create a Tracking Object</h3><p>This connects the IP SLA probe to a tracking mechanism:</p><pre>track 1 ip sla 1 reachability</pre><p>You can also add delay timers to avoid flapping:</p><pre>track 1 ip sla 1 reachability<br> delay down 10 up 30</pre><p>This means:</p><ul><li>Failover triggers after 10 seconds of failure.</li><li>Recovery happens 30 seconds after success.</li></ul><h3>⚙️ Step 4 — Final Static Route Setup</h3><p>Revisit your static routes now that tracking is ready:</p><pre>ip route 172.16.10.0 255.255.255.0 Tunnel0 track 1<br>ip route 172.16.10.0 255.255.255.0 Tunnel1 200</pre><p>When IP SLA probe succeeds → <strong>Track 1 = Up</strong> → traffic goes via <strong>Tunnel0</strong>.<br> When probe fails → <strong>Track 1 = Down</strong> → Tunnel0 route removed → traffic shifts to <strong>Tunnel1</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*HoKy1GHXg9t7YHhB1wWuXg.png" /><figcaption>IP SLA Failover Decision Flow</figcaption></figure><h3>🧩 Step 5 — Verification &amp; Monitoring</h3><h3>🔹 Check IP SLA status</h3><pre>show ip sla statistics</pre><p>Shows probe results, response times, and failure counts.</p><h3>🔹 Verify tracking status</h3><pre>show track 1</pre><p>Expected output:</p><pre>Track 1<br>  IP SLA 1 reachability<br>  Reachability is Up</pre><h3>🔹 Verify routing behavior</h3><pre>show ip route 172.16.10.0</pre><p>The active route should change dynamically during failover events.</p><h3>📈 Optional Enhancements</h3><ul><li><strong>Adjust probe thresholds:</strong></li></ul><pre>ip sla 1   icmp-echo 10.10.10.2 source-interface Tunnel0<br>timeout 1000<br>threshold 500</pre><ul><li><strong>SNMP/Syslog Integration:</strong><br> Use logging or NMS integration to track IP SLA events.</li><li><strong>Use for multiple destinations:</strong><br> You can configure multiple IP SLAs to monitor different paths.</li></ul><h3>🧩 Complete Configuration Summary</h3><pre>interface Tunnel0<br> ip address 10.10.10.1 255.255.255.252<br> tunnel source Gig0/0<br> tunnel destination 203.0.113.1</pre><pre>interface Tunnel1<br> ip address 20.20.20.1 255.255.255.252<br> tunnel source Gig0/1<br> tunnel destination 198.51.100.1</pre><pre>ip sla 1<br> icmp-echo 10.10.10.2 source-interface Tunnel0<br> frequency 5<br>ip sla schedule 1 life forever start-time now</pre><pre>track 1 ip sla 1 reachability<br> delay down 10 up 30</pre><pre>ip route 172.16.10.0 255.255.255.0 Tunnel0 track 1<br>ip route 172.16.10.0 255.255.255.0 Tunnel1 200</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Hhg3v3zEckfR0j-y2_qFA.png" /><figcaption>Failure &amp; Recovery Timeline (Sequence)</figcaption></figure><h3>💡 Why Use IP SLA Over Other Methods?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vORhQ2OXIeX2L_JwARRaw.png" /></figure><h3>🚀 Conclusion</h3><p>By combining <strong>Cisco IP SLA</strong> and <strong>Static Route Tracking</strong>, you can achieve:</p><ul><li>Intelligent failover between ISPs</li><li>Fast recovery when the primary link returns</li><li>Zero manual intervention</li></ul><p>This design pattern is perfect for <strong>MPLS backup links</strong>, <strong>SD-WAN hybrid setups</strong>, or <strong>partner VPNs</strong> where only one side supports dynamic routing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd3ddefd82a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-resilience-blueprint/building-redundant-ipsec-vpn-with-ip-sla-and-static-route-failover-in-cisco-routers-fd3ddefd82a0">🌐 Building Redundant IPSec VPN with IP SLA and Static Route Failover in Cisco Routers</a> was originally published in <a href="https://medium.com/the-resilience-blueprint">The Resilience Blueprint</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>