Network Simulation

TEMU supports simulated Ethernet links. TEMU provided a number of models for Ethernet communication:

  • MAC models

  • PHY models

  • MDIO / MII bus model (if multiple PHYs are used).

  • Ethernet link models

  • Bridge models

Normally the GenericPHY is all that is needed for modelling a PHY. It is possible to implement additional specific PHYs if needed. The GenericPHY supports integration with the MDIO bus and provides for the basic MII register set.

Network Traffic Capture

The EthernetLink model supports packet capturing in the PCAP format. The PCAP format can either be captured in a file for offline analysis, or in a named pipe (or FIFO). In the latter case it is possible to use Wireshark for live monitoring of simulated network traffic.

Host Network Integration

To allow external software to connect to target software, TEMU 4.5 and later comes with host network integration support. This currently includes a NAT model that bridges between the real host network and the internal TEMU network.

Other protocols may have been added in newer versions of TEMU, consult the model reference for more details.