Hostname as source on com2sec line not working

This is a discussion on Hostname as source on com2sec line not working within the SNMP Users forums, part of the Networking and Network Related category; Hi, My /etc/snmpd.conf has the following and everything works as expected: com2sec NetRO 10.0.1.0/24 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-06-2005
Sven Simon
 
Posts: n/a
Default Hostname as source on com2sec line not working

Hi,

My /etc/snmpd.conf has the following and everything works as expected:

com2sec NetRO 10.0.1.0/24 public
com2sec NetRW 10.0.1.0/24 private

group ROGroup v1 NetRO
group RWGroup v1 NetRW

view all included .1 80

access ROGroup "" any noauth exact all none none
access RWGroup "" any noauth exact all all none


Trying to restrict access to allow access only from my management
station I did this:

com2sec NetRO mybox public
com2sec NetRW mybox private

and even tried with the FQDN, like:

com2sec NetRO mybox.somecorp.com public
com2sec NetRW mybox.somecorp.com private

No luck, though. Running snmpget on mybox give me:
Timeout: No Response from testbox

In snmp.log on the testbox I only see:
Connection from 10.0.1.107

Which is mybox's IP. We have NIS and DNS running in our net and reverse
lookup for this IP works for both.

Any ideas?

Thanks,
Sven



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0