Changes between Version 41 and Version 42 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute


Ignore:
Timestamp:
10/03/13 12:32:23 (6 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v41 v42  
    9696To start our experiment we need to ssh all of our hosts. Depending on which tool and OS you are using there is a slightly different process for logging in. If you don't know how to SSH to your reserved hosts take a look in [wiki:HowTo/LoginToNodes this page.] Once you have logged in follow the rest of the instructions.
    9797
    98 All of the hosts are in the `10.10.1.0/24` subnet. From `host1` try pinging `host2`:
    99 {{{
    100 ping 10.10.1.2
    101 }}}
    102 
    103 This ping should timeout, since there is no controller running.
    104 
    10598=== 3b. Use a Learning Switch Controller ===
    10699
    107 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:
     100In this example we going to run a very simple learning switch controller to forward traffic between host1 and host2.
     101
     1021. First we are going to start a ping from  `host1` to `host2`:
     103{{{
     104ping host2
     105}}}
     106
     107  This ping should timeout, since there is no controller running.
     108
     109
     1102. 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:
    108111
    109112{{{
     
    112115}}}
    113116
    114 Go back to the terminal of `host1` and try to ping `host2` again:
     1173. Go back to the terminal of `host1` and try to ping `host2` again:
    115118
    116119{{{
     
    118121}}}
    119122
    120 Now the ping should work.
    121 
    122 Go back to your OVS host and take a look at the print outs. You should see that your controller installed flows based on the mac addresses of your packets.
    123 
    124 Kill your POX controller by pressing `Ctrl-C`:
     123  Now the ping should work.
     124
     1254. Go back to your OVS host and take a look at the print outs. You should see that your controller installed flows based on the mac addresses of your packets.
     126
     1275. Kill your POX controller by pressing `Ctrl-C`:
    125128
    126129{{{
     
    133136}}}
    134137
    135 Notice what will happen to your ping on host1.
     1386. Notice what will happen to your ping on host1.
    136139
    137140==== Soft vs Hard Timeouts ====
     141
    138142All rules on the switch have two different timeouts:
    139143