> Is there any way to make the following line use wildcards
> for the IP address (mynetwork)?  

> com2sec mynetwork 192.168.0.0/24  private

Yes - that should work.

 
> Or better yet, can I set the agent up such that it ignores the
> IP address all together and just uses the community string?

        $ man snmpd.conf
        com2sec NAME SOURCE COMMUNITY
              This  directive  specifies  the  mapping from a
              source/community pair to a security name. SOURCE
              can be a hostname, a subnet, or the word "default".
                                           ^^^^^^^^^^^^^^^^^^^^^


See also the man page entries for "rocommunity" and "rwcommunity"


Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to