Changes between Version 60 and Version 61 of GENIExperimenter/Tutorials/ClickExample/Execute


Ignore:
Timestamp:
07/16/14 15:29:44 (10 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/ClickExample/Execute

    v60 v61  
    209209The extractor script produces a click configuration file for each of your routers. 
    210210  i. On a local terminal run the following command four times, each time substituting the `<router_name>` with one of `top`, `bottom`, `left`, `right`:
    211   {{{
     211{{{
     212#!div style="background: #ffd; border: 2px ridge; width: 685px;"
     213{{{
    212214remote-execute --useSliceAggregates <slicename> -m "sh ./startClick.sh"
    213215}}}
    214   You'll get output like this. (Don't worry if you get warning messages, Click is just reminding you that you have no IP addresses in your core network.) The output of the click router is redirected to `/tmp/click.out` on each host.
    215 
    216   {{{
     216You'll get output like this.
     217{{{
    217218Stopping any running Click routers
    218219Starting Click router
     
    222223  warning: eth4: no IPv4 address assigned
    223224}}}
     225}}}
     226
     227(Don't worry if you get warning messages, Click is just reminding you that you have no IP addresses in your core network.) The output of the click router is redirected to `/tmp/click.out` on each host.
    224228
    225229Congratulations! 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.
     
    230234 i. In your terminal window on '''hostB''', instruct '''nc''' to listen for a UDP connection on port 24565 (or some other port that catches your fancy).
    231235{{{
     236#!div style="background: #fdd; border: 2px ridge; width: 450px; margin-left:50px;"
     237   {{{
     238[mberman@hostb ~]$ nc -ul 24565
     239   }}}
     240}}}
     241 i. Connect to it from your terminal window on '''hostA''':
     242{{{
    232243#!div style="background: #ddf; border: 2px ridge; width: 450px; margin-left:50px;"
    233    {{{
    234 [mberman@hostb ~]$ nc -ul 24565
    235    }}}
    236 }}}
    237  i. Connect to it from your terminal window on '''hostA''':
    238 {{{
    239 #!div style="background: #fdd; border: 2px ridge; width: 450px; margin-left:50px;"
    240244   {{{
    241245#!sh
     
    402406ii. Go to your window for '''hostA''', where your '''nc''' command is still running. Type a message into this window. You should see a log message in three of your four router windows.
    403407{{{
    404 #!div style="background: #fdd; border: 2px ridge; width: 685px;"
     408#!div style="background: #ddf; border: 2px ridge; margin-left:50px;"
    405409   {{{
    406410#!sh
     
    420424iv. Try typing a few different lines to '''hostA'''.
    421425{{{
    422 #!div style="background: #fdd; border: 2px ridge;width: 685px; "
     426#!div style="background: #ddf; border: 2px ridge; margin-left:50px;"
    423427   {{{
    424428[mberman@hostb ~]$ nc -ul 24565