The MAC is router usually aligned internally by the router, and
contains unique hex digits.
Does any anyone recall how to query the digits to the display?
On Sun, Sep 01, 2024 at 08:40:31PM -0700, John Conover wrote:
The MAC is router usually aligned internally by the router, and
contains unique hex digits.
Does any anyone recall how to query the digits to the display?
$ ip -j link | jq '.[] | select(.address) | .ifname + ": " + .address'
"lo: 00:00:00:00:00:00"
"enp0s31f6: 10:7b:44:93:fa:c4"
"wlp3s0: 8a:48:9b:8d:09:da"
"br0: d2:1d:7d:50:18:08"
On Mon, Sep 02, 2024 at 12:27:52PM +0000, Andy Smith wrote:
$ ip -j link | jq '.[] | select(.address) | .ifname + ": " + .address'
"lo: 00:00:00:00:00:00"
For what it is worth:
$ ip --brief link
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
The MAC filter needs a local filter for the two 16 X dual hex, (23
total,) digits.
The MAC is router usually aligned internally by the router, and
contains unique hex digits.
Does any anyone recall how to query the digits to the display?
Thanks,
John
And if you're interested in only the interface name and MAC address, pipe that result to awk, so...
ip -br l | awk '{print $1,$3}'
The MAC filter needs a local filter for the two 16 X dual hex, (23
total,) digits.
The MAC is router usually aligned internally by the router, and
contains unique hex digits.
Does any anyone recall how to query the digits to the display?
Every reply I've seen talks about local macs.
Don't know a good way on ipv6, best I can think of is
ping ff02::1
$ ip --brief link
Hi,
On Wed, Sep 04, 2024 at 04:29:00AM +0000, Tim Woodall wrote:
Every reply I've seen talks about local macs.
To be honest I had trouble parsing the original post as a cohesive
English text. I mean it had words I understood, just not in that
particular combination.
Don't know a good way on ipv6, best I can think of is
ping ff02::1
ip neighbor
(is also the "new" way for IPv4)
Thanks,
Andy
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 147:53:03 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,737 |