WO2008011776A1 - Procédé d'affectation d'adresse, ainsi que système, agent relais et serveur correspondants - Google Patents
Procédé d'affectation d'adresse, ainsi que système, agent relais et serveur correspondants Download PDFInfo
- Publication number
- WO2008011776A1 WO2008011776A1 PCT/CN2007/001128 CN2007001128W WO2008011776A1 WO 2008011776 A1 WO2008011776 A1 WO 2008011776A1 CN 2007001128 W CN2007001128 W CN 2007001128W WO 2008011776 A1 WO2008011776 A1 WO 2008011776A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- prefix
- address
- identifier
- relay
- server
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/59—Network arrangements, protocols or services for addressing or naming using proxies for addressing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Definitions
- the present invention relates to the field of network communications, and in particular, to a method, system, relay agent, and server for implementing address allocation. Background of the invention
- IPv6 The Dynamic Host Configuration Protocol (IPv6) of IP version 6 is a mechanism for dynamically allocating IPv6 addresses and configuration parameters.
- DHCPv6 adopts the client/server mode.
- the client sends a configuration request to the server.
- the application includes the following parameters: the assigned IP address, the subnet mask, and the default gateway.
- the server returns the configuration information according to the policy.
- the DHCPv6 message adopts the user.
- the Datagram Protocol (UDP) is encapsulated.
- the DHCPv6 client looks for the DHCPv6 server: The DHCPv6 client sends a Solicit message to find the DHCPv6 server.
- the DHCPv6 server provides the IP address: The DHCPv6 server that receives the Solicit message on the network responds, selects the available address and assigns it to the DHCPv6 client, and sends a notification containing the assigned IP address and other configuration parameters to the DHCPv6 client.
- the DHCPv6 client selects the IP address provided by a DHCPv6 server: If multiple DHCPv6 servers send Advertise messages to the DHCPv6 client, the DHCPv6 client selects one of the received Advertises, that is, selects a DHCPv6 server. The DHCPv6 client then responds with a Request message containing DHCPv6 The IP address of the DHCPv6 server selected by the client and the IP address provided by the DHCPv6 server.
- the DHCPv6 server confirms the provided IP address: When the DHCPv6 server receives the Request message from the DHCPv6 client, it sends a reply (Reply) message to the DHCPv6 client for the IP address and other configuration parameters provided by the DHCPv6 client. Tell the DHCPv6 client to use the EP address it provides.
- the DHCPv6 relay agent is located between the DHCPv6 client and the DHCPv6 server. Its role is to:
- Relay-forward message can relay messages sent by DHCPv6 clients and Relay-fonvard messages sent by other relay agents.
- the relay agent When the relay agent receives a legitimate message that needs to be relayed, it will construct a new Relay-forward message. Fill in the link-address field with a global or local site address, which is used to prompt the server what address to assign to the client. Then fill in the source IP address of the received packet in the peer-address field of the Relay-forward message, and put the received DHCPv6 message (excluding the IP header and UDP header) in the Relay Message option, and add according to the configuration. Some other options are used, and the constructed Relay-forward message is sent to other relay agents or servers.
- the Relay-forward message format is:
- Link-address A global or local site address that the server uses to determine the link where the client is located.
- Peer-address The address of the last hop of the message (may be a client or other relay agent);
- the DHCPv6 client requests the address from the DHCPv6 server through the DHCPv6 relay agent as follows:
- the DHCPv6 client sends a request for a request address to the DHCPv6 relay agent.
- the DHCPv6 relay agent After receiving the request from the DHCPv6 client, the DHCPv6 relay agent creates a relay-forward message and sends it to the DHCPv6 server.
- the value of the link-address in the message is IP-Y.
- the DHCPv6 server After receiving the Relay-forward message from the DHCPv6 relay agent, the DHCPv6 server assigns an address to the DHCPv6 client according to the link-address in the message, and sends the address to the DHCPv6 relay agent.
- the Relay-forward message at this time. As shown below: msg-type: RELAY-FORW;
- Peer-address Address of the DHCPv6 client.
- Relay Message option ⁇ Request for DHCPv6 Client>.
- the DHCPv6 relay agent After receiving the address sent by the DHCPv6 server, the DHCPv6 relay agent forwards it to the DHCPv6 client.
- the prefix corresponding to Internet Service Provider_1 is prefix_l
- the prefix corresponding to ISP-2 is prefix-2
- the prefix corresponding to ISP is prefix_3
- the client wants to obtain ISP-1, ISP. 2, the address of ISP-3, but the client does not know the specific prefix.
- the DHCPv6 server is prompted according to the link-address (ie interface IP-Y)
- the DHCPv6 server (DHCP v6 Server) Only one address associated with the interface IP_Y can be assigned to the client, and addresses belonging to ISP-1, ISP_2, and ISP-3 cannot be provided.
- the DHCPv6 relay agent cannot prompt the DHCPv6 server.
- To provide customers with an address with a specific prefix only one address associated with the DHCPv6 relay agent address can be assigned, and the customer has poor selectivity when applying for an address.
- the link-address inserted by the other DHCPv6 relay agent in the Relay-forward message cannot be used by the DHCPv6 server to determine the client. Link. Summary of the invention
- Embodiments of the present invention provide a method, system, pants agent, and server for implementing address allocation, which can effectively solve the problem of poor address selectivity when a server allocates an address through a relay agent.
- a method for implementing address allocation is applied to a system including a relay agent, a client, and a server; when the relay agent receives an address request message from the client, the method includes:
- the relay agent forwards the address to the client.
- a system for implementing address allocation comprising:
- a client configured to send an address request message
- a relay agent configured to: when receiving an address request message sent by the client, determine a prefix or a prefix identifier, and send the prefix or a prefix identifier; receive an address corresponding to the prefix or the prefix identifier, and forward the address The address to the client;
- a server configured to determine, according to the prefix or the prefix identifier sent by the relay agent, an address corresponding to the prefix or the prefix identifier, and corresponding to the prefix or the prefix identifier The address is sent to the relay agent.
- a relay agent that implements address allocation including:
- a first module configured to determine a prefix or a prefix identifier after receiving an address request message from the client
- the second module is configured to send the prefix or prefix identifier to the server.
- a server that implements address allocation including:
- a first module configured to determine an address corresponding to the prefix or prefix identifier according to a prefix or a prefix identifier from a relay agent;
- a second module configured to send the address corresponding to the prefix or the prefix identifier to the relay agent.
- the prefix selection option can be inserted in the Relay-forward message sent by the relay agent to the server, and the prefix or prefix identifier is stored in the prefix selection option, or the relay agent directly deposits the prefix or prefix identifier into the prefix selection option.
- the server is prompted to assign an address to the client that belongs to a specific prefix or prefix identifier, or the server may be prompted to assign multiple addresses belonging to multiple specific prefixes or prefix identifiers to the client.
- FIG. 1 is a schematic diagram of a working process of a DHCPv6 in the prior art
- FIG. 2 is a schematic diagram of a Relay-forward message format of a DHCPv6 relay agent in the prior art
- FIG. 3 is a schematic diagram of a DHCPv6 client performing address selection process through a DHCPv6 relay agent in the prior art
- FIG. 4 is a schematic diagram of address allocation by a DHCPv6 relay agent in the prior art
- FIG. 5 is a flowchart of an address allocation method according to an embodiment of the present invention
- 6 is a schematic diagram of a format of a prefix selection option according to an embodiment of the present invention
- FIG. 7 is a schematic diagram of a specific prefix format in a prefix selection option according to an embodiment of the present invention
- FIG. 8 is a schematic diagram of an address allocation system according to an embodiment of the present invention. Mode for carrying out the invention
- IPv6 An embodiment of the present invention is described by using IPv6 as an example.
- a prefix selection option is inserted, so that the DHCPv6 server can be prompted to perform address allocation according to the option.
- FIG. 5 is a flowchart of an address allocation method according to an embodiment of the present invention.
- the client is a DHCPv6 client
- the relay agent is a DHCPv6 relay agent
- the server is a DHCPv6 server.
- prefix selection option (Relay Prefix Selection Option) in the relay-forward message format of the DHCPv6 relay agent. See Figure 6 for the prefix selection option format:
- Option-len the length of the option
- PS-Prefix option 1 PS-Prefix option 2, , PS- Prefix option n: prefix information, ie prefix or prefix identifier;
- the PS-Prefix option option is used to describe each specific prefix or prefix identifier in the relay prefix selection option. For details, see Figure 7:
- Prefix-length prefix length
- IPv6-prefix IPv6 prefix or prefix identifier
- Step 101 The DHCPv6 client sends an address request message in multicast mode.
- Step 102 After receiving the address request message, the DHCPv6 relay agent determines the prefix information according to the selection policy, and stores the prefix information in a prefix selection option, where the selection policy includes at least one of the following policies:
- the information in the address request message refers to the hardware address of the client, a network access identifier (NAI), a client identifier, and the like;
- NAI network access identifier
- the DHCPv6 relay agent performs prefix selection according to the current configuration of the DHCPv6 relay agent, and generates prefix information: [prefix-1, prefix-2, ..., prefix_n], and prefixes the prefix.
- the information is stored in the prefix selection option.
- Step 103 The DHCPv6 relay agent sets up a Relay-forward message, and sends a Relay-forward message to the DHCPv6 server, where the Relay-forward message is:
- Msg-type The type of the message, which is Relay-forw;
- Hop-count The number of times the packet has undergone transit from the node to the destination node, which is 0;
- Link-address A global or local site address that the server uses to determine the link where the client is located. This is IP-Y;
- Peer-address Address of the last hop of the message (may be a client or other relay agent), which is the client address;
- Relay Message Option includes [; DHCPv6 client address request message], Is a required option in the Options option;
- Prefix selection options Includes prefix information [prefix 1 , prefix - 2, ..., prefix - n].
- Step 104 After receiving the Relay-forward message, the DHCPv6 server obtains the prefix information from the prefix selection option, obtains the address request message from the Relay Message Option option, and then assigns the prefix information to the DHCPv6 client according to the address allocation policy. the address of.
- the above address allocation strategy is at least one of the following strategies:
- the address is allocated according to the information in the prefix information and the address request message. After the address allocation policy is determined, the client is assigned an address corresponding to the prefix information in the prefix selection option, and the assigned address is the address IP with the prefix one. 1. Address IP-2 with prefix - 2, ... IP with address - n.
- Step 105 After the DHCPv6 server selects the address corresponding to the prefix information, the address corresponding to the prefix information is carried in the Relay-reply message, and the Relay-reply message is sent to the DHCPv6 relay agent, where the Relay-reply message is The Relay Message Option option is a response message from the DHCPv6 server to the DHCPv6 client. The response message contains the address corresponding to the prefix information assigned by the DHCPv6 server to the DHCPv6 client.
- Step 106 After receiving the relay-reply message sent by the DHCPv6 server, the DHCPv6 relay agent extracts the response message from the DHCPv6 server to the DHCPv6 client from the Relay Message Option, and sends the response message to the DHCPv6 client.
- Step 107 After receiving the response message, the DHCPv6 client receives the response message. Obtain the assigned address, which is the address IP-1 with the prefix -1, the address IP with the prefix -2, 2, ..., the IP__n with the prefix -n.
- the prefix selection option may not be inserted in the Relay-forward message, but the prefix information determined by the DHCPv6 relay agent is placed in the Link-address field of the Relay-forward message, and the DHCPv6 server receives the Relay-forward. After the message, the DHCPv6 client is assigned an address according to the prefix information in the Link-address field.
- an embodiment of the present invention further provides a system for address allocation, where the system includes a client, a relay agent, and a server;
- the client is configured to send an address request message and receive an address allocated by the server.
- the relay agent is configured to receive an address request message sent by the client, determine prefix information according to the selection policy, and send the prefix information to the server. At the same time, the relay agent is further configured to receive an address corresponding to the prefix information sent by the server;
- the server is configured to receive the prefix information sent by the relay agent, and allocate an address corresponding to the prefix information according to the address allocation policy, and send the address corresponding to the prefix information to the relay agent.
- the relay agent includes a relay-forward message module and a selection policy module.
- the relay-forward message module is configured to store an address request message and prefix information sent by the client.
- the selection policy module provides for selection of a prefix based on the location of the client, selection of prefix information based on information in the address request message, or selection of prefix information based on the current configuration of the relay agent.
- the server includes a relay-reply message module and an address allocation policy module.
- the relay-reply message module is configured to store an address corresponding to the prefix information.
- the address allocation policy module performs address allocation according to the obtained prefix information.
- the information in the prefix information and the address request message is used for address allocation.
- the client in the system is a DHCPv6 client
- the relay agent is a DHCPv6 relay agent
- the server is a DHCPv6 server.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention concerne un procédé d'affectation d'adresse qui est appliqué à un système comprenant des agents relais, des terminaux clients et des serveurs. Le procédé selon l'invention comprend les étapes suivantes : un agent relais détermine un préfixe ou un identificateur de préfixe après avoir reçu un message de demande d'adresse provenant d'un terminal client et transmet ce préfixe ou identificateur de préfixe à un serveur; le serveur affecte au préfixe ou à l'identificateur de préfixe une adresse qu'il renvoie à l'agent relais; l'agent relais transmet l'adresse au terminal client. L'invention concerne également un système d'affectation d'adresse, un agent relais et un serveur correspondants. Selon l'invention, le serveur est caractérisé en ce qu'il affecte au terminal client de multiples adresses correspondant au préfixe ou à l'identificateur de préfixe spécial et en ce qu'il affecte au terminal client de multiples adresses correspondant aux multiples préfixes ou identificateurs de préfixe, de manière à ce qu'il n'y ait pas de problème si la sélectivité est mauvaise pendant qu'il affecte des adresses par l'intermédiaire des agents relais.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101033629A CN101110817B (zh) | 2006-07-21 | 2006-07-21 | 一种地址选择的方法及系统 |
CN200610103362.9 | 2006-07-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008011776A1 true WO2008011776A1 (fr) | 2008-01-31 |
Family
ID=38981127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/001128 WO2008011776A1 (fr) | 2006-07-21 | 2007-04-09 | Procédé d'affectation d'adresse, ainsi que système, agent relais et serveur correspondants |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101110817B (fr) |
WO (1) | WO2008011776A1 (fr) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753633B (zh) * | 2008-12-09 | 2013-06-05 | 华为技术有限公司 | IPv6前缀分配方法、系统及其设备 |
CN101753460B (zh) * | 2010-01-15 | 2012-07-11 | 杭州华三通信技术有限公司 | 一种ipv6路由前缀的处理方法及装置 |
CN102413033B (zh) * | 2010-09-26 | 2015-07-08 | 华为技术有限公司 | 实现路由聚合的方法、装置和系统 |
CN102892108B (zh) * | 2011-07-18 | 2017-04-26 | 中兴通讯股份有限公司 | 一种多地址前缀分配方法和系统 |
CN103379180B (zh) * | 2012-04-18 | 2019-04-23 | 中兴通讯股份有限公司 | 用户地址分配方法及装置 |
CN104883408A (zh) * | 2014-02-28 | 2015-09-02 | 中兴通讯股份有限公司 | 一种处理NAT64前缀的方法、网络设备及DHCPv6服务器 |
CN114448933A (zh) * | 2020-10-20 | 2022-05-06 | 华为技术有限公司 | 一种ip地址分配方法、装置及系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1543143A (zh) * | 2003-04-29 | 2004-11-03 | ���ǵ�����ʽ���� | 能够支持主机移动性的无线局域网系统及其操作方法 |
US20050105489A1 (en) * | 2003-11-13 | 2005-05-19 | Jee Jung H. | Network apparatus and packet routing method for ubiquitous computing |
US20060140164A1 (en) * | 2004-12-29 | 2006-06-29 | Cisco Technology, Inc. | Methods and apparatus for using DHCP for home address management of nodes attached to an edge device and for performing mobility and address management as a proxy home agent |
-
2006
- 2006-07-21 CN CN2006101033629A patent/CN101110817B/zh not_active Expired - Fee Related
-
2007
- 2007-04-09 WO PCT/CN2007/001128 patent/WO2008011776A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1543143A (zh) * | 2003-04-29 | 2004-11-03 | ���ǵ�����ʽ���� | 能够支持主机移动性的无线局域网系统及其操作方法 |
US20050105489A1 (en) * | 2003-11-13 | 2005-05-19 | Jee Jung H. | Network apparatus and packet routing method for ubiquitous computing |
US20060140164A1 (en) * | 2004-12-29 | 2006-06-29 | Cisco Technology, Inc. | Methods and apparatus for using DHCP for home address management of nodes attached to an edge device and for performing mobility and address management as a proxy home agent |
Also Published As
Publication number | Publication date |
---|---|
CN101110817A (zh) | 2008-01-23 |
CN101110817B (zh) | 2012-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2364543B1 (fr) | Accès à un réseau à large bande | |
US9258699B2 (en) | Method for route transmission based on single IPv6 address prefix, and wireless device | |
EP2321936B1 (fr) | Appareil et procédé pour des extensions du protocole de configuration d'hôte dynamique version 6 en vue de configurer des hôtes avec des interfaces multiples | |
US20120317637A1 (en) | Communication between private network and public network | |
WO2011147353A1 (fr) | Procédé et appareil de transmission de message | |
WO2008011776A1 (fr) | Procédé d'affectation d'adresse, ainsi que système, agent relais et serveur correspondants | |
WO2010108431A1 (fr) | Procédé permettant à un hôte sous ipv6 de visiter un hôte sous ipv4, procédé d'obtention du préfixe d'adresse ipv6 et dispositif de transcription | |
WO2010069181A1 (fr) | Procédé et système de configuration d'adresse ipv6 | |
JP5816293B2 (ja) | パブリックネットワークにおけるプライベート装置の識別 | |
JP2006086800A (ja) | ソースアドレスを選択する通信装置 | |
EP2442521B1 (fr) | Procédé d'obtention d'adresse ip d'un serveur de protocole de configuration dynamique de l'hôte version 6, serveur de protocole de configuration dynamique de l'hôte version 6 et système de communication a protocole de configuration dynamique de l'hôte version 6 | |
EP1430695A2 (fr) | Systeme d'adressage pour clients utilisateurs d'appareils mobiles sans fil | |
WO2013071765A1 (fr) | Procédé, dispositif et système pour distribuer une adresse ip à l'intention d'un terminal d'utilisateur | |
Thaler | Evolution of the IP Model | |
US20140313933A1 (en) | Method, apparatus, and system for layer 2 interworking based on ipv6 | |
WO2022022530A1 (fr) | Procédé de détermination d'une adresse de réseau public d'un serveur mtcp, et dispositif de communication | |
US8005080B2 (en) | IPv6 address configuration method in wireless mobile network and apparatus therefor | |
WO2015127750A1 (fr) | Procédé et dispositif de traitement d'adresse ipv6, et appareil relais dhcpv6 | |
CN102918817B (zh) | IPv6地址分配的方法及设备 | |
US9667592B2 (en) | Efficient utilization of internet protocol addresses | |
CN102439918A (zh) | 一种报文转发的方法、设备及系统 | |
JP3646936B2 (ja) | IPv6無線LAN環境でのIPv4管理方法および管理装置 | |
JP2010062757A (ja) | Dnsプロキシ装置及びdns中継方法 | |
CN104935677B (zh) | 一种nat64资源获取方法及获取/分配装置 | |
WO2010078809A1 (fr) | Procédé, passerelle, serveur et système pour obtenir des informations d'adresse ipv6 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07720701 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
NENP | Non-entry into the national phase |
Ref country code: RU |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07720701 Country of ref document: EP Kind code of ref document: A1 |