On Fri, Dec 07, 2018 at 12:24:02PM +0000, Sachin Sharma wrote: > Hi all, > I have created a setup of two nodes : VMa-----VMb. I ran ovs in VMb and > added the following flow entry in vmb: ovs-ofctl add-flow vmb in_port=1, > actions=in_port. > I now sent a ping message from VMa towards VMb. As I have a flow entry at > VMb with actions= in_port, I expect that the same packet should be received > by VMa. However, this is not happening. > > Currently, packets are looping back at VMb without even going to VMa > (similar to hair pin). Is this the correct behavior of the above flow > entry? or should VMa receive the packet which it has sent it before to VMb?
What do you mean by 'looping back at VMb?' actions=in_port is a special output syntax where you tell OVS that it should send the packet on the ingress port. Check the flow stats - ovs-ofctl dump-flows ovsbr0 and see if the rule is being used while you run the test. -- Flavio _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
