Changes between Version 60 and Version 61 of GENIExperimenter/Tutorials/ClickExample/Execute
- Timestamp:
- 07/16/14 15:29:44 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/ClickExample/Execute
v60 v61 209 209 The extractor script produces a click configuration file for each of your routers. 210 210 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 {{{ 212 214 remote-execute --useSliceAggregates <slicename> -m "sh ./startClick.sh" 213 215 }}} 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 {{{ 216 You'll get output like this. 217 {{{ 217 218 Stopping any running Click routers 218 219 Starting Click router … … 222 223 warning: eth4: no IPv4 address assigned 223 224 }}} 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. 224 228 225 229 Congratulations! 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. … … 230 234 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). 231 235 {{{ 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 {{{ 232 243 #!div style="background: #ddf; border: 2px ridge; width: 450px; margin-left:50px;" 233 {{{234 [mberman@hostb ~]$ nc -ul 24565235 }}}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;"240 244 {{{ 241 245 #!sh … … 402 406 ii. 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. 403 407 {{{ 404 #!div style="background: # fdd; border: 2px ridge; width: 685px;"408 #!div style="background: #ddf; border: 2px ridge; margin-left:50px;" 405 409 {{{ 406 410 #!sh … … 420 424 iv. Try typing a few different lines to '''hostA'''. 421 425 {{{ 422 #!div style="background: # fdd; border: 2px ridge;width: 685px;"426 #!div style="background: #ddf; border: 2px ridge; margin-left:50px;" 423 427 {{{ 424 428 [mberman@hostb ~]$ nc -ul 24565