snmpd and interface aliases

From: Steven Kurylo <sk_at_no.spam.please>
Date: Mon Jun 16 2008 - 11:51:50 CST

I have a server which now has two routable address:

eth0 inet addr:64.142.xx.xx
eth0:1 inet addr:76.191.xx.xx

I can ssh into either just fine. But snmpd is only responding on the
original interface. My queries to 76.191.xx.xx timeout.

It is listening on both IP addresses:

# netstat -lnutp|grep snmpd
tcp 0 0 0.0.0.0:199 0.0.0.0:*
LISTEN 6765/snmpd
udp 0 0 0.0.0.0:161 0.0.0.0:*
        6765/snmpd

Looking in /etc/default/snmpd and /etc/snmp/snmpd.conf I don't see any
options specifying the address to listen on.

I'm not sure what else to check. No firewalls, unless the ISP is
blocking 161 on the new address; nmap shows the same response for
both IPs, "161/udp open|filtered snmp"

Could snmpd not work with interface aliases?

Thanks.
Received on Mon Jun 16 11:51:53 2008

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 11:51:56 CST