clientAddr ipv6

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CAASqVJUp4E=kSRSEHF3j7815XUDp8uD-doUjynYwWS8bCLVnFg@mail.gmail.com>
Hi All,
I am using option 'clientAddr'  with IPv6 address and noticed that it is
not working.
so I applied patch
https://sourceforge.net/p/net-snmp/mailman/message/33064273/ on 5.7.3 but
It seems not working.
Kindly let me know if I am missing any configurations.

Eg:
linux machine has ipv6 '2002::2054' and sends trap using
'clientAddr=2002::2056'
There is no IPv6 '2002::2056' and trap sent out via '2002::2054'.  I have
expected it to fail when it doesnot find 2002::2056.

*snmp trap sender:*
/home/# /tmp/snmptrap -Dall -v 3 *--clientAddr="2002::2056"* -n "" -u
testigmv6 -l authNoPriv -a MD5 -A mypassword -e 0x80001f880300b0a
e123548  udp6:[2002::2045]:162 "" .1.3.6.1.4.1.8072.2.3.1
.1.3.6.1.4.1.8072.2.1.1 i 444
/home#

*Trap Receiver shows:*
usm: USM processing begun...
usm: match on user testigmv6
usm: Verification succeeded.
usm: USM processing completed.
2018-10-29 09:43:59 UDP/IPv6: [2002::2054]:50455 [UDP/IPv6: [*2002::2054*
]:50455]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (89119) 0:14:51.19
SNMPv2-MIB::snmpTrapOID.0 = OID:
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification
NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger = INTEGER: 444

Thank you,
Pushpa T

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.