LibreNMS does not appear to support IPv6 (at all ?)

Alright - so is there a way to successfully add a device into LibreNMS to support IPv6 ?

My host records are all dual stack - so resolve both an A and a AAAA record for IPv4 and IPv6 name resolution initially.

I attempted to add a device using the IPv6 literal. This did not seem to work.

I see IPv6 pings go out, but no IPv6 SNMP polls ever are issued.

I attempted to add a device using a hostname (which I had seen others indicate they had success with.). So initially my hostname would resolve both an A and a AAAA record. The A record did not (by design) respond as our management network is 100% only IPv6. Never issued any IPv6 ICMP queries.

I then deleted the A record so only a AAAA record was present. This had the exact same result as when I added the host record. ICMPv6 pings were issued but never a one SNMP poll went out.

As an aside - both ping and SNMPwalk from the command line work as expected so I can communicate to the device using the typical Ubuntu toolset.

Anyone have any different experience ? Or perhaps any suggestion as to how I could get LibreNMS to work with IPv6 ? Oh - and its running on Ubuntu 22 natively (no docker container).

Thanks!

1 Like

Actually - so I found a bit of a work around… seems to be a small bug though. So if I remove UDP4 under Global Settings / Poller / SNMP / Transport (priority) and add it back as the lowest priority it starts using SNMPoUDPv6. Before that it doesn’t appear to use SNMPoUDPv6 even when given an IPv6 literal or a hostname that only resolves to a AAAA (IPv6) address.

Yes, at this time LibreNMS snmp uses explicitly what IP family you set for the device.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.