Send netdisco-users mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Netdisco and FreeBSD (Mark Redding)
   2. Re: Netdisco and FreeBSD (Simon Hobson)
   3. Re: Netdisco and FreeBSD (Mark Redding)
--- Begin Message ---
Hi all,

Does anyone have experience using netdisco in an environment where the
network is based upon FreeBSD servers running as routers?

I have a network consisting of 20+ FreeBSD routers running zebra/ospf plus
lldp and net-snmp. I have HP switches (1800 series and 1900 series) on the
network each with LLDP enabled.

I've installed netdisco onto a GNU/Linux server and tried running the
"netdisco-do discover" command using the IP address of one of the routers -
it picks up the router okay, but does not then discover any further devices
on the network. Executing "lldpcli show neighbors" on the router shows each
of the devices that are physically connected to it.

I was rather hoping (expecting) that netdisco would be able to crawl the
network discovering connected devices - was this being over-optimistic?

I have also used nmap to gather a list of the switches and access points
within the network and have run a "netdisco-do discover" against each of
these IP addresses - that kind of works; in that it picks up links between
switches and access points, but it's not picking up the links between the
routers, nor the switches that are directly connected to the routers. This
is not an ideal workaround as it'd require me to re-run the nmap from time
to time in order to seek out any changes.

Is there something I'm missing in the netdisco configuration (which is
pretty much out of the box apart from an addition of a community string) or
from the FreeBSD lldp / net-snmp configs (out of the box apart from a
change to sysServices to 76 in /etc/snmpd.conf and the addition of
"configure system ip management pattern x.x.x.x" in
/usr/local/etc/lldp.d/rtr.conf).

any pointers gratefully received,
Mark

--- End Message ---
--- Begin Message ---
On 22 January 2020 13:38:41 GMT+00:00, Mark Redding <[email protected]> wrote:

>Does anyone have experience using netdisco in an environment where the
>network is based upon FreeBSD servers running as routers?
>
>I have a network consisting of 20+ FreeBSD routers running zebra/ospf
>plus
>lldp and net-snmp. I have HP switches (1800 series and 1900 series) on
>the
>network each with LLDP enabled.
>
>I've installed netdisco onto a GNU/Linux server and tried running the
>"netdisco-do discover" command using the IP address of one of the
>routers -
>it picks up the router okay, but does not then discover any further
>devices
>on the network. Executing "lldpcli show neighbors" on the router shows
>each
>of the devices that are physically connected to it.

I did this a few years ago (hence details a bit fuzzy) with Linux based 
devices. IIRC SNMP & LLDP daemons had to be configured so that SNMP could 
report interfaces (pure SNMP) and neighbours (SNMP reporting info learned from 
LLDP).

IIRC LLDP itself will only tell you about nodes directly connected directly to 
the node where you are doing the querying.

I would strongly suspect that BSD would be similar, and your description does 
spund like SNMP not picking up LLDP information.
You do need to configure the node type correctly on the router's SNMP config.

Simon



--- End Message ---
--- Begin Message ---
By way of answering my own question (in case anyone else ever has the same
issue).

This was a case of ensuring that :

master agentx

 was entered into the /etc/snmpd.conf file on each FreeBSD router, and that
/etc/rc.conf had the entries:

lldpd_enable="YES"
lldpd_flags="-x"

The second of these being the entry I was missing.



On Wed, 22 Jan 2020 at 15:37, Simon Hobson <[email protected]> wrote:

> On 22 January 2020 13:38:41 GMT+00:00, Mark Redding <[email protected]>
> wrote:
>
> >Does anyone have experience using netdisco in an environment where the
> >network is based upon FreeBSD servers running as routers?
> >
> >I have a network consisting of 20+ FreeBSD routers running zebra/ospf
> >plus
> >lldp and net-snmp. I have HP switches (1800 series and 1900 series) on
> >the
> >network each with LLDP enabled.
> >
> >I've installed netdisco onto a GNU/Linux server and tried running the
> >"netdisco-do discover" command using the IP address of one of the
> >routers -
> >it picks up the router okay, but does not then discover any further
> >devices
> >on the network. Executing "lldpcli show neighbors" on the router shows
> >each
> >of the devices that are physically connected to it.
>
> I did this a few years ago (hence details a bit fuzzy) with Linux based
> devices. IIRC SNMP & LLDP daemons had to be configured so that SNMP could
> report interfaces (pure SNMP) and neighbours (SNMP reporting info learned
> from LLDP).
>
> IIRC LLDP itself will only tell you about nodes directly connected
> directly to the node where you are doing the querying.
>
> I would strongly suspect that BSD would be similar, and your description
> does spund like SNMP not picking up LLDP information.
> You do need to configure the node type correctly on the router's SNMP
> config.
>
> Simon
>
>
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to