Skip to main content

EoE - Ethernet tunnel

What is EoE?​

EoE (Ethernet over EtherCAT) is the Ethernet tunnel protocol of EtherCAT. It allows standard Ethernet frames to be transmitted transparently over an EtherCAT network.

With EoE, a slave device can have its own IP address and run standard Ethernet applications (HTTP, FTP, Telnet and so on) without affecting EtherCAT real-time communication.

How it works​

Tunnel mechanism​

EoE carries standard Ethernet frames over the EtherCAT Mailbox:

  • Application layer — HTTP/FTP/MQTT and others — standard network applications
  • Transport layer — TCP/UDP — standard transport protocols
  • Network layer — IP — the slave has its own IP address
  • Data link layer — Ethernet frame — encapsulated in the EoE protocol
  • EoE layer — EoE Mailbox — carried over the EtherCAT mailbox
  • Physical layer — EtherCAT — the physical layer is still EtherCAT

Frame encapsulation​

Standard Ethernet frames are encapsulated in the EoE protocol. Boundaries of this SDK:

  • Fragmentation: the SDK splits the whole frame into 32-byte blocks according to the EoE protocol and sends them block by block; the whole-frame limit is 2016 bytes (Frame Offset in ETG.1000.6 is 6 bits, in units of 32 bytes: 63×32). A frame above the limit is rejected, not silently truncated
  • Reassembly: fragmentation and reassembly are both done in the EoE protocol layer; on the master side the result is not handed to the operating-system network stack
  • MAC address: a slave may have its own MAC; the master side creates no operating-system NIC
  • MTU: there is no IP MTU concept here — the limit is the 2016-byte EoE whole frame, which is not the same thing as the 1500-byte Ethernet MTU

Virtual network interface​

This SDK provides no Windows TAP or Linux tun/tap virtual NIC, and no built-in DHCP server or NAT. EoE runs over the EtherCAT Mailbox and cannot be used as an operating-system network adapter with routable and firewall configuration.

Main use cases​

Device web interface​

Typical applications:

  • An HTTP server built into the slave (the slave firmware's own business)
  • You cannot expect this SDK to create a TAP and open the slave IP directly in a browser
  • Real-time monitoring of device status
  • Online parameter adjustment

Benefits:

  • A user-friendly graphical interface

  • No dedicated configuration software required

  • Access from any platform (phone, tablet, PC)

  • Servo drives — parameter configuration, oscilloscope, debugging tools

  • Intelligent IO modules — channel configuration, diagnostic information

  • Gateway devices — if the slave firmware performs the protocol conversion itself; EoE in this SDK is not a multi-protocol gateway

  • Industrial cameras — image preview, camera parameter setup

Industrial vision​

EoE is only an Ethernet frame tunnel, not a GigE Vision implementation. This SDK provides no TAP/tun, so standard vision software cannot use EoE as a GigE Vision NIC, and no guarantee is made that camera images are usable over EoE.

Data acquisition and monitoring​

Applications:

  • Device log upload (Syslog)
  • Performance data push (MQTT)
  • Remote diagnostics (SSH/Telnet)
  • Email alarm notification (SMTP)

Scenarios:

  • Real-time vibration monitoring data uploaded to a cloud platform
  • Temperature sensor data pushed to a monitoring system
  • Email notification sent on a fault
  • Remote expert diagnostics over SSH

Gateway functions​

EoE in this SDK is not a protocol-conversion gateway from EtherCAT to Modbus TCP / PROFINET / OPC UA / MQTT, and it does not manage subnets through a TAP. If a slave provides such services itself, refer to that slave's documentation.

File transfer and services​

  • FTP server: file upload and download
  • TFTP server: simple file transfer
  • NTP client: time synchronization
  • SNMP agent: network management

Technical characteristics of EoE​

Advantages​

  • Transparency — the protocol can encapsulate Ethernet frames; this SDK has no TAP, so it cannot act as an operating-system NIC running arbitrary TCP/IP applications
  • Flexibility — the slave can run any network service, with strong functional extensibility
  • Simplified cabling — one cable carries control and data, reducing cost and complexity
  • Device interconnection — slaves can communicate directly with each other, for a distributed architecture
  • Standard tools — this SDK provides no TAP, so ping/traceroute cannot be used as local NIC diagnostics
  • Time synchronization — combined with DC for precise time, suited to time-sensitive applications

Limits​

  • Not real-time — transferred through the Mailbox, with latency, and not suited to real-time control data
  • Limited bandwidth — constrained by the mailbox and the cycle time; throughput is below GigE
  • Resource overhead — the slave needs a TCP/IP protocol stack, which adds hardware cost

Performance characteristics​

Throughput​

EoE bandwidth depends on:

  • Cycle time — a faster cycle means higher bandwidth (the cycle has no product-imposed lower limit; it is not hard-wired to 1 ms)
  • Mailbox size — a single block is limited by the mailbox capacity; the SDK fragments the whole frame up to the 2016-byte limit
  • Network load — real-time traffic takes priority
  • Fragmentation — fragmentation is done by the SDK in the EoE protocol layer, so the application does not split frames itself; a whole frame above 2016 bytes is rejected outright

Typical throughput:

  • Ideal conditions: 1-5 Mbps
  • Real applications: 500 Kbps - 2 Mbps
  • Sufficient for monitoring, web interfaces and similar

Latency​

EoE latency:

  • Typical latency: 10-100 ms
  • Not suited to: real-time control (use PDO)
  • Suited to: monitoring, configuration, file transfer

Network configuration​

IP address assignment​

Ways to assign a slave IP address:

  • Static IP — configured by the slave or through the object dictionary; this SDK does not act as a DHCP server
  • Link-local / configured by the slave — if the slave firmware does it itself, this is outside the scope of this SDK
  • Configured via CoE — set through the object dictionary (if the slave supports it)

Routing and NAT​

This SDK provides no NAT gateway, creates no TAP/tun, and does not deliver "the master as a router". A slave IP, if it exists, lives only inside the EoE mailbox tunnel and cannot be configured with bridging/NAT/firewall as an operating-system NIC.

Relationship to other protocols​

EoE vs standard Ethernet​

  • Physical medium — EoE: EtherCAT network / standard Ethernet: Ethernet cable
  • Bandwidth — EoE: 1-5 Mbps / standard Ethernet: 100-1000 Mbps
  • Latency — EoE: 10-100 ms / standard Ethernet: <1 ms
  • Cabling — EoE: integrated into EtherCAT / standard Ethernet: separate cabling
  • Cost — EoE: no extra cost / standard Ethernet: network equipment required

EoE vs FoE​

  • Purpose — EoE: general Ethernet communication / FoE: file transfer
  • Protocol layer — EoE: supports all TCP/IP applications / FoE: a dedicated file protocol
  • Implementation complexity — EoE: high (needs a TCP/IP stack) / FoE: low
  • Performance — EoE: higher bandwidth / FoE: optimized for files

EoE support in the Darra SDK​

The Darra SDK provides EoE support:

Core capabilities​

  • Mailbox tunnel — send and receive Ethernet frames through the EtherCAT Mailbox
  • Fragmentation is done by the SDK in the EoE protocol layer; the whole-frame limit is 2016 bytes
  • Creates no TAP/tun virtual NIC
  • Has no built-in DHCP server
  • Provides no NAT / routing table management

No operating-system virtual NIC​

EoE cannot be configured as a physical NIC with an IP address, subnet mask and gateway, and standard ping/traceroute cannot be treated as diagnostics that this SDK already provides. If a slave has its own Web/TCP service, that depends on the slave firmware and does not mean this SDK has opened up the operating-system network stack.

Deployment guidance​

Network planning​

  1. IP address planning

    • Use a private IP range (for example 192.168.100.x)
    • Reserve a fixed IP for each slave
    • Record the IP allocation table
  2. Subnet planning

    • Use a separate subnet for the EtherCAT network
    • Avoid conflicts with the corporate network

Performance tuning​

  1. Priority management

    • Real-time data (PDO) has the highest priority
    • CoE/SoE configuration comes next
    • EoE traffic has the lowest priority
  2. Bandwidth control

    • Cap the EoE traffic
    • Avoid large file transfers blocking the network
    • Use QoS policies
  3. Cycle time

    • Use a faster cycle if there is a lot of EoE traffic

FAQ​

Which devices support EoE?​

Check for the <EoE /> tag in the device ESI file. Not every slave supports EoE; simple IO modules in particular usually do not.

Does EoE affect real-time performance?​

EoE uses lower-priority mailbox communication and does not affect PDO real-time behaviour under normal conditions. Under extreme load it may slightly increase jitter.

Can I open a slave's web interface over EoE?​

If a slave has its own HTTP server, that is the slave firmware. This SDK creates no TAP/tun, so you cannot open the slave IP in a browser from the operating system as if it were an ordinary NIC.

Is the EoE bandwidth sufficient?​

Do not plan it as if it were GigE Vision / high-definition video. EoE is a mailbox tunnel; bandwidth is limited by the cycle and the mailbox, and the whole-frame limit is 2016 bytes.

How do I debug an EoE connection?​

With no TAP, do not use operating-system ping/routing as the acceptance criterion. Check whether the slave declares EoE, whether the mailbox works, and whether a whole frame above 2016 bytes is rejected.

Security considerations​

Potential risks​

⚠️ Network security risks:

  • The slave may run a web service with vulnerabilities
  • Malicious traffic may affect network stability

Protective measures​

✓ Recommended practice:

  1. Network isolation - isolate the EtherCAT network from the corporate network
  2. Firewall - restrict the allowed ports and protocols
  3. VPN - use an encrypted VPN for remote access
  4. Regular updates - keep slave firmware up to date
  5. Access control - use passwords and permission management
  6. Log auditing - record all access and operations

Summary​

EoE is a tunnel that encapsulates Ethernet frames through the Mailbox. This SDK provides no TAP/tun, DHCP or NAT; fragmentation and reassembly are done in the EoE protocol layer, the whole-frame limit is 2016 bytes (not the same thing as the 1500-byte IP MTU), and it is not GigE Vision.

EoE is not suited to real-time process data. If a slave has its own TCP/IP service, that depends on the slave firmware and does not mean this SDK has opened up the operating-system network stack.

Further reading