Starting from:

$25

CS352 - Project2_Mininet - Solved

 Mininet 


 Software Installation

Note 1: This assignment/project is based on the fact that you will use your personal laptop to run Wireshark. Also, the laptop in use is connected to the Internet through a Wi-Fi router (Access point), at home or somewhere else. 

Note 2: Make sure to clear your web browser’s cache. We HIGHLY recommend running everything from the virtual machine. 

1)    Please review the slides in the links below to install Mininet on your virtual machine. Typically this will already have python installed. 

http://mininet.org/walkthrough/ 



 
Assignment
1- Networking Setup
Note: The following tasks should be performed in the terminal of the VM containing Mininet or the terminal of your local machine. This should NOT be run in mininet

1)      Print the list of network interfaces, their MAC addresses, and their assigned IP addresses, if any. Include a screenshot here.  Hint: use the ifconfig command.

 

 

2)      Using the ping command, calculate the latency between mininet VM and the websites for 10 packets. Hint: use the following format ping website -c 10   

a.      Write down the latency for the following websites: www.rutgers.edu www.berkley.edu,  and www.google.co.in. 

b.      Compare the difference in latency. 

 

3)      Let’s examine the routers between two servers. Hint: use the traceroute command

a.      List the routers between mininet VM and www.rutgers.edu.  Include a screenshot of this. 

b.      Can you explain where the first two routers in the path are located?

 

4)      Go to the website https://whois.icann.org  and obtain the list of name servers for the domain abc.com. Include a screenshot. 


 
2- Mininet
Note: The following tasks should be performed in Mininet

Create a simple two-node network (h1 and h2, with a switch s1 in the middle) using "sudo mn" and do the following exercises. 

1)      a. Print the MAC address of host h1 and include a screenshot of this.  Print the MAC addresses of switch s1 and include a screenshot of this. 

b. Explain the different interfaces that s1 has.  

2)      a. Ping h1 from h2. Include a screenshot.

b. View the ARP entries stored at hosts h1 and h2. Include a screenshot. 

3)      Throughput is another performance measure in computer networks. You may read about it online.

 

Measure the TCP throughput from h1 to h2 using iperf. Include a screenshot.

 

4)      Delete the mininet topology by exiting mininet. Recreate a custom topology in which links have a capacity of 10 Mbps and latency of 100 ms. See the example below from http://mininet.org/walkthrough/#changing-topology-size-and-type:

 

a.   In the new topology, measure the average ping latency for five pings. Include a screenshot. 

b.   Some pings will take longer than others. For example the first ping is usually longer than the others. Why does this happen? 

5)      a. In the new topology, measure the throughput from h1 to h2 using iperf. Include a screenshot of this.  

b. Would the throughput be different if link latencies were 20 ms instead of 100 ms?


 



 

 

 

 

More products