bridge interface looses its IP when cable inserted into LAN interface
I'm running nano image of a recent build on ALIX 2D3. I've bridged OPT1 and OPT2 and I assign the bridge interface as the LAN interface. When I connect or disconnect the LAN cable, the bridge looses it's IP address. Same if I disable the wireless interface. I'm running in a low power environment so it would be useful for all three 10/100 interfaces to act like switch ports.
Updated by Chris Buechler almost 12 years ago
- Category set to Interfaces
- Target version set to 2.0
Confirmed. When a bridge interface is re-created (such as by a devd event, unplugging/replugging a member NIC), the bridge is re-created properly, but its IP configuration is not reloaded.
Probably 2 things here that need to be addressed.
1) When re-creating a bridge, if the bridgeX interface is assigned, its configuration needs to be reloaded after the bridge is created.
2) A link up shouldn't destroy and re-create the bridge, as that should be unnecessary and it will cause a brief blip on all the other bridge member interfaces.