From b18c0f17f70524051c34a9779185f8f80d952a75 Mon Sep 17 00:00:00 2001 From: Peca Nesovanovic Date: Wed, 27 Mar 2024 15:33:32 +0100 Subject: [PATCH] net-snmp: include ipv6 address & route mibs description: Since IPv6 is present in everyday use, we need to include information about IPv6 addresses & routes in SNMP example: IP-MIB::ipAddressOrigin.ipv6 IP-MIB::ipAddressOrigin[ipv6]["00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01"] = manual IP-MIB::ipAddressOrigin[ipv6]["fd:00:00:09:02:55:00:00:00:00:00:00:00:00:01:01"] = manual IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:0c:00:09:ff:fe:06:01:01"] = linklayer IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:0c:02:09:ff:fe:00:01:01"] = linklayer IP-MIB::ipAddressOrigin[ipv6]["fe:80:00:00:00:00:00:00:ae:84:c6:ff:fe:25:8c:ce"] = linklayer tested: 23.05-snapshot master snapshot with LibreNMS, OpenWRT device IPv6 Addresses & Routes are properly recognized Signed-off-by: Peca Nesovanovic --- net/net-snmp/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 7e6a7b1059..68eb9abbd0 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -130,7 +130,10 @@ SNMP_MIB_MODULES_INCLUDED = \ host/hr_system \ ieee802dot11 \ if-mib/ifXTable \ + ip-mib/ipAddressTable \ ip-mib/inetNetToMediaTable \ + ip-forward-mib/inetCidrRouteTable \ + ip-forward-mib/ipCidrRouteTable \ mibII/at \ mibII/icmp \ mibII/ifTable \ -- 2.30.2