Question: Question 2 ) Consider the following network of five hosts ( h 1 to h 5 ) , five Openflow switches ( s 1 to

Question 2)
Consider the following network of five hosts (h1 to h5), five Openflow switches (s1 to s5) and SDN controller cl . The black solid lines indicate physical links between devices, and the orange dashed lines indicate logical channels between the controller and OpenFlow switches. The red numbers indicate the corresponding port number on each switch. the IP addresses are for hosts h1 to h5.
a. Suppose we want to implement the routing tables from Q1.b in this network, with an additional rule that h2 should not be able to contact h1 and h3. Assume that IP flows exist between every source-destination pair in this network. Determine the flow table entries that must be installed in each switch (\(\mathrm{s}1,\mathrm{~s}2,\mathrm{~s}3,\mathrm{~s}4\) and s5). Use the following format for entries:
b. Create a mininet topology script that represents the network in Q2.a with bandwidth of 10 Mbps and delay of 10 ms for every link. Do NOT use Miniedit. Include a copy of your script in your assignment.
c. Run mininet with your custom topology. Add your flows from part (Q2.a) to the tables of the switches using the following command:
sh ovs-ofctl add-flow [Switch] ip,nw_dst=[ip address],actions=output:[port]
For example:
sh ovs-ofctl add-flow sl ip,nw_dst=172.31.0.1,actions=output:1
Verify your flow tables using the "dpctl dump-flows" command from mininet CLI and include a screenshot of the results.
Once all flows are added, try "pingall". Is it successful? Explain the results.
Question 2 ) Consider the following network of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!