Thank you Murphy for your reply. I checked the problem by getting packets from wireshark and checked packet out. The problem I have is because of Wireless Interface. I am using wireless interface i.e. wlan0 for communication. I am pinging systems using WiFi. By checking POX controller I got that controller is sending flood message to AP. The following code of POX controller is executing
else: if packet.dst not in self.macToPort: # 4 flood("Port for %s unknown -- flooding" % (packet.dst,)) # 4a which means that it not getting destination mac to be saved. Now I am unable to add flow manually because my data is transferring via wlan0 now what should I define for in port and out port? How can I add flow in Openwrt for two PCs using Wireless LAN? On Mon, Dec 30, 2013 at 1:32 PM, Sayed Qaiser Ali Shah < 11msitqs...@seecs.edu.pk> wrote: > Yes Murphy I am using l2_learning and POX controller log shows switch is > connected but is not taking any action. I am also confused and don't know > what is the problem. > May be there is problem with configuration of switch. Because when > controller is down it still pings devices connected to switch. Don't know > what to do with. > > > On Mon, Dec 30, 2013 at 3:47 AM, Murphy McCauley < > murphy.mccau...@gmail.com> wrote: > >> I'm confused. You say the controller isn't taking action, but also that >> you're running l2_learning (which takes action). >> >> If you run... >> ./pox.py samples.pretty_log --DEBUG openflow.of_01 --address=192.168.1.2 >> --port=6633 >> .. the POX log should say that the switches have connected and pings >> shouldn't go through. Yes? No? >> >> -- Murphy >> >> On Dec 29, 2013, at 1:55 PM, Sayed Qaiser Ali Shah < >> 11msitqs...@seecs.edu.pk> wrote: >> >> Hello everybody, >> >> I am using POX controller on my Laptop. I have installed OpenWRT on TP >> Link 1043 nd. IP's of devices are as follows. >> WAN port of Tp Link to which Laptop (controller is attached) : 192.168.1.1 >> IP of Laptop: 192.168.1.2 >> >> To assign different network to wireless devices >> I have assigned IP to wlan0 via ifconfig. i.e. ifconfig wlan0 192.168.2.1 >> IP of PC1: 192.168.2.2 >> IP of PC2: 192.168.2.3 >> >> I connected PC1 and PC2 to devices successfully. Controller was unplugged >> and when I pinged PC2 from PC1 it was successful. But what I want is >> devices don't ping when controller has not defined a rule for that flow and >> flow is saved in AP. >> Note: I am getting packets (Logs) on controller but controller is not >> taking any decision. I am running l2_learning just for checking by using >> command >> ./pox.py openflow.of_01 --address=192.168.1.2 --port=6633 >> forwarding.l2_learning samples.pretty_log. >> Please anybody help me out of this. I am stuck in this since last month. >> >> >> -- >> >> >> >> >> *Regards Sayed Qaiser Ali ShahMSI NUST (SEECS)* >> _______________________________________________ >> openflow-discuss mailing list >> openflow-discuss@lists.stanford.edu >> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >> >> >> > > > -- > > > > > *Regards Sayed Qaiser Ali ShahMSIT-12 NUST (SEECS)* > -- *RegardsSayed Qaiser Ali ShahMSIT-12NUST (SEECS)*
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss