Contents

Gateways and network segmentation

Why vehicles separate their networks into domains or zones, how gateways route and filter traffic between them, and what they protect against.

Why segment networks

If every ECU sat on one network, a single compromised or faulty node could disturb everything. Segmentation limits the blast radius: infotainment problems stay in infotainment, and only explicitly allowed messages reach the brakes.

Traffic across a segment boundary
Infotainment segmentSource of a message
GatewayFilters and rate-limits traffic
Chassis segment

Example path: the gateway forwards permitted traffic and drops messages that policy does not allow.

What a gateway does

  • Routing — forwards selected messages between segments (CAN to CAN, CAN to Ethernet).
  • Translation — packs signals into new PDUs or services, adapts timing.
  • Filtering — drops anything not on the allow-list; rate-limits.
  • Diagnostic routing — connects the OBD port or DoIP tester to internal ECUs.
  • Monitoring — often hosts a network intrusion detection sensor.

How it fits the architecture

In domain architectures, a central gateway ECU connects powertrain, chassis, body and infotainment CAN buses. In zonal architectures, gateway functions are distributed: zone controllers bridge local buses to Ethernet, and central compute or a dedicated switch enforces policies between partitions.

Best practices

  • Use allow-lists, never block-lists, for routed messages.
  • Keep external interfaces (telematics, infotainment) in their own segment with the strictest filtering.
  • Authenticate diagnostic access before routing it inward.
  • Preserve end-to-end protection (E2E, SecOC) across routing, or re-create it deliberately.
  • Measure worst-case routing latency per message.

Common pitfalls

  • “Temporary” routing rules that become permanent attack paths.
  • Gateways that cannot be updated, freezing outdated filter rules for the vehicle’s life.

What it means for your discipline

  • Networks & communication Core

    Designs routing tables, PDU and signal gateways, timing across segments and the bandwidth of each domain.

  • Cybersecurity Core

    The gateway is a central security control: it isolates external interfaces from critical domains and filters diagnostics.

  • E/E architecture Core

    Decides the segmentation — which ECUs share a network and where trust boundaries lie.

  • Base software Partial

    Implements routing in PduR/COM or a dedicated gateway stack, including diagnostic routing and NM coordination.

  • Diagnostics & lifecycle Partial

    Routes diagnostic requests from the OBD port or DoIP to internal ECUs — and must authenticate and restrict them.

  • Functional safety Partial

    Routing delays and failures affect safety messages crossing segments; E2E protection must survive routing.

  • Software update & OTA Partial

    Coordinates diagnostic routing, access rules and bandwidth so flashing reaches target ECUs across network segments. Plans gateway updates so interrupted routing does not strand other ECUs mid-update.

No direct stake: HPC & application software · Hardware & silicon

Where it sits in the software stack

Generic layered software of a central HPC (application processor with hypervisor, plus a safety island) and of a classic MCU-based ECU (AUTOSAR Classic). Highlighted modules matter for this topic. Click any module to open its page.

HPC · application processor (MPU) and safety island (MCU)
  • SOME/IP · DDS — Carries service traffic across Ethernet segments and supports translation between service interfaces.
  • Security services — Applies access policies and monitors traffic for intrusion attempts at network trust boundaries.
  • Diagnostics — Authenticates and restricts diagnostic operations before forwarding requests to internal targets.
MCU-based ECU · AUTOSAR Classic
  • Communication — Uses PduR and COM to route permitted PDUs and signals between buses while preserving configured protection.
  • Diagnostics — Checks diagnostic sessions and access permissions for requests handled by the gateway ECU.