Exercises pyretic firewall: Difference between revisions

 
Line 3: Line 3:
* Topology [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex3/1.firewall-fig.pdf]
* Topology [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex3/1.firewall-fig.pdf]
* Put the following files([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex4/pyretic_firewall_students.zip]) in folder: pyretic/pyretic/examples  
* Put the following files([https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex4/pyretic_firewall_students.zip]) in folder: pyretic/pyretic/examples  
   $ sudo mn --controller remote --topo=single,3 --mac --arp
    


== (20P) Run the pyretic hub example ==
== (20P) Run the pyretic hub example ==
  $ sudo mn --controller remote --topo=single,3 --mac --arp
   $ cd pyretic
   $ cd pyretic
   $ pyretic.py –v high pyretic.examples.pyretic_hub
   $ pyretic.py –v high pyretic.examples.pyretic_hub
Line 39: Line 40:
** See in pyretic_firewall.py for instructions on how to test the code as well as how to write the code
** See in pyretic_firewall.py for instructions on how to test the code as well as how to write the code
** To Test run:
** To Test run:
*** sudo mn --controller remote --topo=single,3 --mac --arp
  $ sudo mn --controller remote --topo=single,3 --mac --arp
*** pyretic.py –v high pyretic.examples.pyretic_firewall
  $ pyretic.py –v high pyretic.examples.pyretic_firewall
783

edits