<div dir="ltr"><div><div><div>switch logs,<br>root@OpenWrt:~# tail -f /var/log/ofdatapath.log<br>Sep 08 15:44:13|00009|rconn|INFO|tcp:<a href="http://192.168.1.2:6633">192.168.1.2:6633</a>: connected<br>Sep 08 15:45:12|00001|vlog|INFO|opened log file /tmp/log/ofdatapath.log<br>
Sep 08 15:45:12|00002|secchan|INFO|OpenFlow reference implementation version 1.0.0<br>Sep 08 15:45:12|00003|secchan|INFO|OpenFlow protocol version 0x01<br>Sep 08 15:45:12|00004|secchan|WARN|new management connection will receive asynchronous messages<br>
Sep 08 15:45:12|00005|rconn|INFO|tcp:<a href="http://127.0.0.1:6634">127.0.0.1:6634</a>: connecting...<br>Sep 08 15:45:12|00006|rconn|INFO|tcp:<a href="http://192.168.1.2:6633">192.168.1.2:6633</a>: connecting...<br>Sep 08 15:45:12|00007|rconn|INFO|tcp:<a href="http://127.0.0.1:6634">127.0.0.1:6634</a>: connected<br>
Sep 08 15:45:12|00008|port_watcher|INFO|Datapath id is 000000000001<br>Sep 08 15:45:12|00009|rconn|INFO|tcp:<a href="http://192.168.1.2:6633">192.168.1.2:6633</a>: connected<br><br><br></div>POX logs<br><br>openflow@openflowtutorial:~/pox$ ./pox.py log.level --WARNING --openflow=DEBUG  forwarding.l2_pairs<br>
POX 0.0.0 / Copyright 2011-2012 James McCauley, et al.<br>DEBUG:openflow.of_01:Listening on <a href="http://0.0.0.0:6633">0.0.0.0:6633</a><br>WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow nexus<br>
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow nexus<br>INFO:openflow.of_01:[00-00-00-00-00-01 1] connected<br><br><br></div>ping works fine.<br></div>trying to run tcpdump<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 2:38 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Try putting the attached in the pox ext directory and then running ./pox.py log.level --DEBUG l2_pairs_debug</div>
<div><br></div><div>Do a ping test and post the log.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Murphy</div><div><br></div></font></span></div><br><div style="word-wrap:break-word"><br><div><div>
On Feb 6, 2013, at 1:39 AM, Shabbir Ahmed wrote:</div><br><blockquote type="cite"><div dir="ltr"><div><div>Yes, I have two hosts connected to the switch and you're trying to ping across the switch. even if i dont ping the two hosts, as the it conntects to a controller it starts displaying this msg. the ping works but i think due to the switch's self learning process and not through OpenFlow bcaz in the absense of controller the ping should not work? am i right? I was recieving the same msg with mininet then i refreshed the git clone after which it started working, when i try to ping host in mininet it displays the mac addresses and then displays msg adding entry.<br>

<br></div>wat logs do you want me to send.<br><br></div><div>1 more thing i can use enable_learning '0' in switch configuration on openwrt but it doesnt effect any thing, where i think of this statement as disable default learning of the switch. the switch chip installed is 'rtl8366rb'. I have a rb450g and i have ported the latest openwrt and followed pantou but same error.<br>

<br></div><div>thanks alot,<br></div><div>Shabbir.<br></div><div><br></div>please...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 1:03 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Feb 5, 2013, at 11:52 PM, Shabbir Ahmed wrote:<br>
> I am trying to set up openflow, openwrt on tp-link, here i have issue, if i run pox forwarding.l2_learning with mininet it works fine, but when i try to use it on tp-link, it gives the following msg,<br>
><br>
> port of (mac address of tplink switch) unknown --- flooding,<br>
<br>
</div>By itself, this message is not particularly meaningful -- it shows up when you run under Mininet too.<br>
Please post the rest of the log.<br>
When do you see this (that is, what are you trying to do when this happens)?<br>
Do you have two hosts connected to the switch and you're trying to ping across the switch?<br>
What else have you tried?  What does and does not work?<br>
Have you tried with the betta branch of POX?<br>
<br>
Also, take a look through the troubleshooting section of the FAQ:<br>
<a href="http://tinyurl.com/helppox" target="_blank">http://tinyurl.com/helppox</a><br>
<span><font color="#888888"><br>
-- Murphy</font></span></blockquote></div><br></div>
</blockquote></div><br></div><br></blockquote></div><br></div>