Mininets Command & Flow mapping
With the help of Mininet, you can create the Virtual switch and Host and these switches are capable of listening OpenFlow protocols massages.
Mininet has rich set of CLI argument some of them are :
–Topo: it is used to tell Mininet what kind of topology is going to be build. Some pre defines topologies in Mininet are linear, Tree and minimal.
–mac: This feature generates the MAC address of Hosts based on host ID.
-V debug: It is used for debugging output of Mininet.
–arp: This will generates ARP table of hosts with the ARP entries of each other. If you have two hosts h1 and h2 , using –arp its gives the h2 Mac address inside the ARP table of h1 and vice versa.
–test ipref or –test pingall: Once topology is created , with this command , all host will start ping to each other. Iperf will generates UDP packets between source and destination.
Some Mininet command line are also discussed here :
Net : This will show the topology and connectivity between hosts and switches in Mininet
Links: This will show you links between host and switches and also test them.