Changes between Version 41 and Version 42 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute
- Timestamp:
- 10/03/13 12:32:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowOVS/Execute
v41 v42 96 96 To 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. 97 97 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.2101 }}}102 103 This ping should timeout, since there is no controller running.104 105 98 === 3b. Use a Learning Switch Controller === 106 99 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: 100 In this example we going to run a very simple learning switch controller to forward traffic between host1 and host2. 101 102 1. First we are going to start a ping from `host1` to `host2`: 103 {{{ 104 ping host2 105 }}} 106 107 This ping should timeout, since there is no controller running. 108 109 110 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: 108 111 109 112 {{{ … … 112 115 }}} 113 116 114 Go back to the terminal of `host1` and try to ping `host2` again:117 3. Go back to the terminal of `host1` and try to ping `host2` again: 115 118 116 119 {{{ … … 118 121 }}} 119 122 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 125 4. 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 127 5. Kill your POX controller by pressing `Ctrl-C`: 125 128 126 129 {{{ … … 133 136 }}} 134 137 135 Notice what will happen to your ping on host1.138 6. Notice what will happen to your ping on host1. 136 139 137 140 ==== Soft vs Hard Timeouts ==== 141 138 142 All rules on the switch have two different timeouts: 139 143