Changes between Version 1 and Version 2 of Tutorials/m0SDN/aHowTo


Ignore:
Timestamp:
Aug 10, 2009, 11:02:07 PM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/m0SDN/aHowTo

    v1 v2  
    11= !OpenFlow How-To =
     2Sandbox 9 uses the !OpenFlow capable switch as part of its setup as a means to provide a testbed for experimentation with the !OpenFlow protocol. This tutorial describes the different components of the !OpenFlow network and provides the basics needed to set up an experiment.
    23
    3 Sandbox 9 uses the !OpenFlow capable IP8800/S3640 NEC switch as part of its setup as a means to provide a testbed for experimentation with the !OpenFlow protocol. This tutorial describes the different components of the !OpenFlow network and provides the basics needed to set up an experiment.
    44
    55=== !OpenFlow Protocol ===
    66!OpenFlow is a protocol that allows for the creation of overlay networks over pre-existing network infrastructure. This allows a researcher to run experiments on production networks without the fear of affecting any of the legacy installations or setups, while having control over how data is handled across the network.
    7  
     7[[BR]] 
     8[[BR]]
    89"!OpenFlow" specifically refers to the protocol that is used by a network device and its controller to pass information about flows, or instructions on how to handle data packets based on the packet header, to each other.
    910
    1011Detailed information can be found here: http://www.openflowswitch.org/
    1112
     13
    1214=== The Setup ===
    13 Sandbox 9 consists of a Console connected to three nodes through a !OpenFlow enabled IP8800/S3640-48T2XW switch. The switch is pre-configured so that ports 25-36 (the data VLAN) is an !OpenFlow virtual switch that listens to the Console as the controller. As of now, the two options for the controller available on the Console are the !OpenFlow reference System (v0.8.9r2) and NOX-core (v0.5.0).     
    14  
     15Sandbox 9 consists of a Console connected to three nodes through a !OpenFlow enabled IP8800/S3640-48T2XW switch.
     16
     17=== The switch ===
     18The switch is currently running firmware supporting !OpenFlow v0.8.9. The switch is pre-configured so that ports 25-36 (the data VLAN) is an !OpenFlow virtual switch that listens to the Console as the controller. The configurations can be altered by using the `setvsi` command in the switch's command-line interface.
     19The details behind configuring the virtual switch(es) on the IP8800 can be found [wiki:Documentation/OpenFlow/VirtualSwitch here].
     20   
     21=== The Controller ===
     22''' Installing the controller ''' [[BR]]
     23The !OpenFlow reference System (v0.8.9r2) and NOX-core (v0.5.0) have been successfully installed and tested on the Console. These can be downloaded from the following places:
     24
     25 * !OpenFlow reference system: http://www.openflowswitch.org/wp/downloads/
     26 * NOX-core: http://noxrepo.org/wp/
     27
     28The former is a simple implementation that comes with a few tests; latter is a full-blown network operating system/ development tool that comes with a Network API that can be used to write and develop your own controller in C++ or Python.
     29
     30''' Starting the controller ''' [[BR]]
     31Both commands start the controller and establish a connection with the !OpenFlow switch. The -v is for verbose. -h for both will give you the help files for the controllers. In the reference system, the controller is found under .../openflow/controller/
     32{{{
     33./controller -v ptcp:6633
     34}}}
     35and in NOX, it is found under .../noxcore/build/src/
     36{{{
     37./nox-core -v ptcp:6633
     38}}}
     39
    1540
    1641