| 1 | [[PageOutline]] |
| 2 | |
| 3 | = OpenFlow NAT Example = |
| 4 | |
| 5 | == Description == |
| 6 | In this tutorial, we will show how do [http://en.wikipedia.org/wiki/Network_address_translation Network address translation (NAT)] using OpenFlow on GENI. |
| 7 | |
| 8 | == Topology == |
| 9 | [[Image(openflow-nat-topology.png, 35%, nolink)]] |
| 10 | |
| 11 | == Prerequisites: == |
| 12 | - A GENI account, if you don't have one [wiki:SignMeUp sign up!] '''(These links are not valid. But they will be after we move this page to geni wiki from syseng wiki)''' |
| 13 | - Familiarity with how to reserve GENI resources with any of the GENI Tools (GENI Experimenter Portal, Omni, Flack). If you don't know you can take any of the tutorials: |
| 14 | * Reserving resources using Flack [wiki:GENIExperimenter/Tutorials/RunHelloGENI tutorial] |
| 15 | * Reserving resources using Omni [wiki:GENIExperimenter/Tutorials/HelloOmni tutorial] |
| 16 | - Familiarity with [wiki:HowTo/LoginToNodes logging in to GENI compute resources]. |
| 17 | - Basic understanding of the [http://www.openflow.org OpenFlow controller model] and API is required. |
| 18 | - The OpenFlow specification, [http://www.openflow.org/documents/openflow-spec-v1.1.0.pdf version 1.1.0] is a valuable reference for OpenFlow and the controller model. |
| 19 | - Familiarity with Unix Command line |
| 20 | - (Optional) Familiarity with python programming language. We are going to use the [http://osrg.github.io/ryu/ Ryu controller], and this is just an example of [wiki:OpenFlow/Controllers many controllers]. |
| 21 | |
| 22 | == Tools: == |
| 23 | - [http://openvswitch.org/ Open vSwitch]. OVS is already be installed on your host. Installation was completed as described [http://groups.geni.net/geni/wiki/HowTo/InstallOVSInProtoGENI here]. |
| 24 | - [http://osrg.github.io/ryu/ Ryu controller]. Ryu controller is installed in your host as part of the sliver creation. |
| 25 | |
| 26 | == Where to get help: == |
| 27 | - If you need help with GENI, email [mailto:help@geni.net] |
| 28 | - If you have questions about !OpenFlow, OVS, Ryu you can subscribe to [https://mailman.stanford.edu/mailman/listinfo/openflow-discuss openflow-discuss] or any of the other mailing lists listed. |
| 29 | |
| 30 | == Resources: == |
| 31 | - [http://www.openflow.org/ Learn more about OpenFlow] |
| 32 | - [http://osrg.github.io/ryu/ Ryu controller] |
| 33 | - [http://openvswitch.org/ Learn more about OVS] |
| 34 | |
| 35 | |
| 36 | == Tutorial Instructions == |
| 37 | {{{ |
| 38 | #!html |
| 39 | |
| 40 | |
| 41 | <table id="Table_01" height="409" border="0" cellpadding="0" cellspacing="0"> |
| 42 | <tr> |
| 43 | <td> |
| 44 | <a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/DesignSetup"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/design.png?format=raw" width="152" height="152" alt="Design/Setup"></a> |
| 45 | </td> |
| 46 | <td> |
| 47 | <ul> |
| 48 | <li><a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/DesignSetup">Part I: Design/Setup</a></li> |
| 49 | <ul> |
| 50 | <li> Lists of steps for setting up the example </li> |
| 51 | </ul></ul> |
| 52 | </td> |
| 53 | </tr> |
| 54 | <tr> |
| 55 | <td> |
| 56 | <a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/Execute"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/execute.png?format=raw" width="152" height="143" alt="Execute"></a> |
| 57 | </td> |
| 58 | <td> |
| 59 | <ul> |
| 60 | <li><a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/Execute">Part II: Execute</a></li> |
| 61 | <ul> |
| 62 | <li> Lists of steps for executing the example</li> |
| 63 | </ul></ul> |
| 64 | </td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td> |
| 68 | <a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/Finish"><img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/finish.png?format=raw" width="152" height="114" alt="Finish"></a> |
| 69 | </td> |
| 70 | |
| 71 | <td> |
| 72 | <ul> |
| 73 | <li><a href="http://groups.geni.net/syseng/wiki/JoeSandbox/OpenFlowNATExample/Finish">Part III: Finish</a></li> |
| 74 | <ul> |
| 75 | <li> Lists of steps for tearing down the example</li> |
| 76 | </ul></ul> |
| 77 | </td> |
| 78 | |
| 79 | </tr> |
| 80 | </table> |
| 81 | |
| 82 | }}} |