Changes between Version 33 and Version 34 of GENIExperimenter/Tutorials/StitchingTutorial/Execute
- Timestamp:
- 06/06/14 14:52:07 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/StitchingTutorial/Execute
v33 v34 20 20 = Step 4: Execute Experiment = 21 21 22 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. 22 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]. 23 24 '''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`. 23 25 24 26 25 '''1.''' Start 2 terminal windows and use the `readyToLogin` script to determine the login information for the client hosts: 26 27 Window 1: 28 {{{ 29 $ readyToLogin -a <rightAggr> MySlice 30 .... 31 $ ssh -i right-client.... 32 ... 33 }}} 34 Window 2: 35 {{{ 36 $ readyToLogin -a <leftAggr> MySlice 37 ... 38 $ ssh -i left-client.... 39 ... 40 }}} 41 42 '''2.''' Now let's compare the Round Trip Time over each link type. 43 44 In the ''"right-client"'' terminal issue: 45 {{{ 46 right-client$ ping -c 20 192.168.1.2 47 --- 192.168.1.2 ping statistics --- 48 20 packets transmitted, 20 received, 0% packet loss, time 19020ms 49 rtt min/avg/max/mdev = 65.143/68.522/132.324/14.640 ms 50 }}} 51 52 In the ''"left-client"'' terminal issue: 53 {{{ 54 left-client$ ping -c 20 10.10.1.2 55 --- 10.10.1.2 ping statistics --- 56 20 packets transmitted, 20 received, 0% packet loss, time 19000ms 57 rtt min/avg/max/mdev = 0.057/0.126/1.192/0.244 ms 58 }}} 59 60 '''3.''' Start a browser and navigate to the ''"server's"''s hostname from the readyToLogin output in previous step. For this example experiment the hostname allocated is pcvm1-15.instageni.stanford.edu: 27 '''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: 61 28 62 29 [[Image(GENIExperimenter/Graphics:server-web.jpg,65%)]] 63 30 64 ''' 4.''' Now let's generate some traffic to determine how much capacity we can use on each link type:31 '''3.''' Now let's generate some traffic to determine how much capacity we can use on each link type: 65 32 66 33 In the ''"right-client"'' window issue: … … 74 41 }}} 75 42 76 ''' 5.''' Back in the browser. Refresh the web page and you should see the results for both iperf tests:43 '''4.''' Back in the browser. Refresh the web page and you should see the results for both iperf tests: 77 44 78 45 ''Note: '' The interface capacity for all links was set to '' '''20 Mbits/sec''' '' in the RSpec used for this tutorial. … … 81 48 82 49 83 ''' 6.''' Time permitting! Let's exchange some layer 2 traffic by using PingPLus.50 '''5.''' Time permitting! Let's exchange some layer 2 traffic by using PingPLus. 84 51 85 52 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.