On Sat, Dec 7, 2013 at 6:20 PM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Dec 06, 2013 at 04:18:42PM +0100, Helmut Schaa wrote: >> When adding a physical port to the main bridge the mac address >> of the bridge is updated. We can do the same for fake bridges by >> copying the mac address of the parent bridge. >> >> There exists only one fake bridge per vlan, hence it is safe >> to copy the mac address of the parent bridge. >> >> Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com> > > Why do we want to do this?
Same reason as why a regular ovs bridge tries to use the mac address of a physical port instead of using a random mac. If the fake bridge is used as local access port to the specified VLAN it definitely makes sense to use a "physical MAC" if any is suitable for use to not confuse other network participants with a random MAC (DHCP server for example). Another option would have been to copy the main bridge logic and only consider ports on the same VLAN as the fake bridge for MAC inheritance. Hope this clarifies my intent, Helmut _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev