Dynamic add/remove routes in the agent

"Francisco Rodriguez" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Lancaster Univeristy
Message-ID <[email protected]>
Hi,

I have been playing for a bit with Net-SNMP agent trying to find out a way
to modify via SNMP the routing table of a Linux Router. I have first try to
delete a routing entry by issuing the command:
 “snmpset -v 2c -c route-server 10.100.100.2
ip.ipRouteTable.ipRouteEntry.ipRouteType.192.168.14.0 i 2”
without seen any change on the client (10.100.100.2).

The output of the previous command is the following:
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: RFC1213-MIB::ipRouteType.192.168.14.0

After looking at this output, I went through the archives of the mailing
list and realized that dynamic routes configuration is not supported in the
client agent using the OID ipRouteTable. Also, I read that this might be
supported using ipCidrRouteType OID. I went through the RFC 2096 looking for
a way to delete a route entry using this OID and I wasn’t able to spot any
possible way to do so.

If possible, can anyone please tell me if dynamic routes configuration is
currently supported for the net-snmp client agent? And if so, can you show
me an example for deleting and adding a route?

Thanks in advance for you help,
Francisco

-------------------------
Francisco Rodríguez
Computing Department
InfoLab 21
South Drive
Lancaster University
Lancaster LA1 4WA, UK
-------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

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