Skip to content

pox_scenario

Carlos Vega edited this page Jul 27, 2018 · 10 revisions

Scenario 1: Pox as SDN controller and Banana Pi as Residential Gateway


This scenario deploys clients and cloud side except from the Banana Pi (physical). Uses the module l2_learning of Pox as SDN controller.

The purpose of this scenario is understanding the concept of the project with a simple SDN controller as Pox. The module l2_learning only floods the traffic in OVS when the switch doesn't recognize the destination.

To create the filesystem of the containers, you have to run the script create-rootfs_GREDOS in filesystems folder

In order to start this scenario, follow these commands:

  • Create the scenario: sudo vnx -f pox_scenario.xml -v -t
  • Configure scenario: sudo vnx -f pox_scenario.xml -x start-all
  • Connect clients:
    1. sudo vnx -f pox_scenario.xml -x connect-c1
    2. sudo vnx -f pox_scenario.xml -x connect-c2
    3. sudo vnx -f pox_scenario.xml -x connect-c3

When you create the scenario, vnx deploys the following architecture:

The VMs of the scenario are LXC and they are:

  • Cloud: it has the routing,NAT and SDN controller functions.
  • Dhcp: it has DHCP function in order to give IP to clients in residential network.
  • Clients: residential network clients.

OVS s1 and s2 represent the Banana Pi connection

The following diagram explains better the scenario:

In the research Project, we develop this scenario using optical techonologies, it can be added as transport: