You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host,Start_row,End_row,Number,IP
Please explain the specific meaning of the above words in the mapper_file
It will be nice if there is an example of pcap->ditg script
The text was updated successfully, but these errors were encountered:
Hi @NigelBoxing! Apologies for the unclear documentation.
The assumption is that the PCAP file might have a huge number of IPs floating around. For ex. there might be 1000 IPs that are encountered in the PCAP file. This list of all IPs encountered in the PCAP file can be generated using:
Now, when you're replaying the traffic, you might be doing so using lesser number of hosts (say 4 hosts). So, you would need to map those 1000 IPs (assuming you want to use all traffic) generated in the list_file.
Now, you can decide on how to map these 1000 IPs onto 4 hosts to be able to generate the DITG scripts to be run on these 4 hosts.
You can do this any way you want:
You could split 250 among all
You could do 700, 100, 100, 100
and so on...
Now, the mapper_file defines how you want to map these 1000 IPs in the PCAP file (or how many ever of those 1000 that you want to use) to these 4 host IPs.
Now host and IP are host name and IP of the hosts in your experiment's topology and I will try to explain start row, end row and number using an example:
Ex. 1: You have 1000 IPs in the list_file (generated as shown above). You want to use 800 of these IPs and map them equally onto 4 hosts
The mapper file should look like:
Ex. 2: You have 1000 IPs in the list_file (generated as shown above). You want to use 500 of these IPs and map them h1: first 200, h2: 50 between 250-300, h3: 150 between 600-750, h4: 100 between 800-900
Host,Start_row,End_row,Number,IP
Please explain the specific meaning of the above words in the mapper_file
It will be nice if there is an example of pcap->ditg script
The text was updated successfully, but these errors were encountered: