From: "Покотиленко Костик" <casper@meteor.dp.ua>
To: Grant Taylor <gtaylor@riverviewtech.net>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: ebtables mac update
Date: Wed, 30 Jun 2010 12:09:02 +0300 [thread overview]
Message-ID: <1277888942.4255.0.camel@casper.meteor.dp.ua> (raw)
In-Reply-To: <4C2A0703.5040007@riverviewtech.net>
В Вто, 29/06/2010 в 09:45 -0500, Grant Taylor пишет:
> On 06/29/10 07:36, Pascal Hambourg wrote:
> > The Linux bridge maintains a MAC-port table based on the source MAC
> > address in received frames. As expected, if a MAC address was
> > associated to a given port and a frame from that MAC address is
> > received on a different port, then the table is updated accordingly.
> > Besides, rebooting the modems and not the Linux box fixes the
> > problem. So I doubt that the Linux bridge causes the problem.
>
> I mostly agree.
>
> The only thing that I would wonder about is is it possible that Linux is
> seeing the link go down on the physical NIC that is connected to the
> bridge, thus taking the logical port in the bridge down there by causing
> it's learned MAC addresses associated with that port to be lost.
>
> This could easily be tested by putting a hub (or similar) between the
> Linux box and the Zyxel bridge. That way when the bridge is rebooted,
> the Linux box does not see the link go down. If the problem still
> corrects its self, you have completely removed the Linux box from the
> tests, there by strongly pointing at the Zyxel bridge.
Worth trying.
> > Of course the update process requires that the moved box sends
> > traffic first. If it just sits there waiting then MAC-port tables
> > won't be updated, until the entry eventually expires.
>
> Agreed.
>
> Pining or broadcasting looking to see what devices are on the far end
> should accomplish the same thing.
>
> > Then may I ask what is the purpose of this box ?
>
> Remember that EBTables modifies how in kernel bridging behaves. Thus
> the in kernel bridging will still behave like a normal bridge, even if
> EBTables rules are not used. (In fact it is possible to have bridging
> support in the kernel with out EBTables.)
>
> Bridges will still learn (and forget / expire) where MAC addresses are.
> So even if there were not EBTables rules, the bridge its self will
> learn what hosts are on what side of the bridge there by intelligently
> forwarding (or not) frames across the link that don't need to be.
>
> I would have been tempted to put a bridge on both sides, not just the
> one. Because as it is, broadcasts for the end with out the network are
> still propagated across the link.
This is to be done. But there is no issue with this until now.
--
Покотиленко Костик <casper@meteor.dp.ua>
prev parent reply other threads:[~2010-06-30 9:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 10:43 ebtables mac update Покотиленко Костик
2010-06-29 12:36 ` Pascal Hambourg
2010-06-29 14:29 ` Покотиленко Костик
2010-06-29 14:57 ` Grant Taylor
2010-06-30 9:24 ` Покотиленко Костик
2010-06-30 15:39 ` Pascal Hambourg
2010-06-30 23:38 ` Покотиленко Костик
2010-06-30 23:54 ` Grant Taylor
2010-07-01 9:08 ` Покотиленко Костик
2010-07-01 16:10 ` Grant Taylor
2010-07-01 17:00 ` Покотиленко Костик
2010-07-01 17:13 ` Покотиленко Костик
2010-07-01 9:59 ` Pascal Hambourg
2010-07-01 10:11 ` Покотиленко Костик
2010-07-01 10:49 ` Pascal Hambourg
2010-07-01 11:05 ` Покотиленко Костик
2010-06-29 14:45 ` Grant Taylor
2010-06-29 17:03 ` Jan Engelhardt
2010-06-29 19:02 ` Grant Taylor
2010-06-30 9:09 ` Покотиленко Костик [this message]
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=1277888942.4255.0.camel@casper.meteor.dp.ua \
--to=casper@meteor.dp.ua \
--cc=gtaylor@riverviewtech.net \
--cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).