Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/NSDI13/OpenFlowTutorial/Execute


Ignore:
Timestamp:
03/12/13 10:47:20 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/NSDI13/OpenFlowTutorial/Execute

    v4 v5  
    191191In 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.
    192192
     193As 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
    193203== Run a server deflection Controller ==
    194204