Skip to contentSkip to conversation

resolving MACs through /etc/ethers?

Bridge Samuel Thibault 1 participant 1 message Jun 19, 2016 Ethernet bridge

lore
Share & tools
lore
#0 lore 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