Proxying on Table instances

Jaques Arantes <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAGWTGm3SYh=TDXhq0Bf5PcYnvey7Sm2KpV-2Cjo6yMTToWe1dw@mail.gmail.com>
I've seen hundreds of pages talking about NET-SNMP as a proxy, but maybe
I'm not clever enough to find the answer even if it is under my nose.

I have a network that is only seen by foreign world as a unique IP. Let's
call this IP "Master". The network nodes are maskerade and hidden from the
outter world.
All the nodes in this network are conceptually identical, so the MIB
describing it is full of tables where the network nodes are identified by
one of the table indices.

I need to forward all SNMP requests (and responses back) from the Master to
the respective node.

How can I map a request received by the Master to a node based on the value
of an index?
In other words, I need to find the target node based on an instance of a
table. Is it possible? How?


NOTE: The index that identifies the node ("foreingNodeIndex") does not
appear in "MyTableEntry", as the example below, and I am not able to change
this:
NOTE: In some tables I have other indices, along with "foreingNodeIndex".

        -- 1.3.6.1.4.1.a.b.c.d.1.1
        myTable OBJECT-TYPE
            SYNTAX SEQUENCE OF MyTableEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "Description."
            ::= { productGeneral 1 }


        -- 1.3.6.1.4.1.a.b.c.d.1.1.1
        myTableEntry OBJECT-TYPE
            SYNTAX MyTableEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "Description."
            INDEX { foreingNodeIndex }
            ::= { myTable 1 }


        MyTableEntry ::=
            SEQUENCE {
                elementStatus
                    INTEGER,
                elementFeature1
                    INTEGER,
                    ...
             }


Really Thanks. Any help is wellcome.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

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