Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Ben Pfaff
On Fri, May 23, 2014 at 05:23:40PM -0400, Lars Kellogg-Stedman wrote: > On Fri, May 23, 2014 at 01:15:47PM -0700, Ben Pfaff wrote: > > How is OVS supposed to tell that you modified it and that the value > > you gave it should stick? > > I am assuming that OVS receives some sort of notification via

Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Lars Kellogg-Stedman
On Fri, May 23, 2014 at 01:15:47PM -0700, Ben Pfaff wrote: > How is OVS supposed to tell that you modified it and that the value > you gave it should stick? I am assuming that OVS receives some sort of notification via the kernel when the MAC address is updated via 'ip link'. Am I wrong? This is

Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Ben Pfaff
On Fri, May 23, 2014 at 02:54:45PM -0400, Lars Kellogg-Stedman wrote: > On Fri, May 23, 2014 at 11:30:46AM -0700, Ben Pfaff wrote: > > > ip link set br-ex addr $MACADDR > > > > Yeah, generally the MAC address of the bridge is derived from the MAC > > addresses of the ports on the bridge. > >

Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Lars Kellogg-Stedman
On Fri, May 23, 2014 at 11:30:46AM -0700, Ben Pfaff wrote: > > ip link set br-ex addr $MACADDR > > Yeah, generally the MAC address of the bridge is derived from the MAC > addresses of the ports on the bridge. Well, that I expect. What is surprising is that setting it explicitly with the "ip"

Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Ben Pfaff
On Fri, May 23, 2014 at 02:25:44PM -0400, Lars Kellogg-Stedman wrote: > > What is causing the MAC address to change? How can I get it to stick? > > The answer here appears to be "don't set OVS bridge MAC addresses > using your normal system tools". While this fails as described... > > ip li

Re: [ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-23 Thread Lars Kellogg-Stedman
> What is causing the MAC address to change? How can I get it to stick? The answer here appears to be "don't set OVS bridge MAC addresses using your normal system tools". While this fails as described... ip link set br-ex addr $MACADDR This seems to stick: ovs-vsctl set bridge br-ex o

[ovs-discuss] Deleting port on one bridge changes MAC address of unrelated bridge

2014-05-22 Thread Lars Kellogg-Stedman
I'm trying to track down the cause of some really odd behavior I'm seeing with openvswitch in my OpenStack environment. I am trying to set a persistent MAC address on an OVS bridge and I find that it is changing unexpectedly. After bringing bridge `br-ex` down and then back up using `ifdown` and