0% found this document useful (0 votes)
2 views

Cloud Networking - Practical Assignment[1]

The Cloud Networking Practical Assignment requires students to work in groups of up to three to create a hub application using the POX controller by the deadline of June 4, 2024. Students must document their process with screenshots and text, and demonstrate tasks including creating a network topology, testing connectivity, and explaining flow table entries. The assignment will be evaluated on various criteria including topology creation, ping results, application demonstration, and presentation skills.

Uploaded by

Henry Tshafa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Cloud Networking - Practical Assignment[1]

The Cloud Networking Practical Assignment requires students to work in groups of up to three to create a hub application using the POX controller by the deadline of June 4, 2024. Students must document their process with screenshots and text, and demonstrate tasks including creating a network topology, testing connectivity, and explaining flow table entries. The assignment will be evaluated on various criteria including topology creation, ping results, application demonstration, and presentation skills.

Uploaded by

Henry Tshafa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Cloud Networking Practical Assignment

Assignment Instructions
• Maximum of three members per assignment.
• Deadline: 4th June 2024
• This is a practical assignment. Students can use the FCI lab machines or personal laptops to complete the
assignment.
• Document each step of the assignment. Use sufficient screenshots and text to support the work performed.
A hardcopy of the documented work should be submitted.
• THE PRACTICAL ASSIGNMENT WILL BE PRESENTED ON THE 4TH JUNE 2024.

Creating a hub application using POX controller


POX is an open-source controller for developing software defined network (SDN) applications. POX is a Python based
Controller which provides an efficient way to implement the OpenFlow protocol which is the defacto communication
protocol between the controllers and the switches. Using the POX controller, you can run different applications like
hub, switch, load balancer and firewall. In this assignment, you are required to create a hub application using POX
controller.

Setup:
Download the required components.
a. Download Virtualbox: https://www.virtualbox.org/wiki/Downloads
b. Download Mininet: http://mininet.org/download/
Main Functions & Classes of POX Controller
Hub Application using FlowMod

Instructions

When performing the tasks below, you are required to use three terminals. The first terminal will be used to
create the topology, the second terminal will be used to write the hub application and third terminal should
be used to check the flow entry in the switch.

ALL THE TASKS BELOW SHOULD BE CARRIED OUT USING MININET COMMANDS. YOU ARE REQUIRED TO
INDICATE THE COMMAND/S USED AT EVERY STEP.

A requirement for this system to work is that the Mininet network can communicate with the
POX controller

Create a single topology with four hosts and one switch. You are expected to use the POX controller in your
topology.
1. Show how the different devices are connected in the topology.
2. Test for connectivity between host h4 and h1.

3. Create a hub application as follows:

Create a hub application in “/mininet /pox/pox/”. Name your application as “hub-reactive-flowmod.py”

4. Write the following hub application code in the file you created in no.2

Hub application annotated code


5. Run the hub application. Determine the command to do so.
6. Now try to ping host h4 from h1. The ping should be successful now.
a) Clearly observe the ping results and explain why the first ping results took longer compared to the rest of
the packets.
b) State the role of the PacketIn event, connectionUp and any other events.
7. Show the flow table entry in switch1 and do the following:
a) State the command used to obtain the result.
b) Explain the content of the flow table.
c) Based on the flow entry results, what is the key output which indicates that it’s a hub application?

8. Use the appropriate tools and commands to verify the hub application behavior. When testing your hub
application, your results should indicate the hub behavior in which all the connected hosts receives
the message except the incoming port.
9. Implement either of the two applications: a real Ethernet learning switch OR firewall like application.

Marking guide
ITEM MARK ALLOCATION
Creation of topology and demonstration of it 5
Ping results (before/after POX controller 5
implementation)
Flow entry results explanation& demonstration 6
Demonstration of hub application 8
Demonstration of ethernet switch/firewall 10
application
Documentation [presentation of tasks, structure, 5
clear outline, grammar]
Presentation skills 3
Attendance to Q&A 3
Total 45

You might also like