Executing the Simple Switching Hub

For our demonstration, we shall be using the same topology utilized in the previous Net Apps, which have three hosts, one switch, and one controller.

Open a new terminal tab and run the following:

$ sudo mn --topo single,3 --mac --switch ovsk --controller remote –x

This will create a linear topology and open an xterm to all the devices, as shown in the following screenshot:

The status of the switch can be seen using the ovs-vsctl show command, where the OpenFlow version is provided.

Next, we set the OpenFlow version to version 1.3 using ovs-vsctl set Bridge s1 protocols=OpenFlow13.

Next, we execute the Ryu Controller on the xterm of the controller (C0) based on the switching hub using the following command:

ryu-manager --verbose ryu.app.example_switch_13

The following is the screenshot for this:

Now we have to confirm that the table-miss flow entry has been added to the switch 1 (s1)

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

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