[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InetAddress



On Fri, 28 Feb 2003, Harrington, David wrote:
> My engineering department wants to be able to format fields for
> display programmatically in their mib browser. They are having a
> problem with InetAddress (and will hit other two-object address
> definitions). Is there any way short of mib lookup to recognize
> an InetAddressType/InetAddress in a mib walk?

In general, the only way to know for sure which InetAddressType
object is associated with a given InetAddress object is to read the
InetAddress object's DESCRIPTION clause.  In some cases the relevant
InetAddressType object may not even reside in the same table as the
InetAddress object you are trying to display.

If memory serves correctly, RFC 2851 required than an
InetAddressType object be "registered before" the InetAddress with
which it was associated in order to facilitate just the sort of
thing you are trying to do.  Consensus was that this restriction was
too severe.  For details see the e-mail thread with subject
"draft-ietf-ops-rfc2851-update-05.txt last call summary" on the
mibs@ops.ietf.org list circa Nov-Dec 2001.

Mike