Re: NET-SNMP version: 5.7.3 and IPv6
Simon Chamlian <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <CANmTPBb-a9LL3iOz6W9Si1E8bnc_R5ZYn7=E-yaCrDv=JpgqkA@mail.gmail.com> |
I am sure about the compilation with --enable-ipv6 because it works with snmp v3 # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv 172.27.42.15 MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv "VERSA_199" # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv [fe80::6eff:beff:fe02:d0%eth0] MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv "VERSA_199" It is only with snmpv2 that both addresses (Ipv4/IPv6) don't work. # snmpget -v 2c -c public 172.27.42.15 MPBC-1RU-MIB::mpbc1RUNEID.0 MPBC-1RU-MIB::mpbc1RUNEID.0 = STRING: "VERSA_199" # snmpget -v 2c -c public [fe80::6eff:beff:fe02:d0%eth0] MPBC-1RU-MIB::mpbc1RUNEID.0 Timeout: No Response from [fe80::6eff:beff:fe02:d0%eth0]. From what I understand from your answer is that having rocommunity6/rwcommunity6 in the snmpd.conf file is a must? On Wed, Jan 24, 2018 at 2:21 AM, Niels Baggesen <[email protected]> wrote: > On Wed, Jan 17, 2018 at 10:58:40AM -0500, Simon Chamlian wrote: > > but these tokens are not recognized: > > ./snmpd.conf: line 12: Warning: Unknown token: rocommunity6. > > ./snmpd.conf: line 13: Warning: Unknown token: rwcommunity6. > > This means that snmpd did not understand you config, and accordingly it > does not support community access for IPv6. > > Are you sure you are running the version compiled with --enable-ipv6? > > What other config options did you use? > > /Niels > > -- > Niels Baggesen - @home - Århus - Denmark - [email protected] > The purpose of computing is insight, not numbers --- R W Hamming > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders