Bridge & it's MAC address question
Subsystems (3)
Hi,
Could somebody explain, why bridge uses minimal MAC of the attached devices? It makes this address instable, variable during bridge life-cycle, which is not good for DHCP. For example, I want to attach multiple virtual devices to one physical. Then, I need to make sure that after each virtual device addition, bridge addr is not changed and still addr of the physical device. Why not to use MAC of the first attached device?
Signature · 2 lines
Thanks, Dmitry.
Quoted 9 lines · On Mon, 30 Oct 2006 15:27:14 +0300 Dmitry Mishin <[email protected]> wrote:
Hi,
Could somebody explain, why bridge uses minimal MAC of the attached devices? It makes this address instable, variable during bridge life-cycle, which is not good for DHCP. For example, I want to attach multiple virtual devices to one physical. Then, I need to make sure that after each virtual device addition, bridge addr is not changed and still addr of the physical device. Why not to use MAC of the first attached device?
The bridge physical address is the minimum of all the attached devices. This is done because the STP standard requires it. You can reset it to be the same as any of the attached devices. This will not cause a problem unless using STP.
Quoted 11 lines · Stephen Hemminger
Quoted 6 lines
Could somebody explain, why bridge uses minimal MAC of the attached devices? It makes this address instable, variable during bridge life-cycle, which is not good for DHCP. For example, I want to attach multiple virtual devices to one physical. Then, I need to make sure that after each virtual device addition, bridge addr is not changed and still addr of the physical device. Why not to use MAC of the first attached device?
The bridge physical address is the minimum of all the attached devices. This is done because the STP standard requires it. You can reset it to be the same as any of the attached devices. This will not cause a problem unless using STP.
You can in fact use any MAC address. The STP standard recommends using the minimum address, as that is deterministic, and so it doesn't depend on the order in which you enslave subdevices.
Quoted 9 lines · On Fri, 15 Dec 2006 14:19:08 +0100 Lennert Buytenhek <[email protected]>…
Quoted 7 lines · Stephen Hemminger
Quoted 6 lines
Could somebody explain, why bridge uses minimal MAC of the attached devices? It makes this address instable, variable during bridge life-cycle, which is not good for DHCP. For example, I want to attach multiple virtual devices to one physical. Then, I need to make sure that after each virtual device addition, bridge addr is not changed and still addr of the physical device. Why not to use MAC of the first attached device?
Quoted 8 lines
Quoted 4 lines
The bridge physical address is the minimum of all the attached devices. This is done because the STP standard requires it. You can reset it to be the same as any of the attached devices. This will not cause a problem unless using STP.
You can in fact use any MAC address. The STP standard recommends using the minimum address, as that is deterministic, and so it doesn't depend on the order in which you enslave subdevices.
So should restriction be lifted?
Please update wiki page FAQ, or I'll do it
[ dropped subscriber-only openvz.org list ]
Quoted 10 lines · Stephen Hemminger
Quoted 8 lines
Quoted 4 lines
The bridge physical address is the minimum of all the attached devices. This is done because the STP standard requires it. You can reset it to be the same as any of the attached devices. This will not cause a problem unless using STP.
You can in fact use any MAC address. The STP standard recommends using the minimum address, as that is deterministic, and so it doesn't depend on the order in which you enslave subdevices.
So should restriction be lifted?
We should definitely allow users to override the MAC address of a bridge interface.
Quoted 1 line
Please update wiki page FAQ, or I'll do it
Please do.
Quoted 11 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
The bridge physical address is the minimum of all the attached devices. This is done because the STP standard requires it. You can reset it to be the same as any of the attached devices. This will not cause a problem unless using STP.
You can in fact use any MAC address. The STP standard recommends using the minimum address, as that is deterministic, and so it doesn't depend on the order in which you enslave subdevices.
So should restriction be lifted?
We should definitely allow users to override the MAC address of a bridge interface.
Yes, i would love to have that feature.
I'm using a bridge for a Xen host machine. Interfaces of the Xen guests are dynamically added to and removed from the bridge. At the moment, i create and add a tun interface to the bridge, so the bridge has a valid mac address at all.