Changes between Version 67 and Version 68 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute
- Timestamp:
- 07/22/14 08:19:37 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowOVS/Execute
v67 v68 24 24 25 25 To get ready for the tutorial you will need to have the following windows open: 26 * three windows with ssh into OVS 26 * one window with ssh into the controller 27 * two windows with ssh into OVS 27 28 * one windows with ssh into host1 28 29 * two window with ssh into host2 … … 79 80 === 2c. Point your switch to a controller === 80 81 82 Find the control interface IP of your controller, use ifconfig and note down the IP of `eth0`. 83 81 84 An !OpenFlow switch will not forward any packet, unless instructed by a controller. Basically the forwarding table is empty, until an external controller inserts forwarding rules. The !OpenFlow controller communicates with the switch over the control network and it can be anywhere in the Internet as long as it is reachable by the OVS host. For the purpose of this tutorial and in order to minimize the resources we have reserved we are going to run !OpenFlow controller at the same host as the OVS switch. This is '''merely''' for convenience reasons, the controller could have been anywhere on the Internet. 82 85 83 86 In order to point our software !OpenFlow switch to the controller run: 84 87 {{{ 85 sudo ovs-vsctl set-controller br0 tcp: 127.0.0.1:663388 sudo ovs-vsctl set-controller br0 tcp:<controller_ip>:6633 86 89 }}} 87 90 … … 119 122 }}} 120 123 121 2. We have installed the POX controller under `/ local/pox` on the OVS host. POX comes with a set of example modules that you can use out of the box. One of the modules is a learning switch. Let's start the learning switch controller which is already available:122 {{{ 123 cd / local/pox124 2. We have installed the POX controller under `/tmp/pox` on the OVS host. POX comes with a set of example modules that you can use out of the box. One of the modules is a learning switch. Let's start the learning switch controller which is already available: 125 {{{ 126 cd /tmp/pox 124 127 ./pox.py --verbose forwarding.l2_learning 125 128 }}}