<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>(Inline.)</div><div><br></div>On Dec 25, 2013, at 1:51 AM, Silvia Fichera <<a href="mailto:fichera.sil@gmail.com">fichera.sil@gmail.com</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I've tried with l2_learning and the result it's the same:<div><br></div><div><div>ERROR:openflow.of_01:[00-00-00-00-00-02 3] OpenFlow Error:</div><div>[00-00-00-00-00-02 3] Error: header: </div><div>
[00-00-00-00-00-02 3] Error: version: 1</div><div>[00-00-00-00-00-02 3] Error: type: 1 (OFPT_ERROR)</div><div>[00-00-00-00-00-02 3] Error: length: 76</div><div>[00-00-00-00-00-02 3] Error: xid: 8997</div>
<div>
[00-00-00-00-00-02 3] Error: type: OFPET_BAD_REQUEST (1)</div><div>[00-00-00-00-00-02 3] Error: code: OFPBRC_BUFFER_UNKNOWN (8)</div><div>[00-00-00-00-00-02 3] Error: datalen: 64</div><div>[00-00-00-00-00-02 3] Error: 0000: 01 0e 00 50 00 00 23 25 00 00 00 00 00 11 26 02 |...P..#%......&.|</div>
<div>[00-00-00-00-00-02 3] Error: 0010: f7 19 00 cf 26 c6 2c c9 90 93 ff ff 00 00 08 00 |....&.,.........|</div><div>[00-00-00-00-00-02 3] Error: 0020: 00 06 00 00 0a 54 37 f2 0a 00 00 65 b3 51 13 89 |.....T7....e.Q..|</div>
<div>[00-00-00-00-00-02 3] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 0a 00 1e 80 00 |................|</div></div><div><br></div><div><br></div><div>What do you exactly mean with manually down?</div></div></blockquote><div><br></div><div>Mininet has commands to set a link up or down via its CLI. You might manually take them down, start raising them in a non-loop way, testing that things work, and then see if things immediately break when upping one that loops. Something like that.</div><br><blockquote type="cite"><div dir="ltr"><div>I've tried with no loop topology and it works fine except when, while mininet starts switches, it says this (None 2, in this case):</div><div><br></div><div><div>NFO:core:POX 0.2.0 (carp) is up.</div><div>
INFO:openflow.of_01:[8e-a0-3f-85-d5-41 1] connected</div><div>INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: data len 86</div><div>INFO:openflow.of_01:[None 2] disconnected</div><div>INFO:openflow.of_01:[None 2] closed</div>
<div>INFO:openflow.of_01:[00-00-00-00-00-01 3] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-02 4] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-03 5] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-04 6] connected</div>
<div>INFO:openflow.of_01:[00-00-00-00-00-05 7] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-06 8] connected</div><div>INFO:openflow.discovery:link detected: 8e-a0-3f-85-d5-41.1 -> 00-00-00-00-00-04.1</div><div>
INFO:openflow.of_01:[00-00-00-00-00-07 9] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-08 10] connected</div><div>INFO:openflow.of_01:[00-00-00-00-00-09 11] connected</div></div></div></blockquote><div><br></div><div>You've got a packet very early on (the DHCP packet). Do you know where it's coming from?</div><div><br></div><div>Can you check that all your switches are defaulting to fail-secure and not fail-standalone?</div><div><br></div><div>I am wondering if somehow you're still getting a loop. Are you getting lots of the BUFFER_UNKNOWN errors? Can you sniff traffic in the Mininet network and check if there's just a ton?</div><div><br></div><div>Can you describe your configuration? Are you using FlowVisor? Running software in the Mininet hosts?</div><div><br></div><div>-- Murphy</div><div><br></div><blockquote type="cite"><div dir="ltr"><div>
Thanks!</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/24 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm... I wonder if you're getting a loop anyway.<br>
<br>
As a first test, what happens if you try using l2_learning instead of l3_learning?<br>
<br>
What if you manually down links to remove loops?<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Dec 24, 2013, at 10:42 AM, Silvia Fichera <<a href="mailto:fichera.sil@gmail.com">fichera.sil@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
> I have a topology with loops, and my version of Pox is up-to-date.<br>
> I run pox in this way:<br>
><br>
> ./pox.py forwarding.l3_learning openflow.discovery --eat-early-packets openflow.spanning_tree --no-flood --hold-down<br>
><br>
> after running pox I start mininet and I try to build a tcp connection with iperf from 2 hosts to the same host.<br>
> But I can't reach it (no route to host) and I have this error:<br>
><br>
> ERROR:openflow.of_01:[00-00-00-00-00-02 5] OpenFlow Error:<br>
> [00-00-00-00-00-02 5] Error: header:<br>
> [00-00-00-00-00-02 5] Error: version: 1<br>
> [00-00-00-00-00-02 5] Error: type: 1 (OFPT_ERROR)<br>
> [00-00-00-00-00-02 5] Error: length: 76<br>
> [00-00-00-00-00-02 5] Error: xid: 2046<br>
> [00-00-00-00-00-02 5] Error: type: OFPET_BAD_REQUEST (1)<br>
> [00-00-00-00-00-02 5] Error: code: OFPBRC_BUFFER_UNKNOWN (8)<br>
> [00-00-00-00-00-02 5] Error: datalen: 64<br>
> [00-00-00-00-00-02 5] Error: 0000: 01 0e 00 48 00 00 07 fe 00 00 20 40 00 18 d2 87 |...H...... @....|<br>
> [00-00-00-00-00-02 5] Error: 0010: 03 64 03 d1 00 00 00 00 00 06 ff ff 00 00 08 00 |.d..............|<br>
> [00-00-00-00-00-02 5] Error: 0020: 00 06 00 00 00 00 00 00 0a 00 00 65 00 00 13 89 |...........e....|<br>
> [00-00-00-00-00-02 5] Error: 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 |................|<br>
><br>
> Sometimes it happens just for one of the sender, sometimes for both of them.<br>
> Do you know how can I solve it?<br>
><br>
> Thank you and Happy Xmas<br>
><br>
> --<br>
> Silvia Fichera<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Silvia Fichera
</div>
</blockquote></div><br></body></html>