= [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial GENI Inter-Aggregate Stitching Tutorial] = {{{ #!html
Image Map
}}} = Step 4: Execute Experiment = To run the experiment we will use two terminals to login to the ''"right-client"'' and the ''"left-client"'' VMs and one browser to connect to the ''"server"'' VM to review results. To get the login information you can use the `readyToLogin` script or the portal. If you don't know how to login to your hosts look at [wiki:GENIExperimenter/Tutorials/StitchingTutorial/AppendixA Appendix A]. '''1.''' Open two windows, one that you are logged in to the `right-client` and one that you are logged in to the `left-client`. '''2.''' Start a browser and navigate to the ''"server's"''s hostname; if you don't know how to find the hostname look at [wiki:GENIExperimenter/Tutorials/StitchingTutorial/AppendixA Appendix A]. For this example experiment the hostname allocated is pcvm1-15.instageni.stanford.edu: [[Image(GENIExperimenter/Graphics:server-web.jpg,65%)]] '''3.''' Now let's generate some traffic to determine how much capacity we can use on each link type: In the ''"right-client"'' window issue: {{{ right-client$ /usr/bin/iperf -c 192.168.1.2 -t 30 -P 5 }}} In the ''"left-client"'' window issue: {{{ left-client$ /usr/bin/iperf -c 10.10.1.2 -t 30 -P 5 }}} '''4.''' Back in the browser. Refresh the web page and you should see the results for both iperf tests: ''Note: '' The interface capacity for all links was set to '' '''20 Mbits/sec''' '' in the RSpec used for this tutorial. [[Image(GENIExperimenter/Graphics:server-web2.jpg)]] '''5.''' Time permitting! Let's exchange some layer 2 traffic by using PingPLus. Add a third terminal window which is logged into the ''"server"'' host. Determine the 2 Data Plane interfaces and remove the IP of the two interfaces. Take note of the MAC address for the 192.168.1.2 and 10.10.1.2 interfaces and start the ping listener. {{{ server$ sudo /sbin/ifconfig ethXXX 0 server$ sudo /sbin/ifconfig ethYYY 0 server$ sudo /local/stitch-tutorial/pingPlus_v3/pingPlusListener 10000 }}} ''Note:'' A ping listener process was started for you by the installation script. In the ''"right-client"'' window remove the IP from the dataplane interface (ethXXX) and run layer2 ping to ''"server's"'' MAC address (XX:XX:XX:XX:XX:XX) for the 192.168.1.0 network via the ethXXX interface: {{{ right-client$ sudo /sbin/ifconfig ethXXX 0 right-client$ sudo /local/stitch-tutorial/scripts/runPingPlus.sh XX:XX:XX:XX:XX:XX ethXXX }}} In the ''"left-client"'' window remove the IP from the dataplane interface (ethYYY) and run layer2 ping to ''"server's"'' MAC address (YY:YY:YY:YY:YY:YY) for the 10.10.1.0 network via the ethYYY interface: {{{ left-client$ sudo /sbin/ifconfig ethYYY 0 left-client$ sudo /local/stitch-tutorial/scripts/runPingPlus.sh YY:YY:YY:YY:YY:YY ethYYY }}} The experiment is now completed; time to release resources! = [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial Introduction] = = [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/StitchingTutorial/Finish Finish] =