[pox-dev] l2_learning_tutorial flow rules (strange behavior?)

Tmusic Tmusic987 at gmail.com
Mon Oct 1 11:38:38 PDT 2012


Hi,

I'm trying to learn how to establish flow rules by studying
l2_learning_tutorial, but I'm experiencing rather strange behavior.

On a VM with mininet (one switch, three hosts) and POX installed I first
start up mininet and then the l2_learning_tutorial (the behavior is easier
to see this way).
I added one line after the flow installing to see what happens:     print
'added route to', packet.src,'(packet destined to',packet.dst,')'

When I perform pingall in mininet (one or more), the same routes are added
over and over again (see print statement above).
Dpctl shows that only two entries are being added (I expected three):

  cookie=0, duration_sec=268s, duration_nsec=529000000s, table_id=0,
priority=32768, n_packets=16, n_bytes=1344, idle_timeout=0,hard_timeout=0,
dl_dst=00:00:00:00:00:02,actions=output:1
  cookie=0, duration_sec=268s, duration_nsec=463000000s, table_id=0,
priority=32768, n_packets=11, n_bytes=910,
idle_timeout=0,hard_timeout=0,dl_dst=00:00:00:00:00:03,actions=output:2

The packets seem to keep going to the controller.

Any ideas?

Thank you in advance!

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/private.cgi/pox-dev-noxrepo.org/attachments/20121001/5255baa3/attachment.htm>


More information about the pox-dev mailing list