Network Working Group F. Templin, Ed.
Internet-Draft Boeing Research & Technology
Obsoletes: rfc6706 (if approved) June 27, 2014
Intended status: Standards Track
Expires: December 29, 2014

Transmission of IP Packets over AERO Links
draft-templin-aerolink-28.txt

Abstract

This document specifies the operation of IP over tunnel virtual Non-Broadcast, Multiple Access (NBMA) links using Asymmetric Extended Route Optimization (AERO). Nodes attached to AERO links can exchange packets via trusted intermediate routers that provide forwarding services to reach off-link destinations and redirection services for route optimization. AERO provides an IPv6 link-local address format known as the AERO address that supports operation of the IPv6 Neighbor Discovery (ND) protocol and links IPv6 ND to IP routing. Admission control and provisioning are supported by the Dynamic Host Configuration Protocol for IPv6 (DHCPv6), and node mobility is naturally supported through dynamic neighbor cache updates. Although IPv6 ND messaging is used in the control plane, both IPv4 and IPv6 are supported in the data plane.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.

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

This Internet-Draft will expire on December 29, 2014.

Copyright Notice

Copyright (c) 2014 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.


Table of Contents

1. Introduction

This document specifies the operation of IP over tunnel virtual Non-Broadcast, Multiple Access (NBMA) links using Asymmetric Extended Route Optimization (AERO). The AERO link can be used for tunneling to neighboring nodes on either IPv6 or IPv4 networks, i.e., AERO views the IPv6 and IPv4 networks as equivalent links for tunneling. Nodes attached to AERO links can exchange packets via trusted intermediate routers that provide forwarding services to reach off-link destinations and redirection services for route optimization that addresses the requirements outlined in [RFC5522].

AERO provides an IPv6 link-local address format known as the AERO address that supports operation of the IPv6 Neighbor Discovery (ND) [RFC4861] protocol and links IPv6 ND to IP routing. Admission control and provisioning are supported by the Dynamic Host Configuration Protocol for IPv6 (DHCPv6) [RFC3315], and node mobility is naturally supported through dynamic neighbor cache updates. Although IPv6 ND message signalling is used in the control plane, both IPv4 and IPv6 are supported in the data plane. The remainder of this document presents the AERO specification.

2. Terminology

The terminology in the normative references applies; the following terms are defined within the scope of this document:

AERO link

a Non-Broadcast, Multiple Access (NBMA) tunnel virtual overlay configured over a node's attached IPv6 and/or IPv4 networks. All nodes on the AERO link appear as single-hop neighbors from the perspective of the overlay IP layer.
AERO interface

a node's attachment to an AERO link.
AERO address

an IPv6 link-local address constructed as specified in Section 3.2 and assigned to a Client's AERO interface.
AERO node

a node that is connected to an AERO link and that participates in IPv6 ND over the link.
AERO Client ("Client")

a node that assigns an AERO address on an AERO interface and receives an IP prefix delegation.
AERO Server ("Server")

a node that assigns the IPv6 link-local subnet router anycast address (fe80::) and an administratively provisioned IPv6 link-local unicast address on an AERO interface over which it can provide default forwarding and redirection services for AERO Clients.
AERO Relay ("Relay")

a node that relays IP packets between Servers on the same AERO link, and/or that forwards IP packets between the AERO link and the native Internetwork. An AERO Relay may or may not also be configured as an AERO Server.
ingress tunnel endpoint (ITE)

an AERO interface endpoint that injects tunneled packets into an AERO link.
egress tunnel endpoint (ETE)

an AERO interface endpoint that receives tunneled packets from an AERO link.
underlying network

a connected IPv6 or IPv4 network routing region over which AERO nodes tunnel IP packets.
underlying interface

an AERO node's interface point of attachment to an underlying network.
link-layer address

an IP address assigned to an AERO node's underlying interface. When UDP encapsulation is used, the UDP port number is also considered as part of the link-layer address. Link-layer addresses are used as the encapsulation header source and destination addresses.
network layer address

the source or destination address of the encapsulated IP packet.
end user network (EUN)

an internal virtual or external edge IP network that an AERO Client connects to the AERO interface.
end user network prefix

an IP prefix delegated to an end user network.
aggregated prefix

an IP prefix assigned to the AERO link and from which end user network prefixes are derived. (For example, and end user network prefix 2001:db8:1:2::/64 is derived from the aggregated prefix 2001:db8::/32.)

Throughout the document, the simple terms "Client", "Server" and "Relay" refer to "AERO Client", "AERO Server" and "AERO Relay", respectively. Capitalization is used to distinguish these terms from DHCPv6 client/server/relay. This is an important distinction, since an AERO Server may be a DHCPv6 relay, and an AERO Relay may be a DHCPv6 server.

The terminology of [RFC4861] (including the names of node variables and protocol constants) applies to this document. Also throughout the document, the term "IP" is used to generically refer to either Internet Protocol version (i.e., IPv4 or IPv6).

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

3. Asymmetric Extended Route Optimization (AERO)

The following sections specify the operation of IP over Asymmetric Extended Route Optimization (AERO) links:

3.1. AERO Node Types

AERO Relays relay packets between nodes connected to the same AERO link and also forward packets between the AERO link and the native Internetwork. The relaying process entails re-encapsulation of IP packets that were received from a first AERO node and are to be forwarded without modification to a second AERO node.

AERO Servers provide default routing services to AERO Clients. AERO Servers configure a DHCPv6 relay or server function and facilitate DHCPv6 Prefix Delegation (PD) exchanges. An AERO Server may also act as an AERO Relay.

AERO Clients act as requesting routers to receive IP prefixes through a DHCPv6 PD exchange via AERO Servers over the AERO link. (Each client MAY associate with multiple Servers, but associating with many Servers may result in excessive control message overhead.) Each IPv6 AERO Client receives at least a /64 IPv6 prefix delegation, and may receive even shorter prefixes. Similarly, each IPv4 AERO Client receives at least a /32 IPv4 prefix delegation (i.e., a singleton IPv4 address), and may receive even shorter prefixes.

AERO Clients that act as routers sub-delegate portions of their received prefix delegations to links on EUNs. End system applications on AERO Clients that act as routers bind to EUN interfaces (i.e., and not the AERO interface).

AERO Clients that act as ordinary hosts assign one or more IP addresses taken from their received prefix delegations to the AERO interface but DO NOT assign the delegated prefix itself to the AERO interface. Instead, the Client assigns the delegated prefix to a "black hole" route so that unused portions of the prefix are nullified. End system applications on AERO Clients that act as hosts bind directly to the AERO interface.

3.2. AERO Addresses

An AERO address is an IPv6 link-local address with an embedded IP prefix and assigned to a Client's AERO interface. The AERO address is formatted as follows:

For IPv6, the AERO address begins with the prefix fe80::/64 and includes in its interface identifier the base prefix taken from the Client's delegated IPv6 prefix. The base prefix is determined by masking the delegated prefix with the prefix length. For example, if the AERO Client receives the IPv6 prefix delegation:

it constructs its AERO address as:

For IPv4, the AERO address begins with the prefix fe80::/96 and includes in its interface identifier the base prefix taken from the Client's delegated IPv4 prefix. For example, if the AERO Client receives the IPv4 prefix delegation:

it constructs its AERO address as:

The AERO address remains stable as the Client moves between topological locations, i.e., even if its link-layer addresses change.

NOTE: In some cases, prospective neighbors may not have a priori knowledge of the Client's delegated prefix length and may therefore send initial IPv6 ND messages with an AERO destination address that matches the delegated prefix but does not correspond to the base prefix. In that case, the Client MUST accept the address as equivalent to the base address, but then use the base address as the source address of any IPv6 ND message replies. For example, if the Client receives the IPv6 prefix delegation 2001:db8:1000:2000::/56 then subsequently receives an IPv6 ND message with destination address fe80::2001:db8:1000:2001, it accepts the message but uses fe80::2001:db8:1000:2000 as the source address of any IPv6 ND replies.

3.3. AERO Interface Characteristics

AERO interfaces use IP-in-IPv6 encapsulation [RFC2473] to exchange tunneled packets with AERO neighbors attached to an underlying IPv6 network, and use IP-in-IPv4 encapsulation [RFC2003][RFC4213] to exchange tunneled packets with AERO neighbors attached to an underlying IPv4 network. AERO interfaces can also operate over secured tunnel types such as IPsec [RFC4301] or TLS [RFC5246]. When Network Address Translator (NAT) traversal and/or filtering middlebox traversal may be necessary, a UDP header is further inserted immediately above the IP encapsulation header.

Servers assign the address fe80:: to their AERO interfaces as a link-local Subnet Router Anycast address. Servers and Relays also assign a link-local address fe80::ID to support the operation of the IPv6 ND protocol and the inter-Server/Relay routing system (see: Appendix A). Each fe80::ID address MUST be unique among all Servers and Relays on the AERO link, and MUST NOT collide with any potential AERO addresses (e.g., the addresses for Servers and Relays on the link could be assigned as fe80::1, fe80::2, fe80::3, etc.). Servers accept IPV6 ND messages with either fe80::ID or fe80:: as the IPv6 destination address, but MUST use the fe80::ID address as the IPv6 source address of any IPv6 ND messages they generate.

When a Client does not know the fe80::ID address of a Server, it can use fe80:: as a temporary destination address in IPv6 ND messages. The Client may also use fe80::, e.g., as the link-local address in a neighbor cache entry for a Server when the Server's fe80::ID address is not known in advance.

When a Client enables an AERO interface, it invokes DHCPv6 PD using the temporary IPv6 link-local source address fe80::ffff:ffff:ffff:ffff. After the Client receives a prefix delegation, it assigns the corresponding AERO address to the AERO interface and deprecates the temporary address, i.e., the Client invokes DHCPv6 to bootstrap the provisioning of a unique link-local address before invoking IPv6 ND.

AERO interfaces maintain a neighbor cache and use an adaptation of standard unicast IPv6 ND messaging. AERO interfaces use unicast Neighbor Solicitation (NS), Neighbor Advertisement (NA), Router Solicitation (RS) and Router Advertisement (RA) messages the same as for any IPv6 link. AERO interfaces use two redirection message types -- the first known as a Predirect message and the second being the standard Redirect message (see Section 3.9). AERO links further use link-local-only addressing; hence, Clients ignore any Prefix Information Options (PIOs) they may receive in RA messages.

AERO interface Redirect/Predirect messages include Target Link-Layer Address Options (TLLAOs) formatted as shown in Figure 1:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |    Type = 2   |   Length = 3  |           Reserved            |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |    Link ID    |   Preference  |     UDP Port Number (or 0)    |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                                                               |
     +--                                                           --+
     |                                                               |
     +--                        IP Address                         --+
     |                                                               |
     +--                                                           --+
     |                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure 1: AERO Target Link-Layer Address Option (TLLAO) Format

In this format, Link ID is an integer value between 0 and 255 corresponding to an underlying interface of the target node, and Preference is an integer value between 0 and 255 indicating the node's preference for this underlying interface, with 0 being highest preference and 255 being lowest. UDP Port Number and IP Address are set to the addresses used by the target node when it sends encapsulated packets over the underlying interface. When no UDP encapsulation is used, UDP Port Number is set to 0. When the encapsulation IP address family is IPv4, IP Address is formed as an IPv4-compatible IPv6 address [RFC4291], i.e., 96 bits of leading 0's followed by a 32-bit IPv4 address

AERO interface Redirect/Predirect messages can both update and create neighbor cache entries, including link-layer address information. Redirect/Predirect messages SHOULD include a Timestamp option (see Section 5.3 of [RFC3971]) that other AERO nodes can use to verify the message time of origin.

AERO interface NS/NA/RS/RA messages used for neighbor reachability verification update timers in existing neighbor cache entires but do not update link-layer addresses nor create new neighbor cache entries. AERO interface unsolicited NA messages are used to update a neighbor's cached link-layer address for the sender, e.g., following a link-layer address change due to node mobility. AERO interface NS/RS messages SHOULD include a Nonce option (see Section 5.3 of [RFC3971]) that the recipient echoes back in the corresponding NA/RA response.

3.3.1. Coordination of Multiple Underlying Interfaces

AERO interfaces may be configured over multiple underlying interfaces. For example, common handheld devices have both wireless local area network ("WLAN") and cellular wireless links. These links are typically used "one at a time" with low-cost WLAN preferred and highly-available cellular wireless as a standby. In a more complex example, aircraft frequently have many wireless data link types (e.g. satellite-based, terrestrial, air-to-air directional, etc.) with diverse performance and cost properties.

If a Client's multiple underlying interfaces are used "one at a time" (i.e., all other interfaces are in standby mode while one interface is active), then Predirect/Redirect messages include only a single TLLAO with Link ID set to 0.

If the Client has multiple active underlying interfaces, then from the perspective of IPv6 ND it would appear to have a single link-local address with multiple link-layer addresses. In that case, Predirect/Redirect messages MAY include multiple TLLAOs -- each with a different Link ID that corresponds to an underlying interface of the Client. Further details on coordination of multiple active underlying interfaces are outside the scope of this specification.

3.4. AERO Interface Neighbor Cache Maintenace

Each AERO interface maintains a conceptual neighbor cache that includes an entry for each neighbor it communicates with on the AERO link, the same as for any IPv6 interface [RFC4861]. Neighbor cache entries are created and maintained as follows:

When an AERO Server relays a DHCPv6 Reply message to an AERO Client, it creates or updates a neighbor cache entry for the Client based on the AERO address corresponding to the Client's prefix delegation as the network-layer address and with the Client's encapsulation IP address and UDP port number as the link-layer address.

When an AERO Client receives a DHCPv6 Reply message from an AERO Server, it creates or updates a neighbor cache entry for the Server based on the Reply message link-local source address as the network-layer address, and the encapsulation IP source address and UDP source port number as the link-layer address.

When an AERO Client receives a valid Predirect message it creates or updates a neighbor cache entry for the Predirect target network-layer and link-layer addresses, and also creates an IP forwarding table entry for the predirected (source) prefix. The node then sets an "AcceptTime" variable for the neighbor and uses this value to determine whether messages received from the predirected neighbor can be accepted.

When an AERO Client receives a valid Redirect message it creates or updates a neighbor cache entry for the Redirect target network-layer and link-layer addresses, and also creates an IP forwarding table entry for the redirected (destination) prefix. The node then sets a "ForwardTime" variable for the neighbor and uses this value to determine whether packets can be sent directly to the redirected neighbor. The node also maintains a constant value MAX_RETRY to limit the number of keepalives sent when a neighbor may have gone unreachable.

When an AERO Client receives a valid NS message it (re)sets AcceptTime for the neighbor to ACCEPT_TIME.

When an AERO Client receives a valid solicited NA message, it (re)sets ForwardTime for the neighbor to FORWARD_TIME. (When an AERO Client receives a valid unsolicited NA message, it updates the neighbor's link-layer address but DOES NOT reset ForwardTime.)

It is RECOMMENDED that FORWARD_TIME be set to the default constant value 30 seconds to match the default REACHABLE_TIME value specified for IPv6 ND [RFC4861].

It is RECOMMENDED that ACCEPT_TIME be set to the default constant value 40 seconds to allow a 10 second window so that the AERO redirection procedure can converge before AcceptTime decrements below FORWARD_TIME.

It is RECOMMENDED that MAX_RETRY be set to 3 the same as described for IPv6 ND address resolution in Section 7.3.3 of [RFC4861].

Different values for FORWARD_TIME, ACCEPT_TIME, and MAX_RETRY MAY be administratively set, if necessary, to better match the AERO link's performance characteristics; however, if different values are chosen, all nodes on the link MUST consistently configure the same values. In particular, ACCEPT_TIME SHOULD be set to a value that is sufficiently longer than FORWARD_TIME to allow the AERO redirection procedure to converge.

3.5. AERO Interface Data Origin Authentication

AERO nodes use a simple data origin authentication for encapsulated packets they receive from other nodes. In particular, AERO nodes accept encapsulated packets with a link-layer source address belonging to one of their current AERO Servers and accept encapsulated packets with a link-layer source address that is correct for the network-layer source address.

The AERO node considers the link-layer source address correct for the network-layer source address if there is an IP forwarding table entry that matches the network-layer source address as well as a neighbor cache entry corresponding to the next hop that includes the link-layer address and AcceptTime is non-zero.

Note that this simple data origin authentication only applies to environments in which link-layer addresses cannot be spoofed. Additional security mitigations may be necessary in other environments.

3.6. AERO Interface MTU Considerations

The AERO link Maximum Transmission Unit (MTU) is 64KB minus the encapsulation overhead for IPv4 as the link-layer [RFC0791] and 4GB minus the encapsulation overhead for IPv6 as the link layer [RFC2675]. This is the most that IPv4 and IPv6 (respectively) can convey within the constraints of protocol constants, but actual sizes available for tunneling will frequently be much smaller.

The base tunneling specifications for IPv4 and IPv6 typically set a static MTU on the tunnel interface to 1500 bytes minus the encapsulation overhead or smaller still if the tunnel is likely to incur additional encapsulations on the path. This can result in path MTU related black holes when packets that are too large to be accommodated over the AERO link are dropped, but the resulting ICMP Packet Too Big (PTB) messages are lost on the return path. As a result, AERO nodes use the following MTU mitigations to accommodate larger packets.

AERO nodes set their AERO interface MTU to the larger of the underlying interface MTU minus the encapsulation overhead, and 1500 bytes. (If there are multiple underlying interfaces, the node sets the AERO interface MTU according to the largest underlying interface MTU, or 64KB /4G minus the encapsulation overhead if the largest MTU cannot be determined.) AERO nodes optionally cache other per-neighbor MTU values in the underlying IP path MTU discovery cache initialized to the underlying interface MTU.

AERO nodes admit packets that are no larger than 1280 bytes minus the encapsulation overhead (*) as well as packets that are larger than 1500 bytes into the tunnel without fragmentation, i.e., as long as they are no larger than the AERO interface MTU before encapsulation and also no larger than the cached per-neighbor MTU following encapsulation. For IPv4, the node sets the "Don't Fragment" (DF) bit to 0 for packets no larger than 1280 bytes minus the encapsulation overhead (*) and sets the DF bit to 1 for packets larger than 1500 bytes. If a large packet is lost in the path, the node may optionally cache the MTU reported in the resulting PTB message or may ignore the message, e.g., if there is a possibility that the message is spurious.

For packets destined to an AERO node that are larger than 1280 bytes minus the encapsulation overhead (*) but no larger than 1500 bytes, the node uses IP fragmentation to fragment the encapsulated packet into two pieces (where the first fragment contains 1024 bytes of the original IP packet) then admits the fragments into the tunnel. If the link-layer protocol is IPv4, the node admits each fragment into the tunnel with DF set to 0 and subject to rate limiting to avoid reassembly errors [RFC4963][RFC6864]. For both IPv4 and IPv6, the node also sends a 1500 byte probe message (**) to the neighbor, subject to rate limiting.

To construct a probe, the node prepares an NS message with a Nonce option plus trailing padding octets added to a length of 1500 bytes without including the length of the padding in the IPv6 Payload Length field. The node then encapsulates the NS in the encapsulation headers (while including the length of the padding in the encapsulation header length fields), sets DF to 1 (for IPv4) and sends the padded NS message to the neighbor. If the neighbor returns an NA message with a correct Nonce value, the node may then send whole packets within this size range and (for IPv4) relax the rate limiting requirement. (Note that the trailing padding SHOULD NOT be included within the Nonce option itself but rather as padding beyond the last option in the NS message; otherwise, the (large) Nonce option would be echoed back in the solicited NA message and may be lost at a link with a small MTU along the reverse path.)

AERO nodes MUST be capable of reassembling packets up to 1500 bytes plus the encapsulation overhead length. It is therefore RECOMMENDED that AERO nodes be capable of reassembling at least 2KB.

(*) Note that if it is known without probing that the minimum Path MTU to an AERO node is MINMTU bytes (where 1280 < MINMTU < 1500) then MINMTU can be used instead of 1280 in the fragmentation threshold considerations listed above.

(**) It is RECOMMENDED that no probes smaller than 1500 bytes be used for MTU probing purposes, since smaller probes may be fragmented if there is a nested tunnel somewhere on the path to the neighbor. Probe sizes larger than 1500 bytes MAY be used, but may be unnecessary since original sources are expected to implement [RFC4821] when sending large packets.

3.7. AERO Interface Encapsulation, Re-encapsulation and Decapsulation

AERO interfaces encapsulate IP packets according to whether they are entering the AERO interface for the first time or if they are being forwarded out the same AERO interface that they arrived on. This latter form of encapsulation is known as "re-encapsulation".

AERO interfaces encapsulate packets per the specifications in [RFC2003][RFC2473][RFC4213][RFC4301][RFC5246] except that the interface copies the "TTL/Hop Limit", "Type of Service/Traffic Class" and "Congestion Experienced" values in the packet's IP header into the corresponding fields in the encapsulation header. For packets undergoing re-encapsulation, the AERO interface instead copies the "TTL/Hop Limit", "Type of Service/Traffic Class" and "Congestion Experienced" values in the original encapsulation header into the corresponding fields in the new encapsulation header (i.e., the values are transferred between encapsulation headers and *not* copied from the encapsulated packet's network-layer header).

When AERO UDP encapsulation is used, the AERO interface encapsulates the packet per the specifications in [RFC2003][RFC2473][RFC4213] except that it inserts a UDP header between the encapsulation header and the packet's IP header. The AERO interface sets the UDP source port to a constant value that it will use in each successive packet it sends, sets the UDP checksum field to zero (see: [RFC6935][RFC6936]) and sets the UDP length field to the length of the IP packet plus 8 bytes for the UDP header itself. For packets sent via a Server, the AERO interface sets the UDP destination port to 8060 (i.e., the IANA-registered port number for AERO) when AERO-only encapsulation is used. For packets sent to a neighboring Client, the AERO interface sets the UDP destination port to the port value stored in the neighbor cache entry for this neighbor.

The AERO interface next sets the IP protocol number in the encapsulation header to the appropriate value for the first protocol layer within the encapsulation (e.g., IPv4, IPv6, UDP, IPsec, etc.). When IPv6 is used as the encapsulation protocol, the interface then sets the flow label value in the encapsulation header the same as described in [RFC6438]. When IPv4 is used as the encapsulation protocol, the AERO interface sets the DF bit as discussed in Section 3.6.

AERO interfaces decapsulate packets destined either to the node itself or to a destination reached via an interface other than the receiving AERO interface. When AERO UDP encapsulation is used (i.e., when a UDP header with destination port 8060 is present) the interface examines the first octet of the encapsulated packet. If the most significant four bits of the first octet encode the value '0110' (i.e., the version number value for IPv6) or the value '0100' (i.e., the version number value for IPv4), the packet is accepted and the encapsulating UDP header is discarded; otherwise, the packet is discarded.

Further decapsulation then proceeds according to the appropriate tunnel type [RFC2003][RFC2473][RFC4213][RFC4301][RFC5246].

3.8. AERO Router Discovery, Prefix Delegation and Address Configuration

3.8.1. AERO Client Behavior

AERO Clients discover the link-layer addresses of AERO Servers via static configuration, or through an automated means such as DNS name resolution. In the absence of other information, the Client resolves the Fully-Qualified Domain Name (FQDN) "linkupnetworks.domainname", where "domainname" is the DNS domain appropriate for the Client's attached underlying network. After discovering the link-layer addresses, the Client associates with one or more of the corresponding Servers.

To associate with a Server, the Client acts as a requesting router to request an IP prefix through DHCPv6 PD [RFC3315][RFC3633][RFC6355] using fe80::ffff:ffff:ffff:ffff as the IPv6 source address (see Section 3.3), 'All_DHCP_Relay_Agents_and_Servers' as the IPv6 destination address and the link-layer address of the Server as the link-layer destination address. The Client includes a DHCPv6 Unique Identifier (DUID) in the Client Identifier option of its DHCPv6 messages (as well as a DHCPv6 authentication option if necessary) to identify itself to the DHCPv6 server. If the Client is pre-provisioned with an IP prefix associated with the AERO service, it MAY also include the prefix in its DHCPv6 PD Request to indicate its preferred prefix to the DHCPv6 server. The Client then sends the encapsulated DHCPv6 request via an underlying interface.

When the Client receives its prefix delegation via a Reply from the DHCPv6 server, it creates a neighbor cache entry with the Server's link-local address (i.e., fe80::ID) as the network-layer address and the Server's encapsulation address as the link-layer addresses. Next, the Client assigns the AERO address derived from the delegated prefix to the AERO interface and sub-delegates the prefix to nodes and links within its attached EUNs (the AERO address thereafter remains stable as the Client moves). The Client also sets both AcceptTime and ForwardTime for each Server to the constant value REACHABLE_TIME. The Client further renews its prefix delegation by performing DHCPv6 Renew/Reply exchanges with its AERO address as the IPv6 source address, 'All_DHCP_Relay_Agents_and_Servers' as the IPv6 destination address, the link-layer address of a Server as the link-layer destination address and the same DUID and authentication information. If the Client wishes to associate with multiple Servers, it can perform DHCPv6 Renew/Reply exchanges via each of the Servers.

The Client then sends an RS message to each of its associated Servers to receive an RA message with a default router lifetime and any other link-specific parameters. When the Client receives an RA message, it configures or updates a default route according to the default router lifetime but ignores any Prefix Information Options (PIOs) included in the RA message since the AERO link is link-local-only. The Client further ignores any RS messages it might receive, since only Servers may process RS messages.

The Client then sends periodic RS messages to each Server before AcceptTime and ForwardTime expire to obtain new RA messages for Neighbor Unreachability Detection (NUD), to refresh any network state, and to update the default router lifetime and any other link-specific parameters. When the Client receives a new RA message, it resets AcceptTime and ForwardTime to REACHABLE_TIME. The Client can also forward IP packets destined to networks beyond its local EUNs via a Server as a default router. The Server may in turn return a redirection message informing the Client of a neighbor on the AERO link that is topologically closer to the final destination (see Section 3.9).

Note that, since the Client's AERO address is configured from the unique DHCPv6 prefix delegation it receives, there is no need for Duplicate Address Detection (DAD) on AERO links. Other nodes maliciously attempting to hijack an authorized Client's AERO address will be denied access to the network by the DHCPv6 server due to an unacceptable link-layer address and/or security parameters (see: Security Considerations).

3.8.2. AERO Server Behavior

AERO Servers configure a DHCPv6 relay function on their AERO links. AERO Servers arrange to add their encapsulation layer IP addresses (i.e., their link-layer addresses) to the DNS resource records for the FQDN "linkupnetworks.domainname" before entering service.

When an AERO Server relays a prospective Client's DHCPv6 PD messages to the DHCPv6 server, it wraps each message in a "Relay-forward" message per [RFC3315] and includes a DHCPv6 Interface Identifier option that encodes a value that identifies the AERO link to the DHCPv6 server. Without creating internal state, the Server then includes the Client's link-layer address in a DHCPv6 Client Link Layer Address Option (CLLAO) [RFC6939] with the link-layer address format shown in Figure 1 (i.e., Link ID followed by Preference followed by UDP Port Number followed by IP Address). The Server sets the CLLAO 'option-length' field to 22 (2 plus the length of the link-layer address) and sets the 'link-layer type' field to TBD (see: IANA Considerations). The Server finally includes a DHCPv6 Echo Request Option (ERO) [RFC4994] that encodes the option code for the CLLAO in a 'requested-option-code-n' field, then relays the message to the DHCPv6 server. The CLLAO information will therefore subsequently be echoed back in the DHCPv6 server's "Relay-reply" message.

When the DHCPv6 server issues the prefix delegation in a "Relay-reply" message via the AERO Server (acting as a DHCPv6 relay), the Server obtains the Client's link-layer address from the echoed CLLAO option and also obtains the Client's delegated prefix from the message. The Server then creates a neighbor cache entry for the Client's AERO address with the Client's link-layer address as the link-layer address for the neighbor cache entry. The neighbor cache entry is created with both AcceptTime and ForwardTime set to REACHABLE_TIME, since the Client will continue to send RS messages within REACHABLE_TIME seconds as long as it wishes to remain associated with this Server.

The Server also configures an IP forwarding table entry that lists the Client's AERO address as the next hop toward the delegated IP prefix with a lifetime derived from the DHCPv6 lease lifetime. The Server finally injects the Client's prefix as an IP route into the inter-Server/Relay routing system (see: Appendix A) then relays the DHCPv6 message to the Client while using fe80::ID as the IPv6 source address, the link-local address found in the "peer address" field of the Relay-reply message as the IPv6 destination address, and the Client's link-layer address as the destination link-layer address.

Servers respond to NS/RS messages from Clients on their AERO interfaces by returning an NA/RA message. The Server SHOULD NOT include PIOs in the RA messages it sends to Clients, since the Client will ignore any such options. When the Server receives an NS/RS message from the Client, it resets AcceptTime and ForwardTime to REACHABLE_TIME.

Servers ignore any RA messages they may receive from a Client, but they MAY examine RA messages received from other Servers for consistency verification purposes. Servers do not send NS messages for the purpose of updating Client neighbor cache timers, since Clients are responsible for refreshing neighbor cache state.

When the Server forwards a packet via the same AERO interface on which it arrived, it initiates an AERO route optimization procedure as specified in Section 3.9.

3.9. AERO Redirection

3.9.1. Reference Operational Scenario

Figure 2 depicts the AERO redirection reference operational scenario, using IPv6 addressing as the example (while not shown, a corresponding example for IPv4 addressing can be easily constructed). The figure shows an AERO Server('A'), two AERO Clients ('B', 'C') and three ordinary IPv6 hosts ('D', 'E', 'F'):