Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. VyOS reports no MAC (Eric W. Bates (he))
2. Re: VyOS reports no MAC (Oliver Gorwits)
--- Begin Message ---
We have used VyOS to run wireguard tunnels to two remote locations; so
we have 3 copies of VyOS altogether.
The remote locations each have their own copy of NetDisco and we have
one here at the mother ship.
The two remote copies of VyOS became devices on their copy of NetDisco;
but the one here shows up only as a Node.
The Node version has a MAC address displayed.
The two Device versions do not display a MAC address (missing in the
database and via the API).
So I think I have 2 issues:
- Why didn't all 3 enter NetDisco as Devices? (and how do I fix the one)
- Why is there no MAC displayed?
I'd like to help debug this; but I'm not completely sure where to start.
I'd like to copy the OID used by NetDisco to query for the MAC and
confirm (or not) that the VyOS is actually supplying the info correctly.
Presumably that's buried somewhere in SNMP::Info::Layer3::VyOS?
Thank you for your time.
--
Clark 159a
508/289-3112
smime.p7m
Description: smime.p7m
--- End Message ---
--- Begin Message ---
Dear Eric
Netdisco can discover a device either via LLDP (or CDP or other neighbor
protocols) or you can manually ask for discovery. So I imagine the Vyatta
that is a node is either not running LLDP/CDP, or is not running SNMP
agent, or there is an ACL on SNMP agent so it doesn't respond. I know that
VyOS sometimes needs additional config locally to get SNMP working (e.g.
https://github.com/netdisco/netdisco/wiki/Vendor-Tips#linux-snmp-service-agent
)
Missing MAC address can be caused by the vendor putting the MAC address
somewhere unusual and SNMP::Info needs to know where to look. For example
the Layer3 class (which is used by VyOS class) goes to look at the first
entry in the device physical address (interface MAC address) table, as
here:
https://github.com/netdisco/snmp-info/blob/master/lib/SNMP/Info/Layer3.pm#L87
.
You can try "~/bin/netdisco-do show -DI -e mac" or "~/bin/netdisco-do show
-DI -e ifPhysAddress"
Hope this helps
Oliver.
On Wed, 16 Aug 2023 at 23:43, Eric W. Bates (he) <eba...@whoi.edu> wrote:
> We have used VyOS to run wireguard tunnels to two remote locations; so
> we have 3 copies of VyOS altogether.
> The remote locations each have their own copy of NetDisco and we have
> one here at the mother ship.
> The two remote copies of VyOS became devices on their copy of NetDisco;
> but the one here shows up only as a Node.
> The Node version has a MAC address displayed.
> The two Device versions do not display a MAC address (missing in the
> database and via the API).
>
> So I think I have 2 issues:
> - Why didn't all 3 enter NetDisco as Devices? (and how do I fix the one)
> - Why is there no MAC displayed?
>
> I'd like to help debug this; but I'm not completely sure where to start.
>
> I'd like to copy the OID used by NetDisco to query for the MAC and
> confirm (or not) that the VyOS is actually supplying the info correctly.
> Presumably that's buried somewhere in SNMP::Info::Layer3::VyOS?
>
> Thank you for your time.
>
> --
> Clark 159a
> 508/289-3112
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users