draft-ietf-softwire-map-radius-18.txt   draft-ietf-softwire-map-radius-19.txt 
Softwire S. Jiang, Ed. Softwire S. Jiang, Ed.
Internet-Draft Huawei Technologies Co., Ltd Internet-Draft Huawei Technologies Co., Ltd
Intended status: Standards Track Y. Fu, Ed. Intended status: Standards Track Y. Fu, Ed.
Expires: July 25, 2019 CNNIC Expires: August 15, 2019 CNNIC
B. Liu B. Liu
Huawei Technologies Co., Ltd Huawei Technologies Co., Ltd
P. Deacon P. Deacon
IEA Software, Inc. IEA Software, Inc.
C. Xie C. Xie
China Telecom China Telecom
T. Li T. Li
Tsinghua University Tsinghua University
M. Boucadair, Ed. M. Boucadair, Ed.
Orange Orange
January 21, 2019 February 11, 2019
RADIUS Attributes for Address plus Port (A+P) based Softwire Mechanisms RADIUS Attributes for Address plus Port (A+P) based Softwire Mechanisms
draft-ietf-softwire-map-radius-18 draft-ietf-softwire-map-radius-19
Abstract Abstract
IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity IPv4-over-IPv6 transition mechanisms provide IPv4 connectivity
services over IPv6 native networks during the IPv4/IPv6 co-existence services over IPv6 native networks during the IPv4/IPv6 co-existence
period. DHCPv6 options have been defined for configuring clients for period. DHCPv6 options have been defined for configuring clients for
Lightweight 4over6, Mapping of Address and Port with Encapsulation, Lightweight 4over6, Mapping of Address and Port with Encapsulation,
and Mapping of Address and Port using Translation unicast softwire and Mapping of Address and Port using Translation unicast softwire
mechanisms, and also multicast softwires. However, in many networks, mechanisms, and also multicast softwires. However, in many networks,
configuration information is stored in an Authentication, configuration information is stored in an Authentication,
skipping to change at page 2, line 10 skipping to change at page 2, line 10
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on July 25, 2019. This Internet-Draft will expire on August 15, 2019.
Copyright Notice Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 10, line 8 skipping to change at page 10, line 8
e | 5.Softwire46-PORTPARAMS ----+ 2.PSID-len e | 5.Softwire46-PORTPARAMS ----+ 2.PSID-len
\ | \ |
| 3.PSID | 3.PSID
\ \
Figure 1: Softwire46 Attributes Hierarchy Figure 1: Softwire46 Attributes Hierarchy
3.1.1.1. Softwire46-MAP-E Attribute 3.1.1.1. Softwire46-MAP-E Attribute
Softwire46-MAP-E attribute is designed for carrying the configuration Softwire46-MAP-E attribute is designed for carrying the configuration
information for MAP-E. The structure of the Softwire46-MAP-E is information for MAP-E. The structure of Softwire46-MAP-E is shown
shown below: below:
TLV-Type TLV-Type
1 1
TLV-Length TLV-Length
Indicates the length of this attribute, including Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields. the TLV-Type, TLV-Length, and TLV-Value fields.
TLV-Value TLV-Value
Contains a set of sub-attributes, with the following requirements: Contains a set of sub-attributes, with the following requirements:
skipping to change at page 10, line 31 skipping to change at page 10, line 31
It MUST contain the Softwire46-Rule, defined in Section 3.1.3.1. It MUST contain the Softwire46-Rule, defined in Section 3.1.3.1.
It MUST contain the Softwire46-BR, defined in Section 3.1.3.2. It MUST contain the Softwire46-BR, defined in Section 3.1.3.2.
It MAY contain the Softwire46-PORTPARAMS, defined in It MAY contain the Softwire46-PORTPARAMS, defined in
Section 3.1.3.5. Section 3.1.3.5.
3.1.1.2. Softwire46-MAP-T Attribute 3.1.1.2. Softwire46-MAP-T Attribute
Softwire46-MAP-T attribute is designed for carrying the configuration Softwire46-MAP-T attribute is designed for carrying the configuration
information for MAP-T. The structure of the Softwire46-MAP-T is information for MAP-T. The structure of Softwire46-MAP-T is shown
shown below: below:
TLV-Type TLV-Type
2 2
TLV-Length TLV-Length
Indicates the length of this attribute, including Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields. the TLV-Type, TLV-Length, and TLV-Value fields.
TLV-Value TLV-Value
Contains a set of sub-attributes, with the following requirements: Contains a set of sub-attributes, with the following requirements:
skipping to change at page 11, line 9 skipping to change at page 11, line 9
It MUST contain the Softwire46-DMR, defined in It MUST contain the Softwire46-DMR, defined in
Section 3.1.3.3. Section 3.1.3.3.
It MAY contain the Softwire46-PORTPARAMS, defined in It MAY contain the Softwire46-PORTPARAMS, defined in
Section 3.1.3.5. Section 3.1.3.5.
3.1.1.3. Softwire46-Lightweight-4over6 Attribute 3.1.1.3. Softwire46-Lightweight-4over6 Attribute
Softwire46-Lightweight-4over6 attribute is designed for carrying the Softwire46-Lightweight-4over6 attribute is designed for carrying the
configuration information for Lightweight 4over6. The structure of configuration information for Lightweight 4over6. The structure of
the Softwire46-Lightweight-4over6 is shown below: Softwire46-Lightweight-4over6 is shown below:
TLV-Type TLV-Type
3 3
TLV-Length TLV-Length
Indicates the length of this attribute, including Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields. the TLV-Type, TLV-Length, and TLV-Value fields.
TLV-Value TLV-Value
Contains a set of sub-attributes as follows: Contains a set of sub-attributes as follows:
skipping to change at page 13, line 41 skipping to change at page 13, line 41
Refer to Section 3.1.4.1. Refer to Section 3.1.4.1.
3.1.3.2. Softwire46-BR Attribute 3.1.3.2. Softwire46-BR Attribute
The Softwire46-BR can only be encapsulated in the Softwire46-MAP-E The Softwire46-BR can only be encapsulated in the Softwire46-MAP-E
(Section 3.1.1.1) or Softwire46-Lightweight-4over6 (Section 3.1.1.3). (Section 3.1.1.1) or Softwire46-Lightweight-4over6 (Section 3.1.1.3).
There MUST be at least one Softwire46-BR included in each There MUST be at least one Softwire46-BR included in each
Softwire46-MAP-E or Softwire46-Lightweight-4over6. Softwire46-MAP-E or Softwire46-Lightweight-4over6.
The structure of the Softwire46-BR is shown below: The structure of Softwire46-BR is shown below:
TLV-Type TLV-Type
6 6
TLV-Length TLV-Length
18 octets 18 octets
Data Type Data Type
The attribute Softwire46-BR is of type ip6addr (Section 3.9 of The attribute Softwire46-BR is of type ip6addr (Section 3.9 of
[RFC8044]). [RFC8044]).
skipping to change at page 14, line 25 skipping to change at page 14, line 25
TLV-Value TLV-Value
br-ipv6-address. A fixed-length field of 16 octets that br-ipv6-address. A fixed-length field of 16 octets that
specifies the IPv6 address for the Softwire46 Border Relay (BR). specifies the IPv6 address for the Softwire46 Border Relay (BR).
3.1.3.3. Softwire46-DMR Attribute 3.1.3.3. Softwire46-DMR Attribute
The Softwire46-DMR may only appear in the Softwire46-MAP-T The Softwire46-DMR may only appear in the Softwire46-MAP-T
(Section 3.1.1.2). There MUST be exactly one Softwire46-DMR included (Section 3.1.1.2). There MUST be exactly one Softwire46-DMR included
in one Softwire46-MAP-T. in one Softwire46-MAP-T.
The structure of the Softwire46-DMR is shown below: The structure of Softwire46-DMR is shown below:
TLV-Type TLV-Type
7 7
TLV-Length TLV-Length
4 + length of dmr-ipv6-prefix specified in octets. 4 + length of dmr-ipv6-prefix specified in octets.
Data Type Data Type
The attribute Softwire46-DMR is of type ip6pref (Section 3.10 of The attribute Softwire46-DMR is of type ip6pref (Section 3.10 of
[RFC8044]). [RFC8044]).
skipping to change at page 14, line 49 skipping to change at page 14, line 49
prefix for the BR. This field is right-padded with zeros to prefix for the BR. This field is right-padded with zeros to
the nearest octet boundary when dmr-prefix6-len is not the nearest octet boundary when dmr-prefix6-len is not
divisible by 8. Prefixes with from 0 to 96 are allowed. divisible by 8. Prefixes with from 0 to 96 are allowed.
3.1.3.4. Softwire46-V4V6Bind Attribute 3.1.3.4. Softwire46-V4V6Bind Attribute
The Softwire46-V4V6Bind may only be encapsulated in the Softwire46- The Softwire46-V4V6Bind may only be encapsulated in the Softwire46-
Lightweight-4over6 (Section 3.1.1.3). There MUST be exactly one Lightweight-4over6 (Section 3.1.1.3). There MUST be exactly one
Softwire46-V4V6Bind included in each Softwire46-Lightweight-4over6. Softwire46-V4V6Bind included in each Softwire46-Lightweight-4over6.
The structure of the Softwire46-V4V6Bind is shown below: The structure of Softwire46-V4V6Bind is shown below:
TLV-Type TLV-Type
8 8
TLV-Length TLV-Length
Indicates the length of this attribute, including Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields. the TLV-Type, TLV-Length, and TLV-Value fields.
Data Type Data Type
The attribute Softwire46-V4V6Bind is of type tlv (Section 3.13 of The attribute Softwire46-V4V6Bind is of type tlv (Section 3.13 of
skipping to change at page 15, line 36 skipping to change at page 15, line 36
configured prefix the Softwire46 CE should use for constructing configured prefix the Softwire46 CE should use for constructing
the softwire. Refer to Section 3.1.5.2. the softwire. Refer to Section 3.1.5.2.
3.1.3.5. Softwire46-PORTPARAMS Attribute 3.1.3.5. Softwire46-PORTPARAMS Attribute
The Softwire46-PORTPARAMS is optional. It is used to specify port The Softwire46-PORTPARAMS is optional. It is used to specify port
set information for IPv4 address sharing between clients. The set information for IPv4 address sharing between clients. The
Softwire46-PORTPARAMS MAY be included in any of the Softwire46 Softwire46-PORTPARAMS MAY be included in any of the Softwire46
attributes. attributes.
The structure of the Softwire46-PORTPARAMS is shown below: The structure of Softwire46-PORTPARAMS is shown below:
TLV-Type TLV-Type
9 9
TLV-Length TLV-Length
Indicates the length of this attribute, including Indicates the length of this attribute, including
the TLV-Type, TLV-Length, and TLV-Value fields. the TLV-Type, TLV-Length, and TLV-Value fields.
Data Type Data Type
The attribute Softwire46-PORTPARAMS is of type tlv (Section 3.13 The attribute Softwire46-PORTPARAMS is of type tlv (Section 3.13
skipping to change at page 16, line 49 skipping to change at page 16, line 49
3.1.4.1. Rule-IPv6-Prefix Attribute 3.1.4.1. Rule-IPv6-Prefix Attribute
The Rule-IPv6-Prefix is REQUIRED for every Softwire46-Rule. There The Rule-IPv6-Prefix is REQUIRED for every Softwire46-Rule. There
MUST be exactly one Rule-IPv6-Prefix encapsulated in each type of MUST be exactly one Rule-IPv6-Prefix encapsulated in each type of
Softwire46-Rule. Softwire46-Rule.
The Rule-IPv6-Prefix follows the framed IPv6 prefix designed in The Rule-IPv6-Prefix follows the framed IPv6 prefix designed in
[RFC3162] and [RFC8044]. [RFC3162] and [RFC8044].
The structure of the Rule-IPv6-Prefix is shown below: The structure of Rule-IPv6-Prefix is shown below:
TLV-Type TLV-Type
10 10
TLV-Length TLV-Length
20 octets 20 octets
Data Type Data Type
The attribute Rule-IPv6-Prefix is of type ipv6pref (Section 3.10 The attribute Rule-IPv6-Prefix is of type ipv6pref (Section 3.10
of [RFC8044]). of [RFC8044]).
TLV-Value TLV-Value
rule-ipv6-prefix. 128-bits long field that specifies an IPv6 rule-ipv6-prefix. 128-bits long field that specifies an IPv6
prefix appearing in the MAP rule. prefix appearing in the MAP rule.
3.1.4.2. Rule-IPv4-Prefix Attribute 3.1.4.2. Rule-IPv4-Prefix Attribute
This attribute is used to convey the MAP Rule IPv4 prefix. The This attribute is used to convey the MAP Rule IPv4 prefix. The
structure of the Rule-IPv4-Prefix is shown below: structure of Rule-IPv4-Prefix is shown below:
TLV-Type TLV-Type
11 11
TLV-Length TLV-Length
8 octets 8 octets
Data Type Data Type
The attribute Rule-IPv4-Prefix is of type ipv4pref (Section 3.11 The attribute Rule-IPv4-Prefix is of type ipv4pref (Section 3.11
of [RFC8044]). of [RFC8044]).
TLV-Value TLV-Value
rule-ipv4-prefix. 32-bits long. Specifies the IPv4 prefix rule-ipv4-prefix. 32-bits long. Specifies the IPv4 prefix
appearing in the MAP rule. appearing in the MAP rule.
3.1.4.3. EA-Length Attribute 3.1.4.3. EA-Length Attribute
This attribute is used to convey the Embedded-Address(EA) bit length. This attribute is used to convey the Embedded-Address(EA) bit length.
The structure of the EA-Length is shown below: The structure of EA-Length is shown below:
TLV-Type TLV-Type
12 12
TLV-Length TLV-Length
6 octets 6 octets
Data Type Data Type
The attribute EA-Length is of type integer (Section 3.1 of The attribute EA-Length is of type integer (Section 3.1 of
[RFC8044]). [RFC8044]).
skipping to change at page 18, line 26 skipping to change at page 18, line 26
EA-len; 32-bits long. Specifies the Embedded-Address(EA) bit EA-len; 32-bits long. Specifies the Embedded-Address(EA) bit
length. Allowed values range from 0 to 48. length. Allowed values range from 0 to 48.
3.1.5. Attributes for Softwire46-v4v6Bind 3.1.5. Attributes for Softwire46-v4v6Bind
3.1.5.1. IPv4-address Attribute 3.1.5.1. IPv4-address Attribute
The IPv4-address MAY be used to specify the full or shared IPv4 The IPv4-address MAY be used to specify the full or shared IPv4
address of the CE. address of the CE.
The structure of the IPv4-address is shown below: The structure of IPv4-address is shown below:
TLV-Type TLV-Type
13 13
TLV-Length TLV-Length
6 octets 6 octets
Data Type Data Type
The attribute IPv4-address is of type ipv4addr (Section 3.8 The attribute IPv4-address is of type ipv4addr (Section 3.8
of [RFC8044]). of [RFC8044]).
TLV-Value TLV-Value
32-bits long. Specifies the IPv4 address to appear in the 32-bits long. Specifies the IPv4 address to appear in the
Softwire46-V4V6Bind (Section 3.1.3.4). Softwire46-V4V6Bind (Section 3.1.3.4).
3.1.5.2. Bind-IPv6-Prefix Attribute 3.1.5.2. Bind-IPv6-Prefix Attribute
The Bind-IPv6-Prefix is used by the CE to identify the correct IPv6 The Bind-IPv6-Prefix is used by the CE to identify the correct IPv6
prefix to be used as the tunnel source. prefix to be used as the tunnel source.
The structure of the Bind-IPv6-Prefix is shown below: The structure of Bind-IPv6-Prefix is shown below:
TLV-Type TLV-Type
14 14
TLV-Length TLV-Length
4 + length of bind-ipv6-prefix specified in octets. 4 + length of bind-ipv6-prefix specified in octets.
Data Type Data Type
The attribute Bind-IPv6-Prefix is of type ipv6pref (Section 3.10 The attribute Bind-IPv6-Prefix is of type ipv6pref (Section 3.10
of [RFC8044]). of [RFC8044]).
skipping to change at page 19, line 29 skipping to change at page 19, line 29
when bindprefix6-len is not divisible by 8. when bindprefix6-len is not divisible by 8.
3.1.6. Attributes for S46-PORTPARAMS 3.1.6. Attributes for S46-PORTPARAMS
3.1.6.1. PSID-offset Attribute 3.1.6.1. PSID-offset Attribute
This attribute is used to convey the Port Set Identifier offset as This attribute is used to convey the Port Set Identifier offset as
defined in [RFC7597]. This attribute is encoded 32 bits as per the defined in [RFC7597]. This attribute is encoded 32 bits as per the
recommendation in Appendix A.2.1 of [RFC6158]. recommendation in Appendix A.2.1 of [RFC6158].
The structure of the PSID-offset is shown below: The structure of PSID-offset is shown below:
TLV-Type TLV-Type
15 15
TLV-Length TLV-Length
6 octets 6 octets
Data Type Data Type
The attribute PSID-offset is of type integer (Section 3.1 The attribute PSID-offset is of type integer (Section 3.1
of [RFC8044]). of [RFC8044]).
skipping to change at page 20, line 11 skipping to change at page 20, line 11
Default values for this field are specific to the Default values for this field are specific to the
Softwire mechanism being implemented and are defined Softwire mechanism being implemented and are defined
in the relevant specification document. in the relevant specification document.
3.1.6.2. PSID-len Attribute 3.1.6.2. PSID-len Attribute
This attribute is used to convey the PSID length as defined in This attribute is used to convey the PSID length as defined in
[RFC7597]. This attribute is encoded 32 bits as per the [RFC7597]. This attribute is encoded 32 bits as per the
recommendation in Appendix A.2.1 of [RFC6158]. recommendation in Appendix A.2.1 of [RFC6158].
The structure of the PSID-len is shown below: The structure of PSID-len is shown below:
TLV-Type TLV-Type
16 16
TLV-Length TLV-Length
6 octets 6 octets
Data Type Data Type
The attribute PSID-len is of type integer (Section 3.1 The attribute PSID-len is of type integer (Section 3.1
of [RFC8044]). of [RFC8044]).
skipping to change at page 20, line 40 skipping to change at page 20, line 40
port number representing the value of the PSID. port number representing the value of the PSID.
Subsequently, the address sharing ratio would be Subsequently, the address sharing ratio would be
2^k. 2^k.
3.1.6.3. PSID Attribute 3.1.6.3. PSID Attribute
This attribute is used to convey the PSID as defined in [RFC7597]. This attribute is used to convey the PSID as defined in [RFC7597].
This attribute is encoded 32 bits as per the recommendation in This attribute is encoded 32 bits as per the recommendation in
Appendix A.2.1 of [RFC6158]. Appendix A.2.1 of [RFC6158].
The structure of the PSID is shown below: The structure of PSID is shown below:
TLV-Type TLV-Type
17 17
TLV-Length TLV-Length
6 octets 6 octets
Data Type Data Type
The attribute Bind-IPv6-Prefix is of type integer (Section 3.1 The attribute Bind-IPv6-Prefix is of type integer (Section 3.1
of [RFC8044]). of [RFC8044]).
skipping to change at page 23, line 37 skipping to change at page 23, line 37
The Softwire46-Multicast Attribute MAY contain the U-Prefix64 (see The Softwire46-Multicast Attribute MAY contain the U-Prefix64 (see
Section 3.3.3). Section 3.3.3).
The Softwire46-Multicast Attribute MUST include the ASM-Prefix64 The Softwire46-Multicast Attribute MUST include the ASM-Prefix64
or the SSM-Prefix64, and it MAY include both. or the SSM-Prefix64, and it MAY include both.
The U-Prefix64 MUST be present when the SSM-Prefix64 is present. The U-Prefix64 MUST be present when the SSM-Prefix64 is present.
The U-Prefix64 MAY be present when the ASM-Prefix64 is present. The U-Prefix64 MAY be present when the ASM-Prefix64 is present.
The the Softwire46-Multicast Attribute is structured as follows: The Softwire46-Multicast Attribute is structured as follows:
Type Type
241 (To be confirmed by IANA) 241 (To be confirmed by IANA)
Length Length
This field indicates the total length in bytes of all fields of This field indicates the total length in bytes of all fields of
this attribute, including the Type, Length, Extended-Type, and the this attribute, including the Type, Length, Extended-Type, and the
entire length of the embedded attributes. entire length of the embedded attributes.
Extended-Type Extended-Type
skipping to change at page 24, line 36 skipping to change at page 24, line 36
U-Prefix64 U-Prefix64
This attribute contains the IPv4 prefix used for address This attribute contains the IPv4 prefix used for address
translation. Refer to Section 3.3.3. translation. Refer to Section 3.3.3.
The Softwire46-Multicast Attribute is associated with the following The Softwire46-Multicast Attribute is associated with the following
identifier: 241.Extended-Type(TBD6). identifier: 241.Extended-Type(TBD6).
3.3.1. ASM-Prefix64 Attribute 3.3.1. ASM-Prefix64 Attribute
The ASM-Prefix64 is structured as follows: The ASM-Prefix64 attribute is structured as follows:
TLV-Type TLV-Type
18 18
TLV-Length TLV-Length
16 octets. The length of ssm-prefix64 must be to 96 [RFC8115]. 16 octets. The length of ssm-prefix64 must be to 96 [RFC8115].
Data Type Data Type
The attribute ASM-Prefix64 is of type ipv6prefix (Section 3.10 of The attribute ASM-Prefix64 is of type ipv6prefix (Section 3.10 of
[RFC8044]). [RFC8044]).
 End of changes. 21 change blocks. 
23 lines changed or deleted 23 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/