783
edits
Line 169: | Line 169: | ||
** Copy *.py and *.csv files from [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex3/Firewall_students.zip] into pox/pox/misc folder | ** Copy *.py and *.csv files from [https://dl.dropboxusercontent.com/u/1652374/SDN_course_WS2015-2016/Exercises/ex3/Firewall_students.zip] into pox/pox/misc folder | ||
** Start editing firewall.py | ** Start editing firewall.py | ||
*** Write code to block h1 to h2 (Mac IDs: 00:00:00:00:00:01, 00:00:00:00:00:02) | |||
** Do the following to quickly test code | ** Do the following to quickly test code | ||
*** $ ./pox.py --verbose forwarding.l2_learning misc.firewall | *** $ ./pox.py --verbose forwarding.l2_learning misc.firewall | ||
*** sudo mn --topo single,3 --controller remote --mac | *** $ sudo mn --topo single,3 --controller remote --mac | ||
*** dpctl dump-flows tcp:127.0.0.1:6634 | *** $ dpctl dump-flows tcp:127.0.0.1:6634 | ||
==== Exercise IV: ==== | ==== Exercise IV: ==== |
edits