Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my snmp is working fine on localhost.
but this snmp is not working on remote host machine(ipv4 & ipv6 both).
means when i run "snmpwalk -v2c -c public 2001:468::2 system "
it show "timeout: NO response from 2001:468::2"
my ip addtess is :-2001:468::2(ipv6 only).
my os is ubuntu 8.04.
/etc/snmp/snmpd.conf file is lool like:-
------------------------------------------------------------------------
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]
rocommunity public
rocommunity public
rocommunity public
###########################################################################
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.
# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string
# syscontact: The contact information for the administrator
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysContact.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: contact_string
#
# Unknown directives read in from other files by snmpconf
#
rocommunity6 public
rocommunity6 public
com2sec readonly default public
com2sec local localhost public
com2sec6 localNet 2001:468::2 public
com2sec6 readonly default public
com2sec6 local localhost public
group MyROSystem v1 local
group MyROSystem v2c local
group MyROSystem usm local
group MyROGroup v1 localnet
group MyROGroup v2c localnet
group MyROGroup usm localnet
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
view all included .1 80
view system included .iso.org.dod.internet.mgmt.mib-2.system
access MyROSystem "" any noauth exact system none none
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
my snmp is working fine on localhost.
but this snmp is not working on remote host machine(ipv4 & ipv6 both).
means when i run "snmpwalk -v2c -c public 2001:468::2 system "
it show "timeout: NO response from 2001:468::2"
my ip addtess is :-2001:468::2(ipv6 only).
my os is ubuntu 8.04.
Do you see any errors in the logs on the remote system? What OS is the remote system running? Can you ping and/or otherwise access the remote machine?
Check the status of the SNMP daemon on the remote machine (usually by "/etc/init.d/snmpd status"), and start it if it's not running. Check the log files, and see if you're getting any errors.
A little more information would be great. OS/Distribution for each? Do you have ipv6 setup, you show a IP but does the device show it? Does the remote support ipv6 or just ipv4? Check this for your local by using 'ifconfig -a' to see if you have your IP addresses.
Plus, please place any data or posted information within vbcode tags. You can use the code tag (#) or the quote tag that is to the left of the (code) # tag at the top of your reply window. Your post(s) will be easier to read if you use the code tags.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.