Ethernet Bridge development
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: bridge@linux-foundation.org
Subject: [Bridge] resolving MACs through /etc/ethers?
Date: Sun, 19 Jun 2016 15:45:26 +0200	[thread overview]
Message-ID: <20160619134526.GA8292@var.home> (raw)

Hello,

I wanted to check which MACs show up in brctl showmacs, and I would
have thought that brctl would have resolved the MAC addresses thanks to
/etc/ethers, so that instead of

€ brctl showmacs br0
port no	mac addr		is local?	ageing timer
  1	00:00:12:34:56:78	no		   0.59

with 

00:00:12:34:56:78 myrouter

in /etc/ethers, I would get

€ brctl showmacs br0
port no mac addr                is local?       ageing timer
  1     myrouter                no                 0.59

and of course a -n option would revert to showing the MAC address.

What do you think of that feature?

Samuel

                 reply	other threads:[~2016-06-19 13:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20160619134526.GA8292@var.home \
    --to=samuel.thibault@ens-lyon.org \
    --cc=bridge@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