In order to further explain how MiniEdit runs a simulation, we will run the simulation of the given preceding topology. In this simulation, we will monitor the flow of traffic using Wireshark; the flow table will also be monitored on the OpenFlow enables switch, and to achieve this, we shall be pinging from host 1 to host 2. The steps taken are listed as follows and the figure shows the captured result:
- Click on Run at the bottom of the page to start the simulation process.
- Right-click on the host 1 (h1), open the terminal and type the sudo wireshark & command to open the Wireshark packet monitor.
- In the Wireshark filter pane, input of to filter just the OpenFlow protocol
- Set the capture interface as eth1 of the h1 device.
- In the terminal of the host 1, type Ping 10.0.0.2 in order to ping host 2.
- The Wireshark then captures the traffic traversing the interface.
- In order to check the flow tables on the switch 1, you have to run the sudo ovs-ofctl dump flow s1 command.
The following screenshot shows the result of pings from host 1 to host 2, monitoring the Wireshark interface and the flow tables present in switch 1: