I have two VMs installed and I want to request a snmpwalk system from one VM to another. I have two different IPs for each VM but when I write my request snmpwalk -v 2c -c public systemI receive a No Response from

I have my snmpd installed on

Ping works perfectly between the two hosts.

What is the problem?

  • Can you ping from one to the other? Ssh from one to the other?
    – roaima
    Jun 20, 2019 at 8:09
  • yes, ping works perfectly Jun 20, 2019 at 8:10
  • Is snmp on the target configured to respond with version 2c to the "public" authenticator?
    – roaima
    Jun 20, 2019 at 8:12
  • Sorry I don't know. Can you please guide me how can I do that? Thank you. Jun 20, 2019 at 8:18
  • Start by looking at the snmpd.conf on your server
    – roaima
    Jun 20, 2019 at 12:18

1 Answer 1


First open snmpd.conf file with text editor (for ex. nano)

nano /etc/snmp/snmpd.conf

At the very beginning uncomment agentAddress udp:161,udp6:[::1]:161 and comment agentAddress udp: allowing the "agent" machine to be checked by external hosts

#  Listen for connections from the local system only
#agentAddress  udp:
#  Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161

Restart snmpd service

service snmpd restart

Try as a basic command on your manager machine:

snmpwalk xxx.xxx.x.xx -v 2c -c public system 

where xxx.xxx.x.xx - is IP of agent (target machine), 2c - is a snmp protocol version, public is a community string;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.