[Bridge] Bridge not functional after disconnect / connect

Alex Shnitman alexta69 at yahoo.com
Thu Jan 31 00:44:58 PST 2008


Hi,

lspci gives this:

02:05.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
02:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

The first one is the one having the trouble. Is this hardware known to be problematic?

Thanks,
--Alex


----- Original Message ----
From: Stephen Hemminger <shemminger at linux-foundation.org>
To: Alex Shnitman <alexta69 at yahoo.com>
Cc: bridge at lists.linux-foundation.org
Sent: Thursday, January 31, 2008 12:22:22 AM
Subject: Re: [Bridge] Bridge not functional after disconnect / connect


On 
Wed, 
30 
Jan 
2008 
14:15:11 
-0800 
(PST)
Alex 
Shnitman 
<alexta69 at yahoo.com> 
wrote:

> 
Hi,
> 
> 
I 
have 
two 
NICs 
on 
my 
machine, 
one 
connected 
to 
a 
router 
and 
is 
always 
up, 
and 
the 
other 
connected 
back-to-back 
to 
a 
laptop, 
and 
this 
one 
I 
disconnect 
and 
connect 
all 
the 
time. 
I 
created 
a 
bridge 
on 
top 
of 
these 
two 
interfaces, 
and 
it 
functions 
fine, 
except 
when 
I 
disconnect 
and 
connect 
the 
laptop, 
I 
have 
to 
remove 
it 
from 
the 
bridge 
and 
add 
it 
back 
before 
it 
starts 
bridging! 
In 
other 
words, 
I 
need 
to 
do 
"brctl 
delif 
br0 
eth0; 
brctl 
addif 
br0 
eth0".
> 
> 
The 
output 
of 
"brctl 
showmacs 
br0" 
and 
"brctl 
showstp 
br0" 
looks 
the 
same 
and 
perfectly 
correct 
before 
the 
removal/adding 
and 
after 
it. 
>From 
playing 
around 
with 
Wireshark 
it 
seems 
to 
me 
that 
before 
delif/addif 
only 
broadcasts 
are 
received 
from 
the 
laptop; 
unicast 
packets 
do 
not 
appear 
there. 
I 
got 
all 
zeros 
in 
/proc/sys/net/bridge/*. 
It 
looks 
like 
everything 
is 
configured 
correctly.
> 
> 
Any 
idea 
at 
all 
why 
I 
see 
this 
behavior? 
Any 
tips 
as 
to 
how 
I 
might 
debug 
it?
> 
> 
The 
kernel 
I'm 
running 
is 
2.6.18 
from 
Debian 
Etch.

What 
hardware? 
There 
were 
many 
fixes 
since 
that 
old 
kernel.

-- 
Stephen 
Hemminger 
<stephen.hemminger at vyatta.com>





      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Bridge mailing list