Shyam, Not sure but the following could be happening:
When OVS receives the first packet with its own MAC address it hands it over to the Linux kernel for L3 processing. Its the linux kernel that will now forward the packet. Not sure if there will be a data plane rule installed for this flow. You could send us the output of ovs-dpctl dump-flows so that we could look at what flow gets installed when you send packets. Dave On Fri, Jul 17, 2015 at 12:43 PM, Pujar, Shyam (Nokia - IN/Bangalore) < [email protected]> wrote: > Hi, > > MAC addresses mentioned in the diagram are just for > example. > > MAC addresses used were as follows: > > > > Client Program: > > 52:54:00:00:01:02 > > > > Server Program: > > 52:56:11:80:80:41 > > > > TAP1: > > 52:F3:12:E4:6D:A9 > > > > TAP2: > > 72:17:32:32:15:F8 > > > > Regards, > > Shyam > > > > *From:* ext Gurucharan Shetty [mailto:[email protected]] > *Sent:* Thursday, July 16, 2015 11:48 PM > *To:* Pujar, Shyam (Nokia - IN/Bangalore) > *Cc:* [email protected] > *Subject:* Re: [ovs-discuss] Flooding of packets destined to OVS port's > mac address > > > > I don't know the answer, but some of your mac addresses have multi-cast > bit enabled. So I wonder whether that is the problem. > > > > On Wed, Jul 15, 2015 at 12:18 PM, Pujar, Shyam (Nokia - IN/Bangalore) < > [email protected]> wrote: > > Hi , > > Please find setup and testing procedure below. > > > > > > 1. In the above setup, Client Program tries to send packet with > src_mac: 3:3:3:3:3:3 and dst_mac: 1:1:1:1:1:1. > > 2. Packet is flood to port tap2. > > 3. Why does OVS flood packets when dst_mac received is its own > port’s mac address. > > 4. As it forwards to other ports, there is no one to reply for > dst_mac other than OVS bridge itself. > > 5. Where as in case of Linux bridge, packet is not flooded to other > ports. Instead packet is dropped. > > > > Could you please tell me how do switches in real work? As per my > understanding there should be static entries in forwarding table of switch > for its own mac addresses. > > And default action should be present for it. > > > > > > Regards, > > Shyam > > > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
