Lesson 05: Edge of Network (EoN) Nodes & Brownfield Gateways
←→

Lesson 05: Edge of Network (EoN) Nodes & Brownfield Gateways

Over 80% of operating manufacturing and process facilities rely on legacy "brownfield" automation hardware—programmable logic controllers (PLCs), remote terminal units (RTUs), and variable frequency drives (VFDs) deployed decades ago that communicate exclusively over RS-485 serial fieldbuses (Modbus RTU, Siemens Profibus DP) or unencrypted, non-semantic Ethernet fieldbuses (such as Modbus TCP; analyzed in Lesson 02; Huusom et al., 2025; Koprov et al., 2022). Ripping and replacing validated, revenue-generating industrial machinery is economically non-viable. The Edge of Network (EoN) Node resolves this structural dilemma by serving as an intelligent hardware appliance positioned at the physical boundary between isolated Operational Technology (OT) fieldbuses and enterprise Information Technology (IT) networks. This lesson examines the hardware dual-homing architecture, kernel-level anti-routing invariants, modular protocol termination patterns, edge store-and-forward buffering, and PLC scan-cycle shielding as candidate patterns for industrial gateway design.


1. Operational Reality: The Brownfield Constraint & Physical Boundary

Understanding edge integration requires distinguishing between the two fundamental operational paradigms encountered in industrial engineering:

NOTE: Industrial Reality: Brownfield vs. Greenfield Facilities
- Brownfield Facility: An operating industrial site utilizing machinery installed 10 to 30 years ago. These control loops are heavily calibrated, safety-certified, and tightly coupled to physical processes. Shutting them down for digital upgrades incurs prohibitive capital expenditure, downtime losses, and lengthy regulatory recertification.
- Greenfield Facility: A newly constructed facility engineered from scratch with native Ethernet sensors, modern open protocols (OPC UA, MQTT Sparkplug B), and converged network backbones.

Because brownfield machinery cannot be replaced, automation architectures deploy the Edge of Network (EoN) Node as an edge gateway appliance. The EoN node bridges disparate physical media, terminates legacy serial and Ethernet protocols, contextualizes raw memory registers into typed semantic tags, and publishes data into an enterprise Unified Namespace (UNS; Šenk et al., 2026; see Lesson 01) via MQTT (Lesson 03) and Sparkplug B (Lesson 06).

The physical reality of this brownfield boundary is illustrated in Figure 05.1, showing a rugged dual-homed industrial edge computer (Figure 05.1(a)) deployed directly alongside a legacy brownfield PLC control enclosure (Figure 05.1(b)) containing multi-drop RS-485 serial fieldbuses:

Industrial Dual-Homed DIN-Rail Edge Computer (Advantech UNO-2271G / Moxa UC-8100A)

Photo Unavailable

Search: "Industrial Dual-Homed DIN-Rail Edge Computer"


(a) Industrial Dual-Homed DIN-Rail Edge Computer (Advantech UNO-2271G / Moxa UC-8100A)
Brownfield Industrial Control Enclosure with RS-485 Serial Chaining (Modicon M340 / SLC 500)

Photo Unavailable

Search: "Brownfield Industrial Control Enclosure with RS-485 Serial Chaining"


(b) Brownfield Industrial Control Enclosure with RS-485 Serial Chaining (Modicon M340 / SLC 500)
Figure 05.1: Physical Edge Integration Infrastructure: (a) Dual-homed industrial edge computer with physically separated Ethernet interfaces; (b) Brownfield control cabinet housing legacy serial and Ethernet PLCs requiring protocol termination.

Architectural Boundary Model

The EoN gateway physically separates the deterministic OT control loop from the non-deterministic enterprise IT backbone. This architectural boundary and protocol separation are mapped in the diagram below:

Mermaid Diagram
graph LR

    subgraph OT_Zone [Isolated OT Fieldbus Zone]
        PLC1["Modbus RTU PLC<br/>(RS-485 Serial)"]
        PLC2["Modbus TCP Drive<br/>(Port 502)"]
    end

    subgraph EoN_Gateway [Edge of Network Node]
        direction TB
        NIC1["Physical NIC 1: OT Subnet<br/>(192.168.1.0/24)"]
        Core["Driver & Transcoding Engine<br/>- Polling Scheduler<br/>- Protocol Parsing (IDataParser)<br/>- Sparkplug B Encoding<br/>- Local Spool (engine TBD)"]
        NIC2["Physical NIC 2: Enterprise/IDMZ<br/>(10.0.10.0/24)"]
        NIC1 --> Core --> NIC2
    end

    subgraph IT_Zone [Enterprise / Cloud UNS Zone]
        Broker["Unified Namespace<br/>(MQTT Broker MQTTS:8883)"]
    end

    PLC1 -->|Serial RS-485| NIC1
    PLC2 -->|Ethernet Polling| NIC1
    NIC2 -->|Outbound TLS MQTT Sparkplug B| Broker

2. Hardware Dual-Homing & Physical Network Segmentation

A fundamental cybersecurity requirement enforced across modern automation standards (ANSI/ISA-95 and IEC 62443; detailed in Lesson 10) is Hardware Dual-Homing (Narayanan et al., 2026).

Physical Interface Invariants

Dual-homing dictates that the gateway appliance incorporates at least two physically discrete Network Interface Cards (NICs), each cabled to an independent physical switch infrastructure:

  1. OT Network Interface (NIC 1):
  1. IT / Demilitarized Zone Network Interface (NIC 2):

The Anti-Routing Invariant (ip_forward = 0)

The defining security invariant of an EoN gateway is the total prohibition of network routing between interfaces:

$$\texttt{sysctl net.ipv4.ip\_forward = 0}$$

When ip_forward is set to 0 in the Linux kernel, the operating system's IP networking stack refuses to forward raw IP packets between NIC 1 and NIC 2. If a compromised corporate host on the IT subnet (10.0.10.0/24) attempts to route malicious packets toward a vulnerable PLC on the OT subnet (192.168.1.10), the gateway kernel drops the packets at the network layer. Data can cross between subnets only through user-space application-layer termination.

This dual-homed network isolation, drop-all incoming firewall policy, and application-layer translation barrier are illustrated in Figure 05.2:

05-eon-dual-homing-firewall.svg

Figure 05.2: Dual-Homed Network Architecture — Two Physically Isolated NICs, Kernel IP Forwarding Prohibited, and Drop-All Inbound Firewall Rules on the IT Interface.

The physical cabinet wiring layout separating the isolated OT fieldbus switch from the enterprise IDMZ infrastructure is mapped in Figure 05.3:

05-eon-dual-homing-physical-wiring.svg

Figure 05.3: Physical Device Wiring — Field Controllers (PLCs, VFDs) connect to the OT switch; the Enterprise Broker connects to the IDMZ switch; the EoN gateway is the sole physical appliance bridging both zones.


3. Protocol Termination, Transcoding & Modular Driver Design

An EoN gateway is not a dumb network bridge or packet forwarder; it functions as a Protocol Terminator and semantic data transcoder (Jiao & Sun, 2018; Koprov et al., 2022):

Encapsulation (Tunneling) vs. Protocol Termination

Modular Software Architecture (IMetaData & IDataParser)

To integrate diverse industrial protocols (Modbus, Profibus, CAN bus, OPC DA) without destabilizing core gateway firmware, modern edge systems implement modular object-oriented driver patterns (Jiao & Sun, 2018):

// Driver Interface Abstraction
interface IMetaData {
  tagId: string;           // Canonical UNS path: "Packaging/Line1/Filler/Temperature"
  registerAddress: number; // Legacy register offset: 40005
  dataType: "FLOAT32" | "INT16" | "BOOLEAN";
  scaleMultiplier: number; // e.g. 0.01 for raw integer to float conversion
  engineeringUnit: string; // e.g. "degC", "bar", "RPM"
}

interface IDataParser {
  // Parses raw binary byte buffer from PLC fieldbus into typed semantic metric
  parse(rawBytes: Uint8Array, metadata: IMetaData): MetricValue;
  // Encodes supervisory command from UNS into raw PLC register write frame
  formatCommand(command: CommandPayload, metadata: IMetaData): Uint8Array;
}

By decoupling protocol parsing (IDataParser) from tag metadata definitions (IMetaData), adding support for a new legacy device requires authoring an isolated driver module without modifying the underlying network or store-and-forward engines.


4. Edge Store-and-Forward Buffering & Network Blackout Recovery

Industrial edge networks frequently traverse lossy cellular backhauls, line-of-sight microwave links, or satellite uplinks. To prevent catastrophic telemetry loss during wide-area network (WAN) disconnects, the EoN gateway integrates a local Store-and-Forward (SaF) engine:

The Store-and-Forward Operational Lifecycle

  1. Online State (Live Streaming):
  1. Offline Blackout State (Local Spooling):
  1. Reconnection Playback & Drain State:

This dual-path architecture—switching between sub-5 millisecond live streaming and local persistent spooling during blackouts—is diagrammed in Figure 05.4:

05-eon-hardware-store-forward.svg

Figure 05.4: EoN Internal Architecture — Ingress Protocol Drivers, Security Firewall Barrier, Dual-Path Store-and-Forward Ring Buffer, and Egress Sparkplug B Protobuf Publisher.


5. PLC Scan Cycle Protection & Communication Offloading

Legacy industrial controllers are real-time control engines designed for deterministic I/O execution, not high-volume web server operations:

The PLC Hardware Scan Cycle

A programmable logic controller executes ladder logic inside a rigid four-stage cyclic loop:

$$\text{1. Read Physical Inputs} \implies \text{2. Execute Control Logic} \implies \text{3. Write Physical Outputs} \implies \text{4. Service Comm Requests}$$

In legacy PLCs (e.g., Modicon Micro, Allen-Bradley SLC 500, Siemens S7-300), the communications coprocessor is an underpowered 8-bit or 16-bit serial controller. Stage 4 ("Service Comm Requests") is allocated a strict time slice (often limited to $10\text{--}20\text{ ms}$).

The Denial-of-Service Failure Mode

If multiple enterprise consumers—such as enterprise resource planning (ERP) databases, local SCADA terminals, historical historians, and engineering workstations—attempt to poll the same PLC simultaneously over Modbus TCP or Ethernet:

The EoN as a Single-Master Shield

The EoN gateway eliminates this failure mode by acting as a Communication Shield:


6. Active-Recall Assessments

Why must IP forwarding (net.ipv4.ip_forward) be permanently disabled in the operating system kernel of a dual-homed EoN gateway?
Enabling IP forwarding converts the EoN gateway into a network router. If an attacker compromises an enterprise host on the corporate/IDMZ subnet (NIC 2), active IP forwarding allows them to route malicious IP packets directly into the isolated OT control subnet (NIC 1), bypassing perimeter firewalls and exposing vulnerable PLCs. Disabling IP forwarding ensures the kernel drops all inter-subnet packets at Layer 3; data can bridge between interfaces exclusively through user-space application logic (Narayanan et al., 2026).
How does an EoN node prevent accidental Denial of Service (DoS) conditions on legacy brownfield PLCs?
Legacy PLCs execute control logic in a deterministic four-stage scan cycle (Read Inputs $\to$ Execute Logic $\to$ Write Outputs $\to$ Service Communications). Their communication processors have limited buffers and time slices. Multiple concurrent SCADA or database clients polling a PLC simultaneously can starve its communications processor, causing scan-cycle timeouts and triggering emergency machinery shutdowns. The EoN node shields the PLC by acting as the single authorized master polling at a controlled, deterministic rate (e.g., 100 ms), broadcasting that state via MQTT to unlimited enterprise consumers without additional PLC load.
What is the operational distinction between Protocol Encapsulation and Protocol Termination on an edge gateway?
Protocol Encapsulation (Tunneling) takes a raw legacy frame (such as Modbus RTU or TCP) and places it unmodified inside a transport wrapper (like raw MQTT or WebSocket). Upstream enterprise applications must still maintain proprietary vendor driver libraries and decode cryptic memory addresses (40001). Protocol Termination fully unpacks the legacy protocol at the edge gateway, maps raw binary registers to typed semantic variables with engineering units, and re-encodes the data into an open standardized schema (like Sparkplug B Protobuf).
Why is preserving original capture timestamps inside the edge Store-and-Forward (SaF) buffer critical for industrial time-series historians?
If an edge gateway buffers telemetry during a 24-hour cellular blackout and assigns transmission timestamps when the link recovers, all 24 hours of process readings will appear to have occurred simultaneously inside the historian. This corrupts derivative calculations, false alarm analyses, sequence-of-events root cause investigations, and machine learning models. The SaF buffer permanently stamps every record with its exact local polling acquisition timestamp at the moment of physical measurement.
Why does the firewall on NIC 2 (the enterprise/IDMZ interface) enforce a drop-all policy on incoming TCP SYN packets?
Dropping all incoming TCP SYN packets ensures the EoN gateway exposes zero listening network sockets to the enterprise network or WAN. Because the gateway never listens for incoming connections, it cannot be probed by automated network port scanners, cannot suffer from remote socket exploits, and requires no inbound holes through corporate firewalls. The gateway communicates strictly by initiating outbound, authenticated, TLS-encrypted client connections to the authorized MQTT broker.