|
Packit |
022b05 |
INET-ADDRESS-MIB DEFINITIONS ::= BEGIN
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
IMPORTS
|
|
Packit |
022b05 |
MODULE-IDENTITY, mib-2 FROM SNMPv2-SMI
|
|
Packit |
022b05 |
TEXTUAL-CONVENTION FROM SNMPv2-TC;
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
inetAddressMIB MODULE-IDENTITY
|
|
Packit |
022b05 |
LAST-UPDATED "200006080000Z"
|
|
Packit |
022b05 |
ORGANIZATION
|
|
Packit |
022b05 |
"IETF Operations and Management Area"
|
|
Packit |
022b05 |
CONTACT-INFO
|
|
Packit |
022b05 |
"Mike Daniele
|
|
Packit |
022b05 |
Compaq Computer Corporation
|
|
Packit |
022b05 |
110 Spit Brook Rd
|
|
Packit |
022b05 |
Nashua, NH 03062, USA
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Phone: +1 603 884-1423
|
|
Packit |
022b05 |
EMail: daniele@zk3.dec.com
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Brian Haberman
|
|
Packit |
022b05 |
Nortel Networks
|
|
Packit |
022b05 |
4039 Emperor Blvd., Suite 200
|
|
Packit |
022b05 |
Durham, NC 27703, USA
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Phone: +1 919 992-4439
|
|
Packit |
022b05 |
EMail: haberman@nortelnetworks.com
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Shawn A. Routhier
|
|
Packit |
022b05 |
Wind River Systems, Inc.
|
|
Packit |
022b05 |
1 Tara Blvd, Suite 403
|
|
Packit |
022b05 |
Nashua, NH 03062, USA
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Phone: +1 603 897-2000
|
|
Packit |
022b05 |
EMail: sar@epilogue.com
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Juergen Schoenwaelder
|
|
Packit |
022b05 |
TU Braunschweig
|
|
Packit |
022b05 |
Bueltenweg 74/75
|
|
Packit |
022b05 |
38106 Braunschweig, Germany
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Phone: +49 531 391-3289
|
|
Packit |
022b05 |
EMail: schoenw@ibr.cs.tu-bs.de
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Send comments to mibs@ops.ietf.org."
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"This MIB module defines textual conventions for
|
|
Packit |
022b05 |
representing Internet addresses. An Internet
|
|
Packit |
022b05 |
address can be an IPv4 address, an IPv6 address
|
|
Packit |
022b05 |
or a DNS domain name."
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
REVISION "200006080000Z"
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"Initial version, published as RFC 2851."
|
|
Packit |
022b05 |
::= { mib-2 76 }
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
InetAddressType ::= TEXTUAL-CONVENTION
|
|
Packit |
022b05 |
STATUS current
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"A value that represents a type of Internet address.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
unknown(0) An unknown address type. This value MUST
|
|
Packit |
022b05 |
be used if the value of the corresponding
|
|
Packit |
022b05 |
InetAddress object is a zero-length string.
|
|
Packit |
022b05 |
It may also be used to indicate an IP address
|
|
Packit |
022b05 |
which is not in one of the formats defined
|
|
Packit |
022b05 |
below.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
ipv4(1) An IPv4 address as defined by the
|
|
Packit |
022b05 |
InetAddressIPv4 textual convention.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
ipv6(2) An IPv6 address as defined by the
|
|
Packit |
022b05 |
InetAddressIPv6 textual convention.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
dns(16) A DNS domain name as defined by the
|
|
Packit |
022b05 |
InetAddressDNS textual convention.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
Each definition of a concrete InetAddressType value must be
|
|
Packit |
022b05 |
accompanied by a definition of a textual convention for use
|
|
Packit |
022b05 |
with that InetAddressType.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The InetAddressType textual convention SHOULD NOT be subtyped
|
|
Packit |
022b05 |
in object type definitions to support future extensions. It
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
MAY be subtyped in compliance statements in order to require
|
|
Packit |
022b05 |
only a subset of these address types for a compliant
|
|
Packit |
022b05 |
implementation."
|
|
Packit |
022b05 |
SYNTAX INTEGER {
|
|
Packit |
022b05 |
unknown(0),
|
|
Packit |
022b05 |
ipv4(1), -- these named numbers are aligned
|
|
Packit |
022b05 |
ipv6(2), -- with AddressFamilyNumbers from
|
|
Packit |
022b05 |
dns(16) -- IANA-ADDRESS-FAMILY-NUMBERS-MIB
|
|
Packit |
022b05 |
}
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
InetAddress ::= TEXTUAL-CONVENTION
|
|
Packit |
022b05 |
STATUS current
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"Denotes a generic Internet address.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
An InetAddress value is always interpreted within the
|
|
Packit |
022b05 |
context of an InetAddressType value. The InetAddressType
|
|
Packit |
022b05 |
object which defines the context must be registered
|
|
Packit |
022b05 |
immediately before the object which uses the InetAddress
|
|
Packit |
022b05 |
textual convention. In other words, the object identifiers
|
|
Packit |
022b05 |
for the InetAddressType object and the InetAddress object
|
|
Packit |
022b05 |
MUST have the same length and the last sub-identifier of
|
|
Packit |
022b05 |
the InetAddressType object MUST be 1 less than the last
|
|
Packit |
022b05 |
sub-identifier of the InetAddress object.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
When this textual convention is used as the syntax of an
|
|
Packit |
022b05 |
index object, there may be issues with the limit of 128
|
|
Packit |
022b05 |
sub-identifiers specified in SMIv2, STD 58. In this case,
|
|
Packit |
022b05 |
the OBJECT-TYPE declaration MUST include a 'SIZE' clause
|
|
Packit |
022b05 |
to limit the number of potential instance sub-identifiers."
|
|
Packit |
022b05 |
SYNTAX OCTET STRING (SIZE (0..255))
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
InetAddressIPv4 ::= TEXTUAL-CONVENTION
|
|
Packit |
022b05 |
DISPLAY-HINT "1d.1d.1d.1d"
|
|
Packit |
022b05 |
STATUS current
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"Represents an IPv4 network address:
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
octets contents encoding
|
|
Packit |
022b05 |
1-4 IP address network-byte order
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The corresponding InetAddressType value is ipv4(1)."
|
|
Packit |
022b05 |
SYNTAX OCTET STRING (SIZE (4))
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
InetAddressIPv6 ::= TEXTUAL-CONVENTION
|
|
Packit |
022b05 |
DISPLAY-HINT "2x:2x:2x:2x:2x:2x:2x:2x%4d"
|
|
Packit |
022b05 |
STATUS current
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
"Represents an IPv6 network address:
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
octets contents encoding
|
|
Packit |
022b05 |
1-16 IPv6 address network-byte order
|
|
Packit |
022b05 |
17-20 scope identifier network-byte order
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The corresponding InetAddressType value is ipv6(2).
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The scope identifier (bytes 17-20) MUST NOT be present
|
|
Packit |
022b05 |
for global IPv6 addresses. For non-global IPv6 addresses
|
|
Packit |
022b05 |
(e.g. link-local or site-local addresses), the scope
|
|
Packit |
022b05 |
identifier MUST always be present. It contains a link
|
|
Packit |
022b05 |
identifier for link-local and a site identifier for
|
|
Packit |
022b05 |
site-local IPv6 addresses.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The scope identifier MUST disambiguate identical address
|
|
Packit |
022b05 |
values. For link-local addresses, the scope identifier will
|
|
Packit |
022b05 |
typically be the interface index (ifIndex as defined in the
|
|
Packit |
022b05 |
IF-MIB, RFC 2233) of the interface on which the address is
|
|
Packit |
022b05 |
configured.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The scope identifier may contain the special value 0
|
|
Packit |
022b05 |
which refers to the default scope. The default scope
|
|
Packit |
022b05 |
may be used in cases where the valid scope identifier
|
|
Packit |
022b05 |
is not known (e.g., a management application needs to
|
|
Packit |
022b05 |
write a site-local InetAddressIPv6 address without
|
|
Packit |
022b05 |
knowing the site identifier value). The default scope
|
|
Packit |
022b05 |
SHOULD NOT be used as an easy way out in cases where
|
|
Packit |
022b05 |
the scope identifier for a non-global IPv6 is known."
|
|
Packit |
022b05 |
SYNTAX OCTET STRING (SIZE (16|20))
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
InetAddressDNS ::= TEXTUAL-CONVENTION
|
|
Packit |
022b05 |
DISPLAY-HINT "255a"
|
|
Packit |
022b05 |
STATUS current
|
|
Packit |
022b05 |
DESCRIPTION
|
|
Packit |
022b05 |
"Represents a DNS domain name. The name SHOULD be
|
|
Packit |
022b05 |
fully qualified whenever possible.
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The corresponding InetAddressType is dns(16).
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
The DESCRIPTION clause of InetAddress objects that
|
|
Packit |
022b05 |
may have InetAddressDNS values must fully describe
|
|
Packit |
022b05 |
how (and when) such names are to be resolved to IP
|
|
Packit |
022b05 |
addresses."
|
|
Packit |
022b05 |
SYNTAX OCTET STRING (SIZE (1..255))
|
|
Packit |
022b05 |
|
|
Packit |
022b05 |
END
|