309 | | == 3c. Enable Layer 2 forwarding at PC@Utah == |
| 309 | == 3c. Enable Layer 2 forwarding at PCUT == |
| 310 | If we try to ping PCRemote from VMUT, the packets will not get through, since there is no |
| 311 | router running at PCUT that will forward the packets along. For this tutorial we have installed |
| 312 | click router on PCUT, and we are going to run a simple learning switch module. However you can |
| 313 | imagine that you can implement a more complicated routing algorithm. |
| 314 | In order to start the click router, at PCUT run : |
| 315 | {{{ |
| 316 | cd |
| 317 | sudo /usr/local/bin/click switch.click |
| 318 | }}} |
| 319 | The MAC address of PCRemote is 00:24:E8:77:89:B6 |
| 320 | |
| 321 | Then from VMUT, try to ping PCRemote |
| 322 | {{{ |
| 323 | [inki@VMUT ~/pingPlus]$ sudo ./pingPlus 00:24:E8:77:89:B6 <INTERFACE_NAME> <ETH_TYPE> |
| 324 | }}} |
| 325 | |
| 326 | The output should look like : |
| 327 | {{{ |
| 328 | [inki@VMUT ~/pingPlus]$ sudo ./pingPlus 00:24:E8:77:89:B6 eth419 10000 |
| 329 | audit_log_user_command(): Connection refused |
| 330 | RQ:'7124+8793' to 0:24:e8:77:89:b6. |
| 331 | RL:7124+8793=15917 from 0:24:e8:77:89:b6 |
| 332 | }}} |
| 333 | |
| 334 | Congratulations you have run a Layer 2 experiment that spans across the United States! |
317 | | For each createsliver that you have run, you will need to run deletesliver to |
318 | | release the resources |
319 | | {{{ |
320 | | omni.py deletesliver -a <AM URL> sliceomni## |
321 | | }}} |
| 342 | We are going to use Omni to release our resources, For each AM that you have used |
| 343 | you should delete your sliver. In the tutorial we used the AMs at Kentucky and at Utah. |
| 344 | |
| 345 | From the terminal that you were using to run your Omni commands, run |
| 346 | |
| 347 | {{{ |
| 348 | omni.py deletesliver -a pg-utah sliceomni## |
| 349 | omni.py deletesliver -a pg-kentucky sliceomni## |
| 350 | }}} |
| 351 | |
| 352 | |