RFC 6572
RADIUS Support for Proxy Mobile IPv6
RFC 6572: RADIUS Support for Proxy Mobile IPv6 β¨
The header tea π«: this one's by F. Xia and B. Sarikaya (Huawei USA), with J. Korhonen, Ed. (Nokia Siemens Networks), S. Gundavelli (Cisco), and D. Damic (Siemens). It's a Standards Track doc, dated June 2012, with ISSN 2070-1721. The header doesn't list any Obsoletes or Updates lines, so nothing gets replaced or patched here π .
Abstract
This doc defines new attributes to make Proxy Mobile IPv6 work with the RADIUS infrastructure π. The mobile access gateway and the local mobility anchor talk to a AAA server over RADIUS interfaces for authentication, authorization, and policy stuff. The MAG-to-AAA RADIUS interactions happen when the mobile node (MN) attaches, authenticates, and gets authorized to a Proxy Mobile IPv6 domain. The doc also defines a RADIUS-based interface between the local mobility anchor and the AAA RADIUS server, which is used to authorize received Proxy Binding Update messages for the MN's mobility session π¦. On top of the session setup stuff, it sets the baseline for accounting generated by both the MAG and the LMA β¨.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc6572.
Copyright Notice
Copyright (c) 2012 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 ....................................................4
2. Terminology .....................................................4
3. Solution Overview ...............................................5
4. Attribute Definitions ...........................................9
4.1. MIP6-Feature-Vector ........................................9
4.2. Mobile-Node-Identifier ....................................11
4.3. Service-Selection .........................................12
4.4. PMIP6-Home-LMA-IPv6-Address ...............................12
4.5. PMIP6-Visited-LMA-IPv6-Address ............................13
4.6. PMIP6-Home-LMA-IPv4-Address ...............................14
4.7. PMIP6-Visited-LMA-IPv4-Address ............................15
4.8. PMIP6-Home-HN-Prefix ......................................15
4.9. PMIP6-Visited-HN-Prefix ...................................16
4.10. PMIP6-Home-Interface-ID ..................................18
4.11. PMIP6-Visited-Interface-ID ...............................18
4.12. PMIP6-Home-IPv4-HoA ......................................19
4.13. PMIP6-Visited-IPv4-HoA ...................................20
4.14. PMIP6-Home-DHCP4-Server-Address ..........................21
4.15. PMIP6-Visited-DHCP4-Server-Address .......................22
4.16. PMIP6-Home-DHCP6-Server-Address ..........................22
4.17. PMIP6-Visited-DHCP6-Server-Address .......................23
4.18. Calling-Station-Id .......................................24
4.19. Chargeable-User-Identity .................................24
4.20. PMIP6-Home-IPv4-Gateway ..................................25
4.21. PMIP6-Visited-IPv4-Gateway ...............................25
5. MAG to RADIUS AAA Interface ....................................26
5.1. Interface Operations ......................................26
5.2. Table of Attributes .......................................27
6. LMA to RADIUS AAA Interface ....................................28
6.1. Interface Operations ......................................28
6.2. Table of Attributes .......................................30
7. Accounting .....................................................31
7.1. Accounting at LMA .........................................31
7.2. Accounting at MAG .........................................32
7.3. Table of Attributes .......................................32
8. Security Considerations ........................................32
9. IANA Consideration .............................................33
9.1. Attribute Type Codes ......................................33
9.2. Namespaces ................................................33
10. Acknowledgements ..............................................34
11. References ....................................................34
11.1. Normative References .....................................34
11.2. Informative References ...................................35
1. Introduction π§
Okay so Proxy Mobile IPv6 (PMIPv6) [RFC5213] is a network-based mobility management protocol, and it's giving main character energy π. It gives IP mobility support to a mobile node without the mobile node having to take part in any mobility-related signaling π. The network does all the mobility work itself, with two key functions: the mobile access gateway (MAG) and the local mobility anchor (LMA) πΈ.
The MAG is the one that keeps track of the mobile node's movements in the network, and it starts the mobility management signaling it needs with the local mobility anchor (LMA). Both of these mobility agents use the AAA infrastructure to fetch the mobile node's policy profile and to handle service authorization π₯.
This doc defines a RADIUS-based [RFC2865] profile, plus the attributes that go with it, for the AAA interface between the MAG and the AAA RADIUS server π. That interface carries the per-MN policy profile from the remote policy store over to the MAG. It also defines a RADIUS-based interface between the LMA and the AAA RADIUS server, used to authorize the Proxy Mobile IPv6 signaling messages that come in β¨. The AAA procedures here cover these two scenarios:
- a mobile node connects to the Proxy Mobile IPv6 domain from the home network
- a mobile node connects to the Proxy Mobile IPv6 domain from a visited network
2. Terminology π
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] π«Ά.
All the mobility-related terms in this doc should be read the way they're defined in the Proxy Mobile IPv6 specs, [RFC5213] and [RFC5844] π. On top of that, this doc uses the following abbreviations π :
Network Access Server (NAS): A function that provides authorization services for a device/user access to the network, as defined in [RFC2865]. This document makes an assumption that the NAS function is co-located with the MAG. In scenarios where the NAS function and MAG are decoupled, the messaging interface needed between them for the operation of PMIP6 is beyond the scope of this document π.
Home AAA (HAAA): An Authentication, Authorization, and Accounting (AAA) server located in the MN's home network. This sever has access to the mobile node's policy profiles π‘.
Visited AAA (VAAA): An Authentication, Authorization, and Accounting (AAA) server located in the MN's visited network. The VAAA server takes the role of a proxy-server, forwarding the received AAA service request to the HAAA server in the mobile node's home network and relaying the response to the requesting node, after applying any local access network policies π¦.
Local AAA (LAAA): An Authentication, Authorization, and Accounting proxy located in the local network. In a roaming case, the local AAAA has the visited AAA role π.
3. Solution Overview β¨
okay so this section is the big picture π¦ this doc defines the RADIUS-based AAA interactions with the two mobility management elements in the Proxy Mobile IPv6 domain. π
- Interactions between a MAG and a RADIUS-based AAA server
- Interactions between a LMA and a RADIUS-based AAA server
so the mobile node's policy profile [RFC5213] lives in a policy store, and the PMIPv6 mobility management elements need it to authorize the mobile node for mobility management service and to grab all the service-related parameters π this policy store could be locally co-located with the mobility management agents (direct local access, iconic) or it could be available from a AAA server through a RADIUS-based AAA interface.
when a mobile node attaches to an access network, the NAS on that access network may activate the network access authentication procedure πΈ the choice of authentication mechanism is specific to the access network deployment, but it's typically based on the Extensible Authentication Protocol (EAP) [RFC3748]. the NAS performs the network access authentication and queries the HAAA using AAA protocol, such as RADIUS. if the network access authentication succeeds, the MN's policy profile is obtained as part of the RADIUS message exchange with the AAA server β¨
the mobile node may be an IPv4-only node, IPv6-only node, or a dual-stack (IPv4/v6) node π§ based on the policy specified in the policy profile, the network access authentication procedure SHOULD provide the unambiguous indication of the type of address(es) to be assigned for the MN in the network and with all other service-related and policy parameters relevant to the mobility service. no cap, that's the clarity we need.
after the successful network access authentication and obtaining the mobile node's policy profile, the MAG sends a Proxy Binding Update (PBU) to the LMA π upon receiving the PBU, the LMA interacts with the HAAA to obtain the mobile node's policy profile, which is required for authorizing and activating mobility service.
this document adds support for three distinct PMIPv6 mobility use cases, taking into account the administrative domains the MAG and the LMA belong to π the three relevant deployment models are:
- the MAG and LMA are both in the home network,
- the MAG and LMA are both in the visited network,
- the MAG is in the visited network while the LMA is in the home network.
Figure 1 shows the participating network entities for the PMIPv6 mobility session, which is located in the home network π the MAG and LMA interact only with the HAAA.
+--------+
| HAAA & | RADIUS +-----+
| Policy |<-------->| LMA |
| Profile| +-----+
+--------+ | <--- LMA-Address
^ |
| // \\
+---|------------- //---\\----------------+
( | IPv4/IPv6 // \\ )
( | Network // \\ )
+---|-----------//---------\\-------------+
| // \\
RADIUS // <- Tunnel1 \\ <- Tunnel2
| // \\
| |- MAG1-Address |- MAG2-Address
| +----+ +----+
+---->|MAG1| |MAG2|
+----+ +----+
| |
| |
MN1 MN2
Figure 1: The MAG and LMA Are Both in the Home Network
Figure 2 shows both the LMA and MAG are in the visited network π the MAG and LMA exchange signaling with the HAAA through the VAAA, which acts as a Proxy. the visited network may append additional information to the HAAA replies in order to reflect the local policy.
+---------------+
| HAAA & |
+----------| Policy Profile|
| +---------------+
|
+---------+
|[VL]AAA &| RADIUS +-----+
| Policy |<------->| LMA |
| Profile | +-----+
+---------+ | <--- LMA-Address
^ // \\
+---|------------- //---\\----------------+
( | IPv4/IPv6 // \\ )
( | Network // \\ )
+---|-----------//---------\\-------------+
| // \\
RADIUS // <- Tunnel1 \\ <- Tunnel2
| // \\
| |- MAG1-Address |- MAG2-Address
| +----+ +----+
+---->|MAG1| |MAG2|
+----+ +----+
| |
MN1 MN2
Figure 2: The MAG and LMA Are Both in the Visited/Local Network
Figure 3 illustrates a topology where the MAG resides in the visited network while the associated LMA is in the MN's home network π¦ any message between the MAG and the HAAA passes through the VAAA, which acts as a Proxy. during the network authentication, the visited network's specific policy may also be propagated from the VAAA to the MAG. the LMA has direct access to the HAAA.
+---------------+
| HAAA & |
+----------| Policy Profile|
| +---------------+
| |
| RADIUS
+---------+ |
|[VL]AAA &| +-----+
| Policy | | LMA |
| Profile | +-----+
+---------+ | <--- LMA-Address
^ // \\
+---|------------- //---\\----------------+
( | IPv4/IPv6 // \\ )
( | Network // \\ )
+---|-----------//---------\\-------------+
| // \\
RADIUS // <- Tunnel1 \\ <- Tunnel2
| // \\
| |- MAG1-Address |- MAG2-Address
| +----+ +----+
+---->|MAG1| |MAG2|
+----+ +----+
| |
MN1 MN2
Figure 3: Visited MAG and Home LMA Topology
4. Attribute Definitions π
4.1. MIP6-Feature-Vector
okay this is the attribute where the capability bits live π Diameter [RFC3588] reserves AVP Code space 1-255 as RADIUS attribute compatibility space. the MIP6-Feature-Vector attribute (Type value 124) defined in [RFC5447] is of type OctetString and contains a 64-bit flags field of supported mobility capabilities. this document reserves two new capability bits according to the rules in [RFC5447], and reuses the PMIPv6 capability bits defined by [RFC5779]. the following capability flag bits are used or defined in this document:
PMIP6_SUPPORTED (0x0000010000000000)
This capability bit is used as defined in [RFC5779].
IP4_HOA_SUPPORTED (0x0000020000000000)
This capability bit is used as defined in [RFC5779]. Assignment of the IPv4-HoA (Home Address) is defined by [RFC5844].
LOCAL_MAG_ROUTING_SUPPORTED (0x0000040000000000)
This capability bit is used as defined in [RFC5779].
IP4_TRANSPORT_SUPPORTED (0x0000800000000000)
This capability bit is used for negotiation of the IPv4 transport support between the MAG and AAA. when the MAG sets this flag bit in the MIP6-Feature-Vector, it indicates the ability of the MAG to provide IPv4 transport (i.e., IPv4-based encapsulation) for carrying IP traffic between the MAG and the LMA. if this flag bit is unset in the returned MIP6-Feature-Vector attribute, the AAA does not authorize the use of IPv4 transport on the MAG-to-LMA tunnel.
IP4_HOA_ONLY_SUPPORTED (0x0001000000000000)
This capability bit is used for determination of the authorized PMIPv6 mobility mode. when this bit is set by the AAA, it indicates PMIPv6 mobility with IPv4 support has only been authorized for the MN. as a result, the RADIUS Access-Accept SHOULD NOT carry the IPv6 Home Network Prefix (IPv6 HNP). when this bit is set, the PMIP6_SUPPORTED flag MUST also be set and the IP4_HOA_SUPPORTED flag MUST NOT be set.
to summarize the use of the MIP6-Feature-Vector, the following capability bit combination settings mean:
- PMIP6-SUPPORTED bit set: only IPv6 mobility is supported and authorized.
- PMIP6-SUPPORTED and IP4-ONLY-HOA-SUPPORTED bits set: only IPv4 mobility is supported and authorized.
- PMIP6-SUPPORTED and IP4-HOA-SUPPORTED bits set: both IPv6 and IPv4 mobility are supported and authorized.
the MIP6-Feature-Vector attribute is also used on the LMA to the RADIUS AAA interface π₯ this capability announcement attribute enables direct capability negotiation between the LMA and the AAA. the capabilities that are announced by both parties in the MIP6-Feature-Vector are known to be mutually supported. the LMA may use this mechanism during authorization of the received PBU against the AAA to check individual PMIPv6 feature permissions for a particular MN.
if the RADIUS Access-Accept contains a contradicting combination of the capability flag bits, such as both the IP4_HOA_ONLY_SUPPORTED and the IP4_HOA_SUPPORTED flags being set, then the RADIUS client MUST treat the Access-Accept as an Access-Reject and SHOULD log the event. similarly, if the RADIUS Access-Request contains a contradicting combination of the capability flag bits, then the RADIUS server MUST reply with an Access-Reject message and SHOULD log the event. π
4.2. Mobile-Node-Identifier
the Mobile-Node-Identifier attribute (Type value 145) is of type String and contains the mobile node identifier (MN-Identifier), see [RFC5213], in the form of a Network Access Identifier (NAI) [RFC4282] πΈ this identifier and the identifier used for access authentication may be different, but there needs to be a mapping between the two identities as specified in Section 6.6 of [RFC5213]. this attribute is used on the interface between the MAG and the AAA server. the Mobile-Node-Identifier attribute is designed for deployments where the identity used during network access authentication and the identity used for mobility management is decoupled. it may also be the case where the MAG does not have means to find out the MN identity that could be used in subsequent PBU and Proxy Binding Acknowledgement (PBA) exchanges (e.g., due to identity hiding during the network access authentication), or when the HAAA wants to assign periodically changing identities to the MN π
the Mobile-Node-Identifier attribute MAY be returned by the HAAA in the RADIUS Access-Accept message that completes a successful authentication and authorization exchange between the MAG and the HAAA. the MAG MUST use the received MN-Identifier. π«Ά
Here's the layout of the attribute:
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 | Length | Mobile Node Identifier... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- Type: Mobile-Node-Identifier 145.
- Length: In octets, including Type and Length fields (>= 3).
- Mobile Node Identifier: This field is of type String and contains the MN-Identifier of the MN to be used in the PBU/PBA exchange.
4.3. Service-Selection β¨
okay bestie, the Service-Selection attribute (Type value 146) π is UTF-8 text, and it holds the name of the service or the external network that a particular MN's mobility service SHOULD be associated with [RFC5149]. The identifier MUST be unique within the PMIPv6 Domain once it's normalized with the chosen normalization form [UNF] for that deployment. [RFC5149] uses the Normalization Form KC (NFKC), for example π
The MAG MUST include the Service-Selection attribute in the Access-Request it sends to the AAA if it got that info some other way, like through operator-specific configuration π§ The AAA MAY include the Service-Selection attribute in the Access-Accept it sends back to the MAG, even if it wasn't in the Access-Request. That's a way to say "this is the MN's default service" πΈ
The Service Selection mobility option from [RFC5149] can ride along in PBU/PBA messages between the MAG and LMA. On the LMA-to-AAA interface, the LMA MAY fill in the Service-Selection attribute in the Access-Request, using the service info from the PBU, if that mobility option was included π The Service-Selection identifier should be used to help with PBU authorization, MN-HNP assignment, and the IPv4-MN-HoA, as described in [RFC5149] and [RFC5779] π
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 | Length | Service Identifier... ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: Service-Selection 146.
Length: In octets, including Type and Length fields (>= 3).
Text: This field is UTF-8 text and holds the Service Identifier that the MN is associated with π¦
4.4. PMIP6-Home-LMA-IPv6-Address π
The PMIP6-Home-LMA-IPv6-Address attribute (Type value 147) is an IPv6 address, and it delivers the IPv6 address of the LMA sitting in the home network π
Before the MAG can start Proxy Mobile IPv6 signaling, it must know the LMA's IP address π«Ά
When the home network is where the LMA got assigned to the MN, this attribute MAY be sent by the HAAA to the MAG in the RADIUS Access-Accept message β¨
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 | Length | Home LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home LMA IPv6 address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-LMA-IPv6-Address 147.
Length: = 18 octets
Home LMA IPv6 address: 128-bit IPv6 address of the assigned home LMA IPv6 address.
4.5. PMIP6-Visited-LMA-IPv6-Address π¦
The PMIP6-Visited-LMA-IPv6-Address attribute (Type value 148) is an IPv6 address, and it's used to propose a specific LMA in the visited network and to authorize using that LMA in the visited/local network π
The PMIP6-Visited-LMA-IPv6-Address attribute MAY be included by the MAG in the RADIUS Access-Request message. The [VL]AAA may assign the LMA in the visited/local network as the result of a retrieved policy profile. If the [VL]AAA includes it in the RADIUS Access-Accept sent to the MAG, then the use of the LMA in the visited/local network is authorized, and the attribute SHALL carry the IPv6 address of the LMA assigned for that particular MN πΈ For how the MIP6-Feature-Vector attribute and the LOCAL_HOME_AGENT_ASSIGNMENT capability flag work with LMA (Home Agent) assignment, see Section 4.2.5 of [RFC5447] π₯
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 | Length | Visited LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited LMA IPv6 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited LMA IPv6 address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-LMA-IPv6-Address 148.
Length: = 18 octets
Visited LMA IPv6 address: 128-bit IPv6 address of the assigned visited LMA IPv6 address.
4.6. PMIP6-Home-LMA-IPv4-Address π·
The PMIP6-Home-LMA-IPv4-Address attribute (Type value 149) is an IPv4 address, and it holds the IPv4 address of the LMA that the HAAA assigned π§ [RFC5844] supports Proxy Mobile IPv6 signaling between the MAG and LMA over IPv4 transport, so this one's a whole vibe π
When the LMA is in the home network, this attribute MAY be sent by the HAAA to the MAG in the RADIUS Access-Accept message π
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 | Length | Home LMA IPv4 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home LMA IPv4 address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-LMA-IPv4-Address 149.
Length: = 6 octets
Home LMA IPv4 address: 32-bit IPv4 address of the assigned LMA.
4.7. PMIP6-Visited-LMA-IPv4-Address π
The PMIP6-Visited-LMA-IPv4-Address attribute (Type value 150) is an IPv4 address, and it's used to propose a particular LMA in the visited network and to authorize using that LMA in the visited network π«Ά
The PMIP6-Visited-LMA-IPv4-Address attribute MAY be included by the MAG in the RADIUS Access-Request message. The [VL]AAA may assign the LMA in the visited/local network as the result of a retrieved policy profile. If the [VL]AAA includes it in the RADIUS Access-Accept sent to the MAG, then the use of the LMA in the visited/local network is authorized, and the attribute SHALL carry the IPv4 address of the LMA assigned for that particular MN β¨ For how the MIP6-Feature-Vector attribute and the LOCAL_HOME_AGENT_ASSIGNMENT capability flag are used with LMA (Home Agent) assignment, check Section 4.2.5 of [RFC5447] π
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 | Length | Visited LMA IPv4 address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited LMA IPv4 address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-LMA-IPv4-Address 150.
Length: = 6 octets
IPv4 LMA address: 32-bit IPv4 address of the assigned LMA.
4.8. PMIP6-Home-HN-Prefix π
The PMIP6-Home-HN-Prefix attribute (Type value 151) is an IPv6 prefix π¦ It carries the Mobile Node - Home Network Prefix (MN-HNP), which is the IPv6 prefix assigned to the link between the MN and the MAG. The MN configures its IP interface from its home network prefix(es). When the LMA is in the home network, the PMIP6-Home-HN-Prefix attribute is how the MN-HNP gets delivered from the HAAA to the MAG π
The PMIP6-Home-HN-Prefix attribute also shows up on the LMA-to-HAAA interface, carrying the prefix assigned to the MN. If the LMA hands off the MN-HNP assignment to the HAAA, then the attribute MUST contain all zeroes in the address (i.e., ::) in the Access-Request message. The attribute MUST be present in the RADIUS Access-Accept message if the prior request already included one, and it SHOULD carry the MN-HNP that the HAAA assigned to the MN π₯
Heads up, bestie: the all-zeroes :: address is how the request says "the HAAA, you pick the prefix." Don't mix that up with a real prefix π
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 | Length | Reserved | Prefix-Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home MN-HNP |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-HN-Prefix 151.
Length: = at least 4 and no larger than 20.
Reserved: Reserved for future use. The bits MUST be set to zero by the sender and MUST be ignored by the receiver. πΈ
Prefix-Length: The 8-bit unsigned integer indicating the prefix length of the home network prefix (at least 0 and no larger than 128). If the home network prefix contains an address of all zeroes (i.e., ::), then the Prefix-Length MUST be set to 128.
Home Network Prefix: The home network prefix for the MN's IPv6 address configuration. The Prefix field is up to 16 octets in length. Bits outside of the Prefix-Length, if included, must be zero. π
4.9. PMIP6-Visited-HN-Prefix π¦
okay bestie, the PMIP6-Visited-HN-Prefix attribute (Type value 152) is an IPv6 prefix that carries the Mobile Node - Home Network Prefix (MN-HNP). That's the IPv6 prefix assigned to the link between the MN and the MAG. The MN sets up its IP interface using its home network prefix(es). When the LMA is in the visited network, this attribute is how the MN-HNP gets delivered from the VAAA to the MAG. π
It also shows up on the LMA-to-VAAA interface, carrying the IPv6 prefix assigned to the MN. If the LMA hands the MN-HNP assignment over to the VAAA, the attribute MUST contain an address of all zeroes (i.e., '::') in the RADIUS Access-Request message. It MUST be present in the Access-Accept message if the prior request already included one, and it SHOULD carry the MN-HNP the VAAA assigned to the MN. π«Ά
The attribute SHOULD NOT be included if using the LMA in the home network is authorized (the PMIP6-Home-HN-Prefix and/or PMIP6-Home-LMA-IPv6-Address attributes are already there). However, if the VAAA local policy lets both home and visited LMA addresses get delivered to the MAG, then this attribute MAY also be included. β¨
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 | Length | Reserved | Prefix-Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Visited MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited MN-HNP
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited MN-HNP |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-HN-Prefix 152.
Length: at least 4 and no larger than 20.
Reserved: reserved for future use. The bits MUST be set to zero by the sender and MUST be ignored by the receiver. πΈ
Prefix-Length: the 8-bit unsigned integer giving the prefix length of the Visited MN-HNP (at least 0 and no larger than 128). If the visited home network prefix contains an address of all zeroes (i.e., '::'), then the Prefix-Length MUST be set to 128. π
Visited Home Network Prefix: the home network prefix for the MN's IPv6 address configuration. The Prefix field is up to 16 octets long. Bits outside of the Prefix-Length, if included, must be zero. π
4.10. PMIP6-Home-Interface-ID π
the PMIP6-Home-Interface-ID attribute (Type value 153) is a String that carries the MN's interface identifier. Choosing the interface identifier SHOULD NOT allow tracking of individual MNs or users between PMIPv6 mobility sessions, for privacy reasons. π
This attribute is for network systems and link technologies where the network explicitly hands an interface identifier to the MN during link setup. Third Generation Partnership Project (3GPP) and PPP are examples. π§
The LMA or the MAG MAY send this attribute to the HAAA in the RADIUS Access-Request packet as a proposal. The HAAA MAY send it to the LMA or to the MAG in an Access-Accept packet. However, it MUST be present if the prior request already included one. π¦
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 | Length | Home Interface Identifier
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home Interface Identifier
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home Interface Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-Interface-ID 153.
Length: 10 octets.
Home Interface Identifier: the 64-bit long interface identifier (8 octets). π
4.11. PMIP6-Visited-Interface-ID π
the PMIP6-Visited-Interface-ID attribute (Type value 154) is a String that carries the MN's interface identifier. Picking the interface identifier SHOULD NOT allow tracking of individual MNs or users between PMIPv6 mobility sessions, for privacy reasons. π
Same vibe as the home one: this is for network systems and link technologies where the network explicitly delivers an interface identifier to the MN during link setup. 3GPP and PPP are examples. πΈ
The LMA or the MAG MAY send this attribute to the VAAA in the RADIUS Access-Request packet as a proposal. The VAAA MAY send it to the LMA or to the MAG in an Access-Accept packet. However, it MUST be present if the prior request already included one. π
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 | Length | Visited Interface Identifier
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited Interface Identifier
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited Interface Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-Interface-ID 154.
Length: 10 octets.
Visited Interface Identifier: the 64-bit long interface identifier (8 octets). β¨
4.12. PMIP6-Home-IPv4-HoA π
[RFC5844] specifies extensions to the Proxy Mobile IPv6 protocol that add IPv4 home address mobility support for the MN. The PMIP6-Home-IPv4-HoA attribute (Type value 155) is an Address that carries the IPv4 Home Address of the MN. Its main job is delivering the assigned IPv4-HoA from the HAAA to the MAG. π§
The PMIP6-Home-IPv4-HoA is also used on the LMA-to-HAAA interface. If the LMA in the home network hands the IPv4-HoA assignment to the HAAA, the attribute MUST contain an address of all zeroes (i.e., 0.0.0.0) in the Access-Request message. The attribute MUST be included in by HAAA in the Access-Accept message if the previous request included it, and it contains the IPv4-HoA assigned to the MN. π«Ά
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 | Length | Reserved |Prefix-Len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Home IPv4 HoA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-IPv4-HoA 155.
Length: 8 octets.
Reserved: the 10-bit field reserved for future use. The value MUST be initialized to zero by sender and MUST be ignored by the receiver. π·
Prefix-Len: the 6-bit unsigned integer giving the prefix length of the IPv4 HoA. If the Home IPv4 HoA contains an address of all zeroes (i.e., '0.0.0.0'), then the Prefix-Len MUST be set to 32. π
Home IPv4 HoA: this field is an Address and contains the IPv4 home address of the MN in the home network. π
4.13. PMIP6-Visited-IPv4-HoA πΈ
When both the MAG and the LMA are in the visited network, the PMIP6-Visited-IPv4-HoA attribute (Type value 156) is an Address. It's used to swap info between the VAAA and the MAG about the IPv4 Home Address assigned to the MN while it's in the visited network. π¦
The PMIP6-Visited-IPv4-HoA is also used on the LMA-to-VAAA interface. If the LMA hands the IPv4-HoA assignment to the VAAA, the attribute MUST contain an address of all zeroes (i.e., 0.0.0.0) in the RADIUS Access-Request message. The Access-Accept message MUST have the attribute present if the prior request to the VAAA already included one. π
The attribute SHOULD NOT be included if using the LMA in the home network is authorized (the PMIP6-Home-IPv4-HoA and/or PMIP6-Home-LMA-IPv4-Address attributes are already present). However, if the VAAA local policy allows both home and visited LMA addresses to be delivered to the MAG, then this attribute MAY also be included. β¨
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 | Length | Reserved |Prefix-Len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Visited IPv4 HoA |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-IPv4-HoA 156.
Length: 8 octets.
Reserved: the 10-bit field reserved for future use. The value MUST be initialized to zero by the sender and MUST be ignored by the receiver. π
Prefix-Len: the 6-bit unsigned integer giving the prefix length of the IPv4 HoA. If the Visited IPv4 HoA contains an address of all zeroes (i.e., '0.0.0.0'), then the Prefix-Len MUST be set to 32. π
Visited IPv4 HoA: this field is an Address and contains the IPv4 home address of the MN in the visited network. π«Ά
4.14. PMIP6-Home-DHCP4-Server-Address π§
The PMIP6-Home-DHCP4-Server-Address attribute (Type value 157) is an Address that carries the IPv4 address of the DHCPv4 server in the home network. The MAG serving the MN gets told which DHCP server to use. The HAAA MAY assign a DHCP server to the MAG in deployments where the MAG acts as a DHCP Relay, as defined in [RFC5844]. π¦
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 | Length | Home DHCPv4 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home DHCPv4 server address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-DHCP4-Server-Address 157.
Length: 6 octets.
Home DHCPv4 server address: this field is an Address and contains a 4-octet IPv4 address of the DHCP server. π
4. Identifiers in HTTP β¨
4.15. PMIP6-Visited-DHCP4-Server-Address πΈ
Okay so this one is the PMIP6-Visited-DHCP4-Server-Address attribute (Type value 158) π¦. It's an Address type, and its whole job is to deliver the IPv4 address of the DHCPv4 server from the visited network over to the MAG. When both the MAG and the LMA are in the visited network, the VAAA MAY assign a DHCPv4 server to the MAG in deployments where the MAG acts as a DHCP Relay, as defined in [RFC5844]. Iconic behaviour, honestly π
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 | Length | Visited DHCPv4 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited DHCPv4 server address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-DHCP4-Server-Address 158.
Length: = 6 octets
Visited DHCPv4 server address: This field is of type Address and holds a 4-octet IPv4 address of the DHCPv4 server π
4.16. PMIP6-Home-DHCP6-Server-Address π§
The PMIP6-Home-DHCP6-Server-Address (Type value 159) is of type IPv6 address, and it carries the IPv6 address of the DHCPv6 server in the home network. The HAAA tells the MAG serving the MN about it π The HAAA MAY assign a DHCPv6 server to the MAG in deployments where the MAG acts as a DHCP Relay, as defined in [RFC5213]. Little bit of a plot twist, but the vibes are still immaculate β¨
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 | Length | Home DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Home DHCPv6 server address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-DHCP6-Server-Address 159.
Length: = 18 octets
Home DHCPv6 server address: This field is of type Address and holds the 16-octet IPv6 address of the DHCPv6 server. π
4.17. PMIP6-Visited-DHCP6-Server-Address π·
The PMIP6-Visited-DHCP6-Server-Address attribute (Type value 160) is of type IPv6 address, and it has the IPv6 address of the DHCPv6 server in the visited network. The VAAA passes it to the MAG serving the MN π When both MAG and the LMA are in the visited network, the VAAA MAY assign a DHCPv6 server to the MAG in deployments where the MAG acts as a DHCP Relay, as defined in [RFC5213]. Main character energy π
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 | Length | Visited DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited DHCPv6 server address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Visited DHCPv6 server address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-DHCP6-Server-Address 160.
Length: = 18 octets
Visited DHCPv6 server address: This field is of type Address and holds the 16-octet IPv6 address of the DHCPv6 server. π¦
4.18. Calling-Station-Id π
The Calling-Station-Id attribute (Type value 31) is of type String. When it's used in PMIPv6 deployments, it carries the MN Link-Layer Identifier option of the MN, as defined in [RFC5213], Sections 2.2 and 8.6. Simple, clean, iconic π
4.19. Chargeable-User-Identity πΈ
The Chargeable-User-Identity attribute, also called the CUI (Type value 89), is a unique, temporary handle. It's used to do things like correlate authentication, accounting, and bill post-processing for one particular chargeable subscriber π«Ά The CUI format and use follow the guidelines in [RFC4372].
In the scope of this document, the CUI attribute MAY be present in the Access-Request. The CUI MAY also be present in the Access-Accept. The CUI MUST be present in the Access-Accept if it was present in the Access-Request. If the Chargeable-User-Identity attribute is supported, then the MAG and/or the LMA commits to include it in all subsequent RADIUS Accounting packets they send for that user. Commitment era π
4.20. PMIP6-Home-IPv4-Gateway π
[RFC5844] specifies extensions to the Proxy Mobile IPv6 protocol that enable IPv4 home address mobility support for the MN. The PMIP6-Home-IPv4-Gateway attribute (Type value 161) is of type Address and holds the default gateway IPv4 address for the MN. This address gets populated into the PMIPv6 IPv4 Default-Router Address Option [RFC5844]. The address MUST belong to the subnet defined in the PMIP6-Home-IPv4-HoA attribute. Non-negotiable, bestie π ββοΈ
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 | Length | Home IPv4 default gateway
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Home-IPv4-Gateway 161.
Length: = 6 octets
Home IPv4 default gateway address: This field is of type Address and holds a 4-octet IPv4 default gateway address. πΈ
4.21. PMIP6-Visited-IPv4-Gateway π
[RFC5844] specifies extensions to the Proxy Mobile IPv6 protocol that enable IPv4 home address mobility support for the MN. The PMIP6-Visited-IPv4-Gateway attribute (Type value 162) is of type Address and holds the default gateway IPv4 address for the MN. This address gets populated into the PMIPv6 IPv4 Default-Router Address Option [RFC5844]. The address MUST belong to the subnet defined in the PMIP6-Visited-IPv4-HoA attribute. Same rule, different attribute, still serious π₯
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 | Length | Visited IPv4 default gateway
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type: PMIP6-Visited-IPv4-Gateway 162.
Length: = 6 octets
Visited IPv4 default gateway address: This field is of type Address and holds a 4-octet IPv4 default gateway address. π§
5. MAG to RADIUS AAA Interface π°οΈ
5.1. Interface Operations π§
This is the interface the MAG uses to talk to the AAA RADIUS server. It's how the MAG grabs the policy profile when an MN tries to attach, authenticate, and get authorized to a PMIPv6 domain π― Depending on the policies and network capabilities, the MAG might retrieve different sets of PMIPv6-session-related parameters, like:
- Configuration attributes for the home or visited network access scenario, depending on the location and attachment point of the MN,
- The IPv6 or IPv4 address of the designated LMA, depending on the access network's actual IP topology,
- The IPv6 or IPv4 configuration parameters for the MN, depending on the utilized IP configuration method and the individual MN's service policy,
- The DHCP Relay support attributes (IPv4 or IPv6), in case that functionality is supported in the network.
Beyond the PMIPv6-specific attributes, other RADIUS attributes are to be used on the MAG-to-AAA interface too π
The User-Name attribute MUST be present in the Access-Request. It MUST carry a correctly formed identifier that SHOULD correspond to an MN identity, unless the identity is being suppressed for policy reasons (for example, when identity hiding is in effect) π The MN identity, if it's available, MUST be in Network Access Identifier (NAI) [RFC4282] format. At minimum, the home realm of the MN MUST be available at the MAG when the network access authentication takes place. Otherwise, the MAG can't route RADIUS request messages to the correct HAAA π The MN identity used on the MAG-to-HAAA interface and in the User-Name attribute MAY entirely be related to the network access authentication, and therefore might not be suitable for use as the MN-Identifier mobility option value in the subsequent PBU/PBA messages. In that case, the HAAA MUST provide the MN-Identifier for PBU/PBA messages using the Mobile-Node-Identifier attribute (see Section 4.2).
At least one of the NAS-IP-Address, NAS-IPv6-Address, or NAS-Identifier attributes MUST be present in the Access-Request. The Service-Type attribute SHOULD be set to value 1 (Login), and the NAS-Port-Type attribute SHOULD be present in the Access-Request π
5.2. Table of Attributes π
The table below is a handy guide to the attributes that might show up in authentication and authorization RADIUS messages between the MAG and the AAA server π
Request Accept Reject Challenge # Attribute
1 0-1 0 0 1 User-Name
0-1 0 0 0 4 NAS-IP-Address
0-1 0-1 0 0 5 NAS-Port
0-1 0-1 0 0 6 Service-Type
0-1 0-1 0 0-1 24 State
0 0-1 0 0 25 Class
0 0-1 0 0-1 27 Session-Timeout
0-1 0 0 0 31 Calling-Station-Id
0-1 0 0 0 32 NAS-Identifier
0+ 0+ 0+ 0+ 33 Proxy-State
0-1 0 0 0 69 NAS-Port-Type
0+ 0+ 0+ 0+ 79 EAP-Message
1 1 1 1 80 Message-Authenticator
0-1 0-1 0 0 89 Chargeable-User-Identity
0-1 0 0 0 95 NAS-IPv6-Address
0-1 0-1 0 0 124 MIP6-Feature-Vector
0 1 0 0 145 Mobile-Node-Identifier
0-1 0-1 0 0 146 Service-Selection
0 0-1 0 0 147 PMIP6-Home-LMA-IPv6-Address
0-1 0-1 0 0 148 PMIP6-Visited-LMA-IPv6-Address
0 0-1 0 0 149 PMIP6-Home-LMA-IPv4-Address
0-1 0-1 0 0 150 PMIP6-Visited-LMA-IPv4-Address
0 0+ 0 0 151 PMIP6-Home-HN-Prefix
0 0+ 0 0 152 PMIP6-Visited-HN-Prefix
0 0-1 0 0 153 PMIP6-Home-Interface-ID
0 0-1 0 0 154 PMIP6-Visited-Interface-ID
0 0-1 0 0 155 PMIP6-Home-IPv4-HoA
0 0-1 0 0 156 PMIP6-Visited-IPv4-HoA
0 0-1 0 0 157 PMIP6-Home-DHCP4-Server-Address
0 0-1 0 0 158 PMIP6-Visited-DHCP4-Server-Address
0 0-1 0 0 159 PMIP6-Home-DHCP6-Server-Address
0 0-1 0 0 160 PMIP6-Visited-DHCP6-Server-Address
0 0-1 0 0 161 PMIP6-Home-IPv4-Gateway
0 0-1 0 0 162 PMIP6-Visited-IPv4-Gateway
6. LMA to RADIUS AAA Interface π¦
6.1. Interface Operations π
okay so the LMA-to-HAAA interface can be used for a bunch of things π«Ά authorizing the incoming PBU, updating the LMA address to the HAAA, delegating the assignment of the MN-HNP or the IPv4-HoA to the HAAA, and accounting and PMIPv6 session management. The main vibe is updating the HAAA with the LMA address info when the LMA is dynamically assigned, and swapping MN address assignment info between the LMA and the HAAA π¦
Whenever the LMA sends an Access-Request message to the HAAA, the User-Name attribute SHOULD contain the MN's identity π The LMA-provided identity in the User-Name attribute is strongly RECOMMENDED to match the MN's identity info in the PBU MN-Identifier mobility option β¨ The identity SHOULD also match what's used on the MAG-to-HAAA interface. BUT if those identities are different, the HAAA MUST have a mechanism for mapping the MN identity used on the MAG-to-HAAA interface to the identity used on the LMA-to-HAAA interface π
If the PBU contains the MN Link-Layer Identifier option, the Calling-Station-Id attribute SHOULD be included in the request message containing the received MN Link-Layer Identifier option π Furthermore, if the PBU contains the Service Selection mobility option [RFC5149], the Service-Selection attribute SHOULD be included in the request message containing the received service identifier. Both the MN Link-Layer Identifier option and the service selection can be used to give the HAAA more info for the PBU authorization step π§
The Service-Type attribute MUST be set to the value 17 (Authorize Only) π If the HAAA can't authorize the subscriber's mobility service session, then the Access-Reject message to the LMA MAY contain the Reply-Message attribute describing why the authorization got rejected. A failed authorization obviously means the PBU gets rejected, and a PBA with an appropriate error Status Value MUST be sent back to the MAG π
The authorization step MUST be performed at least for the initial PBU session up to a mobility session, when the LMA-to-HAAA interface is deployed π₯ For the subsequent re-registration and handover of PBUs, the authorization step MAY be repeated (in this case, the LMA-to-HAAA interface should also maintain an authorization session state) πΈ
In case of a dynamic LMA discovery and assignment [RFC6097], the HAAA and the remote policy store may need to be updated with the selected LMA address information π¦ The update can be done during the PBU authorization step using the LMA-to-HAAA interface. This specification uses the PMIP6-*-LMA-*-Address attribute for carrying the LMA's address information from the LMA to the HAAA. The LMA address information in the request message MUST contain the IP address of the LMA, the Fully Qualified Domain Name (FQDN) uniquely identifying the LMA, or both. The LMA address info refers to the PMIPv6 part of the LMA, not necessarily the LMA part that talks to the AAA infrastructure π
The LMA and the HAAA use the PMIP6-Home-HN-Prefix/PMIP6-Visited-HN-Prefix attributes to exchange the MN-HNP when appropriate β¨ Similarly, the LMA and the HAAA use the PMIP6-Home-IPv4-HoA/PMIP6-Visited-IPv4-HoA attributes to exchange the IPv4-MN-HoA when appropriate. The MN address info exchange is again done during the PBU authorization step. The HAAA MAY also use the LMA-provided MN address info as part of the info used to authorize the PBU π
Which entity is actually responsible for the address management is deployment specific within the PMIPv6 Domain, and it MUST be pre-agreed on per deployment basis π When the LMA is responsible for the address management, the PMIP6-*-HN-Prefix/PMIP6-*-IPv4-HoA attributes are used to inform the HAAA and the remote policy store of the MN-HNP/IPv4-MN-HoA assigned to the MN. It's also possible that the LMA delegates the address management to the HAAA π§ In this case, the MN-HNP/IPv4-MN-HoA are set to undefined addresses in the Access-Request message sent from the LMA to the HAAA. The LMA expects to receive the HAAA assigned HNP/IPv4-MN-HoA in the corresponding Access-Accept message π«Ά
6.2. Table of Attributes π
The following table is your guide to which attributes may be found in the authorization process between the LMA and the AAA π
Request Accept Reject Challenge # Attribute
1 0-1 0 0 1 User-Name
0-1 0-1 0 0 4 NAS-IP-Address
0-1 0-1 0 0 5 NAS-Port
1 0-1 0 0 6 Service-Type
0 0-1 0 0 25 Class
0 0-1 0 0-1 27 Session-Timeout
0-1 0 0 0 31 Calling-Station-Id
1 0 0 0 32 NAS-Identifier
0+ 0+ 0+ 0+ 33 Proxy-State
1 0 0 0 69 NAS-Port-Type
1 1 1 1 80 Message-Authenticator
0-1 0-1 0 0 89 Chargeable-User-Identity
0-1 0-1 0 0 95 NAS-IPv6-Address
0-1 0-1 0 0 124 MIP6-Feature-Vector
1 0 0 0 145 Mobile-Node-Identifier
0-1 0-1 0 0 146 Service-Selection
0-1 0 0 0 147 PMIP6-Home-LMA-IPv6-Address
0-1 0 0 0 148 PMIP6-Visited-LMA-IPv6-Address
0-1 0 0 0 149 PMIP6-Home-LMA-IPv4-Address
0-1 0 0 0 150 PMIP6-Visited-LMA-IPv4-Address
0+ 0+ 0 0 151 PMIP6-Home-HN-Prefix
0+ 0+ 0 0 152 PMIP6-Visited-HN-Prefix
0-1 0-1 0 0 153 PMIP6-Home-Interface-ID
0-1 0-1 0 0 154 PMIP6-Visited-Interface-ID
0-1 0-1 0 0 155 PMIP6-Home-IPv4-HoA
0-1 0-1 0 0 156 PMIP6-Visited-IPv4-HoA
0-1 0-1 0 0 161 PMIP6-Home-IPv4-Gateway
0-1 0-1 0 0 162 PMIP6-Visited-IPv4-Gateway
7. Accounting π§Ύ
Radius-based interfaces at the MAG and LMA with the AAA server let us meter the traffic associated with the MN, which is commonly called "accounting" π If accounting is turned on in the mobile node's policy profile, the local routing SHOULD NOT be enabled [RFC5213] π ββοΈ
7.1. Accounting at LMA π
The accounting at the LMA to AAA server interface is based on [RFC2865] and [RFC2866] π This interface MUST support the transfer of accounting records needed for service control and charging. These records should include (but may not be limited to) the following: time of binding cache entry creation and deletion, number of the octets sent and received by the MN over the bi-directional tunnel, etc. π
7.2. Accounting at MAG π¦
The accounting at the MAG to AAA server interface is also based on [RFC2865] and [RFC2866] β¨ The interface MUST also support the transfer of accounting records that should include the following: time of binding cache entry creation and deletion, number of the octets sent and received by the MN over the bi-directional tunnel, etc.
If there is data traffic between a visiting MN and a correspondent node that's locally attached to an access link connected to the same MAG, the mobile access gateway MAY optimize the delivery efforts by locally routing the packets instead of using reverse tunneling to the mobile node's LMA π§ In this case, the local data traffic too MUST be reported to AAA Accounting servers by means of RADIUS protocol π₯
7.3. Table of Attributes π
The following table is a list of attributes that may be included in the RADIUS Accounting messages. These attributes complement the set of accounting attributes already required by [RFC2866] and [RFC2869] π
Accounting
Request # Attribute
0-1 145 Mobile-Node-Identifier
0-1 146 Service-Selection
0-1 147 PMIP6-Home-LMA-IPv6-Address
0-1 148 PMIP6-Visited-LMA-IPv6-Address
0-1 149 PMIP6-Home-LMA-IPv4-Address
0-1 150 PMIP6-Visited-LMA-IPv4-Address
0+ 151 PMIP6-Home-HN-Prefix
0+ 152 PMIP6-Visited-HN-Prefix
0-1 155 PMIP6-Home-IPv4-HoA
0-1 156 PMIP6-Visited-IPv4-HoA
0-1 31 Calling-Station-Id
0-1 80 Message-Authenticator
0-1 89 Chargeable-User-Identity
0-1 124 MIP6-Feature-Vector
8. Security Considerations π
The RADIUS messages may be transported between the MAG and/or the LMA to the RADIUS server via one or more AAA brokers or RADIUS proxies π¨ In this case, the communication between the LMA and the RADIUS AAA server relies on the security properties of the intermediate AAA brokers and RADIUS proxies. Trust is a big deal here, bestie π
Regarding the privacy threats associated with sending MN-specific information between the MAG and AAA server, and between the LMA and AAA server, considerations of the RADIUS Base protocol [RFC2865], RADIUS Accounting [RFC2866], and the RADIUS EAP application [RFC3579] are applicable to this document π The MAG, LMA, and AAA server SHOULD avoid including attributes containing personally identifying information such as a MN's Interface ID, link-layer address, or NAI, except as needed. They SHOULD pay special attention if identity hiding is desired π
9. IANA Consideration πΈ
9.1. Attribute Type Codes π§
This specification defines the following new RADIUS attribute type values:
Mobile-Node-Identifier 145
Service-Selection 146
PMIP6-Home-LMA-IPv6-Address 147
PMIP6-Visited-LMA-IPv6-Address 148
PMIP6-Home-LMA-IPv4-Address 149
PMIP6-Visited-LMA-IPv4-Address 150
PMIP6-Home-HN-Prefix 151
PMIP6-Visited-HN-Prefix 152
PMIP6-Home-Interface-ID 153
PMIP6-Visited-Interface-ID 154
PMIP6-Home-IPv4-HoA 155
PMIP6-Visited-IPv4-HoA 156
PMIP6-Home-DHCP4-Server-Address 157
PMIP6-Visited-DHCP4-Server-Address 158
PMIP6-Home-DHCP6-Server-Address 159
PMIP6-Visited-DHCP6-Server-Address 160
PMIP6-Home-IPv4-Gateway 161
PMIP6-Visited-IPv4-Gateway 162
9.2. Namespaces π
This specification defines new values to the Mobility Capability registry (see [RFC5447]) for use with the MIP6-Feature-Vector AVP β¨
Token | Value
----------------------------------+--------------------
IP4_TRANSPORT_SUPPORTED | 0x0000800000000000
IP4_HOA_ONLY_SUPPORTED | 0x0001000000000000
10. Acknowledgements π«Ά
First of all, the authors would like to acknowledge the standardization work and people of the WiMAX Forum that set the foundation for this document π
The authors would like to thank Basavaraj Patil, Glen Zorn, Avi Lior, Alan DeKok, Dhananjay Patki and Pete McCann for reviewing the document and providing valuable input π The authors also thank Elwyn Davies, Pete Resnick, Bernard Aboba, Jari Arkko, and Stephen Farrell for their reviews on the document during the IESG process π
The authors would also like to thank the authors of [RFC5779], as this document reuses some procedural ideas from that specification π¦
11. References π
11.1. Normative References π
okay bestie, these are the must-reads π you need these to actually understand the spec π€
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC2865] Rigney, C., Willens, S., Rubens, A., and W. Simpson, "Remote Authentication Dial In User Service (RADIUS)", RFC 2865, June 2000.
[RFC5213] Gundavelli, S., Leung, K., Devarapalli, V., Chowdhury, K., and B. Patil, "Proxy Mobile IPv6", RFC 5213, August 2008.
[RFC4282] Aboba, B., Beadles, M., Arkko, J., and P. Eronen, "The Network Access Identifier", RFC 4282, December 2005.
[RFC5447] Korhonen, J., Bournelle, J., Tschofenig, H., Perkins, C., and K. Chowdhury, "Diameter Mobile IPv6: Support for Network Access Server to Diameter Server Interaction", RFC 5447, February 2009.
[RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G., and J. Arkko, "Diameter Base Protocol", RFC 3588, September 2003.
[RFC5844] Wakikawa, R. and S. Gundavelli, "IPv4 Support for Proxy Mobile IPv6", RFC 5844, May 2010.
[RFC5779] Korhonen, J., Bournelle, J., Chowdhury, K., Muhanna, A., and U. Meyer, "Diameter Proxy Mobile IPv6: Mobile Access Gateway and Local Mobility Anchor Interaction with Diameter Server", RFC 5779, February 2010.
[RFC4372] Adrangi, F., Lior, A., Korhonen, J., and J. Loughney, "Chargeable User Identity", RFC 4372, January 2006.
11.2. Informative References π¦
these ones are super helpful for context but you don't strictly need them to get the core stuff β¨
[RFC3579] Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication Dial In User Service) Support For Extensible Authentication Protocol (EAP)", RFC 3579, September 2003.
[RFC2866] Rigney, C., "RADIUS Accounting", RFC 2866, June 2000.
[RFC2869] Rigney, C., Willats, W., and P. Calhoun, "RADIUS Extensions", RFC 2869, June 2000.
[RFC3748] Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J., and H. Levkowetz, "Extensible Authentication Protocol (EAP)", RFC 3748, June 2004.
[RFC5149] Korhonen, J., Nilsson, U., and V. Devarapalli, "Service Selection for Mobile IPv6", RFC 5149, February 2008.
[RFC6097] Korhonen, J. and V. Devarapalli, "Local Mobility Anchor (LMA) Discovery for Proxy Mobile IPv6", RFC 6097, February 2011.
[UNF] Davis, M., Ed. and K. Whistler, Ed., "Unicode Standard Annex #15: Unicode Normalization Forms", January 2012, <http://www.unicode.org/reports/tr15/>.
Authors' Addresses π
the squad behind this one, all the contact details right here π
Frank Xia
Huawei USA
1700 Alma Dr., Suite 500
Plano, TX 75075
Phone: +1 972-509-5599
EMail: xiayangsong@huawei.com
Behcet Sarikaya
Huawei USA
1700 Alma Dr., Suite 500
Plano, TX 75075
Phone: +1 972-509-5599
EMail: sarikaya@ieee.org
Jouni Korhonen (editor)
Nokia Siemens Networks
Linnoitustie 6
Espoo FI-02600
Finland
EMail: jouni.nospam@gmail.com
Sri Gundavelli
Cisco
170 West Tasman Drive
San Jose, CA 95134
EMail: sgundave@cisco.com
Damjan Damic
Siemens
Heinzelova 70a
Zagreb 10000
Croatia
EMail: damjan.damic@siemens.com
π¦ where this page comes from
- ietf: rfc6572 2012-06
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms