[Bridge] problem with bridge on soho router, when lan interface down, all go down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Oct 2006 03:38:26 -0800 (PST)
Douglas Chen <g5ranger at yahoo.com> wrote:

> Hi, 
> 
> I am using Linux 2.6.9 kernel on my soho router right now hoping to link the WAN and the LAN (4-port switch) ports together as the same network.  I am actually using two routers , connecting the wan port to each other, but this problem should apply to just one.
> 
> Ok, here's the problem.  The WAN port is eth0 and the LAN ports is eth1.  Assuming I have all 4 LAN ports connected to PCs.  When I remove any one of the connections, the bridge (or precisely eth1) enters the disabled state as normal.  However, since all 4 ports share the same eth1 interface, this also takes down the whole thing down and hence disables all other active connections.  I have to re-plug the cable back into the port to initiate a learning state -> forward state to bring the connections back or keep at least one connection constantly transmitting packets.  However, there is still like 20-30 seconds of disruption before recovery.  
> 

If you aren't using STP, just set forwarding delay to zero

brctl setfd br0 0


> I was wondering if anyone has experienced this before and appreciate for any solutions!!
> Can bridge recognize these ports separately so it doesn't take down everything as a whole?
> 

Only if they are separate interfaces.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux