Changes between Version 67 and Version 68 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute


Ignore:
Timestamp:
07/22/14 08:19:37 (10 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowOVS/Execute

    v67 v68  
    2424
    2525To 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
    2728  * one windows with ssh into host1
    2829  * two window with ssh into host2
     
    7980=== 2c. Point your switch to a controller ===
    8081
     82Find the control interface IP of your controller, use ifconfig and note down the IP of `eth0`.
     83
    8184An !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.
    8285
    8386In order to point our software !OpenFlow switch to the controller run:
    8487{{{
    85 sudo ovs-vsctl set-controller br0 tcp:127.0.0.1:6633
     88sudo ovs-vsctl set-controller br0 tcp:<controller_ip>:6633
    8689}}}
    8790
     
    119122  }}}
    120123
    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/pox
     124  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
    124127  ./pox.py --verbose forwarding.l2_learning
    125128  }}}