GB/T 45282-2025 IPv6 address assignment and encoding rules―General requirements English, Anglais, Englisch, Inglés, えいご
This is a draft translation for reference among interesting stakeholders. The finalized translation (passing through draft translation, self-check, revision and verification) will be delivered upon being ordered.
ICS 33.040
CCS L 78
National Standards of the People's Republic of China
GB/T 45282-2025
IPv6 address assignment and encoding rules - General requirements
IPv6地址分配和编码规则 总体要求
(English Translation)
Issue date: 2025-02-28 Implementation date: 2025-06-01
Issued by the State Administration for Market Regulation
the Standardization Administration of the People's Republic of China
Contents
Foreword
1 Scope
2 Normative references
3 Terms and definitions
4 Abbreviations
5 IPv6 address representation
6 IPv6 address allocation and encoding principles
7 IPv6 address allocation and encoding rules
8 Selection of IPv6 address allocation and encoding rules
9 IPv6 address management requirements
Bibliography
IPv6 address assignment and encoding rules - General requirements
1 Scope
This document sets out the rules for all IPv6 address allocation and encoding used within China.
This document is applicable to the assignment and encoding of all IPv6 addresses used in China, including the assignment and encoding of addresses applied for from domestic assigned addresses corporations and addresses applied for from international institutions with IP address management rights.
2 Normative references
There are no normative references to this document.
3 Terms and definitions
The following terms and definitions apply to this document.
3.1
IPv6 address
128-bit identifier that identifies one or a group of IPv6 network interfaces
3.2
node
device using IPv6
3.3
link
connection from one node to an adjacent node without any other routing and forwarding nodes in between
3.4
interface
junction of a node to a link
[Source: YD/T 2415-2012]
3.5
virtual interface
interfaces established by configuration that enable data exchange functions
4 Abbreviation
The following abbreviations apply to this document.
IANA Internet Digital Assignment Authority
IPv4 Internet Protocol Version 4
IPv6 Internet Protocol Version 6
5 IPv6 Address representation
5.1 Hexadecimal notation
5.1.1 Preferred notation
128-bit IPv6 addresses are divided into groups for every 16 bits, and each group is converted into 4 hexadecimal numbers. Each group is separated by colons, which is called split hexadecimal notation. The format of fractional hexadecimal is x: x: x: x: x: x: x: x: x, where each x represents 16 bits in the address, expressed in hexadecimal. For example, the following address is expressed in binary as:
(0010000000000001):(0000110110101000):(0001000000000100):(0000000000000000):(0000000000000000):(1111000001011111):(0000000111000000):(1010101111001101)。
The preferred hexadecimal representation is: 2001: 0da8: 1004: 0000: 0000: f09f: 01c0: abcd.
5.1.2 Zero-bit compression notation
The fractional hexadecimal notation can omit any set of leading zeros to compress IPv6 addresses, for example, 0da8 can be simplified to da8, and all zero blocks 0000 can be simplified to 0. For multiple consecutive 0 blocks, double colon "::" compression can be used, and an address can only be compressed once with double colon "::".
Fractional hexadecimal zero-bit compression representation: 2001: da8: 1004:: f09f: 1c0: abcd.
5.1.3 Embedded IPv4 address notation
In order to realize the intercommunication between IPv4 and IPv6, the IPv4 address will be embedded in the IPv6 address. At this time, the address is often expressed as: x: x: x: x: x: x:
d.d.d.d. The first 96 bits are represented in the hexadecimal system, and the last 32-bit address is represented in the dotted decimal system of IPv4. In the first 96 bits, zero-bit compression still applies. For example:: ffff: 129.144. 52.38.
5.2 Address prefix notation
An IPv6 address uses 128 bits to represent an address, including the routing prefix, subnet, and interface identifier, as shown in Figure 2.
6 IPv6 address allocation and encoding principles
6.1 Analysis of defect clue characteristics
IPv6 address allocation and encoding follow the following principles.
a) Principle of ease of use: IPv6 address allocation and encoding should meet the requirements of network operation, and the deployment cost and transformation cost of existing network are low, so it is easy to deploy and use.
b) Principle of polygenicity: IPv6 address allocation and coding should consider route publishing requirements and enhance route aggregation capabilities. There should be clear different prefix lengths for routes broadcasted across autonomous domains, routes broadcasted across regions and routes broadcasted intra-network.
c) Principle of difference: IPv6 address allocation and encoding should consider the differences of IPv6 address management and use by different types of IPv6 address operating entities, and determine different IPv6 address allocation and encoding rules.
d) Extensibility principle: IPv6 address allocation and encoding should consider future user increase and service growth needs. For example, when encoding cities into IPv6 addresses, the length of the city identifier should reserve a certain margin compared with the urban distribution of existing services.
e) Principle of advancement: IPv6 address allocation and encoding should meet the development needs of mainstream Internet technologies.
f) Safety principles: IPv6 address allocation and encoding should consider the requirements of security control. IPv6 address operating entities should separately encode addresses with different security policies according to the security requirements of business applications. Security risks such as information leakage or network attacks that may be caused by the formation of IPv6 addresses should be avoided or reduced.
g) Somatization principle: IPv6 address allocation and coding should give address coding specific meanings, such as geographical location information, service type information, etc., so as to facilitate operation and maintenance and fault location.