Changing SNMP Bind Interface does not change actual bind interface of SNMP service.
built on Fri Jun 20 12:59:50 EDT 2014
Intel(R) Xeon(TM) CPU 3.00GHz
4 CPUs: 2 package(s) x 1 core(s) x 2 HTT threads
I've been trying to change the bind interface of the SNMP service. However, using the web interface and selecting any interface including "all" does not appear to affect the SNMP service. It will only listen and respond on the LAN interface address.
Also tried stopping the service, editing /var/etc/snmpd.conf, and restarting the service. The begemotSnmpdPortStatus IP address is restored to the LAN interface address.
#1 Updated by Jim Pingle about 5 years ago
- Status changed from New to Rejected
I can't reproduce this on 2.1.5, please post on the forum for assistance/diagnosis. If a bug can be confirmed, this may be reopened.
Bound to All:
: sockstat | grep 'bsnmp.*161' root bsnmpd 5278 5 udp4 *:161 *:* : grep dPortStatus /var/etc/snmpd.conf begemotSnmpdPortStatus.0.0.0.0.161 = 1
Bind to LAN:
: sockstat | grep 'bsnmp.*161' root bsnmpd 71167 5 udp4 192.168.28.1:161 *:* : grep dPortStatus /var/etc/snmpd.conf begemotSnmpdPortStatus.192.168.28.1.161 = 1
Moved back to Any:
: sockstat | grep 'bsnmp.*161' root bsnmpd 33527 5 udp4 *:161 *:* : grep dPortStatus /var/etc/snmpd.conf begemotSnmpdPortStatus.0.0.0.0.161 = 1
#2 Updated by J B about 5 years ago
There are six interfaces on this system. This is the output for binding to interface All, LAN, two other interfaces, and localhost
[2.1.4-RELEASE][admin@x]/root(12): sockstat | grep 'bsnmp.*161'
root bsnmpd 217 10 udp4 192.168.5.252:161 *:*
[2.1.4-RELEASE][admin@x]/root(13): grep dPortStatus /var/etc/snmpd.conf
begemotSnmpdPortStatus.192.168.5.252.161 = 1
Interface "Any" is not an option.