how do I set the listening IP on snmpd?

Rudi Ahlers rudiahlers at gmail.com
Sun Feb 22 21:39:05 UTC 2009


Hi,

Does anyone know if it's possible to set a listening IP on snmpd?


On a CentOS 5.2 domU, it listens on 0.0.0.0 (effectively every IP on
the machine),


root at vps:[/]$ netstat -an | grep 161
udp        0      0 0.0.0.0:161                 0.0.0.0:*



Yet, on a Debian 4.0 domU, it listens on 127.0.0.1.

sh-2.05b# netstat -an |grep 161
udp        0      0 127.0.0.1:161           0.0.0.0:*


There's nothing in /etc/snmp/snmpd.conf that I can see where I bind
the listening IP address.

-- 

Kind Regards
Rudi Ahlers




More information about the ubuntu-users mailing list