On 11 December 2011 09:34, h bagade <baga...@gmail.com> wrote: > I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some > cases it works but in others it doesn't! > > I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation( > 1.3.6.1.2.1.1.6.0) but couldn't set ipForwarding( 1.3.6.1.2.1.4.1.0) or > ipDefaultTTL( 1.3.6.1.2.1.4.2.0). > > How could this be possible?
The most likely reason is that the agent doesn't include code to handle SET requests for these failing objects, on that particular O/S. You haven't said which version of the agent you are using, but certainly the traditional implementation of the IP-MIB scalar objects (see mibgroup/mibII/ip.c) was read-only. The newer version (mibgroup/ip-mib/ip-scalars.c) seems to include some SET support, but I'm not sure whether this is implemented for FreeBSD systems. That's certainly the most likely reason. Dave ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ 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/listinfo/net-snmp-users