[ovs-discuss] Flooding of packets destined to OVS port's mac address

Pujar, Shyam (Nokia - IN/Bangalore) shyam.pujar at nokia.com
Thu Jul 23 12:36:41 UTC 2015


Hi,
                Flow entries in ovs are 0 in the initial phase. However I got reply from the group that switch ports do not have mac address.


Regards,
Shyam

From: ext Dave Waters [mailto:davewaters1970 at gmail.com]
Sent: Thursday, July 23, 2015 4:24 AM
To: Pujar, Shyam (Nokia - IN/Bangalore)
Cc: ext Gurucharan Shetty; bugs at openvswitch.org
Subject: Re: [ovs-discuss] Flooding of packets destined to OVS port's mac address

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) <shyam.pujar at nokia.com<mailto:shyam.pujar at nokia.com>> 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:shettyg at nicira.com<mailto:shettyg at nicira.com>]
Sent: Thursday, July 16, 2015 11:48 PM
To: Pujar, Shyam (Nokia - IN/Bangalore)
Cc: bugs at openvswitch.org<mailto:bugs at openvswitch.org>
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) <shyam.pujar at nokia.com<mailto:shyam.pujar at nokia.com>> wrote:
Hi ,
        Please find setup and testing procedure below.

[cid:image001.jpg at 01D0C572.52474350]

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
discuss at openvswitch.org<mailto:discuss at openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss


_______________________________________________
discuss mailing list
discuss at openvswitch.org<mailto:discuss at openvswitch.org>
http://openvswitch.org/mailman/listinfo/discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150723/c66a4c54/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 18205 bytes
Desc: image001.jpg
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150723/c66a4c54/attachment-0002.jpg>
-------------- next part --------------
An embedded message was scrubbed...
From: ext Gurucharan Shetty <shettyg at nicira.com>
Subject: Re: [ovs-discuss] Flooding of packets destined to OVS port's mac
 address
Date: Fri, 17 Jul 2015 14:56:09 +0000
Size: 45415
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150723/c66a4c54/attachment-0002.mht>


More information about the discuss mailing list