switch logs, root@OpenWrt:~# tail -f /var/log/ofdatapath.log Sep 08 15:44:13|00009|rconn|INFO|tcp:192.168.1.2:6633: connected Sep 08 15:45:12|00001|vlog|INFO|opened log file /tmp/log/ofdatapath.log Sep 08 15:45:12|00002|secchan|INFO|OpenFlow reference implementation version 1.0.0 Sep 08 15:45:12|00003|secchan|INFO|OpenFlow protocol version 0x01 Sep 08 15:45:12|00004|secchan|WARN|new management connection will receive asynchronous messages Sep 08 15:45:12|00005|rconn|INFO|tcp:127.0.0.1:6634: connecting... Sep 08 15:45:12|00006|rconn|INFO|tcp:192.168.1.2:6633: connecting... Sep 08 15:45:12|00007|rconn|INFO|tcp:127.0.0.1:6634: connected Sep 08 15:45:12|00008|port_watcher|INFO|Datapath id is 000000000001 Sep 08 15:45:12|00009|rconn|INFO|tcp:192.168.1.2:6633: connected
POX logs openflow@openflowtutorial:~/pox$ ./pox.py log.level --WARNING --openflow=DEBUG forwarding.l2_pairs POX 0.0.0 / Copyright 2011-2012 James McCauley, et al. DEBUG:openflow.of_01:Listening on 0.0.0.0:6633 WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow nexus WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow nexus INFO:openflow.of_01:[00-00-00-00-00-01 1] connected ping works fine. trying to run tcpdump On Thu, Feb 7, 2013 at 2:38 PM, Murphy McCauley <[email protected]>wrote: > Try putting the attached in the pox ext directory and then running > ./pox.py log.level --DEBUG l2_pairs_debug > > Do a ping test and post the log. > > -- Murphy > > > > On Feb 6, 2013, at 1:39 AM, Shabbir Ahmed wrote: > > 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. > > wat logs do you want me to send. > > 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. > > thanks alot, > Shabbir. > > please... > > > On Wed, Feb 6, 2013 at 1:03 PM, Murphy McCauley <[email protected] > > wrote: > >> On Feb 5, 2013, at 11:52 PM, Shabbir Ahmed wrote: >> > 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, >> > >> > port of (mac address of tplink switch) unknown --- flooding, >> >> By itself, this message is not particularly meaningful -- it shows up >> when you run under Mininet too. >> Please post the rest of the log. >> When do you see this (that is, what are you trying to do when this >> happens)? >> Do you have two hosts connected to the switch and you're trying to ping >> across the switch? >> What else have you tried? What does and does not work? >> Have you tried with the betta branch of POX? >> >> Also, take a look through the troubleshooting section of the FAQ: >> http://tinyurl.com/helppox >> >> -- Murphy > > > > >
