• MAC filter

    From John Conover@21:1/5 to All on Mon Sep 2 05:50:01 2024
    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

    --

    John Conover, conover@panix.com, http://www.johncon.com/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to John Conover on Mon Sep 2 14:30:02 2024
    Hi,

    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"

    Thanks,
    Andy

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geert Stappers@21:1/5 to Andy Smith on Mon Sep 2 22:00:01 2024
    On Mon, Sep 02, 2024 at 12:27:52PM +0000, Andy Smith wrote:
    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"


    Nice


    For what it is worth:


    $ ip --brief link
    lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> enxe4b97a90028f DOWN e4:b9:7a:90:02:8f <NO-CARRIER,BROADCAST,MULTICAST,UP>
    wlp59s0 UP 9c:b6:d0:b8:ee:53 <BROADCAST,MULTICAST,UP,LOWER_UP>
    ovs-system DOWN 6e:bc:cb:93:09:25 <BROADCAST,MULTICAST>
    ovsbr0 UNKNOWN f6:eb:8e:8b:03:4c <BROADCAST,MULTICAST,UP,LOWER_UP>
    docker0 DOWN 02:42:e5:77:af:cb <NO-CARRIER,BROADCAST,MULTICAST,UP>
    $


    Groeten
    Geert Stappers
    Who did not understood the original request
    --
    Silence is hard to parse

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tom Furie@21:1/5 to Geert Stappers on Mon Sep 2 23:00:01 2024
    On Mon, Sep 02, 2024 at 09:52:23PM +0200, Geert Stappers wrote:
    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>

    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}'

    Cheers,
    Tom

    --
    Many people are unenthusiastic about their work.

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQQGVmwS0YQiQ4wUXL3ay+6nbuusiQUCZtYk9wAKCRDay+6nbuus iWmoAJ9XMtZdNEgwpCSEPLPuKHoSPDhfugCfYMYZoiVsUoWLX5BuJNca7v3y/qs=
    =NGYF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gene heskett@21:1/5 to John Conover on Tue Sep 3 00:10:01 2024
    On 9/1/24 23:41, John Conover wrote:

    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

    Usually displayed on the routers home web page. If not there, check the
    status pages. But you may have enter your user & pw to see that.

    Cheers, Gene Heskett, CET.
    --
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo. Please use in that order."
    -Ed Howdershelt (Author, 1940)
    If we desire respect for the law, we must first make the law respectable.
    - Louis D. Brandeis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Tue Sep 3 00:50:01 2024
    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}'

    Note that the $3 won't always be a MAC address:

    % ip --brief link
    lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
    [...]
    tun0 UNKNOWN <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP>
    %


    - Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Woodall@21:1/5 to John Conover on Wed Sep 4 06:30:02 2024
    On Sun, 1 Sep 2024, John Conover wrote:


    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.

    arp -a

    ipv4.firewall17.home.woodall.me.uk (192.168.100.1) at 00:16:3e:e0:70:01 [ether] on eth0

    if you're using ipv4

    Don't know a good way on ipv6, best I can think of is
    ping ff02::1

    64 bytes from fe80::216:3eff:fee0:7001%eth0: icmp_seq=3 ttl=64 time=2.15ms

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Smith@21:1/5 to Tim Woodall on Wed Sep 4 12:50:01 2024
    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

    --
    https://bitfolk.com/ -- No-nonsense VPS hosting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to Geert Stappers on Wed Sep 4 14:30:01 2024
    On Mon Sep 2, 2024 at 8:52 PM BST, Geert Stappers wrote:
    $ ip --brief link

    That is *so* much more legible than the standard output it's a shame it
    wasn't the default. I've resisted internalising usage of `ip` under the
    vague hope that it will eventually be displaced by something friendlier
    to read by default, saving me the effort.

    --
    Please do not CC me for listmail.

    👱🏻 Jonathan Dowland
    jmtd@debian.org
    🔗 https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tim Woodall@21:1/5 to Andy Smith on Thu Sep 5 02:00:01 2024
    On Wed, 4 Sep 2024, Andy Smith wrote:

    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.

    Yes. I assumed the author wasn't an English soeaker.

    Don't know a good way on ipv6, best I can think of is
    ping ff02::1

    ip neighbor

    Nice. Thanks. And ip neighbour works too :-)

    (is also the "new" way for IPv4)

    Thanks,
    Andy



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)