Re: no package from localhost

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20050808143224.28b6ac5d@aud>
On Wed, 27 Jul 2005 14:06:05 +0800 Yan wrote:
YZ> I have a problem in snmp now. I have configured almost the same of two
YZ> machines A and B. Now A runs ok,but B doesn't.When test "snmpd -f -L
YZ> -d" on machine B, it can only reply snmp version,no package from
YZ> localhost can be get. So I tried on iptables to let machine A
YZ> communicate with B freely. After restart the iptables services and run
YZ> script "snmpd -f -L -d ",it can response snmp version and packets and
YZ> messages from machine A.

Try running 'netstat -l -n |grep 161' to see what addresses snmpd is listening
on. It should be listening on all interfaces, including localhost.

Also, try a query to 127.0.0.1 instead of localhost, just in case of some
setup or dns problem.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.