Re: snmpd.conf IPaddress

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/4/16 Raghu Ramaraj <[email protected]>:
> Is there any other way to give network address like from IP (172.22.*.*) to
> IP(172.23.*.*) ?
>
> If I want to access the agent from more that one system , do we need to give
> IPaddress in snmd.conf?

Please read the snmpd.conf(5) man page.
In particular, the sections on "rocommunity" and "com2sec"

       com2sec [-Cn CONTEXT] SECNAME SOURCE COMMUNITY
              map[s] an SNMPv1 or SNMPv2c community string to a
security  name  -
              either  from a particular range of source addresses, or globally
              ("default").  A restricted source can either be a specific host-
              name  (or  address),  or a subnet - represented as IP/MASK (e.g.
              10.10.10.0/255.255.255.0), or IP/BITS (e.g.  10.10.10.0/24)...

Note that the SOURCE token (in ro/wcommunity) is optional.
You can omit this completely, to allow access from anywhere.

Dave

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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.