Packet Gateway configuration
You can configure a simulation for Packet Gateway (PGW) using the pgw configuration section that contains all parameters required for such a simulation:
See the example of the PGW configuration:
Multiple PGWs
The sgwsimulatorv2 binary connects to every PGW listed in instances on start.
Each new session goes to a randomly selected PGW, unless its behaviour pins the session to a named PGW with the pgw parameter.
See the connect and probe_session behaviours in User equipment configuration.
The simulator stops with an error when instances is empty, when two instances have the same name, or when a behaviour references a name that no instance has.
The following configuration defines two named PGWs: