Changes between Version 62 and Version 63 of GENIExperimenter/Tutorials/OpenFlowOVS/Execute


Ignore:
Timestamp:
07/18/14 15:03:25 (10 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowOVS/Execute

    v62 v63  
    145145  4. Go back to your OVS host and take a look at the print outs. You should see that your controller installed flows based on the mac addresses of your packets.
    146146
    147   5. Kill your POX controller by pressing `Ctrl-C`:
     147  5. To see the flow table entries on your OVS switch:
     148  {{{
     149  sudo ovs-ofctl dump-flows br0
     150  }}}
     151  You should see at least two table entries: One for ICMP Echo (icmp_code=8) messages from host1 to host2 and one for ICMP Echo Reply (icmp_code=0) messages from host2 to host1.  You may also see flow entries for arp packets.
     152
     153  6. To see messages go between your switch and your controller (listening on port 6633 of your localhost), run tcpdump on your loopback interface:
     154  {{{
     155  sudo tcpdump -i l0
     156  }}}
     157  You will see (1) periodic keepalive messages  being exchanged by the switch and the controller, (2) "packet in" messages from the switch to the controller when a flow table entry expires and an ICMP Echo message in, and (3) "packet out" messages from the controller to the switch that install new flow entries.
     158
     159  7. Kill your POX controller by pressing `Ctrl-C`:
    148160  {{{
    149161  DEBUG:forwarding.l2_learning:installing flow for 02:c7:e8:a7:40:65.1 -> 02:f1:ae:bb:e3:a8.2
     
    154166  ovs:/local/pox%
    155167  }}}
     168
     169  7. Check the flow table entries on your switch:
     170   {{{
     171  sudo ovs-ofctl dump-flows br0
     172  }}}
     173  Since you set our switch to "secure" mode, i.e. don't forward packets if the controller fails, you will not see flow table entries.  If you see flow table entries, try again after 10 seconds to give the entries time to expire.
    156174
    157175  6. Notice what will happen to your ping on host1.