Hi Nicholas,
On 2017年08月26日 16:36, Nicholas Brasini wrote:
Hi guys!
I use Mininet and Ryu Controller (4.15).
I launch h1 ping h2 -c 5.
With the REst call /stats/flow/<dpid> I see that packet_count of OUTPUT:2 is 5, but packet_count of
OUTPUT:1 is 6.
Why?? The reason is the first ARP packet, from h1 to broadcast?
Are you using ryu/app/simple_switch_13.py?
If so, almost right.
On the following topology, for example:
Ryu
|
h1 --- s1 --- h2
The first ARP packet from h1 will be broadcasted and flow entry like "match=<h1's
MAC>,
action=<output to port1>" will not be installed on s1, but for replay for this
ARP will
be unicasted and flow entry like "match=<h2's MAC>, action=<output to port2>"
will be
installed.
The flow entry of "match=<h1's MAC>, action=<output to port1>" will be
installed when
the first ICMP packet and not be counted when forwarded h1-->h2, then the
packet_count
for h1-->h2 will be 1 packet smaller than that for h2-->h1.
Please note this is depending on simple_switch_13.py implementation, and not
always
true if you are using other applications.
Thanks,
Iwase
Thanks,
Nicholas.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel