Hai Dave... 

I have tried with the minimal configuration that you suggested.

 rocommunity public localhost
 rwcommunity private localhost

And gave the view all included and access also.

But then the ip.ipFowarding object also giving the same error...which is defined
as read write in mib.

Here is the error trace... 


p...@nani:~$ snmpset -v 2c -c public localhost ip.ipForwarding.0 i  2
Error in packet.
Reason: notWritable (That object does not support modification)



If this not allowed how should i get the information about thee objects which
supports read and write.
I am very much confused by this behavior ( R/W objects not allowing SET
operations ).



Quoting Dave Shield <[email protected]>:

> 2009/7/2  <[email protected]>:
> > -----------------snmpd.conf ---------------------------
> >
> > com2sec local     127.0.0.1             public
> > com2sec local     127.0.0.1             private
> > com2sec test      172.16.248.0/24       public
> > com2sec test      10.5.5.0/24           public
> > com2sec test      10.5.5.0/24           private
> 
> > group RO  v1        local
> > group RO  v2c       local
> > group RW  v2c       local
> > group RW  v1        local
> 
> > group RO  v1        test
> > group RO  v2c       test
> > group RW  v1        test
> > group RW  v2c       test
> >
> >
> > view all    included  .1                             80
> >
> > access RO          ""      any       noauth    exact      all    none
>   none
> > access RW          ""      any       noauth    exact      all    all  
>  all
> 
> There are multiple issues with that setup,
> and I'm not at all surprised things aren't working.
> It's very very confused over read-only vs read-write settings.
> 
> But rather than try to fix this individually, I'd suggest you
> forget about the low-level access control settings completely,
> and simply use "r[ow]community" instead.
> 
> Try something like
> 
> 
>      rocommunity public localhost
>      rocommunity public 10.5.5.0/24
>      rocommunity public 172.16.248.0/24
> 
>      rwcommunity private localhost
>      rwcommunity private 10.5.5.0/24
> 
> 
> That should work, and be much clearer as to what is happening.
> 
> Dave
> 
> 
> 



Regards,

Gangadhar Chalapaka.

------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to