Ethernet Bridge development
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Benjamin Vanheuverzwijn <bvanheu@gmail.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Disable mac address learning
Date: Sat, 27 Nov 2010 14:16:47 -0800	[thread overview]
Message-ID: <20101127141647.6814f62f@nehalam> (raw)
In-Reply-To: <AANLkTikviZkym71gVp6BZUeiqHjbARhjB-J-mnE_5A6J@mail.gmail.com>

On Sat, 27 Nov 2010 16:46:34 -0500
Benjamin Vanheuverzwijn <bvanheu@gmail.com> wrote:

> Hi,
> 
> Is there a way to disable the mac address learning in linux using "brctl" or
> custom code so any packet sent to the bridge will be flooded in each
> interfaces.
> 
> I would like to do something similar as OpenBSD:
> $ brconfig <bridge> -learn <iface>
> $ man brconfig
> ...
>      -learn interface
>              Mark interface so that the source address of packets received
>              from interface are not entered into the address cache.
> ...
> 
> I tried to search on google and on the mailing-list without success.

Just set ageing time to zero no need for special config option.

  reply	other threads:[~2010-11-27 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-27 21:46 [Bridge] Disable mac address learning Benjamin Vanheuverzwijn
2010-11-27 22:16 ` Stephen Hemminger [this message]
2010-11-27 22:21   ` Benjamin Vanheuverzwijn
2010-11-28 13:27     ` matan monitz

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=20101127141647.6814f62f@nehalam \
    --to=shemminger@linux-foundation.org \
    --cc=bridge@lists.linux-foundation.org \
    --cc=bvanheu@gmail.com \
    /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