Changes between Version 23 and Version 24 of GENIExperimenter/Tutorials/HelloOmni


Ignore:
Timestamp:
11/15/12 12:38:43 (11 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/HelloOmni

    v23 v24  
    150150
    151151
    152 == 5b. Send IP traffic ==
    153 The first simple experiment that we will run is to verify the IP connectivity
    154 between our hosts.
    155   i. Check the interfaces of your nodes. In the terminal type:
    156   {{{
     152  2. '''Send IP traffic''' The first simple experiment that we will run is to verify the IP connectivity between our hosts.
     153    i. Check the interfaces of your nodes. In the terminal type:
     154    {{{
    157155   /sbin/ifconfig
    158156  }}}
    159   You should see at least two interfaces:
     157    You should see at least two interfaces:
    160158    * The '''control interface'''. This is the interface from where you access
    161159    the node, e.g. ssh into your host. The control interface is mainly used for
     
    166164    of your experiment through GENI. The links between these interfaces are the
    167165    ones that allow you to run non-IP experiments.
    168   i. Note the name and the MAC address of the control and of the data interface for each node. The data interface is the one that has an IP that starts with 10.
    169   i. From the client ping the server. From the xterm that is logged in to the
    170   client type :
    171   {{{
     166    i. Note the name and the MAC address of the control and of the data interface for each node. The data interface is the one that has an IP that starts with 10.
     167    i. From the client ping the server. From the xterm that is logged in to the client type :
     168    {{{
    172169    ping server -c 5
    173170  }}}
    174   '''Note''': You can use the name that is assigned to the host to directly ping
     171    '''Note''': You can use the name that is assigned to the host to directly ping
    175172  the host, you can also ping using the IP of the data interface of the node.
    176173  An example output should look like :
     
    189186}}}
    190187
    191 == 5c. Send non-IP traffic ==
    192 GENI provides the capability of running non-IP experiments, since you can
    193 connect your hosts at Layer 2. For the purpose of this tutorial we have
    194 installed in all the hosts a very simple Layer 2 ping program that sends packets
    195 using a custom ethernet type.
    196   i. Disable the IP in your nodes. First of all we are going to completely
    197   disable IP on our nodes. In each of the terminals type:
    198   {{{
     188  3. '''Send non-IP traffic'''. GENI provides the capability of running non-IP experiments, since you can connect your hosts at Layer 2. For the purpose of this tutorial we have installed in all the hosts a very simple Layer 2 ping program that sends packets using a custom ethernet type.
     189    i. Disable the IP in your nodes. First of all we are going to completely disable IP on our nodes. In each of the terminals type:
     190    {{{
    199191  sudo /sbin/ifconfig <data i/f name> 0.0.0.0
    200192  }}}
    201   '''Note''': Be extra careful to bring down the IP on the data interface,
     193    '''Note''': Be extra careful to bring down the IP on the data interface,
    202194  bringing down the IP on the control interface means that you will lose
    203195  connectivity to your host.
    204   ii. Try again to ping from the client to the server. In the xterm of the
    205   client type:
    206   {{{
     196    i. Try again to ping from the client to the server. In the xterm of the client type:
     197    {{{
    207198  ping server -c 5
    208199  }}}
    209   This time the ping should timeout.
    210   iii. Start the Layer 2 ping server: In the server xterm, type:
    211   {{{
     200    This time the ping should timeout.
     201    i. Start the Layer 2 ping server: In the server xterm, type:
     202    {{{
    212203  sudo /usr/local/bin/pingPlusListener 12345
    213204  }}}
    214   iii. From the client try to ping the server at layer 2. You will need the mac
     205    i. From the client try to ping the server at layer 2. You will need the mac
    215206  address of the data interface of the server and the name of the data interface
    216207  of the client. In the xterm of the client, type:
    217   {{{
     208    {{{
    218209  sudo /usr/local/bin/pingPlus <server data mac addr> <client data i/f name> 12345
    219210  }}}
    220211
    221   The result should look like :
    222   {{{
     212    The result should look like :
     213    {{{
    223214[uncusr20@client ~]$ sudo /usr/local/bin/pingPlus 02:00:9B:48:3E:20 mv1.1 12345
    224215RQ:'5582+2067' to 2:0:9b:48:3e:20.
     
    228219Congratulations you have run a Layer 2 experiment in GENI!
    229220
    230 = 6. Cleanup resources =
     221= 4. Cleanup =
    231222Although all your reservations, have expiration times, you should always release
    232223your resources once you have completed your experiment to make them available
    233224to other experimenters.
    234   i. In the terminal, where you have been running your omni commands do:
     225  1. In the terminal, where you have been running your omni commands do:
    235226  {{{
    236227omni.py deletesliver -a  pg-utah <slicename>
    237228}}}
    238 
    239 = 7. Wrap up =
    240 Congratulations, you have finished the tutorial! Now you are ready to design and
    241 run your own experiments. Don't hesitate to [mailto:help@geni.net email us] with
    242 any questions you might have.
    243 
    244 == 7a. Fill out the tutorial survey ==
    245 We love to hear what you think so that we can improve the tutorials in the future.
    246 Please complete the [http://tinyurl.com/8kxm6ys online survey] and get a temporary GENI tatoo!
    247 
    248 == 7b. Get Your Own Account ==
    249 The accounts, that you used in the above steps will be deactivated after the
    250 tutorial. If you do not already have an account at GPO's ProtoGENI cluster, you
    251 should can follow [wiki:GEC15Agenda/ExperimenterDropIn/GetAGENIAccount these instructions]
    252 to get an account and start using GENI.