SNMP Versions Supported:    1 2c 3
  Building for:               linux
  Net-SNMP Version:           5.7.3
  Network transport support:  Callback Unix Alias TCPIPv6 UDPIPv6 UDP TCP
IPv6Base SocketBase TCPBase UDPBase UDPIPv4Base IPv4Base
  SNMPv3 Security Modules:     usm
  *** MIB Module warning *** mib module '\' is both included and excluded.
It has been excluded.
  Agent MIB code:            default_modules ..... =>  snmpv3mibs
mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars
mibII/vacm_conf
  MYSQL Trap Logging:         unavailable
  Embedded Perl support:      disabled
  SNMP Perl modules:          disabled
  SNMP Python modules:        disabled
  Crypto support from:        crypto
  Authentication support:     MD5
  Encryption support:
  Local DNSSEC validation:    disabled

Note that I am cross compiling net-snmp for an embedded target.
I wonder if I am forgetting to download something?

I usually download the applications and libraries:
libnetsnmphelpers.so.30.0.3
libnetsnmp.so.30.0.3
libnetsnmpmibs.so.30.0.3
libnetsnmpagent.so.30.0.3
libnetsnmptrapd.so.30.0.3

S.


On Wed, Jan 24, 2018 at 11:57 AM, Bill Fenner <fen...@gmail.com> wrote:

> Can you paste the end of your configuration run, where it summarizes the
> results? The “rocommunity6” configuration directive will be available if
> that configuration summary includes “UDPIPv6” in the “Network transport
> support:” list - e.g.,
>
> ---------------------------------------------------------
>             Net-SNMP configuration summary:
> ---------------------------------------------------------
>
>   SNMP Versions Supported:    1 2c 3
>   Building for:               linux
>   Net-SNMP Version:           5.8.pre1
>   Network transport support:  Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 
> IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPv6Base
>
> How did you build your net-snmp? Is there any chance that you built the
> agent/ subdirectory without IPv6 support, and the snmplib/ subdirectory
> with IPv6 support? That would cause “rocommunity6” to not work but
> “agentaddress udp6:…” would work.
>
> Bill
> ​
>
> On Wed, Jan 24, 2018 at 11:42 AM, Simon Chamlian <simon.chaml...@mpbc.ca>
> wrote:
>
>> Seems like --enable-ipv6  is not enough to make SNMPv2 work with IPv6
>> since:
>>
>> # ./snmpd  -H 2>&1 | grep community
>>     trapsink                 host [community] [port]
>>     trap2sink                host [community] [port]
>>     informsink               host [community] [port]
>>     trapcommunity            community-string
>>     com2sec                  [-Cn CONTEXT] secName
>> IPv4-network-address[/netmask] community
>>     com2sec6                 [-Cn CONTEXT] secName
>> IPv6-network-address[/netmask] community
>>     com2secunix              [-Cn CONTEXT] secName sockpath community
>>     authcommunity            authtype1,authtype2 community
>> [default|hostname|network/bits [oid|-V view [context]]]
>>     rwcommunity              community [default|hostname|network/bits
>> [oid|-V view [context]]]
>>     rocommunity              community [default|hostname|network/bits
>> [oid|-V view [context]]]
>>
>> does not show  rwcommunity6 and rocommunity6 .
>>
>> So what other flags do I need in addition to (--enable-ipv6) to
>> re-compile to make rwcommunity6/rocommunity6 available?
>>
>> S.
>>
>>
>>
>> On Mon, Jan 15, 2018 at 2:37 PM, Simon Chamlian <simon.chaml...@mpbc.ca>
>> wrote:
>>
>>> Hi,
>>>
>>> Just recompiled the agent by enabling IPv6 (  --enable-ipv6).
>>>
>>> The agent is working fine but don't seem to be able to use IPv6.
>>>
>>> Example:
>>>
>>> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv 172.27.42.199
>>> MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
>>> "TestNew"
>>>
>>> works fine.
>>>
>>>
>>> In Ipv6:
>>>
>>> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv
>>> udp6:'[fe80::6eff:beff:fe02:d0%eth0]':161 MPBC-1RU-MIB::mpbc1RUNEID.0
>>> -Oqv
>>> snmpget: Timeout
>>>
>>> I also tried without the port
>>> # snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv
>>> udp6:'[fe80::6eff:beff:fe02:d0%eth0]' MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
>>> snmpget: Timeout
>>>
>>>
>>> Gives me timeout. What am I doing wrong? Do I need any special
>>> instructions in snmpd.conf file?
>>>
>>> Note that when I launch the agent, I get the following error message in
>>> the log:
>>> Error opening specified endpoint ""
>>> Server Exiting with code 1
>>>
>>> But the agent works fine with IPv4.
>>>
>>> Thanks,
>>> S
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>> Net-snmp-coders@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>>
>>
>
------------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to