Changes between Version 27 and Version 28 of ClickExampleExperiment


Ignore:
Timestamp:
12/05/12 10:57:03 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClickExampleExperiment

    v27 v28  
    1616Information on obtaining GENI credentials and omni is available at SignMeUp and [wiki:HowToUseOmni] or by contacting [mailto:help@geni.net].
    1717
    18 == Setup ==
     18== 1. Setup ==
    1919
    2020Create a new directory, '''click-example''', on your machine. You will do the rest of your work from this directory.
     
    4141(Optional) You'll be making heavy use of your private key to log into your ProtoGENI hosts in the steps below. If your key is encrypted, you might want to take a look at ways for [wiki:HowTo/LoginToNodes#ManagingSSHKeys managing your ssh keys] to make this easier.
    4242
    43 == Obtain your resources ==
     43== 2. Obtain your resources ==
    4444
    4545Create your slice. Please don't use my stupid slice name.  This example will use the Utah ProtoGENI site. You can choose a different site by selecting a different aggregate manager with the -a switch.
     
    111111'''Tip''': If you want to login to your hosts from a different host than the one you are running Omni on, take a look [wiki:HowTo/LoginToNodes here] for some tips about how to do this.
    112112
    113 == Configure your routers ==
     113== 3. Configure your routers ==
    114114
    115115''In each of your four router hosts,'' run the extractClickConfig script as shown below.
     
    145145The four routers interconnected by solid lines are your "core network," which will run a non-standard, non-IP protocol. The dashed lines out to the end hosts carry standard IP traffic.
    146146
    147 == Turn off internet protocol ==
     147== 4. Turn off internet protocol ==
    148148
    149149At this point, your network is still running IP. You can check by running a ping. In your '''hosta''' terminal window, run this command.
     
    193193}}}
    194194
    195 == Start your routers ==
     195== 5. Start your routers ==
    196196
    197197The extractor script produces a click configuration file for each of your routers.  ''On each of your four router hosts,'' run this command:
     
    214214Congratulations! You are now running a non-IP core network on your four routers, along with a (primitive) non-IP multipath routing algorithm. You're ready to experiment with this configuration.
    215215
    216 == Send some traffic ==
     216== 6. Send some traffic ==
    217217
    218218Now you'll use your two edge hosts, '''hostA''' and '''hostB''' to send traffic along your network.  Since these end hosts are not running your modified protocol, they'll rely on the '''top''' and '''bottom''' routers to transform their IP packets into your modified protocol on entry to the core network and back into IP packets on exit.
     
    232232That's it!  Now, let's look inside to see what's going on.
    233233
    234 == Looking under the hood ==
     234== 7. Looking under the hood ==
    235235
    236236Please note: the interface names and MAC addresses below are for the sample configuration shown in the figure above. You will want to refer to your network diagram to get the correct interfaces and addresses for your configuration.
     
    340340Try typing a few lines to hostB. You should see similar behavior, but starting from '''bottom''' and working up. You'll also see the different value inserted in the new header field.
    341341
    342 == Clean up ==
     342== 8. Clean up ==
    343343
    344344When you're done, please release your resources so they'll be available to others.