| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | wget http://choicenet.netlab.uky.edu/choicenet.tar.gz |
| 6 | |
| 7 | tar xzf choicenet.tar.gz |
| 8 | |
| 9 | cd choicenet/source/bin/ |
| 10 | |
| 11 | sudo ln -s /usr/lib64/libpcap.so.1.1.1 /usr/lib64/libpcap.so.0.8 |
| 12 | |
| 13 | sudo ln -s /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so.1.0.0 |
| 14 | |
| 15 | echo "{{{UserKnownHostsFile}}}=/dev/null" >>~/.ssh/config |
| 16 | |
| 17 | echo "{{{StrictHostKeyChecking}}} no" >>~/.ssh/config |
| 18 | |
| 19 | |
| 20 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa configure |
| 21 | |
| 22 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa install |
| 23 | |
| 24 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon |
| 25 | |
| 26 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn |
| 27 | |
| 28 | ./sendAdvertisements.sh |
| 29 | |
| 30 | Open up two more ssh sessions to the GNO node and cd ~/choicenet/source/bin on each one |
| 31 | |
| 32 | On TERMINAL 1 do |
| 33 | |
| 34 | ================ |
| 35 | |
| 36 | |
| 37 | |
| 38 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1 |
| 39 | |
| 40 | sudo apt-get update;sudo apt-get install iperf |
| 41 | |
| 42 | |
| 43 | this will take you to H1 node |
| 44 | |
| 45 | here |
| 46 | |
| 47 | cd choicenet/source/bin |
| 48 | |
| 49 | cp ../wrap . |
| 50 | |
| 51 | |
| 52 | Edit this |
| 53 | vim ../config/config.txt |
| 54 | |
| 55 | and add HB or LB as the last line |
| 56 | |
| 57 | sudo ./wrap /usr/bin/iperf -s -V |
| 58 | |
| 59 | |
| 60 | On TERMINAL 2 do |
| 61 | |
| 62 | ================ |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | ./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2 |
| 68 | |
| 69 | |
| 70 | sudo apt-get update;sudo apt-get install iperf |
| 71 | |
| 72 | |
| 73 | this will take you to H2 node |
| 74 | |
| 75 | here |
| 76 | |
| 77 | cd choicenet/source/bin |
| 78 | |
| 79 | cp ../wrap . |
| 80 | |
| 81 | |
| 82 | Edit this |
| 83 | vim ../config/config.txt |
| 84 | |
| 85 | and add HB or LB as the last line |
| 86 | |
| 87 | sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -M 1000 -V |
| 88 | |
| 89 | (IPv6 address should be eth1 on H1 and starts with fec0) |