Unfortunately, that one is not worked. As long as the inport number and outport number is same, OvS will simply drop that matched packet.
On Sun, Aug 11, 2019, 12:51 AM <arti...@gmail.com> wrote: > Soe, > > Sorry about jumping in but the solution to your problem may be to force > the packet to be forwarded to the same ingress port by using the reserved > port OFPP_IN_PORT. > > Regards, > > Maen > > > > *From:* Soe Ye Htet <soeyehtet1...@gmail.com> > *Sent:* Saturday, August 10, 2019 12:17 PM > *To:* Pedro Andres Aranda Gutierrez <paag...@gmail.com> > *Cc:* Ryu-devel@lists.sourceforge.net > *Subject:* Re: [Ryu-devel] Modifying ingress port number in RYU controller > > > > Dear, > > > > Due to some situation in my wireless network, there is only one port in my > openflow switch. However, sometimes that openvswitch need to relay other > packets to other node for eg, if the wireless node receive that packet > receives at port number 1 and that received packet is not intended to that > node, that wireless node simply forward to its neighbor node. So the rules > will be, in_port=1, dst_ip=other wireless node's ip, actions=output:1. In > that case, OpenvSwtich will simply drop the packet instead of forwarding to > prevent the looping problem. Therefore, the in_port number need to be > logically changed. In openvswitch, we can simply install that rules by > putting command " sudo xxxxx actions="load:0->OXM_OF_IN_PORT[]". If you > know how to do that one, please let me know. > > > > Best regards, > > Soe Ye Htet > > Research Assistant > > Chulalongkorn University > > > > On Sat, Aug 10, 2019 at 10:07 PM Pedro Andres Aranda Gutierrez < > paag...@gmail.com> wrote: > > Hi, why would you want to do such a thing? Just curious, /Pedro > > Enviado desde mi iPhone > > > El 9 ago 2019, a las 9:41, Soe Ye Htet <soeyehtet1...@gmail.com> escribió: > > Dear RYU Team, > > > > May I raise one question that how can I change or modify the ingress port > number in RYU controller. In OVS, we can simply put "load:0->OXM_OF_IN_PORT[]" > this statement at action field. In RYU controller, > > how can i install that action. > > > > -- > > Best Regards, > > Soe Ye Htet > > Research Assistant (Chulalongkorn University) > > +66647240647 > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > -- > > Best Regards, > > Soe Ye Htet > > Research Assistant (Chulalongkorn University) > > +66647240647 > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-5295692434427211613_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel