Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The project [100 pts]: 1. In Mininet change the default configuration to have 4 hosts connected to a switch. 2. [30 pts] Save a screenshot

image text in transcribedimage text in transcribed

The project [100 pts]: 1. In Mininet change the default configuration to have 4 hosts connected to a switch. 2. [30 pts] Save a screenshot of dump and pingall output. Explain what is being shown in the screenshot. 3. [10 pts] Run the iperf command as well, and screenshot the output, how fast is the connect? 4. Run wireshark, and using the , filter for "openflow_v1". Note: When you run wireshark you should do so as "sudo wireshark". When you choose an interface to capture on, you should select "any". a. [20 pts] Run ping from a host to any other host using hX ping c5hY. Show the screenshot on the Mininet terminal. And take a screenshot to show the captured related packets by Wireshark. b. [20 pts] Find packets that matches the "openflow_v1" filter with the OpenFlow typefield set to OFPT_PACKET_IN and OFPT_PACKET_OUT respectively. What is the source and destination IP address for these two entries? Answer the question and take screenshots showing your results. c. [20 pts] Replace the display filter to "icmp and not openflow_v1". Run pingall again, how many entries are generated in wireshark? Show the number and take a screenshot of your results. Running Milininet as a Python script: To make custom topologies, it is useful to be able to refine a topology in a script. The following is of using a Python script to launch Mininet with a custom topology: \#!/usr/bin/python from mininet.topo import Topo from mininet. net import Mininet from mininet. cli import CLI class MyTopology (Topo): A basic topology """ def _init__(self): Topo.__init__(self) \# Set Up Topology Here switch = self.addSwitch('s1') ## Adds a Switch host1 = self.addHost ('h1') \#\# Adds a Host self.addLink (host1, switch) \#\# Add a link if name == '_ main ': If this script is run as an executable (by chmod +x ), this is what it will do

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

Students also viewed these Databases questions

Question

Identify the four reasons for project termination.

Answered: 1 week ago