wiki:GEC21Agenda/ChoiceNet/gt_tool

Version 1 (modified by Hussamuddin Nasir, 9 years ago) (diff)

--

wget http://choicenet.netlab.uky.edu/choicenet.tar.gz

tar xzf choicenet.tar.gz

cd choicenet/source/bin/

sudo ln -s /usr/lib64/libpcap.so.1.1.1 /usr/lib64/libpcap.so.0.8

sudo ln -s /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so.1.0.0

echo "UserKnownHostsFile=/dev/null" >>~/.ssh/config

echo "StrictHostKeyChecking no" >>~/.ssh/config

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa configure

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa install

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa -R clickon

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa pathServiceOn

./sendAdvertisements.sh

Open up two more ssh sessions to the GNO node and cd ~/choicenet/source/bin on each one

On TERMINAL 1 do

================

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h1

sudo apt-get update;sudo apt-get install iperf

this will take you to H1 node

here

cd choicenet/source/bin

cp ../wrap .

Edit this vim ../config/config.txt

and add HB or LB as the last line

sudo ./wrap /usr/bin/iperf -s -V

On TERMINAL 2 do

================

./gt -f /tmp/rspec.xml -l <GENI USERNAME> -i ~/.ssh/id_rsa ssh h2

sudo apt-get update;sudo apt-get install iperf

this will take you to H2 node

here

cd choicenet/source/bin

cp ../wrap .

Edit this vim ../config/config.txt

and add HB or LB as the last line

sudo ./wrap /usr/bin/iperf -c <IPv6 address of H1 > -M 1000 -V

(IPv6 address should be eth1 on H1 and starts with fec0)