Skip to content
SPECIFICTION
Get listed

Mininet vs TRex

Mininet

mininet.org

TRex

trex-tgn.cisco.com

Side by side

FigureMininetTRex
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYesYes
Self-hostedYesYes
Plans published11
Spec score · Network Testing Software8.6 (#4)7.9 (#15)
DeploymentMininet networks can connect to real networks, and code developed in Mininet can move to real systems with minimal changes.TRex is a Linux application; the documentation also describes running it in Docker or a VirtualBox virtual machine for experimentation.
SupportThe project directs users to its FAQ, documentation, and mininet-discuss mailing list for support and discussion.The documentation lists a TRex community forum and Cisco DevNet community as support resources.
Use casesMininet supports research, development, learning, prototyping, testing, and debugging.The FAQ lists high scale benchmarks, switch testing, large client and server scale tests, production tests, and routing protocol tests as common use cases.

Plans

Mininet

  • MininetFree

Mininet pricing →

TRex

  • TRexFree

TRex pricing →

In their own words

Mininet

Mininet is a free network emulator that creates virtual hosts, switches, controllers and links on one machine. Its hosts run standard Linux network software on the real Linux kernel and network stack, while switches support OpenFlow. The project describes uses including research, development, learning, prototyping, testing and debugging, including experiments with SDN systems using OpenFlow and P4. A topology-aware and OpenFlow-aware command-line interface supports debugging and network-wide tests. Users can select parameterized topologies or create custom ones, and an extensible Python API supports network creation and experimentation. Mininet networks can connect to real networks, and code developed in Mininet can move to real systems with minimal changes. Installation options include a pre-packaged virtual machine, native installation from source and packages for recent Ubuntu or Debian 11 and later; Fedora support is experimental. Mininet depends on the Linux kernel, while its VM can run through VMware or VirtualBox on Mac, Windows and Linux. Its networks are constrained by a single server's CPU and bandwidth, and it cannot currently run non-Linux-compatible OpenFlow switches or applications. Mininet is released under a permissive BSD open source license.

Visit mininet.org

TRex

TRex is an open source traffic generator for benchmarking platforms with realistic network traffic. It produces Layer 3–7 traffic in stateless, stateful, and advanced stateful modes. Stateless mode supports multiple streams, packet-field changes, and per-stream or per-group statistics, latency, and jitter. Advanced stateful mode emulates Layer 7 traffic over scalable TCP and UDP flows. Emulation includes ARP, IPv6, ND, MLD, IGMP, ICMP, DOT1X, DHCPv4, DHCPv6, and DNS. TRex offers Python automation APIs and a console interface; stateless functions can also be used through JSON-RPC. The manual describes it as a Linux application using DPDK and Linux kernel modules, intended for COTS x86 servers. The site says one server can scale up to 200 Gb/sec. It can run in a virtual machine or Docker for low-performance, low-footprint use, but virtual switches can limit throughput and virtual-machine latency results are not accurate. TRex is free, with hardware and NIC requirements. The GUI monitoring application TRexViewer is supported only on Windows.

Visit trex-tgn.cisco.com