Ethernet Bridge development
 help / color / mirror / Atom feed
From: Alex Shnitman <alexta69@yahoo.com>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Bridge not functional after disconnect / connect
Date: Wed, 30 Jan 2008 14:15:11 -0800 (PST)	[thread overview]
Message-ID: <994021.28860.qm@web60421.mail.yahoo.com> (raw)

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.

Please, if any more information is required, let me know. I don't want to spam the list with long dumps of everything if it's not needed.

Thanks in advance,
--Alex





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


             reply	other threads:[~2008-01-30 22:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 22:15 Alex Shnitman [this message]
2008-01-30 22:22 ` [Bridge] Bridge not functional after disconnect / connect Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2008-01-31  8:44 Alex Shnitman
2008-01-31  9:59 ` Malcolm Scott
2008-01-31 16:50 ` Stephen Hemminger
2008-01-31 11:31 Alex Shnitman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=994021.28860.qm@web60421.mail.yahoo.com \
    --to=alexta69@yahoo.com \
    --cc=bridge@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox