Running a Mininet topology simulation, generating logs, and monitoring the flow table

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:

  1. Click on Run at the bottom of the page to start the simulation process.
  2. Right-click on the host 1 (h1), open the terminal and type the sudo wireshark & command to open the Wireshark packet monitor.
  3. In the Wireshark filter pane, input of to filter just the OpenFlow protocol
  1. Set the capture interface as eth1 of the h1 device.
  2. In the terminal of the host 1, type Ping 10.0.0.2 in order to ping host 2.
  3. The Wireshark then captures the traffic traversing the interface.
  4. 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:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset