Project

General

Profile

Bug #272

bridge interface looses its IP when cable inserted into LAN interface

Added by Marcus Brown over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
01/04/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

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.

Associated revisions

Revision fcd4a425 (diff)
Added by Ermal Luçi over 9 years ago

Ticket #272. When reconfiguring an interface that is part of a bridge just add it to the bridge instead of reconfiguring the bridge again. This helps even in overall bridge functionality.

History

#1 Updated by Chris Buechler over 9 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.

#2 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

#3 Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF