IPv6 MIB Design Team M. Daniele
Internet-Draft Consultant
Expires: March 11, 2003 J. Schoenwaelder
TU Braunschweig
September 10, 2002
Textual Conventions for Transport Addresses
draft-ietf-ops-taddress-mib-04.txt
Status of this Memo
This document is an Internet-Draft and is in full conformance with
all provisions of Section 10 of RFC2026.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at http://
www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html.
This Internet-Draft will expire on March 11, 2003.
Copyright Notice
Copyright (C) The Internet Society (2002). All Rights Reserved.
Abstract
This document introduces a MIB module which defines textual
conventions to represent commonly used transport-layer addressing
information. The definitions are compatible with the concept of
TAddress/TDomain pairs introduced by the SMIv2 and support the
Internet transport protocols over IPv4 and IPv6.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 1]
Internet-Draft TCs for Transport Addresses September 2002
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
2. SNMP Management Framework . . . . . . . . . . . . . . . . . 3
3. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 Relationship to Other MIBs . . . . . . . . . . . . . . . . . 5
3.1.1 SNMPv2-TC (TAddress, TDomain) . . . . . . . . . . . . . . . 6
3.1.2 SNMPv2-TM . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1.3 INET-ADDRESS-MIB (InetAddressType, InetAddress) . . . . . . 7
4. Definitions . . . . . . . . . . . . . . . . . . . . . . . . 7
5. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6. Security Considerations . . . . . . . . . . . . . . . . . . 16
7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . 16
8. Intellectual Property Notice . . . . . . . . . . . . . . . . 17
Normative References . . . . . . . . . . . . . . . . . . . . 17
Informative References . . . . . . . . . . . . . . . . . . . 18
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . 19
Full Copyright Statement . . . . . . . . . . . . . . . . . . 20
Daniele & Schoenwaelder Expires March 11, 2003 [Page 2]
Internet-Draft TCs for Transport Addresses September 2002
1. Introduction
Several MIB modules need to represent transport-layer addresses in a
generic way. Typical examples are MIBs for application protocols
that can operate over several different transports or application
management MIBs that need to model generic communication endpoints.
The SMIv2 defines in RFC 2579 [4] the textual conventions TDomain and
TAddress to represent generic transports layer endpoints. A generic
TAddress value is interpreted in a given transport domain which is
identified by a TDomain value. The TDomain is an object identifier
which allows MIB authors to extend the set of supported transport
domains by providing suitable definitions in standardized or
enterprise specific MIB modules.
An initial set of TDomain values and concrete TAddress formats has
been standardized in RFC 1906 [6]. These definitions are however
mixed up with SNMP semantics. Furthermore, definitions for Internet
transport protocols over IPv4 and IPv6 are missing.
The purpose of this memo is to introduce a set of well-known textual
conventions to represent commonly used transport-layer addressing
information which is compatible with the original TDomain and
TAddress approach and which includes definitions for additional
Internet transport protocols over IPv4 and IPv6. This memo also
introduces a new textual convention which enumerates the well-known
transport domains since such an enumeration provides in many cases
sufficient flexibility and is more efficient compared to object
identifiers.
The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT" and "MAY" in
this document are to be interpreted as described in RFC 2119 [1].
2. SNMP Management Framework
The SNMP Management Framework presently consists of five major
components:
o An overall architecture, described in RFC 2571 [2].
o Mechanisms for describing and naming objects and events for the
purpose of management. The first version of this Structure of
Management Information (SMI) is called SMIv1 and described in STD
16, RFC 1155 [12], STD 16, RFC 1212 [13] and RFC 1215 [14]. The
second version, called SMIv2, is described in STD 58, RFC 2578
[3], STD 58, RFC 2579 [4] and STD 58, RFC 2580 [5].
o Message protocols for transferring management information. The
Daniele & Schoenwaelder Expires March 11, 2003 [Page 3]
Internet-Draft TCs for Transport Addresses September 2002
first version of the SNMP message protocol is called SNMPv1 and
described in STD 15, RFC 1157 [15]. A second version of the SNMP
message protocol, which is not an Internet standards track
protocol, is called SNMPv2c and described in RFC 1901 [16] and RFC
1906 [6]. The third version of the message protocol is called
SNMPv3 and described in RFC 1906 [6], RFC 2572 [7] and RFC 2574
[8].
o Protocol operations for accessing management information. The
first set of protocol operations and associated PDU formats is
described in STD 15, RFC 1157 [15]. A second set of protocol
operations and associated PDU formats is described in RFC 1905
[9].
o A set of fundamental applications described in RFC 2573 [10] and
the view-based access control mechanism described in RFC 2575
[11].
A more detailed introduction to the current SNMP Management Framework
can be found in RFC 2570 [17].
Managed objects are accessed via a virtual information store, termed
the Management Information Base or MIB. Objects in the MIB are
defined using the mechanisms defined in the SMI.
This memo specifies a MIB module that is compliant to the SMIv2. A
MIB conforming to the SMIv1 can be produced through the appropriate
translations. The resulting translated MIB must be semantically
equivalent, except where objects or events are omitted because no
translation is possible (use of Counter64). Some machine readable
information in SMIv2 will be converted into textual descriptions in
SMIv1 during the translation process. However, this loss of machine
readable information is not considered to change the semantics of the
MIB.
3. Overview
This MIB module contains definitions for commonly used transport
layer addressing information. In particular, it provides the
following definitions:
1. Textual conventions for generic transport addresses
(TransportAddress) and generic transport domains
(TransportDomain).
2. Object identifier registrations for well-known transport domains.
3. An enumeration of the well-known transport domains, called a
Daniele & Schoenwaelder Expires March 11, 2003 [Page 4]
Internet-Draft TCs for Transport Addresses September 2002
transport address type (TransportAddressType).
4. A set of textual conventions for the address formats used by
well-known transport domains. The DISPLAY-HINTs are aligned with
the formats used in URIs [19], [20].
The textual conventions for well-known transport domains support
scoped Internet addresses. The scope of an Internet address is a
topological span within which the address may be used as a unique
identifier for an interface or set of interfaces. A scope zone, or a
simply a zone, is a concrete connected region of topology of a given
scope. Note that a zone is a particular instance of a topological
region, whereas a scope is the size of a topological region [18].
Since Internet addresses on devices that connect multiple zones are
not necessarily unique, an additional zone index is needed on these
devices to select an interface. The textual conventions
TransportAddressIPv4z and TransportAddressIPv6z are provided to
support Internet transport addresses which include a zone index. In
order to support arbitrary combinations of scoped Internet transport
addresses, MIB authors SHOULD use a separate TransportDomain or
TransportAddressType objects for each TransportAddress object.
There are two different ways how new transport domains and textual
conventions for the address formats used by those new transport
domains can be defined.
1. The MIB module contained in this memo can be updated and new
constants for the TransportDomain and the TransportAddressType
enumeration can be assigned.
2. Other MIB modules may define additional transport domains and
associated textual conventions. Such an extension can not update
the TransportAddressType enumeration.
It is therefore a MIB designers choice whether he uses (a) a more
compact TransportAddressType object with limited extensibility or (b)
a more verbose TransportDomain object which allows arbitrary
extensions in other MIB modules.
The MIB module contained in this memo does NOT define the transport
mappings of any particular protocol. Rather, it defines a set of
common identifiers and textual conventions that are intended to be
used within various transport mappings documents.
3.1 Relationship to Other MIBs
This section discusses how the definitions provided by the MIB module
contained in this memo relate to definitions in other MIB modules.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 5]
Internet-Draft TCs for Transport Addresses September 2002
3.1.1 SNMPv2-TC (TAddress, TDomain)
The SNMPv2-TC MIB module [4] defines the textual conventions TAddress
and TDomain to represent generic transport addresses.
A TAddress is an octet string with a size between 1 and 255 octets.
Experience has shown that there is sometimes a need to represent
unknown transport addresses. The MIB module contained in this memo
therefore introduces a new textual convention TransportAddress which
is an octet string with a size between 0 and 255 octets and otherwise
identical semantics. In other words, the sub-type TransportAddress
(SIZE (1..255)) is identical with the TAddress defined in the SNMPv2-
TC MIB module [4].
This MIB module also introduces a new textual convention
TransportDomain which is compatible with the TDomain definition so
that a complete set of definitions is contained in a single MIB
module. New MIB modules SHOULD use the generic TransportDomain,
TransportAddressType and TransportAddress definitions defined in this
memo. Existing MIB modules may be updated to use the definitions
provided in this memo by replacing TDomain with TransportDomain and
TAddress with TransportAddress (SIZE (1..255)).
3.1.2 SNMPv2-TM
The transport domain values defined in the SNMPv2-TM MIB module [6]
all contain "snmp" as the prefix in their name and are registered
under `snmpDomains' (from RFC 2578 [3]). They were originally
intended to describe SNMP transport domains only - but they were
later also used for non-SNMP transport endpoints. These definitions
are also incomplete since new transport address domains are needed to
support (at least) SNMP over UDP over IPv6.
The transport domain values defined in this memo are independent of
the protocol running over the transport-layer and SHOULD be used for
all transport endpoints not carrying SNMP traffic. Programs that
interpret transport domain values should in addition accept the
transport domain values defined in the SNMPv2-TM MIB module in order
to provide interoperability with existing implementations that use
the SNMP specific transport domain values.
Transport endpoints which carry SNMP traffic SHOULD continue to use
the definitions from the SNMPv2-TM MIB module where applicable. They
SHOULD use the transport domain values defined in this memo for SNMP
transports not defined in the SNMPv2-TM MIB module, such as SNMP over
UDP over IPv6. Programs that interpret transport domain values
should in addition accept all the transport domain values defined in
this memo in order to provide interoperability in cases where it is
Daniele & Schoenwaelder Expires March 11, 2003 [Page 6]
Internet-Draft TCs for Transport Addresses September 2002
not possible or desirable to distinguish the protocols running over a
transport endpoint.
3.1.3 INET-ADDRESS-MIB (InetAddressType, InetAddress)
The INET-ADDRESS-MIB MIB module [21] defines the textual conventions
InetAddressType and InetAddress to represent Internet network layer
endpoints. Some MIB modules use these textual conventions in
conjunction with the InetPortNumber textual convention to represent
Internet transport-layer endpoints. This approach is fine as long as
a MIB models protocols or applications that are specific to the
Internet suite of transport protocols. For protocols or applications
that can potentially use other transport protocols, the use of the
definitions contained in this memo is more appropriate.
4. Definitions
TRANSPORT-ADDRESS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY, mib-2 FROM SNMPv2-SMI
TEXTUAL-CONVENTION FROM SNMPv2-TC;
transportAddressMIB MODULE-IDENTITY
LAST-UPDATED "200207240000Z"
ORGANIZATION
"IETF Operations and Management Area"
CONTACT-INFO
"Juergen Schoenwaelder (Editor)
TU Braunschweig
Bueltenweg 74/75
38106 Braunschweig, Germany
Phone: +49 531 391-3289
EMail: schoenw@ibr.cs.tu-bs.de
Send comments to <mibs@ops.ietf.org>."
DESCRIPTION
"This MIB module provides commonly used transport
address definitions."
REVISION "200207240000Z"
DESCRIPTION
"Initial version, published as RFC XXXX."
::= { mib-2 XXXX } -- to be assigned by IANA
transportDomains OBJECT IDENTIFIER ::= { transportAddressMIB 1 }
Daniele & Schoenwaelder Expires March 11, 2003 [Page 7]
Internet-Draft TCs for Transport Addresses September 2002
transportDomainUdpIpv4 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The UDP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4 for
global IPv4 addresses."
::= { transportDomains 1 }
transportDomainUdpIpv6 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The UDP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6 for
global IPv6 addresses."
::= { transportDomains 2 }
transportDomainUdpIpv4z OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The UDP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4z for
scoped IPv4 addresses with a zone index."
::= { transportDomains 3 }
transportDomainUdpIpv6z OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The UDP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6z for
scoped IPv6 addresses with a zone index."
::= { transportDomains 4 }
transportDomainTcpIpv4 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The TCP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4 for
global IPv4 addresses."
::= { transportDomains 5 }
transportDomainTcpIpv6 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The TCP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6 for
global IPv6 addresses."
::= { transportDomains 6 }
Daniele & Schoenwaelder Expires March 11, 2003 [Page 8]
Internet-Draft TCs for Transport Addresses September 2002
transportDomainTcpIpv4z OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The TCP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4z for
scoped IPv4 addresses with a zone index."
::= { transportDomains 7 }
transportDomainTcpIpv6z OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The TCP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6z for
scoped IPv6 addresses with a zone index."
::= { transportDomains 8 }
transportDomainSctpIpv4 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The SCTP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4 for
global IPv4 addresses. This transport domain usually
represents the primary address on multihomed SCTP
endpoints."
::= { transportDomains 9 }
transportDomainSctpIpv6 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The SCTP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6 for
global IPv6 addresses. This transport domain usually
represents the primary address on multihomed SCTP
endpoints."
::= { transportDomains 10 }
transportDomainSctpIpv4z OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The SCTP over IPv4 transport domain. The corresponding
transport address is of type TransportAddressIPv4z for
scoped IPv4 addresses with a zone index. This transport
domain usually represents the primary address on
multihomed SCTP endpoints."
::= { transportDomains 11 }
transportDomainSctpIpv6z OBJECT-IDENTITY
STATUS current
Daniele & Schoenwaelder Expires March 11, 2003 [Page 9]
Internet-Draft TCs for Transport Addresses September 2002
DESCRIPTION
"The SCTP over IPv6 transport domain. The corresponding
transport address is of type TransportAddressIPv6z for
scoped IPv6 addresses with a zone index. This transport
domain usually represents the primary address on
multihomed SCTP endpoints."
::= { transportDomains 12 }
transportDomainLocal OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The Posix Local IPC transport domain. The corresponding
transport address is of type TransportAddressLocal.
The Posix Local IPC transport domain incorporates the
well-known UNIX domain sockets."
::= { transportDomains 13 }
transportDomainUdpDns OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The UDP transport domain using fully qualified domain
names. The corresponding transport address is of type
TransportAddressDns."
::= { transportDomains 14 }
transportDomainTcpDns OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The TCP transport domain using fully qualified domain
names. The corresponding transport address is of type
TransportAddressDns."
::= { transportDomains 15 }
transportDomainSctpDns OBJECT-IDENTITY
STATUS current
DESCRIPTION
"The SCTP transport domain using fully qualified domain
names. The corresponding transport address is of type
TransportAddressDns."
::= { transportDomains 16 }
TransportDomain ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A value that represents a transport domain.
Some possible values, such as transportDomainUdpIpv4, are
Daniele & Schoenwaelder Expires March 11, 2003 [Page 10]
Internet-Draft TCs for Transport Addresses September 2002
defined in this module. Other possible values can be
defined in other MIB modules."
SYNTAX OBJECT IDENTIFIER
--
-- The enumerated values of the textual convention below should
-- be identical to the last sub-identifier of the OID registered
-- for the same domain.
--
TransportAddressType ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A value that represents a transport domain. This is the
enumerated version of the transport domain registrations
in this MIB module. The enumerated values have the
following meaning:
unknown(0) unknown transport address type
udpIpv4(1) transportDomainUdpIpv4
udpIpv6(2) transportDomainUdpIpv6
udpIpv4z(3) transportDomainUdpIpv4z
udpIpv6z(4) transportDomainUdpIpv6z
tcpIpv4(5) transportDomainTcpIpv4
tcpIpv6(6) transportDomainTcpIpv6
tcpIpv4z(7) transportDomainTcpIpv4z
tcpIpv6z(8) transportDomainTcpIpv6z
sctpIpv4(9) transportDomainSctpIpv4
sctpIpv6(10) transportDomainSctpIpv6
sctpIpv4z(11) transportDomainSctpIpv4z
sctpIpv6z(12) transportDomainSctpIpv6z
local(13) transportDomainLocal
udpDns(14) transportDomainUdpDns
tcpDns(15) transportDomainTcpDns
sctpDns(16) transportDomainSctpDns
This textual convention can be used to represent transport
domains in situations where a syntax of TransportDomain is
unwieldy (for example, when used as an index).
The usage of this textual convention implies that additional
transport domains can only be supported by updating this MIB
module. This extensibility restriction does not apply for the
TransportDomain textual convention which allows MIB authors
to define additional transport domains independently in
other MIB modules."
SYNTAX INTEGER {
unknown(0),
Daniele & Schoenwaelder Expires March 11, 2003 [Page 11]
Internet-Draft TCs for Transport Addresses September 2002
udpIpv4(1),
udpIpv6(2),
udpIpv4z(3),
udpIpv6z(4),
tcpIpv4(5),
tcpIpv6(6),
tcpIpv4z(7),
tcpIpv6z(8),
sctpIpv4(9),
sctpIpv6(10),
sctpIpv4z(11),
sctpIpv6z(12),
local(13),
udpDns(14),
tcpDns(15),
sctpDns(16)
}
TransportAddress ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Denotes a generic transport address.
A TransportAddress value is always interpreted within the
context of a TransportAddressType or TransportDomain value.
Every usage of the TransportAddress textual convention MUST
specify the TransportAddressType or TransportDomain object
which provides the context. Furthermore, MIB authors SHOULD
define a separate TransportAddressType or TransportDomain
object for each TransportAddress object. It is suggested that
the TransportAddressType or TransportDomain is logically
registered before the object(s) which use the
TransportAddress textual convention if they appear in the
same logical row.
The value of a TransportAddress object must always be
consistent with the value of the associated
TransportAddressType or TransportDomain object. Attempts
to set a TransportAddress object to a value which is
inconsistent with the associated TransportAddressType or
TransportDomain must fail with an inconsistentValue error.
When this textual convention is used as a syntax of an
index object, there may be issues with the limit of 128
sub-identifiers specified in SMIv2, STD 58. In this case,
the OBJECT-TYPE declaration MUST include a 'SIZE' clause
to limit the number of potential instance sub-identifiers."
SYNTAX OCTET STRING (SIZE (0..255))
Daniele & Schoenwaelder Expires March 11, 2003 [Page 12]
Internet-Draft TCs for Transport Addresses September 2002
TransportAddressIPv4 ::= TEXTUAL-CONVENTION
DISPLAY-HINT "1d.1d.1d.1d:2d"
STATUS current
DESCRIPTION
"Represents a UDP/TCP/SCTP over IPv4 transport address:
octets contents encoding
1-4 IPv4 address network-byte order
5-6 port number network-byte order
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair."
SYNTAX OCTET STRING (SIZE (6))
TransportAddressIPv6 ::= TEXTUAL-CONVENTION
DISPLAY-HINT "0a[2x:2x:2x:2x:2x:2x:2x:2x]0a:2d"
STATUS current
DESCRIPTION
"Represents a UDP/TCP/SCTP over IPv6 transport address:
octets contents encoding
1-16 IPv6 address network-byte order
17-18 port number network-byte order
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair."
SYNTAX OCTET STRING (SIZE (18))
TransportAddressIPv4z ::= TEXTUAL-CONVENTION
DISPLAY-HINT "1d.1d.1d.1d%4d:2d"
STATUS current
DESCRIPTION
"Represents a UDP/TCP/SCTP over IPv4 transport address together
with its zone index:
octets contents encoding
1-4 IPv4 address network-byte order
5-8 zone index network-byte order
9-10 port number network-byte order
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 13]
Internet-Draft TCs for Transport Addresses September 2002
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair."
SYNTAX OCTET STRING (SIZE (10))
TransportAddressIPv6z ::= TEXTUAL-CONVENTION
DISPLAY-HINT "0a[2x:2x:2x:2x:2x:2x:2x:2x%4d]0a:2d"
STATUS current
DESCRIPTION
"Represents a UDP/TCP/SCTP over IPv6 transport address together
with its zone index:
octets contents encoding
1-16 IPv6 address network-byte order
17-20 zone index network-byte order
21-22 port number network-byte order
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair."
SYNTAX OCTET STRING (SIZE (22))
TransportAddressLocal ::= TEXTUAL-CONVENTION
DISPLAY-HINT "1a"
STATUS current
DESCRIPTION
"Represents a POSIX Local IPC transport address:
octets contents encoding
all POSIX Local IPC address string
The Posix Local IPC transport domain subsumes UNIX domain
sockets.
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair.
When this textual convention is used as a syntax of an
index object, there may be issues with the limit of 128
sub-identifiers specified in SMIv2, STD 58. In this case,
the OBJECT-TYPE declaration MUST include a 'SIZE' clause
to limit the number of potential instance sub-identifiers."
REFERENCE
Daniele & Schoenwaelder Expires March 11, 2003 [Page 14]
Internet-Draft TCs for Transport Addresses September 2002
"Protocol Independent Interfaces (IEEE POSIX 1003.1g)"
SYNTAX OCTET STRING (SIZE (1..255))
TransportAddressDns ::= TEXTUAL-CONVENTION
DISPLAY-HINT "1a"
STATUS current
DESCRIPTION
"Represents a DNS domain name followed by a colon ':'
(ASCII character 0x3A) and a port number in ASCII.
The name SHOULD be fully qualified whenever possible.
Values of this textual convention are not directly useable as
transport-layer addressing information, and require runtime
resolution. As such, applications that write them must be
prepared for handling errors if such values are not
supported, or cannot be resolved (if resolution occurs at the
time of the management operation).
The DESCRIPTION clause of TransportAddress objects that may
have TransportAddressDns values must fully describe how (and
when) such names are to be resolved to IP addresses and vice
versa.
This textual convention SHOULD NOT be used directly in object
definitions since it restricts addresses to a specific format.
However, if it is used, it MAY be used either on its own or
in conjunction with TransportAddressType or TransportDomain
as a pair.
When this textual convention is used as a syntax of an
index object, there may be issues with the limit of 128
sub-identifiers specified in SMIv2, STD 58. In this case,
the OBJECT-TYPE declaration MUST include a 'SIZE' clause
to limit the number of potential instance sub-identifiers."
SYNTAX OCTET STRING (SIZE (1..255))
END
5. Examples
This section shows some examples how transport addresses are encoded
and rendered using some of the transport address definitions.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 15]
Internet-Draft TCs for Transport Addresses September 2002
Description: Unspecified IPv4 address on port 80.
Encoding (hex): 000000000050
Display: 0.0.0.0:80
Description: Global IPv4 address on port 80.
Encoding (hex): 86A922010050
Display: 134.169.34.1:80
Description: Unspecified IPv6 address on port 80.
Encoding (hex): 000000000000000000000000000000000050
Display: [0:0:0:0:0:0:0:0]:80
Description: Global IPv6 address on port 80.
Encoding (hex): 108000000000000000080800200C417A0050
Display: [1080:0:0:0:8:800:200C:417A]:80
Description: Link-local IPv6 address with zone-index 42 on port 80.
Encoding (hex): FE8000000000000000010000000002000000002A0050
Display: [FE80:0:0:0:1:0:0:200%42]:80
Description: Posix Local IPC address (UNIX domain).
Encoding (hex): 2F7661722F6167656E74782F6D6173746572
Display: /var/agentx/master
Description: Fully qualified domain name on port 80.
Encoding (hex): 7777772E6578616D706C652E6E65743A3830
Display: www.example.net:80
6. Security Considerations
The MIB module contained in this memo does not define any management
objects. Instead, it defines a set of textual conventions which may
be used by other MIB modules to define management objects.
Meaningful security considerations can only be written for MIB
modules that define concrete management objects. This document has
therefore no impact on the security of the Internet.
7. Acknowledgments
This document was produced by the Operations and Management Area
"IPv6MIB" design team. The authors would like to thank Mark Ellison,
Brian Haberman, Mike Heard, Glenn Mansfield Keeni, Erik Nordmark,
Shawn A. Routhier, Bill Strahm, Dave Thaler and Bert Wijnen for
their comments and suggestions.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 16]
Internet-Draft TCs for Transport Addresses September 2002
8. Intellectual Property Notice
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; neither does it represent that it
has made any effort to identify any such rights. Information on the
IETF's procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11. Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such
proprietary rights by implementors or users of this specification can
be obtained from the IETF Secretariat.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to practice
this standard. Please address the information to the IETF Executive
Director.
Normative References
[1] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", BCP 14, RFC 2119, March 1997.
[2] Harrington, D., Presuhn, R. and B. Wijnen, "An Architecture for
Describing SNMP Management Frameworks", RFC 2571, April 1999.
[3] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Structure of Management Information
Version 2 (SMIv2)", STD 58, RFC 2578, April 1999.
[4] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Textual Conventions for SMIv2", STD 58,
RFC 2579, April 1999.
[5] McCloghrie, K., Perkins, D., Schoenwaelder, J., Case, J., Rose,
M. and S. Waldbusser, "Conformance Statements for SMIv2", STD
58, RFC 2580, April 1999.
[6] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser,
"Transport Mappings for Version 2 of the Simple Network
Management Protocol (SNMPv2)", RFC 1906, January 1996.
[7] Case, J., Harrington, D., Presuhn, R. and B. Wijnen, "Message
Processing and Dispatching for the Simple Network Management
Daniele & Schoenwaelder Expires March 11, 2003 [Page 17]
Internet-Draft TCs for Transport Addresses September 2002
Protocol (SNMP)", RFC 2572, April 1999.
[8] Blumenthal, U. and B. Wijnen, "User-based Security Model (USM)
for version 3 of the Simple Network Management Protocol
(SNMPv3)", RFC 2574, April 1999.
[9] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser, "Protocol
Operations for Version 2 of the Simple Network Management
Protocol (SNMPv2)", RFC 1905, January 1996.
[10] Levi, D., Meyer, P. and B. Stewart, "SNMP Applications", RFC
2573, April 1999.
[11] Wijnen, B., Presuhn, R. and K. McCloghrie, "View-based Access
Control Model (VACM) for the Simple Network Management Protocol
(SNMP)", RFC 2575, April 1999.
Informative References
[12] Rose, M. and K. McCloghrie, "Structure and Identification of
Management Information for TCP/IP-based Internets", STD 16, RFC
1155, May 1990.
[13] Rose, M. and K. McCloghrie, "Concise MIB Definitions", STD 16,
RFC 1212, March 1991.
[14] Rose, M., "A Convention for Defining Traps for use with the
SNMP", RFC 1215, March 1991.
[15] Case, J., Fedor, M., Schoffstall, M. and J. Davin, "A Simple
Network Management Protocol (SNMP)", STD 15, RFC 1157, May
1990.
[16] Case, J., McCloghrie, K., Rose, M. and S. Waldbusser,
"Introduction to Community-based SNMPv2", RFC 1901, January
1996.
[17] Case, J., Mundy, R., Partain, D. and B. Stewart, "Introduction
to Version 3 of the Internet-standard Network Management
Framework", RFC 2570, April 1999.
[18] Deering, S., Haberman, B., Jinmei, T., Nordmark, E., Onoe, A.
and B. Zill, "IPv6 Scoped Address Architecture", draft-ietf-
ipngwg-scoping-arch-04.txt, June 2002.
[19] Berners-Lee, T., Fielding, R. and L. Masinter, "Uniform
Resource Identifiers (URI): Generic Syntax", RFC 2396, August
1998.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 18]
Internet-Draft TCs for Transport Addresses September 2002
[20] Hinden, R., Carpenter, B. and L. Masinter, "Format for Literal
IPv6 Addresses in URL's", RFC 2732, August 1998.
[21] Daniele, M., Haberman, B., Routhier, S. and J. Schoenwaelder,
"Textual Conventions for Internet Network Addresses", RFC 3291,
December 2001.
Authors' Addresses
Mike Daniele
Consultant
19 Pinewood Rd
Hudson, NH 03051
USA
Phone: +1 603 883-6365
EMail: md@world.std.com
Juergen Schoenwaelder
TU Braunschweig
Bueltenweg 74/75
38106 Braunschweig
Germany
Phone: +49 531 391-3289
EMail: schoenw@ibr.cs.tu-bs.de
Daniele & Schoenwaelder Expires March 11, 2003 [Page 19]
Internet-Draft TCs for Transport Addresses September 2002
Full Copyright Statement
Copyright (C) The Internet Society (2002). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Daniele & Schoenwaelder Expires March 11, 2003 [Page 20]