Hi folks, I would like to ask for confirmation/correction of my understanding for following scenario:
If I have in /etc/snmp/snmpd.conf file agentaddress 10.2.37.21:161 ... trap2sink 10.2.23.200 trapnni trap2sink 1.1.1.1 trapnni trap2sink 10.2.23.201 trapnni and in `~/.snmp/hosts` clientaddr 10.2.38.21 transport udp:10.2.23.200:162 than when sending a trap the output is: Sending 96 bytes to UDP: [10.2.23.200]:162->[10.2.38.21]:33534 Sending 96 bytes to UDP: [1.1.1.1]:162->[0.0.0.0]:55734 Sending 96 bytes to UDP: [10.2.23.201]:162->[10.2.38.21]:59991 Do I understand correctly that because the 1.1.1.1 address isn't part of 10.x.x.x class (doesn't have the same prefix), there is only one option to set destination address to 0.0.0.0 Or is this bad behaviour? Best regards Josef Ridky Senior Software Engineer Core Services Team Red Hat Czech, s.r.o.
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders