RE: snmpd and interface aliases

From: Chris Twa <support_at_no.spam.please>
Date: Mon Jun 16 2008 - 12:14:21 CST

It seems like I should always read a post twice before responding. :(

Do you have separate routes for those two interfaces or are the packets
coming back through your default gateway (64.142.xx.xx)?

Chris Twa

Saskaweb IT Solutions

-----Original Message-----
From: owner-linux@slg.org [mailto:owner-linux@slg.org] On Behalf Of
Steven Kurylo
Sent: Monday, June 16, 2008 11:52 AM
To: SLG
Subject: snmpd and interface aliases

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 12:18:05 2008

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 12:18:08 CST