SGW Simulator
SGW Simulator is a standalone application that simulates 4G SGW and connected user equipments (UEs). These UEs can perform various behaviours, such as connecting, downloading HTTP, or pinging. You can also use SGW Simulator for basic tests of packet gateways (PGWs) without involving real SGW.
SGW Simulator supports the following features:
- Provide the GTPv2 connection to Session Management Controller (SMC)
- Simulate user equipments, one or many
- Provide multiple automatic behaviours for UEs, such as
connect,download_http,ping_target, andupdate_location - Provide a socket or memif interfaces for the GTP-U traffic
- Provide a tap interface in a container, which allows you to send your own traffic using curl, ping, ping6, and other tools
- Support both IPv4 and IPv6 connections
- Simulate more than one SGW
SGW Simulator supports both generating the traffic and encapsulating the user traffic. It is possible by using the following network stack (example for memif):
This scheme allows you to use high-performance memif interfaces for SGW Simulator's own traffic and moderate tap for user-defined traffic.