MACsec on Wavelengths or IPsec over IP: Where Failover Decides a Sovereign Cross-Border Link

MACsec protects a cross-border link only while the two endpoints sharing the secure association stay adjacent at layer 2, and that one property decides most of what happens when a fibre is cut. IPsec doesn't care how the underlay reroutes, but it moves the weak point into the gateways that hold tunnel state. On a sovereign interconnect, choosing between them means choosing which failure you would rather absorb.

Two places to put the trust boundary

With MACsec over leased wavelengths or a transparent Ethernet service, encryption sits on the port and runs at line rate. The secure channel exists between exactly two chassis, one on each side of the border. MKA derives session keys from a connectivity association key, and that key can come from a national key management system or a QKD link without touching the routing plane. IPsec with IKEv2 puts the boundary at a gateway pair instead, above whatever IP transport carries the packets, so the underlay can belong to anyone and reroute however it likes. Both come from the same IEEE and IETF family of link-layer and network-layer encryption standards, and both can run a hybrid post-quantum key exchange. What separates them is what each one assumes about the path.

What breaks, and what keeps running

Cut the primary fibre on a MACsec link protected at the optical layer and the switch to the standby wavelength happens beneath the encrypting ports, so the secure association never notices. The parameter that matters is MKA's default live peer lifetime of 6 seconds: a protection event that restores the frame path faster than that is invisible to the crypto, while a longer outage tears the association down and forces a fresh key agreement. Trouble starts when the backup is a routed path rather than a transparent one, for example a second carrier that can only offer IP transit through a third jurisdiction. MACsec can't follow traffic onto that path without decrypting at a router you don't control. That leaves two choices: run the link in should-secure mode, which quietly sends cleartext, or fail closed and lose the interconnect. IPsec fails the other way round: the underlay can wander across any carrier, but if the active gateway dies without synchronised SA state, every tunnel renegotiates at once, and with hybrid post-quantum handshakes that rekey storm can keep a few hundred tunnels dark for tens of seconds (an estimate that depends heavily on gateway CPU and tunnel count).

The boundary where the answer flips

Ask one question of every protection path in your failure model: if each one stays a point-to-point layer-2 adjacency between the same two endpoints in sovereign custody, MACsec wins on failover speed, simpler operations and the absence of shared gateway state, but as soon as any credible failure pushes traffic onto a routed hop outside your custody, IPsec wins, because it is the only option that stays both encrypted and up.

What you still have to pay for

Picking MACsec at that boundary means paying for real diversity at layer 1: two wavelengths in separate ducts, ideally landing on separate chassis, each with its own MKA session so a line card failure is not a single point of loss. Picking IPsec means paying for stateful high availability on the gateways and for enough crypto headroom to survive a cold rekey. In practice that tends to double the gateway budget compared with sizing for steady-state throughput (an estimate, driven mostly by post-quantum handshake cost). Many sovereign designs end up layering both, with MACsec on the owned wavelengths and IPsec as a fail-closed overlay for the routed backup. That works, but it leaves two key hierarchies to keep in step with the national key authority, so the open question before freeze is whether that authority can issue both MACsec connectivity association keys and IKE credentials from one root, or whether you accept running two.

Can MACsec run over a carrier's Ethernet service instead of dark fibre or a wavelength?

Yes, as long as the service is a transparent point-to-point circuit that carries the frames without terminating them, and the endpoints leave the VLAN tag in clear so the carrier can still switch on it. It can't survive a carrier failover that hands the circuit to a routed backbone, which is exactly the case where the decision moves to IPsec.

Back to SovereignWAN · Domains

← Back to SovereignWAN
Engineering & Architecture Brief

MACsec on Wavelengths or IPsec over IP: Where Failover Decides a Sovereign Cross-Border Link

MACsec protects a cross-border link only while the two endpoints sharing the secure association stay adjacent at layer 2, and that one property decides most of what happens when a fibre is cut. IPsec doesn't care how the underlay reroutes, but it moves the weak point into the gateways that hold tunnel state. On a sovereign interconnect, choosing between them means choosing which failure you would rather absorb.

Two places to put the trust boundary

With MACsec over leased wavelengths or a transparent Ethernet service, encryption sits on the port and runs at line rate. The secure channel exists between exactly two chassis, one on each side of the border. MKA derives session keys from a connectivity association key, and that key can come from a national key management system or a QKD link without touching the routing plane. IPsec with IKEv2 puts the boundary at a gateway pair instead, above whatever IP transport carries the packets, so the underlay can belong to anyone and reroute however it likes. Both come from the same IEEE and IETF family of link-layer and network-layer encryption standards, and both can run a hybrid post-quantum key exchange. What separates them is what each one assumes about the path.

What breaks, and what keeps running

Cut the primary fibre on a MACsec link protected at the optical layer and the switch to the standby wavelength happens beneath the encrypting ports, so the secure association never notices. The parameter that matters is MKA's default live peer lifetime of 6 seconds: a protection event that restores the frame path faster than that is invisible to the crypto, while a longer outage tears the association down and forces a fresh key agreement. Trouble starts when the backup is a routed path rather than a transparent one, for example a second carrier that can only offer IP transit through a third jurisdiction. MACsec can't follow traffic onto that path without decrypting at a router you don't control. That leaves two choices: run the link in should-secure mode, which quietly sends cleartext, or fail closed and lose the interconnect. IPsec fails the other way round: the underlay can wander across any carrier, but if the active gateway dies without synchronised SA state, every tunnel renegotiates at once, and with hybrid post-quantum handshakes that rekey storm can keep a few hundred tunnels dark for tens of seconds (an estimate that depends heavily on gateway CPU and tunnel count).

The boundary where the answer flips

Ask one question of every protection path in your failure model: if each one stays a point-to-point layer-2 adjacency between the same two endpoints in sovereign custody, MACsec wins on failover speed, simpler operations and the absence of shared gateway state, but as soon as any credible failure pushes traffic onto a routed hop outside your custody, IPsec wins, because it is the only option that stays both encrypted and up.

What you still have to pay for

Picking MACsec at that boundary means paying for real diversity at layer 1: two wavelengths in separate ducts, ideally landing on separate chassis, each with its own MKA session so a line card failure is not a single point of loss. Picking IPsec means paying for stateful high availability on the gateways and for enough crypto headroom to survive a cold rekey. In practice that tends to double the gateway budget compared with sizing for steady-state throughput (an estimate, driven mostly by post-quantum handshake cost). Many sovereign designs end up layering both, with MACsec on the owned wavelengths and IPsec as a fail-closed overlay for the routed backup. That works, but it leaves two key hierarchies to keep in step with the national key authority, so the open question before freeze is whether that authority can issue both MACsec connectivity association keys and IKE credentials from one root, or whether you accept running two.

Technical FAQ: Can MACsec run over a carrier's Ethernet service instead of dark fibre or a wavelength?

Yes, as long as the service is a transparent point-to-point circuit that carries the frames without terminating them, and the endpoints leave the VLAN tag in clear so the carrier can still switch on it. It can't survive a carrier failover that hands the circuit to a routed backbone, which is exactly the case where the decision moves to IPsec.

Related Architecture Specifications (SOVEREIGNINFO): sovereignlatency.com · sovereignsubsea.com · sovereigncan.com

More Technical Articles on sovereignwan.com

Throughput and Cryptographic Overhead: Linux Kernel WireGuard vs IPsec at 100 Gbps WAN Speeds →Quantitative Reliability Analysis of Multi-Homed Sovereign WAN Topologies Against Coordinated Cuts →Where Cross-Border Failover Flips the Choice Between Link Encryption and Enclave Tunnels →