Dear Asaf:

I'm sorry I can't help you.

For your reference,
my environment is CentOS 5.5 (Net-SNMP5.3.2.2), and snmpd.conf is only 
"rwcommunity private".

According to README.agent-mibs,
Net-SNMP supports IP-FORWARD-MIB on only Linux.
---
IP-FORWARD-MIB
  ipForward.*.0                ---
  ipForwardTable (D)           ---
  ipCidrRouteTable (D)(new)    L         5.2     A mibII/=
  ipCidrRouteTable (D)(newer)  L         5.2     M ip-forward-mib/=/*
  inetCidrRouteTable           L         5.2     M ip-forward-mib/=/*
---

# IP-routing would be dependent on your machine environment.
# network-interface, network-address, etc...


Regerds

ysuhina

(2010/06/08 18:18), Asaf Ohaion wrote:
> Thanks Ryota
>
> I tried:
>
> snmpset 192.168.43.113
> IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4
> IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 2
> IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 0
> IP-FORWARD-MIB::inetCidrRouteType.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4
>
> but i'm getting :
>
> Error in packet.
> Reason: notWritable (That object does not support modification)
> Failed object:
> IP-FORWARD-MIB::inetCidrRouteStatus.ipv4."192.168.20.1".32.2.0.0.ipv4."192.168.0.1"
>
> 10x
>
>> Dear Asaf
>>
>> I could create an easy entry.
>>
>> snmpset -v2c -c private 127.0.0.1 \
>>>
>> IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
>> i 4  \
>>>
>> IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
>> i 2 \
>>>
>> IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
>> i 0 \
>>>
>> IP-FORWARD-MIB::inetCidrRouteType.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
>> i 4
>>
>>
>>> how can the agent separate the parts? (e.g : oid is 0.0, but could be
>>> longer)
>> The syntax of the object is explained in Chapter 7.7 of RFC2578.
>> It could be an answer to your question.
>>
>> Regards
>>
>>
>> yushina
>> --------------------------------------
>> 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
>> http://pr.mail.yahoo.co.jp/southafrica2010/
>>
>
>

--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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