snmpd.conf clientaddr not working for sending trap /inform with given IP source address
问题 Given the following sample/simple snmpd.conf (Net-SNMP 5.7.2 on RHEL 7.4) rwcommunity private 192.168.56.101 trapsess -Ci --clientaddr=192.168.56.128 -v 2c -c private 192.168.56.101:162 when starting a SNMP Daemon snmpd -f -Lo -D -C -c data/snmpd_test.conf udp:192.168.56.128:161 We obtain ''Start Up'' InformRequest with IP source 192.56.168.1 instead of ...128 (WireShark snapshot below) It is not surprising as the -D option allows us to output the debug information saying that trace: netsnmp