From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Michel Lammertink <mlammertink@ti-wmc.nl>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Why should static MAC address match one of the port MAC addresses.
Date: Tue, 12 Oct 2010 09:44:08 -0700 [thread overview]
Message-ID: <20101012094408.357a324d@nehalam> (raw)
In-Reply-To: <4CB46549.2070901@ti-wmc.nl>
On Tue, 12 Oct 2010 15:40:25 +0200
Michel Lammertink <mlammertink@ti-wmc.nl> wrote:
> Hi all,
>
> I've read many messages on this mailing list with the question about
> setting a static MAC address on the bridge interface, but two questions
> remain:
>
> 1. Why should the MAC address of the bridge match the address of one of
> its interfaces? Setting the MAC address to a different value does not
> generate an error, but the bridge is not working properly (Local data
> does not arrive).
No longer a requirement. It was just a good way to ensure a good
address that was unique, and not being used by other systems.
> 2. Why does the bridge by default choose the "lowest" MAC address,
> instead of the MAC address of the first port added, as is proposed by
> the standard [1]?
It was a convenience in original design to choose a consistent value.
Since ports can be added in any order, using the lowest seemed like
a good idea for the original author. This has been maintained for
backwards compatibility.
> [1] IEEE802.1D, Par. 7.12.5.
> Quote: "The Bridge Address may be the individual MAC Address of a
> Bridge Port, in which case, use of the address of the lowest numbered
> Bridge Port (Port 1) is recommended."
>
> Thanks in advance,
>
> Michel.
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
--
next prev parent reply other threads:[~2010-10-12 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 13:40 [Bridge] Why should static MAC address match one of the port MAC addresses Michel Lammertink
2010-10-12 16:44 ` Stephen Hemminger [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-19 22:16 Rolf Fokkens
2010-12-19 22:19 ` Rolf Fokkens
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=20101012094408.357a324d@nehalam \
--to=shemminger@linux-foundation.org \
--cc=bridge@lists.linux-foundation.org \
--cc=mlammertink@ti-wmc.nl \
/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