Changes between Version 2 and Version 3 of GEC21Agenda/ChoiceNet/run_tests_part2
- Timestamp:
- 10/17/14 12:32:09 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC21Agenda/ChoiceNet/run_tests_part2
v2 v3 2 2 3 3 After Step 2: Configure and Install ChoiceNet Software, we already have the Choicenet Framework setup. If you want to try the SDN implementation of ChoiceNet, you can follow this part of instructions. 4 5 6 == Start ChoiceNet server and app == 7 4 8 5 9 The SDN-based implementation has an SDN controller that knows the network topology and detect the path services. It also has a marketplace server which accepts the service advertisement from controller and handles the user request. … … 35 39 After login, the app will intercept any TCP SYN packets with destination IP 10.0.0.0/8 and destination port 8080 or 443. Once it intercepts a packet, it communicated with the marketplace and request for a path service with 3-minute duration. This means it is compatible with almost any existing network applications, here we will use wget and mplayer as two examples. 36 40 41 42 == Test using wget == 43 37 44 First start a simple http server on H1: 38 45 … … 42 49 sudo su 43 50 cd /root/ 51 ping 10.10.1.1 -c 1 44 52 python -m SimpleHTTPServer 8080 45 53 }}} 54 55 The ping is used to let the controller know the existence of H1. 46 56 47 57 We then use wget on the other terminal of H2 … … 50 60 51 61 {{{ 62 ping 10.10.4.1 -c 1 52 63 wget http://10.10.1.1:8080/sample.mp4 53 64 }}} … … 55 66 After executing this command, switch to TERMINAL 2, you will see the ChoiceNet App gives you several options about the forward and revert path. Select one for each, then you will be asked to pay for the path service on a webpage. 56 67 57 '''Output on TERMINAL 2 (H2 node)''' 58 59 {{{ 60 #!sh 61 Forward recipe: 62 0. Bandwidth: 10.000000 Mbps, Latency: 0.400000 ms, Price: 0.180000 dollars 63 1. Bandwidth: 1.000000 Mbps, Latency: 0.400000 ms, Price: 0.160000 dollars 64 Enter selection: 1 65 Return recipe: 66 0. Bandwidth: 1.000000 Mbps, Latency: 0.400000 ms, Price: 0.160000 dollars 67 1. Bandwidth: 10.000000 Mbps, Latency: 0.400000 ms, Price: 0.180000 dollars 68 Enter selection: 0 69 Please pay for the services in the following webpage before you use them: 70 http://192.122.236.102/new/client/paypal/payment/service/69/2/1413512209097/39/ 71 }}} 68 [[Image(screenshot_SDN_01.jpg, 60%)]] 72 69 73 70 Copy the link to your browser, and pay for the service using paypal. You can use the test paypal account: … … 86 83 HTTP request sent, awaiting response... 200 OK 87 84 Length: 73516259 (70M) [video/mp4] 88 Saving to: `sample.mp4 .4'85 Saving to: `sample.mp4' 89 86 90 87 10% [========> ] 7,927,627 116K/s eta 9m 11s … … 92 89 93 90 The download speed should match the speed you select in the ChoiceNet App. 91