| 1 | Navigation: [wiki:GEC21Agenda/ChoiceNet/start Up] |
| 2 | |
| 3 | At this point we have the Choicenet Framework setup. If you want to try the SDN implementation of ChoiceNet, you can follow these instructions. |
| 4 | |
| 5 | We now need to run some end to end services to demonstrate the usability of "choice" within a network. For this we will run an iperf test between the end host nodes H1 and H2. |
| 6 | |
| 7 | So Open up two more ssh session terminals to the GNO Node and cd ~/choicenet/source/bin on each one |
| 8 | |
| 9 | |
| 10 | '''On TERMINAL 1''' |
| 11 | |
| 12 | {{{ |
| 13 | #!sh |
| 14 | cd ~/choicenet/source/bin |
| 15 | }}} |
| 16 | |
| 17 | |
| 18 | {{{ |
| 19 | #!sh |
| 20 | ./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1 |
| 21 | }}} |
| 22 | |
| 23 | this will take you to H1 node (You can also directly ssh into H1 Node from your laptop if you prefer that way) |
| 24 | |
| 25 | on H1 Node |
| 26 | |
| 27 | {{{ |
| 28 | #!sh |
| 29 | cd choicenet/source/bin |
| 30 | |
| 31 | cp ../wrap . |
| 32 | |
| 33 | /sbin/ifconfig |
| 34 | |
| 35 | }}} |
| 36 | |
| 37 | Form the last command (ifconfig), please note down the IPV6 address of eth1. (This should begin with an fec0:: . This will be used the next terminal ) |
| 38 | |
| 39 | Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and change HB to LB ( Low Bandwith) path or HBHL (High bandwidth High Latency) path as the last line. |
| 40 | |
| 41 | We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below |
| 42 | |
| 43 | get ready to start the iperf Server here . Type the command and keep it ready . '''DO NOT RUN IT JUST YET''' |
| 44 | |
| 45 | {{{ |
| 46 | #!sh |
| 47 | sudo ./wrap /usr/bin/iperf -s -V |
| 48 | }}} |
| 49 | |
| 50 | |
| 51 | '''On TERMINAL 2''' |
| 52 | |
| 53 | {{{ |
| 54 | #!sh |
| 55 | cd ~/choicenet/source/bin |
| 56 | }}} |
| 57 | |
| 58 | |
| 59 | {{{ |
| 60 | #!sh |
| 61 | ./getool -f <MANIFEST FILENAME> -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2 |
| 62 | }}} |
| 63 | |
| 64 | this will take you to H2 node (You can also directly ssh into H2 Node from your laptop if you prefer that way) |
| 65 | |
| 66 | on H2 Node |
| 67 | |
| 68 | {{{ |
| 69 | #!sh |
| 70 | cd choicenet/source/bin |
| 71 | |
| 72 | cp ../wrap . |
| 73 | |
| 74 | }}} |
| 75 | |
| 76 | Choicenet is all about choices in the network. For our iperf test run, we currently have a set the network to use the High Bandwidth path "HB". If you like to take an alternate route based on your network preference , you can use any editor (vim, pico , nano) that you prefer to edit the ../config/config.txt and change HB to LB ( Low Bandwidth) path or HBHL (High bandwidth High Latency) path as the last line. |
| 77 | We then use a Choicenet wrapper app to convert an existing tcp application into a Choicenet application as shown below |
| 78 | |
| 79 | get ready to start the iperf Client here . Type the command and keep it ready . '''DO NOT RUN IT JUST YET''' |
| 80 | |
| 81 | {{{ |
| 82 | #!sh |
| 83 | sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -V |
| 84 | }}} |
| 85 | |
| 86 | (IPv6 address should be eth1 on H1 and starts with fec0) |
| 87 | |
| 88 | Now GOTO TERMINAL1 and run the iperf server command. Immediately then switch to TERMINAL2 and run the client command too. |