Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the following network topology in Mininet using Python: Host1 192.168.1.1 Switch 1 Controller 6. 7. Host2 192.168.1.2 5. Have hl ping -c 100

Create the following network topology in Mininet using Python: Host1 192.168.1.1 Switch 1 Controller 6. 7. B. Topology without Python: ovs-ofctl Review the man/help page for the following commands: ovs-ofctl and 

Create the following network topology in Mininet using Python: Host1 192.168.1.1 Switch 1 Controller 6. 7. Host2 192.168.1.2 5. Have hl ping -c 100 h3. How long does this take? Is there a difference? Switch 2 1. Verify everything below in Wireshark as well (no submission required for this part). 2. Prove using the output obtained from different commands that the topology created is correct. Print the list of network interfaces, their MAC addresses, and their assigned IP addresses, if any. 3. 4. Have hl ping-c 100 h2. How long did it take to ping? Does the first packet takes longer? Why? Which of the hosts and switches observe traffic as a result of the ping? Host3 192.168.1.3 Perform a pingall (you can do it in the script as well) and copy the output, verifying that all hosts are reachable. How does the MAC learning work in this topology? B. Topology without Python: ovs-ofctl Review the man/help page for the following commands: ovs-ofctl and ovs-vsctl by typing following in your mininet-VM terminal: man command_name command_name --help 1. Create a small network without a controller using: sudo mn --topo single, 3 --controller none 2. In the Mininet environment, try to ping 1 packet from h1 to h2. What do you observe? Why? 3. Now add the flow rules and using dump to see the rules using the following commands: sh ovs-ofctl add-flow sI action-normal sh ovs-ofctl dump-flows sl Now ping one packet from h1 to h2 and again dump the flows. How many packets do you see from the dump. Run the ping again from h1 to h2 for a single packet and see the dump. How many packets do you see now? Why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

1 First To create the specified network topology in Mininet using Python you can utilize the Mininet API Heres a Python script that creates the network topology you described Python from mininetnet im... 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_2

Step: 3

blur-text-image_3

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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Computer Network questions

Question

What is a manufacturing system?

Answered: 1 week ago