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 ...

Get Software-Defined Networking with OpenFlow - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.