<div dir="ltr"><div>thank you very much Murphy, right now my objective is learning the openflow with spending less amount, i think a real switch would be lot expansive so im restricted. ill try to make changes in the ....debug.py will try to block a src mac to a desitnation mac but im affraid the ping will still work ... otherwise ill test all this on ovs and wait for a time when i have a openflow switch available to me.<br>
<br>thanks,<br><br></div>what would be the command on openwrt to look at the forwarding table?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 8, 2013 at 11:08 AM, 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 class="im">On Feb 7, 2013, at 10:01 PM, Shabbir Ahmed wrote:<br>
<br>
> another reason could be that the switch in tp-link is not 100% openflow compatible?<br>
<br>
</div>Well, the switch you're running is pretty much all software, so that's not likely to be it.<br>
<div class="im"><br>
> can u guide me how to confirm if im doing the right thing (troubleshooting cmds), and OpenFlow is working? and u can give some links to learn more, wat was wrong with l2_forwaring?<br>
<br>
</div>The problem with l2_forwarding is that it's seeing everything as coming from the same port. This is actually going to stop l2_pairs or anything from working correctly, pretty much. Without being able to control ports independently, you're fairly limited in what you can do.<br>
<br>
It's fairly common for cheap switches to have like three real ports. One is the "WAN" port used to connect to the internet. One is the wireless adapter. The other is a single port which is connected to a dumb switch or hub and then fanned out into like four other ports (as viewed by OpenFlow, these are all a single port).<br>
<br>
You might want to find out if this is the case with your switch. You can probably find a reference to it somewhere. Also, if you run POX with no components and can still ping between the ports, they're probably all switched/hubbed together. Also... if the back of your switch has like five ports on it, but there are only like three interfaces in your ifconfig list, this is probably the case.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy</font></span></blockquote></div><br></div>