Applicable VersionsNetSim StandardNetSim Pro

Note: The following explanation is provided assuming that you have performed all necessary configurations required to divert network traffic via the system running NetSim Emulator. (This is explained in the Emulation technology library Manual).


The following parameters are specific to the Emulation Application in NetSim:

1. Source_Real_IP

2. Source_Port

3. Destination_Real_IP

4. Destination_Port


Unlike Simulation, if users want to connect real devices running live applications to the simulator, then the Emulation component is required. The Emulation Application in the traffic generator allows users to pump real traffic into the Simulator.

The real application is mapped using the source and destination IP addresses that we set in the Emulation Application. 


Various combinations of Emulation Parameters are as follows:


1. Device Specific Emulation:


Example 1:

SOURCE_REAL_IP = 192.168.0.151 

SOURCE_PORT = 0

DESTINATION_REAL_IP = 192.168.0.202

DESTINATION_PORT = 0


Dispatches all packets with the source real IP 192.168.0.151 and destination real IP as 192.168.0.202, into the Simulator.


Example 2:

SOURCE_REAL_IP = 192.168.0.151 

SOURCE_PORT = 0

DESTINATION_REAL_IP = 0.0.0.0

DESTINATION_PORT = 0


Dispatches all packets from source real IP 192.168.0.151 regardless of whatever is the destination real IP, into the Simulator.


Example 3:

SOURCE_REAL_IP = 0.0.0.0

SOURCE_PORT = 0

DESTINATION_REAL_IP = 192.168.0.202

DESTINATION_PORT = 0


Dispatches all packets to destination real IP 192.168.0.202 regardless of whatever is the source real IP, into the Simulator. 


Example 4:

SOURCE_REAL_IP = 0.0.0.0 

SOURCE_PORT = 0

DESTINATION_REAL_IP = 0.0.0.0

DESTINATION_PORT = 0


Dispatches all packets that are reaching the Emulator Device regardless of whatever is the source or destination, into the Simulator.


2. Application-Specific Emulation


Example 1:

SOURCE_REAL_IP = 192.168.0.151 

SOURCE_PORT = 5004

DESTINATION_REAL_IP = 192.168.0.202

DESTINATION_PORT = 6245


Dispatches all packets with the source real IP 192.168.0.151, source Port No 5004, destination real IP as 192.168.0.202, and destination Port No 6245 into the Simulator.



Emulation Specific Metrics:


On running an Emulation Application Users can optionally obtain the following log files which are WIRESHARK compatible .pcap files:


All_Network_Packets  - Log of all network packets flowing via the system running NetSim Emulator.

Dispatched_To_Emulator - Log of network packets for which Emulation Application is configured in NetSim.

Reinjected_From_Emulator - Log of network packets that have successfully reached the virtual destination node in NetSim Simulator.

Not_Dispatched_To_Emulator - Log of network packets for which we have not configured any Emulation Application.


Related articles:

when-i-run-ping-in-emulation-why-is-it-showing-round-trip-delay-but-only-one-direction-delay-