Changes between Version 8 and Version 9 of GENIEducation/SampleAssignments/OpenFlowAssignment/ExerciseLayout/Execute


Ignore:
Timestamp:
05/21/13 16:18:19 (12 years ago)
Author:
shuang@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/OpenFlowAssignment/ExerciseLayout/Execute

    v8 v9  
    108108/opt/trema-trema-8e97343/trema run 'firewall.rb fw.conf'
    109109}}}
    110    Then try to ping from left to right. Ping should go through since you allowed ICMP packets and ARP packets to pass. [[BR]]
    111    If you are using the fw.conf we provided, try to run a TCP session from left to right using iperf using port 5001, 5002, 5003.
    112    Since in the fw.conf file we provided, we specifically allow TCP to go through port 5001 and 5002, but not port 5003, you should be able to see that iperf gives back throughput results for port 5001 and 5002 but not 5003.
    113 
    114    Try play with the code as well as the fw.conf file to setup more rules, then verify your setting via iperf or telnet. [[BR]]
    115    You can check the flow table on the OpenFlow Switch via:
     110  Then try to ping from left to right. Ping should go through since you allowed ICMP packets and ARP packets to pass. [[BR]]
     111  If you are using the fw.conf we provided, try to run a TCP session from left to right using iperf using port 5001, 5002, 5003.
     112  Since in the fw.conf file we provided, we specifically allow TCP to go through port 5001 and 5002, but not port 5003, you should be able to see that iperf gives back throughput results for port 5001 and 5002 but not 5003.
     113
     114  Try play with the code as well as the fw.conf file to setup more rules, then verify your setting via iperf or telnet. [[BR]]
     115  You can check the flow table on the OpenFlow Switch via:
    116116{{{
    117117sudo /opt/openvswitch-1.6.1-F15/bin/ovs-ofctl dump-flows tcp:127.0.0.1:6634
    118118}}}
    119    A sample output should be something like the following:
     119  A sample output should be something like the following:
    120120{{{
    121121NXST_FLOW reply (xid=0x4):
     
    133133
    134134
    135   '''Hints''' [[BR]]
     135  '''Hints - Want to get the complete firewall.rb? ask your instructor or visit here (you need a password to get it), or send an email''' [[BR]]
    136136  The following list of hints may help you design and debug your implementation more rapidly.
    137137  -