An encryption gateway in transparent mode works at Layer 2 as a “bump in the wire”: it encrypts Ethernet frames between two ports and has no IP address in the data path. A gateway in routed mode works at Layer 3: it is a next hop that encrypts IP packets and forwards them using routes. The choice decides what crosses between sites and how failures behave.
For organisations running operational technology (OT) and critical infrastructure, this is not an abstract design question. It decides whether substation or plant protocols can cross the link, whether your segmentation model still holds, and what happens to traffic when a gateway loses power. This article compares the two modes for quantum-safe encryption between sites, cloud environments and remote users.
What is the difference between transparent (Layer 2) and routed (Layer 3) encryption gateways?
A transparent gateway encrypts whole Ethernet frames and is invisible to the IP network, while a routed gateway encrypts IP packets and takes part in routing as a visible hop. Everything else follows from that difference.
A Layer 2 encryptor sits inline on a link between two switches or between a switch and a carrier hand-off. It learns nothing about IP subnets; it protects the payload of each frame and passes it to its peer, which restores the original frame. The two sites behave as if they were patched into the same switch. That only works if the transport between them carries Ethernet frames, such as a point-to-point or multipoint carrier Ethernet service, dark fibre, or an Ethernet overlay.
A Layer 3 gateway has an inside and an outside interface, each with an address. Traffic for the remote site is routed to it, encrypted, put inside a new packet addressed to the peer gateway, and sent across any IP network, including the public internet. This is the classic gateway-to-gateway model described in NIST SP 800-77 Rev. 1, which focuses on how IPsec provides network layer security services and how organizations can implement IPsec and IKE to provide security under different circumstances.
| Aspect | Transparent (Layer 2) | Routed (Layer 3) |
|---|---|---|
| Position in the network | Inline, no IP address in the data path | Next hop with inside and outside addresses |
| Transport needed | Ethernet service (fibre, carrier Ethernet, overlay) | Any IP network, including the internet |
| Broadcast and non-IP frames | Carried between sites | Stopped at the gateway |
| IEEE 802.1Q VLAN tags | Carried across, depending on implementation | Terminated; VLANs map to routed interfaces |
| Integration effort | Physical insertion, no route changes | Add or adapt a few routes |
| Segmentation effect | Extends one Layer 2 domain across sites | Keeps each site its own routed segment |
Can a quantum-safe encryption gateway be added without changing IP addresses or firewall rules?
A transparent gateway can be inserted without touching any addressing or rules, but only on a Layer 2 link. A routed gateway never requires readdressing the devices behind it, but it does require route changes and, depending on where it sits, a small change at the internet edge.
The constraint that matters most in OT is the devices themselves. PLCs, RTUs, protection relays and HMIs often have hard-coded addresses, vendor support contracts that forbid changes, or engineering stations that would need re-commissioning. Neither mode forces you to touch these. In routed mode the addresses of endpoints stay the same; the change happens in the routing table of the site router or core switch, which now points the remote subnets at the gateway.
Firewall rules are a different matter. If a routed gateway is placed between your existing firewall and the WAN, the firewall still sees cleartext traffic and its zone policies stay unchanged. The edge or upstream path then only needs to allow the tunnel between the two gateways. If the gateway sits behind the firewall, the firewall sees only encrypted tunnel traffic for that path, which is acceptable only where it does not need to inspect it.
Quantum Network’s QPN gateway follows this routed pattern: it encrypts at Layer 3, is integrated by adding or adapting a few routes, and sits in front of the existing firewall when that firewall must keep inspecting traffic, or behind it when inspection is not needed on that path. No software is installed on the equipment behind it.
How does gateway mode affect broadcast, VLAN tagging and OT multicast traffic between sites?
Transparent mode carries broadcast, non-IP multicast and VLAN tags between sites unchanged; routed mode stops them at the gateway and carries only IP traffic. Whether that is an advantage depends on whether those frames should leave the site at all.
Broadcast and Layer 2 protocols
Several OT protocols run directly on Ethernet without an IP header. IEC 61850 GOOSE messages, PROFINET real-time traffic and discovery, and ARP all depend on a shared Layer 2 domain. A Layer 2 encryptor carries them, which is why it is common on links between a substation and a neighbouring control building that must behave as one LAN. A routed gateway will not forward them. In most inter-site designs that is the intended outcome: real-time protection and field-level traffic belongs inside the site, and only supervisory traffic (for example SCADA polling over IP) should travel between sites.
IEEE 802.1Q VLAN tags
With a transparent gateway, IEEE 802.1Q tags can be carried across so that VLAN 10 at one site is VLAN 10 at the other. Implementations differ: some leave the tag in the clear so carrier equipment can switch on it, which reveals your VLAN structure on the wire; others encrypt it. Ask which one you are getting. In routed mode, tags end at the site router, and each VLAN becomes a routed subnet that can be selectively sent through the tunnel.
IP multicast
IP multicast (used by some historian replication and video systems) passes a Layer 2 encryptor without extra work. Across a routed gateway it needs multicast routing support or must be converted to unicast. Inventory multicast flows before choosing; they are often forgotten until a system stops updating after cutover.
Which mode works better with an existing firewall VPN and IEC 62443 conduits?
Routed mode usually fits better, because it creates an explicit Layer 3 boundary between zones and can sit next to an existing firewall VPN without replacing it. Transparent mode is easier to insert but merges sites into one Layer 2 segment, which works against zone separation.
IEC 62443 zones and conduits
In the IEC 62443 model, assets are grouped into zones and the communication paths between zones are conduits. IEC 62443-3-3 sets system requirements such as SR 4.1 (information confidentiality), SR 5.1 (network segmentation) and SR 5.2 (zone boundary protection). A routed encryption gateway maps cleanly onto a conduit: one defined path, defined endpoints, and a routing table that documents which subnets are allowed through. A transparent gateway encrypts the conduit too, but because it extends one Layer 2 domain, the two “zones” it connects are effectively one segment. You then need other controls to restore separation.
This matches the broader point in NIST’s IPsec guidance. As the authors of NIST SP 800-77 Rev. 1 put it, “Organizations should implement technical, operational, and management controls that support and complement IPsec implementations.” Encryption protects a conduit; it does not define one.
Living with an existing firewall VPN
Many sites already run an IKEv2 tunnel (RFC 7296) between firewalls. There are two realistic paths to make it quantum-safe:
- Upgrade the existing tunnel. RFC 9370 allows the establishment of a shared secret by using multiple key exchanges: typically, one classical (EC)DH and the other one post-quantum algorithm. It updates RFC 7296. This works only if both firewalls support it and the post-quantum method you need.
- Add a routed quantum-safe gateway in front of the firewall. The firewall keeps its role in inspection and policy; the gateway protects the path. The existing firewall VPN can be kept for paths that do not need quantum-safe protection yet, or retired once the new path is in place.
Avoid putting a transparent encryptor and a firewall VPN on the same path without planning for overhead: two layers of encapsulation reduce the usable packet size, and fragmentation problems tend to surface first with large OT file transfers or historian batches.
What are the failure and bypass behaviours of transparent versus routed encryption gateways?
The safe behaviour in both modes is fail-closed: when the gateway or tunnel fails, traffic stops or waits, and it never flows unencrypted. The risk differs per mode: Layer 2 devices may have a hardware bypass, while Layer 3 designs may have a backup route that skips the gateway.
Transparent gateways
Some inline Layer 2 devices have bypass relays that physically connect the two ports when power is lost, to keep the link up. For a security appliance, that means cleartext on the carrier link during an outage, often without an alarm. Check the datasheet and the default configuration, and test it: pull the power and capture traffic on the outside port.
Routed gateways
A routed gateway that fails simply stops forwarding. What happens next depends on your routing. If a dynamic routing protocol or a floating static route points to an older, unencrypted or classical-only path, traffic will quietly move there. Review backup routes as part of the design, not after the first outage. Also check behaviour on recovery: a gateway should re-establish its tunnel without someone driving to a remote pumping station to press a button.
QPN, for example, never falls back to unencrypted traffic, and after a line failure it retries automatically with no user action needed to recover.
Why does the key exchange matter more than the gateway mode for quantum safety?
Either mode can be quantum-safe or quantum-vulnerable; what decides it is whether the session keys come from a hybrid classical and post-quantum key agreement. Traffic recorded today with a classical-only key exchange could be decrypted later.
The post-quantum building block most gateways use is ML-KEM. FIPS 203 specifies a key-encapsulation mechanism called ML-KEM, published by NIST on 13 August 2024. Hybrid designs combine it with a classical exchange so that the session stays secure as long as either part holds.
Key timelines and figures for planning:
- NIST IR 8547 (2026): NIST will deprecate quantum-vulnerable public-key cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035.
- Executive Order 14412 (NIST, October 2026): requires federal high-value assets and high-impact systems to migrate by 2030 for key establishment and 2031 for digital signatures.
- NIST NCCoE FAQ (2026): some believe CRQCs may emerge by 2030; many anticipate 15 to 20 years; others believe it may take 30+ years.
- NCSC-NL (2023): it took more than five years to migrate from SHA-1 to SHA-256 even though the specifications and implementations were already available.
- RFC 9370 (May 2023): to negotiate additional key exchanges, seven new Transform Types are defined.
The NCSC-NL is direct about the pace of change: “Migration can take a long time even with a single encryption standard.” OT links, with long asset lifetimes and narrow maintenance windows, are where that delay hurts most, so the gateway you install now should allow its post-quantum algorithm to be changed later.
How do you choose between transparent and routed mode for a specific OT link?
Start from the traffic that must cross the link and the transport you have, not from the device. If only IP traffic must cross and the link is IP or internet, routed mode is the default; transparent mode is justified where non-IP Layer 2 traffic genuinely has to span sites over an Ethernet service.
- Capture a week of traffic at the site boundary and list every Ethertype, broadcast and multicast flow. Anything non-IP that crosses sites today needs a decision: keep it local, or keep a Layer 2 link for it.
- Check the transport. Public internet, mobile backhaul or a cloud connection rules out pure Layer 2 encryption without an overlay. Edge-to-cloud and remote-user access are Layer 3 problems by nature.
- Map the link to your zone and conduit model. If inserting the encryptor would merge two zones at Layer 2, prefer routed mode or add separation.
- Decide where inspection happens. If the firewall must inspect cleartext, the gateway goes on the WAN side of the firewall.
- Agree on failure behaviour and test it, including backup routes and bypass hardware.
- Confirm crypto agility: hybrid key exchange with ML-KEM today, and a supported way to change the post-quantum algorithm later.
In practice, many critical infrastructure operators end up with both: a small number of Layer 2 links inside a campus or between adjacent buildings, and routed quantum-safe gateways for everything that crosses a carrier, the internet or a cloud boundary. What matters is that each choice is deliberate, documented against your conduits, and tested for how it fails.
Where Quantum Network fits
Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.
Frequently asked questions
Is a Layer 2 encryption gateway more secure than a Layer 3 one?
Do I need to readdress PLCs or HMIs to add a routed encryption gateway?
Can I keep my existing IKEv2 firewall VPN and still become quantum-safe?
Will GOOSE or PROFINET traffic cross a routed encryption gateway?
What should happen when an encryption gateway fails?
Sources
- IETF RFC 9370 (2023)
- NIST CSRC, SP 800-77 Rev. 1 (2020)
- NIST CSRC, FIPS 203 (2024)
- NIST IR 8547 (2026)
- NIST news (2026)
- NIST NCCoE PQC FAQ (2026)
- NCSC-NL (2023)

Skip to content