Changes between Version 16 and Version 17 of GENIExperimenter/Tutorials/OpenFlowNetworkDevices/Firewall
- Timestamp:
- 09/19/15 06:19:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowNetworkDevices/Firewall
v16 v17 21 21 sudo apt-get install python-pip python-dev libxml2-dev libxslt-dev zlib1g-dev 22 22 sudo pip install oslo.config 23 </pre> 24 </li> 25 <li> 26 Run a simple learning switch controller: 27 <pre> 28 cd /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> 34 ping left 35 </pre> 36 Notice 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> 23 40 wget http://www.gpolab.bbn.com/exp/OpenFlowExampleExperiment/ryu/gpo-ryu-firewall.tar.gz 24 41 tar xvfz gpo-ryu-firewall.tar.gz … … 36 53 nc 10.10.11.1 5001 37 54 </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> 39 56 <li>In the terminal for <tt>switch</tt> you should see messages about the flow being passed or not: 40 57 <pre> … … 44 61 </li> 45 62 <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> 47 69 48 70 </ol>