Equivalent of IP-MIB::ipNetToMediaTable for IPv6?

Karol Babioch <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I want to query for the ARP and NDISC cache entries via SNMP on a Linux
system. For IPv4 (ARP) this is already implemented in
IP-MIB::ipNetToMediaTable, and it works as expected:

> $ snmptable -v 2c -c public 10.0.0.1 IP-MIB::ipNetToMediaTable
> SNMP table: IP-MIB::ipNetToMediaTable
> 
>  ipNetToMediaIfIndex ipNetToMediaPhysAddress ipNetToMediaNetAddress ipNetToMediaType
>                    3         0:1:5c:xx:xx:xx         178.27.xxx.xxx          dynamic
>                   13        c:47:c9:xx:xx:xx         192.168.xxx.xxx         dynamic
>                   13       c0:ee:fb:xx:xx:xx         192.168.xxx.xxx         dynamic


However, I couldn't find anything equivalent for IPv6 (NDISC). Has
anyone looked into this already? Have I missed something? Is there a
reason why this is not implemented (yet)?

Shouldn't it be possible to extend the SNMP agent with some script (pass
directive) relaying the output of "ip -6 neigh" or something similar?

What do you think about this?

Thank you very much!

Best regards,
Karol Babioch

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEbzQ4iM2eBJRwzXNEZoQkK1WQrXkFAlqy+VEACgkQZoQkK1WQ
rXk8eg//erga2jVgrYGl5kW71+SSln5jj3gKFpatv8SdqhQOc1pcO4Q4dqJwph+d
yOu7LDfyo7KymDnsERVFzgAqZEhugUNkQvXrRBSpx8lyZN9u83QTidKnz6xOU9d8
G/2nTTQaiHmxXMoHifSlL+Pchtq9fHk7gZuEQVof4f8iD3LZdvSqDd8gsEjbGNAg
ua+WPHZ5qaPx/5k3vCDxkRUAE1eHMyZRQf6TA7BDxFtZ29dEGCYyRZJyj/vSFrZp
EKBICMvmaEET+VOqOlNxwQYkagy98dtogfky33DeWpIsm3hmV0I/1H6ovyNTKVZe
rv1WwD+JmFtFd2APYgrPF0iHAIC/VKD/7WJqn7Khg7Yi6T0k/aogXBV2pKFWAgJ1
Q+rbPVf8ABLxA3bPADPNqe3ViLQQLTereHF6gs3svbfbWvnMANuIuiW5XgK2urox
buSiBkh5seLBksQ/E45wzdJqGAThKG6X7uLsP9U5pDzAmVviqx/32xOvV0F3tQZk
BGV3jXcL4AysxsGvHedjglvUkfsToSPA6M8+4EkvC9+6Kxy8/oTsO8jbP47ovFvv
1eHxJaBegYTfhEFlc+sEiUryVw2ASZAW70MhtrSlwzJfPD42kfqNTSrrreLCmrub
+cyL94r3S9JO52YIXg4Ouh4BDqPS8i62DuJQzKaslhgjBTOLEuE=
=xfkh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.