Eder Ollora
unread,Apr 10, 2022, 4:27:23 AM4/10/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ONOS Developers, Ozgur, Eder Ollora Zaballa, oabuh...@nevada.unr.edu
Hi,
It all depends on what you call "real". As Hadi said, you can create flows by running iperf. If you want to keep it "real", you could try to find papers that have analyzed the traffic patterns found in University networks, or Data Center networks (or any other network). Those papers usually talk about the number of different flows (which would be, in rough terms, the same as running n number times the iperf command). You would also have data about how many hosts there are (and create them in Mininet), the TCP/UDP proportion, the types of traffic... It all depends on how "realistic" you want your traffic to look like.
You can also try to replay pcap files, but I am not sure if that would work for you (I do not know if you can keep timings par to the pcap). I do not know if you can make all your hosts run "the same exact packets" as you find in a pcap. I guess pcap files are more common to analyze traffic, but still, the possibility exists. I know tcpreplay and scapy allow that but again, if you replay a pcap file I guess that is traffic running from one host (only), so no other host in Mininet will interact with that "pcap-replayer", unless you modify pcap packet data like MAC/IP addresses and, maybe, trim certain packets from it.
In summary, if you just need a host to send packets found in real datasets, then you have plenty of pcaps on the internet [
1,
2,
3]. Many of those datasets are related to security and attacks, but you get my point. If you want a Mininet network to behave and send the same packets found in a pcap file or a dataset, then this is more complicated. IMO, it is much easier to consider a few variables (TCP/UDP % packets, number of floes, size of packets, etc.) and re-create this patten with iperf and a few scripts in Mininet hosts (if this method makes sense to you).
Cheers,