Changes between Version 16 and Version 17 of GENIExperimenter/Tutorials/OpenFlowNetworkDevices/Firewall


Ignore:
Timestamp:
09/19/15 06:19:00 (9 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowNetworkDevices/Firewall

    v16 v17  
    2121sudo apt-get install python-pip python-dev libxml2-dev libxslt-dev zlib1g-dev
    2222sudo pip install oslo.config
     23</pre>
     24</li>
     25<li>
     26Run a simple learning switch controller:
     27<pre>
     28cd /tmp/ryu
     29./bin/ryu-manager --verbose ryu/app/simple_switch.py
     30</pre>
     31</li>
     32<li> Verify simple connectivity by logging into <tt>right</tt> ping <tt>left</tt>
     33<pre>
     34ping left
     35</pre>
     36Notice the printouts of the ryu simple switch controller.
     37</li>
     38<li> Make your switch into a firewall by downloading and running the appropriate Ryu controller:
     39<pre>
    2340wget http://www.gpolab.bbn.com/exp/OpenFlowExampleExperiment/ryu/gpo-ryu-firewall.tar.gz
    2441tar xvfz gpo-ryu-firewall.tar.gz
     
    3653nc 10.10.11.1 5001
    3754</pre></li>
    38             <li>Type some text in <tt>left</tt> and it should appear in <tt>right</tt> and vis versa.</li>
     55            <li>Type some text in <tt>left</tt> and it should appear in <tt>right</tt> and vise versa.</li>
    3956            <li>In the terminal for <tt>switch</tt> you should see messages about the flow being passed or not:
    4057<pre>
     
    4461</li>
    4562            <li><tt>CTRL-C</tt> to kill <tt>nc</tt> in each terminal. </li>
    46             <li>Run a <tt>nc</tt> server on port 5002, then 5003.  Compare the observed behavior to the contents of <tt>~/gpo-ryu-firewall/fw.conf</tt>.  <i>Does the behavior match the configuration file?</i> Feel free to modify the configuration file to block other traffic.</li>
     63            <li>Run a <tt>nc</tt> server on port 5002, then 5003.
     64       <ul>
     65         <li> Compare the observed behavior to the contents of <tt>~/gpo-ryu-firewall/fw.conf</tt>.  <i>Does the behavior match the configuration file?</i>
     66         <li> Stop the Firewall controller and run a simple switch controller. Is there any traffic being blocked now? </li>
     67         <li>  Feel free to modify the configuration file to block other traffic.</li>
     68      </ul>
    4769
    4870           </ol>