Changes between Version 9 and Version 10 of Tutorials/m0SDN/cTutorial2
- Timestamp:
- Mar 16, 2010, 5:25:50 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/m0SDN/cTutorial2
v9 v10 1 = Tutorial on sep rating traffic on SB9 =2 3 Open flow is a very versatile standard. You can read more about it [http://www.openflowswitch.org/ here]. As an example of the capabalities of open flow, and a tutorial on the capabilities of the orbit sandbox that was created specfically for the purposes of evaluating and testing openflow, we will run through a simple experiment.4 5 In the Openflow model, traffic can be separated along may diff rent boundaries. In this particular example we're going to sperate bittorrent traffic in highnumbered ports. We will run two sperate controllers. The first will handle the production traffic, and run a commodity controller, SNAC. The second controller will manage the "experimental" bit-torrent traffic, and run a configured Nox controller. The data interfaces (eth0) of 4 nodes are connected to the open flow switch. The openflow switch is pre-configured to speak to a controller at sb9.orbit-lab.org:6633 The logical setup should look like:[[BR]]1 = Tutorial on separating traffic on SB9 = 2 3 Openflow is a very versatile standard. You can read more about it [http://www.openflowswitch.org/ here]. As an example of the capabilities of Openflow, and a tutorial on the capabilities of the orbit sandbox that was created specifically for the purposes of evaluating and testing Openflow, we will run through a simple experiment. 4 5 In the Openflow model, traffic can be separated along may different boundaries. In this particular example we're going to separate bittorrent traffic in high-numbered ports. We will run two separate controllers. The first will handle the production traffic, and run a commodity controller, SNAC. The second controller will manage the "experimental" bit-torrent traffic, and run a configured NOX controller. The data interfaces (eth0) of 4 nodes are connected to the open flow switch. The Openflow switch is pre-configured to speak to a controller at sb9.orbit-lab.org:6633 The logical setup should look like:[[BR]] 6 6 7 7 [[Image(setup.jpg)]] … … 11 11 === Splitter: Flowvisor - IP port 6633 === 12 12 13 The flowvisor tool serves as an intermediary between controllers. It splits traffic based on predefined rules. For this example we're running flowvisor on the SB9 console. While it is completely possible to comp lie your own flowvisor from scratch and install it in your home directory, a precompiled installation is located in /opt. In order to properly steer the flowvisor tool, you must populate a flovisor-config.d directory with files that configure the flowvisor behavoir. This directory must be a subdirectory of the current working directory, as flow visor will create statistics files and logs in the current working directory. For the purposes of this demo we'll be using these files:13 The flowvisor tool serves as an intermediary between controllers. It splits traffic based on predefined rules. For this example we're running flowvisor on the SB9 console. While it is completely possible to compile your own flowvisor from scratch and install it in your home directory, a precompiled installation is located in /opt. In order to properly steer the flowvisor tool, you must populate a flovisor-config.d directory with files that configure the flowvisor behavior. This directory must be a subdirectory of the current working directory, as flow visor will create statistics files and logs in the current working directory. For the purposes of this demo we'll be using these files: 14 14 15 15 {{{ … … 19 19 }}} 20 20 21 The def ualt file primes the flowvisor and contains only the following lines:21 The default file primes the flowvisor and contains only the following lines: 22 22 23 23 {{{ … … 53 53 }}} 54 54 55 Finally the bittorent.guest directs high numbered ipport traffic to a controller on 6635:55 Finally the bittorent.guest directs high numbered IP port traffic to a controller on 6635: 56 56 {{{ 57 57 Id: 1001 … … 175 175 }}} 176 176 177 Finally on the N oxcontroller we should see events like this:177 Finally on the NOX controller we should see events like this: 178 178 {{{ 179 179 NOX 0.8.0~full~beta (nox_core), compiled Mar 14 2010 16:21:17 … … 187 187 == ASIDE: TESTS for connectivity == 188 188 189 In case your exp irement is failing, here are a few sanity checks.189 In case your experiment is failing, here are a few sanity checks. 190 190 191 191 === The SNAC controller Web interface === … … 208 208 }}} 209 209 210 This should be done with independent sessions, as each session will start display traffic information. Once completed SNAC should report an increase in production traffic, and 4 discovered hosts with the specified ips.210 This should be done with independent sessions, as each session will start to display traffic information. Once completed SNAC should report an increase in production traffic, and 4 discovered hosts with the specified IPs. 211 211 212 212 === High Numbered port Test === … … 224 224 }}} 225 225 226 If the traffic is split properly, your controller should register event similar to this:226 If the traffic is split properly, your controller should register events similar to this: 227 227 228 228 {{{