Thank you so much Zoltan Lajos Kis for your great help and suggestion. I did it using OFPP_IN_PORT. But I have only one problem when working with OpenWrt on TP Link 1043. When controller is not connected clients still communicate with each other via wlan. Don't know what is the problem posted this problem many times but nobody responded to this conversation. Can you help me in this regard?
On Sun, Jan 5, 2014 at 6:50 PM, Sayed Qaiser Ali Shah < 11msitqs...@seecs.edu.pk> wrote: > Thanks a lot. I will try this. > > > On Sun, Jan 5, 2014 at 6:46 PM, Zoltán Lajos Kis < > zoltan.lajos....@ericsson.com> wrote: > >> From the specification: >> https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.0.0.pdf >> >> >> >> >> >> *From:* Sayed Qaiser Ali Shah [mailto:11msitqs...@seecs.edu.pk] >> *Sent:* Sunday, January 05, 2014 2:44 PM >> *To:* Zoltán Lajos Kis >> *Subject:* Re: [openflow-discuss] add-flow for WLAN in tp-link 1043nd >> >> >> >> Will you please explain a little more? how to get OFPP_IN_PORT value? >> >> >> >> On Sun, Jan 5, 2014 at 6:17 PM, Zoltán Lajos Kis < >> zoltan.lajos....@ericsson.com> wrote: >> >> Hi, >> >> >> >> If you want to send packets back on the input port, you must use the >> OFPP_IN_PORT value for output port, not the actual port number. >> >> >> >> Implementations usually reject flows that use the same port number for >> in_port and output port (e.g., [1]), as they would always drop packets. Did >> you check the output of the dpctl command? >> >> >> >> Regards, >> >> Zoltan. >> >> >> >> [1] >> http://yuba.stanford.edu/git/gitweb.cgi?p=openflow.git;a=blob;f=datapath/dp_act.c;hb=HEAD#l23 >> >> >> >> >> >> >> >> *From:* openflow-discuss-boun...@lists.stanford.edu [mailto: >> openflow-discuss-boun...@lists.stanford.edu] *On Behalf Of *Sayed Qaiser >> Ali Shah >> *Sent:* Sunday, January 05, 2014 2:03 PM >> *To:* openflow-discuss Discuss >> *Subject:* [openflow-discuss] add-flow for WLAN in tp-link 1043nd >> >> >> >> Hello everybody, >> >> I am using POX controller and TP Link 1043ND having openwrt installed and >> openflow configured. I am working with wireless scenarios. I have taken two >> systems as clients and want to communicate between them via wireless >> interface. As we have only one interface i.e. wlan0 through which both >> sending and receiving will take place. I want to add static flow on my TP >> Link. I used following command to add flow >> >> dpctl add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:1 >> >> When I checked dump-flows I got following output >> stats_reply (xid=0xc585ba9a): flags=none type=1(flow) >> >> Can anybody help me out that how to add flow for wireless interface? >> >> Note: Any suggestion will be appreciable >> >> >> >> >> -- >> >> >> >> >> *Regards Sayed Qaiser Ali Shah MSIT-12 NUST (SEECS)* >> > > > > -- > > > > > *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