Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE544: Software Assignment 3

Similar presentations


Presentation on theme: "ECE544: Software Assignment 3"— Presentation transcript:

1 ECE544: Software Assignment 3
Abhigyan Sharma

2 Step 1: setup SSH connection to VM
If running mininet directly on linux, you are all set! On virtualbox, Create network-only adapter for VM Edit /etc/network/interfaces SSH into mininet

3 Step 2: Get software Download assignment scripts LINK to mininet using “wget <LINK>” Or download to your laptop and “scp” to mininet VM Install iperf3 ** Do NOT use “sudo apt-get install iperf3”, since it does not install iperf3.1 ** Use provided script, simply run: ./install_iperf3.sh

4 Step 3: Run script to generate mininet topology
cd <script_folder> sudo ./gen_leaf_spine.py <num_spine> <num_leaf> For now: num_spine = 1 only Also enables ssh to each host (e.g. ssh ) If stuck: sudo ./cleanup.py Leaf-spine topology s1 s2 s3 s4 s5 s6 h1 h2 h3 h4

5 Step 4: automatic ssh login to each host in mininet
Start by creating another ssh window to mininet Try “ssh ” It needs password and prevents traffic gen scripts to work! Solution (2 commands) ssh-keygen Do not enter passphrase Will create your public private key pair cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys Now try “ssh ” Should work without password

6 Step 5: run traffic generation script
Format of traffic matrix file One line per flow <src_leaf> <dst_leaf> Sample file: traffic_matrix in script folder cd <script_folder> ./gen_traffic.py <traffic_matrix_file> Multi-threaded program A thread create iperf server at dst_leaf and client at src_leaf and measures throghput Terminates iperf processes Output per-flow and total throughput Raw output: /home/mininet/output

7 What to submit Repeat these steps
Create a (1, 4) topology and evaluate total and per-flow throughput with 1, 4 and 16 flows Submit report with results Expected time (<=3 hours!)


Download ppt "ECE544: Software Assignment 3"

Similar presentations


Ads by Google