Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/NSDI13/OpenFlowTutorial/Execute
- Timestamp:
- 03/12/13 10:47:20 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/NSDI13/OpenFlowTutorial/Execute
v4 v5 191 191 In the above example we ran a very simple controller. The power of OpenFlow comes from the fact that you can decide to forward the packet anyway you want based on the supported OpenFlow actions. 192 192 193 As a first exercise we are going to take advantage of OpenFlow's ability to rewrite the src or destination port, and we are going to have two servers on the same host listening on different ports and dynamically diverge the packets to a server by rewriting the destination TCP port. In order to do that do the following: 194 1. Open a second terminal on `host2` 195 2. On each terminal of `host2` run a netcat server on a different port: 196 {{{ 197 nc -l 5000 198 }}} 199 {{{ 200 nc -l 6000 201 }}} 202 193 203 == Run a server deflection Controller == 194 204