# Cable Redundancy The EC-Simulator supports Cable Redundancy by using two Network Interfaces to provide the Redundancy feature. Frames are sent from and received on both interfaces. The EC-Simulator HiL automatically connects the red adapter to a matching port within the simulated network topology. An explicit connection can be set using [`EC_T_SIMULATOR_INIT_PARMS::aoDeviceConnection`](api_general.html.md#_CPPv4N25EC_T_SIMULATOR_INIT_PARMS18aoDeviceConnectionE) at [`esInitSimulator()`](api_general.html.md#_CPPv415esInitSimulator10EC_T_DWORDPK25EC_T_SIMULATOR_INIT_PARMS) . ## Running EcSimulatorHilDemo with Cable Redundancy ### Linux (EcSimulatorHilDemo) - Starting EcSimulatorHilDemo with two links configured ```console $ cd /opt/EC-Simulator/Bin/Linux/x64 $ ./EcSimulatorHilDemo -f exi.xml -intelgbe 1 1 -intelgbe 2 1 -perf ``` ### EcSimulatorHilDemoPython - Script arguments for `Examples/EcSimulatorHilDemoPython/EcDemoApp.py` with two links configured: ```console $ -mode 4 -file exi.xml -time 20000 -lvl 3 -link "intelgbe 1 1" -linkred "intelgbe 2 1" ``` #### IMPORTANT The MainDevice has restrictions in case of cable redundancy, e.g. it is not allowed to use LRW EtherCAT® commands.