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