WO2009117963A1 - 地址配置方法、装置和系统 - Google Patents

地址配置方法、装置和系统 Download PDF

Info

Publication number
WO2009117963A1
WO2009117963A1 PCT/CN2009/071012 CN2009071012W WO2009117963A1 WO 2009117963 A1 WO2009117963 A1 WO 2009117963A1 CN 2009071012 W CN2009071012 W CN 2009071012W WO 2009117963 A1 WO2009117963 A1 WO 2009117963A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
terminal
ipv6
link
configuration
Prior art date
Application number
PCT/CN2009/071012
Other languages
English (en)
French (fr)
Inventor
郑若滨
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP09724624.3A priority Critical patent/EP2267984B1/en
Publication of WO2009117963A1 publication Critical patent/WO2009117963A1/zh
Priority to US12/882,021 priority patent/US8260888B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to an address configuration method, apparatus, and system. Background technique
  • IPv6 protocol will replace the Internet Protocol version 4 (IPv6) protocol as the next generation Internet protocol.
  • IPv6 protocol solves many of the shortcomings exposed by the IPv4 protocol, such as address scarcity, large routing tables, and insufficient support for mobile devices.
  • a prominent feature of the IPv6 protocol is the support for stateless address autoconfiguration of network nodes, which greatly reduces the work of network managers. Stateless address autoconfiguration is an important method for mobile nodes to obtain addresses.
  • the node uses the neighbor discovery mechanism to automatically obtain a unique global routable address. This plug-and-play address configuration method does not require manual intervention by users or operators. Internet access requirements for mobile devices.
  • DAD Duplicate Address Detection
  • the current Digital Subscriber Line (DSL) network architecture is a point-to-point (P2P) network, which is not a shared medium, that is, the DSL terminal cannot directly communicate, resulting in the DAD function of the DSL terminal not functioning. Therefore, the existing DSL network architecture cannot support stateless IPv6 address autoconfiguration. Summary of the invention
  • Embodiments of the present invention provide an address configuration method, apparatus, and system for implementing automatic configuration of a stateless IPv6 address.
  • An embodiment of the present invention provides an address configuration method, including:
  • a proxy neighbor advertisement message is sent to the terminal to prompt the link local address to be a duplicate address.
  • An embodiment of the present invention provides an address configuration apparatus, including:
  • the detecting module is configured to: after receiving the neighbor request message that is sent by the terminal and carrying the link local address, compare the link local address with the address in the preset IP address cache, and determine whether the IP address cache is in the cache There is an address that matches the link local address;
  • a configuration module configured to: when the detecting module determines that there is no address matching the link local address, store the link local address in the IP address cache, and generate an internet protocol of the terminal. a sixth version of the IPv6 address, and sending the IPv6 address to the terminal;
  • the notification module is configured to send, when the detecting module determines that an address matching the link local address exists, send a proxy neighbor advertisement message to the terminal, to prompt the link local address to be a duplicate address.
  • An embodiment of the present invention provides an address configuration system, including a terminal and an address configuration apparatus, where the address configuration apparatus includes: The detecting module is configured to: after receiving the neighbor request message that is sent by the terminal and carrying the link local address, compare the link local address with the address in the preset IP address cache, and determine whether the IP address cache is in the cache There is an address that matches the link local address;
  • a configuration module configured to: when the detecting module determines that there is no address matching the link local address, store the link local address in the IP address cache, and generate an internet protocol of the terminal. a sixth version of the IPv6 address, and sending the IPv6 address to the terminal;
  • the notification module is configured to send, when the detecting module determines that an address matching the link local address exists, send a proxy neighbor advertisement message to the terminal, to prompt the link local address to be a duplicate address.
  • the embodiment of the invention has at least the following advantages:
  • the embodiment of the present invention After receiving the neighbor request message, the embodiment of the present invention performs repeated address detection on the link local address, and generates and delivers the IPv6 address of the Internet Protocol version 6 after the duplicate address detection, thereby realizing the stateless IPv6 address of the terminal. Automatic configuration.
  • FIG. 1 is a schematic flowchart of a first embodiment of an address configuration method according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of an address configuration method according to the present invention
  • 4 is a schematic flowchart of a fourth embodiment of an address configuration method according to the present invention
  • FIG. 5 is a schematic flowchart of a fifth embodiment of an address configuration method according to the present invention
  • FIG. 7 is a schematic structural diagram of a specific embodiment of an address configuration system according to the present invention. detailed description
  • FIG. 1 the flow chart of the first embodiment of the address configuration method of the present invention is shown Figure. This embodiment includes:
  • Step 101 The terminal automatically configures a link-local address (LLA).
  • LLA link-local address
  • the terminal may derive an LLA by extending the unique identifier (EUI)-64 interface identifier (ID), where the LLA is a tentative address, which is an experimental state.
  • EUI unique identifier
  • ID interface identifier
  • Step 102 The terminal initiates a Neighbor Solicitation (NS) message to perform a duplicate address detection (DAD) on the LLA, where the message includes the tentative LLA;
  • NS Neighbor Solicitation
  • DAD duplicate address detection
  • Step 103 Broadband Network Gateway (BNG)
  • the Broadband Remote Access Server determines whether the tentative LLA is the same as the address stored in its IP Address Cache. If the same address is not used, step 104 is performed.
  • the BNG/BRAS supports LLA's proxy duplicate address detection (Proxy DAD) to establish and maintain the IP address cache of the proxyed user;
  • Step 104 The BNG/BRAS sends a Proxy Neighbor Advertisements message to the terminal to indicate that the tentative LLA is a duplicate address.
  • Step 105 The terminal receives the proxy neighbor notification (Proxy Neighbor
  • the address autoconfiguration is stopped. At this point, the terminal must be manually configured.
  • the terminal may further generate a new LLA, and repeatedly perform steps 101 to 103;
  • Step 106 The BNG/BRAS stores the tentative LLA in the IP address cache.
  • Step 107 If the terminal does not receive the Proxy Neighbor Advertisements message, initiate a dynamic host configuration protocol request (DHCPv6 Solicit) supporting IPv6. Message to discover the available Dynamic Host Configuration Protocol server (DHCP Server);
  • Step 108 After receiving the DHCPv6 Solicit message, the dynamic host configuration protocol proxy/relay (DHCP Proxy/Relay) forwards the DHCPv6 Solicit message to the DHCP server.
  • DHCP Proxy/Relay Dynamic Host Configuration Protocol server
  • Step 109 After receiving the DHCPv6 Solicit, the DHCP server that meets the requirements of the terminal can respond to the DHCPv6 Advertise message (DHCPv6 Advertise) message to the DHCP Proxy/Relay.
  • DHCPv6 Advertise DHCPv6 Advertise
  • Step 110 The DHCP proxy/Relay relays the DHCP v6 Advertise message to the terminal.
  • Step 111 The terminal receives a dynamic host configuration protocol advertisement (DHCPv6 Advertise) message that supports IPv6, and sends an IPv6 dynamic host configuration protocol request (DHCPv6 Requet) message to the selected DHCP server through the DHCP Proxy/Relay.
  • DHCPv6 Advertise dynamic host configuration protocol advertisement
  • DHCPv6 Requet IPv6 dynamic host configuration protocol request
  • Step 112 The DHCP proxy/Relay receives the DHCPv6 Requet message, and transfers the DHCPv6 Requet message to the DHCP server selected by the terminal.
  • Step 113 After receiving the DHCPv6 Requet, the selected DHCP server generates an IPv6 dynamic host configuration protocol response (DHCPv6 Reply) message, and sends the message to the DHCP Proxy/Relay, where the message includes an IPv6 address assigned to the terminal. And IP host configuration information;
  • DHCPv6 Reply IPv6 dynamic host configuration protocol response
  • Step 114 The DHCP Proxy/Relay relays the DHCPv6 Reply message to the terminal.
  • Step 115 The BNG/BRAS and the Access Node (AN) perform dynamic host configuration protocol listening (DHCP Snooping) to implement the IPv6 address and media of the terminal. Binding of the access control (MAC) address.
  • DHCP Snooping dynamic host configuration protocol listening
  • the proxy DAD is implemented in the BNG/BRAS, so that the DSL network architecture can support the automatic allocation of stateless IPv6 addresses.
  • FIG. 2 it is a schematic flow chart of a second embodiment of the address configuration method of the present invention. This embodiment includes:
  • Step 201 The terminal performs automatic LLA configuration.
  • the terminal may derive an LLA by extending the interface identifier ID of the unique identifier (EUI)-64, where the LLA is a tentative address, which is an experimental state.
  • Step 202 The terminal initiates a Neighbor Solicitation (NS) message to perform repeated address detection on the LLA, where the message includes the tentative LLA.
  • Step 203 The BNG/BRAS receives a Neighbor Solicitation (NS) After the message, it is determined whether the tentative LLA is the same as the address stored in the IP address cache. If the same address exists, step 204 is performed; if the same address does not exist, step 206 is directly executed.
  • NS Neighbor Solicitation
  • BNG BRAS supports LLA proxy duplicate address detection, and establishes and maintains the IP address cache of the proxy user;
  • Step 204 The BNG/BRAS sends a Proxy Neighbor Advertisements message to the terminal to indicate that the tentative LLA is a duplicate address.
  • Step 205 After receiving the Proxy Neighbor Advertisements message, the terminal stops the automatic address configuration. At this time, the terminal must perform manual configuration.
  • the terminal may further generate a new LLA, and repeatedly perform steps 201 to 203;
  • Step 206 The BNG/BRAS stores the tentative LLA in the IP address cache.
  • Step 207 The BNG/BRAS extracts an interface identifier (Interface Identifier) in the LLA, and generates a global IPv6 address of the terminal according to the interface identifier.
  • interface identifier Interface Identifier
  • the BNG BRAS may attach the interface identifier to the online link prefix where the terminal is located to generate a global IPv6 address.
  • Step 208 If the terminal does not receive the Proxy Neighbor Advertisements message, initiate a Router Solicitation (RS) message to request a route advertisement of the router (Access Router, AR) where the BNG/BRAS is located. The message is replied to obtain the online link prefix.
  • Step 209 After receiving the Router Solicitation (RS) message, the BNG/BRAS sends a Router Advertisement message to the terminal instead of the AR. Contains the above online link prefix;
  • Step 210 The terminal automatically configures a global IPv6 address according to the obtained online link prefix, and the terminal may further obtain another configuration letter of the IP host by initiating DHCPv6. Interest.
  • Step 211 The BNG/BRAS binds the IPv6 address and the MAC address of the terminal.
  • Step 213 Bind the IPv6 address and the MAC address of the terminal on the AN.
  • This embodiment can also implement proxy DAD in BNG/BRAS, so that the DSL network architecture can support automatic allocation of stateless IPv6 addresses.
  • FIG. 3 it is a schematic flowchart of a third embodiment of the address configuration method of the present invention. This embodiment includes:
  • Step 301 The terminal performs automatic LLA configuration.
  • the terminal may derive an LLA by extending the unique identifier (EUI)-64 interface identifier, where the LLA is a tentative address, which is an experimental state.
  • EUI unique identifier
  • Step 302 The terminal initiates a Neighbor Solicitation (NS) message to perform repeated address detection on the LLA, where the message includes the tentative LLA;
  • Step 303 The Residential Gateway (RG) receives the neighbor request ( After the Neighbor Solicitation (NS) message, it is determined whether the tentative LLA is the same as the address stored in the IP address cache. If the same address exists, step 304 is performed; if the same address does not exist, step 306 is directly executed.
  • NS Neighbor Solicitation
  • the RG supports LLA proxy duplicate address detection, and establishes and maintains the IP address cache of the proxyed user;
  • Step 304 The RG sends a Proxy Neighbor Advertisements message to the terminal to indicate that the tentative LLA is a duplicate address.
  • Step 305 After receiving the Proxy Neighbor Advertisements message, the terminal stops the automatic address configuration. At this time, the terminal must perform manual configuration on the host.
  • the terminal may further generate a new LLA, and repeatedly perform steps 301 to 303;
  • Step 306 The RG stores the tentative LLA in an IP address cache. Alternatively, in this step, the RG may also perform Neighbor Solicitation of the terminal. The message is forwarded to the BNG/BRAS, and the BNG/BRAS further performs the proxy duplicate address detection on the LLA.
  • the subsequent steps are the same as the steps 101 to 106 in the first embodiment of the address configuration method of the present invention, and details are not described herein again.
  • Step 307 If the terminal does not receive the Proxy Neighbor Advertisements message, initiate an IPv6 dynamic host configuration protocol request (DHCPv6 Solicit) message to the RG.
  • DHCPv6 Solicit IPv6 dynamic host configuration protocol request
  • Step 308 After receiving the IPv6 dynamic host configuration protocol request (DHCPv6 Solicit) message, the RG responds to the terminal with an IPv6 dynamic host configuration protocol advertisement (DHCPv6 Advertise) message.
  • DHCPv6 Advertise IPv6 dynamic host configuration protocol advertisement
  • Step 309 The terminal receives the dynamic host configuration protocol advertisement supporting IPv6.
  • the IPv6 dynamic host configuration protocol request (DHCPv6 Requet) message is sent to the RG;
  • Step 310 After receiving the IPv6 dynamic host configuration protocol request (DHCPv6 Requet) message, the RG responds to the terminal with an IPv6 dynamic host configuration protocol response (DHCPv6 Reply) message, where the message includes an IPv6 address and an IP address allocated to the terminal. Host configuration information.
  • DHCPv6 Requet IPv6 dynamic host configuration protocol request
  • DHCPv6 Reply IPv6 dynamic host configuration protocol response
  • the proxy DAD is implemented in the RG, so that the DSL network architecture can support the automatic allocation of stateless IPv6 addresses.
  • FIG. 4 it is a schematic flowchart of a fourth embodiment of the address configuration method of the present invention. This embodiment includes:
  • Step 401 The terminal performs automatic LLA configuration.
  • the terminal may derive an LLA by extending the unique identifier (EUI)-64 interface identifier, where the LLA is a tentative address, which is an experimental state.
  • EUI unique identifier
  • Step 402 The terminal initiates a Neighbor Solicitation (NS) message to perform repeated address detection on the LLA, where the message includes the tentative LLA.
  • Step 403 After receiving the Neighbor Solicitation (NS) message, the RG receives the Neighbor Solicitation (NS) message. And determining whether the tentative LLA is the same as the address stored in the IP address cache. If the same address exists, step 404 is performed; if the same address does not exist, step 406 is directly performed.
  • the RG supports the proxy duplicate address detection of the LLA, and establishes and maintains an IP address cache of the proxyed user;
  • Step 404 The RG sends a Proxy Neighbor Advertisements message to the terminal, to indicate that the tentative LLA is a duplicate address.
  • Step 405 After receiving the Proxy Neighbor Advertisements message, the terminal stops the automatic address configuration. At this time, the terminal must perform manual configuration on the host.
  • the terminal may further generate a new LLA, and repeatedly perform steps 401 to 403;
  • Step 406 The RG stores the tentative LLC in the IP address cache. Alternatively, in this step, the RG may further forward the Neighbor Solicitation message of the terminal to the BNG/BRAS, and further repeat the proxy for the LLA by the BNG/BRAS.
  • the subsequent steps are the same as the steps 101 to 106 in the first embodiment of the address configuration method of the present invention, and details are not described herein again.
  • Step 407 The RG extracts an interface identifier (interface Identifier) in the LLA, and generates an IPv6 address of the terminal according to the interface identifier, where the address may be a private IPv6 address.
  • interface identifier interface Identifier
  • the RG may attach the interface identifier to the online link prefix where the terminal is located, to generate an IPv6 address of the terminal, where the address may be a private IPv6 address;
  • Step 408 If the terminal does not receive the Proxy Neighbor Advertisements message, the Router Solicitation (RS) message is sent to request the Router Advertisement (RA) message of the AR where the RG is located to obtain the online response.
  • RS Router Solicitation
  • RA Router Advertisement
  • Step 409 After receiving the Router Solicitation (RS) message, the RG sends a Router Advertisement message to the terminal instead of the AR, where the message includes the online link prefix.
  • RS Router Solicitation
  • Step 410 The terminal automatically configures the IPv6 address according to the obtained online link prefix, and the terminal may further obtain other configuration information of the IP host by initiating DHCPv6.
  • This embodiment can also implement proxy DAD in RG, thereby enabling DSL network architecture.
  • FIG. 5 it is a schematic flowchart of a fifth embodiment of the address configuration method of the present invention. This embodiment includes:
  • Step 501 The terminal performs automatic LLA configuration.
  • the terminal may derive an LLA by extending the unique identifier (EUI)-64 interface identifier, where the LLA is a tentative address, which is an experimental state.
  • EUI unique identifier
  • Step 502 The terminal initiates a Neighbor Solicitation (NS) message to perform repeated address detection on the LLA, where the message includes the tentative LLA.
  • Step 503 After receiving the Neighbor Solicitation (NS) message, the RG receives the Neighbor Solicitation (NS) message. And determining whether the tentative LLA is the same as the address stored in the IP address cache. If the same address exists, step 504 is performed; if the same address does not exist, step 506 is performed.
  • NS Neighbor Solicitation
  • the RG supports LLA proxy duplicate address detection, and establishes and maintains the IP address cache of the proxyed user;
  • Step 504 The RG sends a Proxy Neighbor Advertisements message to the terminal, to indicate that the provisional LLA is a duplicate address;
  • Step 505 After receiving the Proxy Neighbor Advertisements message, the terminal stops the automatic address configuration. At this time, the terminal must perform manual configuration on the host.
  • the terminal may further generate a new LLA, and repeatedly perform steps 501 to 503;
  • Step 506 The RG stores the tentative LLC in the IP address cache. Alternatively, in this step, the RG may further forward the Neighbor Solicitation message of the terminal to the BNG/BRAS, and further repeat the proxy for the LLA by the BNG/BRAS.
  • the subsequent steps are the same as the steps 101 to 106 in the first embodiment of the address configuration method of the present invention, and details are not described herein again.
  • Step 507 If the terminal does not receive the Proxy Neighbor Advertisements message, initiate an IPv6 dynamic host configuration protocol request (DHCPv6 Solicit) message to the RG.
  • DHCPv6 Solicit IPv6 dynamic host configuration protocol request
  • RS Router Solicitation
  • RA Router Advertisement
  • Step 509 After receiving the Router Solicitation (RS) message, the AR of the RG responds to the RG with a Router Advertisement message, where the message includes the online link prefix.
  • RS Router Solicitation
  • Step 510 The RG receives a Router Advertisement message, and responds to the terminal with a dynamic host configuration protocol advertisement (DHCPv6 Advertise) message supporting IPv6.
  • DHCPv6 Advertise dynamic host configuration protocol advertisement
  • Step 511 The RG automatically configures an IPv6 address assigned to the terminal according to the obtained online link prefix, where the address may be a global IPv6 address.
  • Step 512 After receiving the IPv6 dynamic host configuration protocol advertisement (DHCPv6 Advertise) message, the terminal sends an IPv6 dynamic host configuration protocol request (DHCPv6 Request) message to the RG.
  • DHCPv6 Advertise IPv6 dynamic host configuration protocol advertisement
  • DHCPv6 Request IPv6 dynamic host configuration protocol request
  • Step 513 After receiving the IPv6 dynamic host configuration protocol request (DHCPv6 Request) message, the RG responds to the terminal with an IPv6 dynamic host configuration protocol response (DHCPv6 Reply) message, where the message includes an IPv6 address and an IP address allocated to the terminal. Host configuration information.
  • DHCPv6 Request IPv6 dynamic host configuration protocol request
  • DHCPv6 Reply IPv6 dynamic host configuration protocol response
  • the proxy DAD can also be implemented in the RG, so that the DSL network architecture can support the automatic allocation of stateless IPv6 addresses.
  • FIG. 6 is a schematic structural diagram of a specific embodiment of an address configuration apparatus according to the present invention.
  • This embodiment includes a detection module 21, a configuration module 22, and a notification module 23 that are sequentially connected.
  • the detecting module 21 is configured to: after receiving the neighbor request message carrying the link local address sent by the terminal, compare the link local address with the address in the preset IP address cache, and determine the IP address cache.
  • the configuration module 22 is configured to store the link local address to the location when the detecting module 21 determines that there is no address matching the link local address In the IP address cache, generate the Internet Protocol version 6 IPv6 address of the terminal, and The terminal sends the IPv6 address;
  • the notification module 23 is configured to: when the detecting module 21 determines that an address matching the link local address exists, send a proxy neighbor advertisement message to prompt the link local address to repeat the address.
  • the address configuration apparatus of this embodiment can implement a proxy DAD, which can be set independently, or can be integrated with other network entities in a DSL network architecture such as BNG/BRAS or RG, so that the DSL network architecture can support automatic allocation of stateless IPv6 addresses. .
  • FIG. 7 is a schematic structural diagram of a specific embodiment of an address configuration system according to the present invention.
  • This embodiment includes terminals 10 and address configuring means 20 which are connected to each other.
  • the address configuration device 20 includes a detection module 21, a configuration module 22, and a notification module 23 that are sequentially connected.
  • the detecting module 21 is configured to: after receiving the neighbor request message carrying the link local address sent by the terminal, compare the link local address with the address in the preset IP address cache, and determine the IP address cache.
  • the configuration module 22 is configured to store the link local address to the location when the detecting module 21 determines that there is no address matching the link local address In the IP address cache, the Internet Protocol version 6 IPv6 address of the terminal is generated, and the IPv6 address is sent to the terminal; the notification module 23 is configured to: when the detecting module 21 determines that the presence matches the link local address The address of the proxy is sent to the proxy neighbor advertisement message to prompt the link local address to repeat the address.
  • the address configuration device in the address configuration system of this embodiment can implement proxy DAD, can be set independently, or can be integrated with other network entities in a DSL network architecture such as BNG/BRAS or RG, so that the DSL network architecture can support none. Automatic allocation of state IPv6 LLA.
  • the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computer device may It is a personal computer, a server, or a network device, etc.

Description

地址配置方法、 装置和系统
本申请要求于 2008年 3月 26 日提交中国专利局, 申请号为 200810102783.9、 发明名称为 "地址配置方法、 装置和系统" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信领域, 尤其是一种地址配置方法、 装置和 系统。 背景技术
随着互联网技术的发展, 互联网协议第 6版(Internet Protocol version 6, IPv6 )协议将取代互联网协议第 4 版(Internet Protocol version 4, IPv6 )协议成为下一代互联网协议。 IPv6协议解决了 IPv4 协议所暴露的诸多缺陷, 如地址稀缺、 路由表庞大、 对移动设备支持 不足等。 IPv6协议的一个突出特点是支持网络节点的无状态地址自动 配置, 这极大地筒化了网络管理者的工作。 无状态地址自动配置是移 动节点获得地址的重要方法,节点采用邻居发现机制自动获取独一无 二的全球可路由地址,这种即插即用的地址配置方式不需要用户或者 运营商进行人工干预, 非常符合移动设备的上网要求。
为了支持 IPv6, 终端需要支持重复地址探测 ( Duplicate Address Detection, DAD )功能。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问 题:
目前的数字用户线 (Digital Subscriber Line, DSL ) 网络架构为 点到点 ( Point to Point, P2P ) 网络, 不是共享介质, 即 DSL终端不 能直接进行通信, 导致了 DSL终端的 DAD功能无法起作用。 因此, 现有的 DSL网络架构不能支持无状态 IPv6地址自动配置。 发明内容
本发明实施例提供一种地址配置方法、 装置和系统, 用以实现无 状态 IPv6地址的自动配置。
本发明实施例提供了一种地址配置方法, 包括:
接收到终端发送的携带有链路本地地址的邻居请求消息后,将所 述链路本地地址与预置的 IP地址緩存中的地址进行比较, 判断所述 IP地址緩存中是否存在与所述链路本地地址匹配的地址;
若不存在与所述链路本地地址匹配的地址时,则将所述链路本地 地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所述 IPv6地址;
若存在与所述链路本地地址匹配的地址时,则向所述终端发送代 理邻居通告消息, 以提示所述链路本地地址是重复地址。
本发明实施例提供了一种地址配置装置, 包括:
探测模块,用于接收到终端发送的携带有链路本地地址的邻居请 求消息后, 将所述链路本地地址与预置的 IP地址緩存中的地址进行 比较, 判断所述 IP地址緩存中是否存在与所述链路本地地址匹配的 地址;
配置模块,用于当所述探测模块判断出不存在与所述链路本地地 址匹配的地址时, 则将所述链路本地地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所 述 IPv6地址;
通告模块,用于当所述探测模块判断出存在与所述链路本地地址 匹配的地址时, 则向所述终端发送代理邻居通告消息, 以提示所述链 路本地地址是重复地址。
本发明实施例提供了一种地址配置系统, 包括终端和地址配置装 置, 其中, 所述地址配置装置包括: 探测模块,用于接收到终端发送的携带有链路本地地址的邻居请 求消息后, 将所述链路本地地址与预置的 IP地址緩存中的地址进行 比较, 判断所述 IP地址緩存中是否存在与所述链路本地地址匹配的 地址;
配置模块,用于当所述探测模块判断出不存在与所述链路本地地 址匹配的地址时, 则将所述链路本地地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所 述 IPv6地址;
通告模块,用于当所述探测模块判断出存在与所述链路本地地址 匹配的地址时, 则向所述终端发送代理邻居通告消息, 以提示所述链 路本地地址是重复地址。
与现有技术相比, 本发明实施例至少具备以下优点:
本发明实施例通过接收到邻居请求消息后,对链路本地地址进行 重复地址探测, 通过所述重复地址探测后, 生成并下发互联网协议第 6版 IPv6地址, 实现了终端无状态 IPv6地址的自动配置。
下面结合附图对本发明的具体实施例作进一步详细的说明。 附图说明
图 1为本发明地址配置方法的第一实施例的流程示意图; 图 2为本发明地址配置方法的第二实施例的流程示意图; 图 3为本发明地址配置方法的第三实施例的流程示意图; 图 4为本发明地址配置方法的第四实施例的流程示意图; 图 5为本发明地址配置方法的第五实施例的流程示意图; 图 6为本发明地址配置装置的具体实施例的结构示意图; 图 7为本发明地址配置系统的具体实施例的结构示意图。 具体实施方式
如图 1 所示, 为本发明地址配置方法的第一实施例的流程示意 图。 本实施例包括:
步骤 101、 终端进行链路本地地址(link-local address, LLA ) 自 动配置。
具体地,终端可以通过扩展唯一标识符 (EUI)-64的接口标识( ID ) 派生一个 LLA, 其中的 LLA是一个暂定( tentative )地址, 为实验状 态。
步骤 102、 终端发起邻居请求(Neighbor Solicitation, NS )消息, 以对该 LLA 进行重复地址探测 (DAD ), 该消息中包含有上述暂定 LLA;
步骤 103、 宽带网络网关( Broadband Network Gateway , BNG )
/宽带接入服务器( Broadband Remote Access Server, BRAS )接收到 邻居请求(Neighbor Solicitation, NS ) 消息后, 判断上述暂定 LLA 是否与其 IP地址緩存(IP Address Cache ) 中所存储的地址相同, 如 果存在相同的地址, 则执行步骤 104; 如果不存在相同的地址, 则直 接执行步骤 106。
其中的 BNG/BRAS 支持 LLA 的代理重复地址探测 (Proxy DAD ) , 建立和维护所代理的用户的 IP地址緩存;
步骤 104、 BNG/BRAS向终端发送代理邻居通告( Proxy Neighbor Advertisements ) 消息, 以提示该暂定 LLA是重复地址;
步骤 105、 终端接收到代理邻居通告 ( Proxy Neighbor
Advertisements ) 消息后, 停止进行地址自动配置, 此时, 必须对终 端的主机执行手动配置。
可替换地, 本步骤中终端还可以进一步生成新的 LLA, 重复执 行步骤 101 ~步骤 103;
步骤 106、 BNG/BRAS将上述暂定 LLA存储到 IP地址緩存中; 步骤 107、 若终端没有接收到代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 则发起支持 IPv6 的动态主机配置协议请求 ( DHCPv6 Solicit ) 消息, 以发现可用的动态主机配置协议服务器 ( DHCP Server ); 步骤 108、 动态主机配置协议代理 /中继( DHCP Proxy/Relay )接 收到 DHCPv6 Solicit消息后,将该 DHCPv6 Solicit消息中转给 DHCP Server;
步骤 109、 任何能满足终端要求的 DHCP Server接收到 DHCPv6 Solicit后, 都可以回应支持 IPv6的动态主机配置协议通告(DHCPv6 Advertise ) 消息给 DHCP Proxy/Relay;
步骤 110、 DHCP Proxy/Relay中转该 DHCP v6 Advertise消息给 终端;
步骤 111、 终端接收到支持 IPv6 的动态主机配置协议通告 ( DHCPv6 Advertise )消息, 通过 DHCP Proxy/Relay向选定的 DHCP Server发送支持 IPv6的动态主机配置协议请求( DHCPv6 Requet )消 息。
步骤 112、 DHCP Proxy/Relay接收到 DHCPv6 Requet消息, 向终 端选定的 DHCP Server中转该 DHCPv6 Requet消息;
步骤 113、 该选定的 DHCP Server接收到该 DHCPv6 Requet后, 生成支持 IPv6的动态主机配置协议应答 ( DHCPv6 Reply ) 消息, 并 向 DHCP Proxy/Relay发送, 该消息中包含有分配给终端的 IPv6地址 和 IP主机配置信息;
步骤 114、 DHCP Proxy/Relay中转该 DHCPv6 Reply消息给终端; 步骤 115、 BNG/BRAS和接入节点 (Access Node, AN )通过动 态主机配置协议监听( DHCP Snooping ), 实现对终端的 IPv6地址和 媒体接入控制 (Medium Access Control, MAC )地址的绑定。
本实施例在 BNG/BRAS中实现了代理 DAD, 从而使 DSL网络 架构能够支持无状态 IPv6地址自动分配。
如图 2 所示, 为本发明地址配置方法的第二实施例的流程示意 图。 本实施例包括:
步骤 201、 终端进行 LLA自动配置。
具体地, 终端可以通过扩展唯一标识符 (EUI)-64 的接口标识 ID 派生一个 LLA, 其中的 LLA是一个暂定地址, 为实验状态。 步骤 202、 终端发起邻居请求(Neighbor Solicitation, NS )消息, 以对该 LLA进行重复地址探测, 该消息中包含有上述暂定 LLA; 步骤 203、 BNG/BRAS接收到邻居请求( Neighbor Solicitation, NS )消息后,判断上述暂定 LLA是否与其 IP地址緩存中所存储的地 址相同, 如果存在相同的地址, 则执行步骤 204; 如果不存在相同的 地址, 则直接执行步骤 206。
其中的 BNG BRAS支持 LLA的代理重复地址探测,建立和维护 所代理的用户的 IP地址緩存;
步骤 204、 BNG/BRAS向终端发送代理邻居通告( Proxy Neighbor Advertisements ) 消息, 以提示该暂定 LLA是重复地址;
步骤 205、 终端接收到代理邻居通告 ( Proxy Neighbor Advertisements ) 消息后, 停止进行地址自动配置, 此时, 必须对终 端的主机执行手动配置。
可替换地, 本步骤中终端还可以进一步生成新的 LLA, 重复执 行步骤 201〜步骤 203;
步骤 206、 BNG/BRAS将上述暂定 LLA存储到 IP地址緩存中; 步骤 207、 BNG/BRAS在上述 LLA 中提取接口标识(Interface Identifier ) , 根据该接口标识生成终端的全局 ( Global ) IPv6地址。
具体地, BNG BRAS 可以将该接口标识附加在终端所在的在线 链路前缀之后, 以生成全局 IPv6地址;
步骤 208、 若终端没有接收到代理邻居通告 (Proxy Neighbor Advertisements )消息, 则发起路由请求 ( Router Solicitation, RS )消 息, 以请求 BNG/BRAS所在路由器(Access Router, AR ) 的路由通 告(Router Advertisement, RA ) 消息回应, 从而获取在线链路前缀; 步骤 209、 BNG/BRAS接收到路由请求( Router Solicitation, RS ) 消息后, 代替其所在 AR 向该终端回应路由通告 ( Router Advertisement ) 消息, 该消息中包含有上述在线链路前缀;
步骤 210、 终端根据获取到的在线链路前缀, 自动配置全局 IPv6 地址, 终端还可以进一步通过发起 DHCPv6获取 IP主机其它配置信 息。
步骤 211、BNG/BRAS对终端的 IPv6地址和 MAC地址进行绑定; 步骤 212、 BNG/BRAS通过 L2C协议向终端下发终端的 IPv6地 址和 MAC地址的绑定关系;
步骤 213、 在 AN上实现终端的 IPv6地址和 MAC地址的绑定。 本实施例也可以在 BNG/BRAS 中实现代理 DAD, 从而使 DSL 网络架构能够支持无状态 IPv6地址自动分配。
如图 3 所示, 为本发明地址配置方法的第三实施例的流程示意 图。 本实施例包括:
步骤 301、 终端进行 LLA自动配置。
具体地,终端可以通过扩展唯一标识符 (EUI)-64的接口标识派生 一个 LLA, 其中的 LLA是一个暂定地址, 为实验状态。
步骤 302、 终端发起邻居请求(Neighbor Solicitation, NS )消息, 以对该 LLA进行重复地址探测, 该消息中包含有上述暂定 LLA; 步骤 303、 驻地网关 (Residential Gateway, RG )接收到邻居请 求 ( Neighbor Solicitation, NS ) 消息后, 判断上述暂定 LLA是否与 其 IP地址緩存中所存储的地址相同, 如果存在相同的地址, 则执行 步骤 304; 如果不存在相同的地址, 则直接执行步骤 306。
其中的 RG支持 LLA的代理重复地址探测, 建立和维护所代理 的用户的 IP地址緩存;
步骤 304、 RG 向终端发送代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 以提示该暂定 LLA是重复地址;
步骤 305、 终端接收到代理邻居通告 ( Proxy Neighbor Advertisements ) 消息后, 停止进行地址自动配置, 此时, 必须对终 端的主机执行手动配置。
可替换地, 本步骤中终端还可以进一步生成新的 LLA, 重复执 行步骤 301〜步骤 303;
步骤 306、 RG将上述暂定 LLA存储到 IP地址緩存中; 可替换地, 本步骤中, RG还可以将终端的 Neighbor Solicitation 消息转发给 BNG/BRAS, 进一步由 BNG/BRAS对该 LLA进行代理 重复地址探测,后续步骤同本发明地址配置方法的第一实施例中的步 骤 101〜步骤 106, 此处不再赘述。
步骤 307、 若终端没有接收到代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 则向 RG发起支持 IPv6的动态主机配置协议 请求( DHCPv6 Solicit ) 消息;
步骤 308、 RG 接收到支持 IPv6 的动态主机配置协议请求 ( DHCPv6 Solicit )消息后, 向终端回应支持 IPv6的动态主机配置协 议通告( DHCPv6 Advertise ) 消息;
步骤 309、 终端接收到支持 IPv6 的动态主机配置协议通告
( DHCPv6 Advertise )消息后, 向 RG发送支持 IPv6的动态主机配置 协议请求( DHCPv6 Requet ) 消息;
步骤 310、 RG 接收到支持 IPv6 的动态主机配置协议请求 ( DHCPv6 Requet )消息后, 向终端回应支持 IPv6的动态主机配置协 议应答( DHCPv6 Reply ) 消息, 该消息中含有分配给终端的 IPv6地 址和 IP主机配置信息。
本实施例在 RG中实现了代理 DAD , 从而使 DSL网络架构能够 支持无状态 IPv6地址自动分配。
如图 4 所示, 为本发明地址配置方法的第四实施例的流程示意 图。 本实施例包括:
步骤 401、 终端进行 LLA自动配置。
具体地,终端可以通过扩展唯一标识符 (EUI)-64的接口标识派生 一个 LLA, 其中的 LLA是一个暂定地址, 为实验状态。
步骤 402、 终端发起邻居请求(Neighbor Solicitation, NS )消息, 以对该 LLA进行重复地址探测, 该消息中包含有上述暂定 LLA; 步骤 403、 RG接收到邻居请求(Neighbor Solicitation, NS ) 消 息后,判断上述暂定 LLA是否与其 IP地址緩存中所存储的地址相同, 如果存在相同的地址, 则执行步骤 404; 如果不存在相同的地址, 则 直接执行步骤 406。 其中的 RG支持 LLA的代理重复地址探测, 建立和维护所代理 的用户的 IP地址緩存;
步骤 404、 RG 向终端发送代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 以提示该暂定 LLA是重复地址;
步骤 405、 终端接收到代理邻居通告 ( Proxy Neighbor Advertisements ) 消息后, 停止进行地址自动配置, 此时, 必须对终 端的主机执行手动配置。
可替换地, 本步骤中终端还可以进一步生成新的 LLA, 重复执 行步骤 401〜步骤 403;
步骤 406、 RG将上述暂定 LLA存储到 IP地址緩存中; 可替换地, 本步骤中, RG还可以将终端的 Neighbor Solicitation 消息转发给 BNG/BRAS, 进一步由 BNG/BRAS对该 LLA进行代理 重复地址探测,后续步骤同本发明地址配置方法的第一实施例中的步 骤 101〜步骤 106, 此处不再赘述。
步骤 407、 RG在上述 LLA中提取接口标识( Interface Identifier ), 根据该接口标识生成终端的 IPv6地址,该地址可以是私有 IPv6地址。
具体地, RG可以将该接口标识附加在终端所在的在线链路前缀 之后, 以生成终端的 IPv6地址, 该地址可以为私有 IPv6地址;
步骤 408、 若终端没有接收到代理邻居通告 (Proxy Neighbor Advertisements )消息, 则发起路由请求( Router Solicitation, RS )消 息, 以请求 RG所在 AR的路由通告 ( Router Advertisement, RA )消 息回应, 从而获取在线链路前缀;
步骤 409、 RG接收到路由请求(Router Solicitation, RS ) 消息 后, 代替其所在 AR向该终端回应路由通告( Router Advertisement ) 消息, 该消息中包含有上述在线链路前缀;
步骤 410、 终端根据获取到的在线链路前缀, 自动配置上述 IPv6 地址, 终端还可以进一步通过发起 DHCPv6获取 IP主机其它配置信 息。
本实施例也可以在 RG中实现代理 DAD, 从而使 DSL网络架构 能够支持无状态 IPv6地址自动分配。
如图 5 所示, 为本发明地址配置方法的第五实施例的流程示意 图。 本实施例包括:
步骤 501、 终端进行 LLA自动配置。
具体地,终端可以通过扩展唯一标识符 (EUI)-64的接口标识派生 一个 LLA, 其中的 LLA是一个暂定地址, 为实验状态。
步骤 502、 终端发起邻居请求(Neighbor Solicitation, NS )消息, 以对该 LLA进行重复地址探测, 该消息中包含有上述暂定 LLA; 步骤 503、 RG接收到邻居请求 ( Neighbor Solicitation, NS ) 消 息后,判断上述暂定 LLA是否与其 IP地址緩存中所存储的地址相同, 如果存在相同的地址, 则执行步骤 504; 如果不存在相同的地址, 则 执行步骤 506。
其中的 RG支持 LLA的代理重复地址探测, 建立和维护所代理 的用户的 IP地址緩存;
步骤 504、 RG 向终端发送代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 以提示该暂定 LLA是重复地址;;
步骤 505、 终端接收到代理邻居通告 ( Proxy Neighbor Advertisements ) 消息后, 停止进行地址自动配置, 此时, 必须对终 端的主机执行手动配置。
可替换地, 本步骤中终端还可以进一步生成新的 LLA, 重复执 行步骤 501〜步骤 503;
步骤 506、 RG将上述暂定 LLA存储到 IP地址緩存中; 可替换地, 本步骤中, RG还可以将终端的 Neighbor Solicitation 消息转发给 BNG/BRAS, 进一步由 BNG/BRAS对该 LLA进行代理 重复地址探测,后续步骤同本发明地址配置方法的第一实施例中的步 骤 101〜步骤 106, 此处不再赘述。
步骤 507、 若终端没有接收到代理邻居通告 (Proxy Neighbor Advertisements ) 消息, 则向 RG发起支持 IPv6的动态主机配置协议 请求( DHCPv6 Solicit ) 消息; 步骤 508、 RG 接收到支持 IPv6 的动态主机配置协议请求 ( DHCPv6 Solicit ) 消息, 向 AR发起路由请求( Router Solicitation, RS ) 消息, 以请求 RG所在 AR的路由通告 (Router Advertisement, RA ) 消息回应, 从而获取在线链路前缀;
步骤 509、 RG所在 AR接收到路由请求( Router Solicitation , RS ) 消息后, 向该 RG回应路由通告 ( Router Advertisement ) 消息, 该消 息中包含有上述在线链路前缀;
步骤 510、 RG接收到路由通告(Router Advertisement ) 消息, 向终端回应支持 IPv6的动态主机配置协议通告 ( DHCPv6 Advertise ) 消息;
步骤 511、 RG根据获取到的在线链路前缀, 自动配置分配给终 端的 IPv6地址, 该地址可以是全局 IPv6地址;
步骤 512、 终端接收到支持 IPv6 的动态主机配置协议通告 ( DHCPv6 Advertise )消息后, 向 RG发送支持 IPv6的动态主机配置 协议请求( DHCPv6 Request ) 消息;
步骤 513、 RG 接收到支持 IPv6 的动态主机配置协议请求 ( DHCPv6 Request ) 消息后, 向终端回应支持 IPv6的动态主机配置 协议应答(DHCPv6 Reply ) 消息, 该消息中含有分配给终端的 IPv6 地址和 IP主机配置信息。
本实施例同样可以在 RG中实现代理 DAD, 从而使 DSL网络架 构能够支持无状态 IPv6地址自动分配。
如图 6 所示, 为本发明地址配置装置的具体实施例的结构示意 图。 本实施例包括顺次连接的探测模块 21、 配置模块 22和通告模块 23。 其中, 探测模块 21用于接收到终端发送的携带有链路本地地址 的邻居请求消息后, 将所述链路本地地址与预置的 IP地址緩存中的 地址进行比较, 判断所述 IP地址緩存中是否存在与所述链路本地地 址匹配的地址;配置模块 22用于当探测模块 21判断出不存在与所述 链路本地地址匹配的地址时, 则将所述链路本地地址存储到所述 IP 地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所 述终端发送所述 IPv6地址; 通告模块 23用于当探测模块 21判断出 存在与所述链路本地地址匹配的地址时, 则发送代理邻居通告消息 , 以提示所述链路本地地址重复地址。
本实施例的地址配置装置可以实现代理 DAD, 可以独立设置, 也可以与 BNG/BRAS或 RG等 DSL网络架构中的其他网络实体一体 化设置, 从而使 DSL网络架构能够支持无状态 IPv6地址自动分配。
如图 7 所示, 为本发明地址配置系统的具体实施例的结构示意 图。 本实施例包括相互连接的终端 10和地址配置装置 20。 其中, 地 址配置装置 20包括顺次连接的探测模块 21、 配置模块 22和通告模 块 23。 其中, 探测模块 21用于接收到终端发送的携带有链路本地地 址的邻居请求消息后, 将所述链路本地地址与预置的 IP地址緩存中 的地址进行比较, 判断所述 IP地址緩存中是否存在与所述链路本地 地址匹配的地址;配置模块 22用于当探测模块 21判断出不存在与所 述链路本地地址匹配的地址时,则将所述链路本地地址存储到所述 IP 地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所 述终端发送所述 IPv6地址; 通告模块 23用于当探测模块 21判断出 存在与所述链路本地地址匹配的地址时, 则发送代理邻居通告消息 , 以提示所述链路本地地址重复地址。
本实施例的地址配置系统中的地址配置装置可以实现代理 DAD, 可以独立设置, 也可以与 BNG/BRAS或 RG等 DSL网络架构 中的其他网络实体一体化设置, 从而使 DSL网络架构能够支持无状 态 IPv6 LLA的自动分配。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以可借助软件加必要的通用硬件平 台的方式来实现基于这样的理解,本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。 总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种地址配置方法, 其特征在于包括:
接收到终端发送的携带有链路本地地址的邻居请求消息后,将所 述链路本地地址与 IP地址緩存中的地址进行比较, 判断所述 IP地址 緩存中是否存在与所述链路本地地址匹配的地址;
若不存在与所述链路本地地址匹配的地址时,则将所述链路本地 地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所述 IPv6地址;
若存在与所述链路本地地址匹配的地址时,则向所述终端发送代 理邻居通告消息, 以提示所述链路本地地址是重复地址。
2、 根据权利要求 1所述的地址配置方法, 其特征在于, 所述生 成所述终端的互联网协议第 6版 IPv6地址具体为:
提取所述链路本地地址中的接口标识;
居所述接口标识生成终端的 IPv6地址。
3、 根据权利要求 2所述的地址配置方法, 其特征在于, 所述向 所述终端发送所述地址具体为: 接收到所述终端发送的路由请求消 息, 向所述终端回应携带有所述 IPv6地址的路由通告消息。
4、 根据权利要求 1所述的地址配置方法, 其特征在于, 所述生 成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所述 IPv6地址具体为:
接收到所述终端发送的支持 IPv6的动态主机配置协议请求消息 后, 向所述终端回应支持 IPv6的动态主机配置协议通告消息;
再次接收到所述终端发送的支持 IPv6的动态主机配置协议请求 消息后, 向所述终端回应支持 IPv6的动态主机配置协议应答消息, 所述应答消息中携带有分配给所述终端的 IPv6地址和 IP主机配置信 息。
5、 根据权利要求 1所述的地址配置方法, 其特征在于, 所述生 成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所述 IPv6地址具体为:
接收到所述终端发送的支持 IPv6的动态主机配置协议请求消息 后, 向路由器发送路由请求消息;
接收到所述路由器回应的携带有线链路前缀的路由通告消息后, 向所述终端回应携带有在线链路前缀的支持 IPv6的动态主机配置协 议通告消息, 并根据所述在线链路前缀生成所述终端的 IPv6地址; 接收到所述终端回应的支持 IPv6的动态主机配置协议请求消息 后, 向终端回应支持 IPv6的动态主机配置协议应答消息, 该应答消 息中携带有所述终端的 IPv6地址和 IP主机配置信息。
6、 一种地址配置装置, 其特征在于, 包括:
探测模块,用于接收到终端发送的携带有链路本地地址的邻居请 求消息后, 将所述链路本地地址与 IP地址緩存中的地址进行比较, 判断所述 IP地址緩存中是否存在与所述链路本地地址匹配的地址; 配置模块,用于当所述探测模块判断出不存在与所述链路本地地 址匹配的地址时, 则将所述链路本地地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所 述 IPv6地址;
通告模块,用于当所述探测模块判断出存在与所述链路本地地址 匹配的地址时, 则向所述终端发送代理邻居通告消息, 以提示所述链 路本地地址是重复地址。
7、 根据权利要求 6所述的地址配置装置, 其特征在于, 所述配 置模块包括地址分发单元,该单元用于在接收到所述终端发送的路由 请求消息后, 向所述终端回应携带有所述 IPv6地址的路由通告消息。
8、 一种地址配置系统, 包括终端和地址配置装置, 其特征在于, 所述地址配置装置包括:
探测模块,用于接收到终端发送的携带有链路本地地址的邻居请 求消息后, 将所述链路本地地址与 IP地址緩存中的地址进行比较, 判断所述 IP地址緩存中是否存在与所述链路本地地址匹配的地址; 配置模块,用于当所述探测模块判断出不存在与所述链路本地地 址匹配的地址时, 则将所述链路本地地址存储到所述 IP地址緩存中, 生成所述终端的互联网协议第 6版 IPv6地址, 并向所述终端发送所 述 IPv6地址;
通告模块,用于当所述探测模块判断出存在与所述链路本地地址 匹配的地址时, 则向所述终端发送代理邻居通告消息, 以提示所述链 路本地地址是重复地址。
9、 根据权利要求 8所述的地址配置系统, 其特征在于, 所述地 址配置装置独立设置。
10、 根据权利要求 8所述的地址配置系统, 其特征在于, 所述地 址配置装置与宽带网络网关 /宽带接入服务器或驻地网关一体化设 置。
PCT/CN2009/071012 2008-03-26 2009-03-25 地址配置方法、装置和系统 WO2009117963A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09724624.3A EP2267984B1 (en) 2008-03-26 2009-03-25 Address configuring method, apparatus and system
US12/882,021 US8260888B2 (en) 2008-03-26 2010-09-14 Address configuration method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810102783.9 2008-03-26
CN2008101027839A CN101547223B (zh) 2008-03-26 2008-03-26 地址配置方法、装置和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/882,021 Continuation US8260888B2 (en) 2008-03-26 2010-09-14 Address configuration method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2009117963A1 true WO2009117963A1 (zh) 2009-10-01

Family

ID=41112981

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071012 WO2009117963A1 (zh) 2008-03-26 2009-03-25 地址配置方法、装置和系统

Country Status (4)

Country Link
US (1) US8260888B2 (zh)
EP (1) EP2267984B1 (zh)
CN (1) CN101547223B (zh)
WO (1) WO2009117963A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5536225B2 (ja) 2009-11-17 2014-07-02 ▲ホア▼▲ウェイ▼技術有限公司 重複アドレス検出プロキシのための方法、装置およびシステム
CN102447746B (zh) * 2010-10-08 2015-04-08 华为技术有限公司 信息提供方法及家庭网关、家庭网络系统
CN102025798B (zh) * 2010-12-15 2013-12-04 华为技术有限公司 地址分配处理方法、装置和系统
US8819191B2 (en) * 2011-07-12 2014-08-26 Cisco Technology, Inc. Efficient use of dynamic host configuration protocol in low power and lossy networks
WO2013020283A1 (zh) * 2011-08-10 2013-02-14 华为技术有限公司 处理地址的方法、数据网关和系统
CN102932491B (zh) * 2011-08-12 2018-02-09 中兴通讯股份有限公司 地址配置方法和系统
CN103167048A (zh) * 2011-12-12 2013-06-19 华为技术有限公司 基于IPv6的二层互通的方法、装置和系统
CN102594882A (zh) * 2012-02-08 2012-07-18 神州数码网络(北京)有限公司 一种基于DHCPv6监听的邻居发现代理方法和系统
CN102546308B (zh) * 2012-02-10 2015-10-07 神州数码网络(北京)有限公司 基于重复地址检测实现邻居发现代理的方法和系统
CN102546661B (zh) * 2012-02-21 2015-08-26 神州数码网络(北京)有限公司 一种防止IPv6网关邻居欺骗攻击的方法及系统
US8886775B2 (en) * 2012-03-08 2014-11-11 Cisco Technology, Inc. Dynamic learning by a server in a network environment
KR101466729B1 (ko) * 2013-05-28 2014-12-01 삼성에스디에스 주식회사 IPv6 환경에서의 단말 정보 통합 관리 장치 및 방법
KR20150106122A (ko) * 2014-03-11 2015-09-21 한국전자통신연구원 IPv6 주소 설정 방법
CN106303978A (zh) * 2015-06-07 2017-01-04 联芯科技有限公司 android系统上无状态方式获取IPV6地址的方法
CN112737946B (zh) * 2019-10-14 2023-09-05 中兴通讯股份有限公司 用于IPv6网络的路由通告方法、装置、存储介质和系统
US20220182320A1 (en) * 2020-12-04 2022-06-09 The Boeing Company Secure data connections in low data rate networks
US20230269223A1 (en) * 2022-02-22 2023-08-24 Cisco Technology, Inc. Secured advertisement of autoconfigured internet protocol prefixes in a cloud environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243850A1 (en) * 2003-05-29 2004-12-02 Canon Kabushiki Kaisha Apparatus for limiting use of particular network address
KR20050017182A (ko) * 2003-08-11 2005-02-22 삼성전자주식회사 IPv6 환경하에서 빠른 핸드오프를 위해 엑세스라우터가관리하는 정보를 이용한 DAD 수행방법
CN1692606A (zh) * 2003-01-15 2005-11-02 三星电子株式会社 自动注册互联网协议协议版本6的互联网协议地址和域名的方法
CN1901551A (zh) * 2005-07-19 2007-01-24 上海贝尔阿尔卡特股份有限公司 一种支持IPv6的二层接入网中重复地址检测方法及其装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI109950B (fi) * 2000-01-20 2002-10-31 Nokia Corp Osoitteen saanti
US20030026230A1 (en) * 2001-08-02 2003-02-06 Juan-Antonio Ibanez Proxy duplicate address detection for dynamic address allocation
EP1355447B1 (en) * 2002-04-17 2006-09-13 Canon Kabushiki Kaisha Public key certification providing apparatus
KR101166765B1 (ko) * 2004-05-07 2012-07-27 엘지전자 주식회사 IPv4 및 IPv6을 지원하기 위한 IP 주소 설정
JP4852110B2 (ja) * 2006-03-06 2012-01-11 華為技術有限公司 IPv6アドレス取得装置、方法、及びシステム
KR100886433B1 (ko) * 2006-08-18 2009-03-02 한국전자통신연구원 확장된 브릿지를 이용한 무선통신 시스템에서의 IPv6지원 방법
US8160038B1 (en) * 2007-08-06 2012-04-17 Marvell International Ltd. Packet data network specific addressing solutions with network-based mobility

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692606A (zh) * 2003-01-15 2005-11-02 三星电子株式会社 自动注册互联网协议协议版本6的互联网协议地址和域名的方法
US20040243850A1 (en) * 2003-05-29 2004-12-02 Canon Kabushiki Kaisha Apparatus for limiting use of particular network address
KR20050017182A (ko) * 2003-08-11 2005-02-22 삼성전자주식회사 IPv6 환경하에서 빠른 핸드오프를 위해 엑세스라우터가관리하는 정보를 이용한 DAD 수행방법
CN1901551A (zh) * 2005-07-19 2007-01-24 上海贝尔阿尔卡特股份有限公司 一种支持IPv6的二层接入网中重复地址检测方法及其装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2267984A4 *

Also Published As

Publication number Publication date
EP2267984A1 (en) 2010-12-29
CN101547223A (zh) 2009-09-30
CN101547223B (zh) 2012-11-21
EP2267984A4 (en) 2011-08-03
EP2267984B1 (en) 2014-05-07
US8260888B2 (en) 2012-09-04
US20110004674A1 (en) 2011-01-06

Similar Documents

Publication Publication Date Title
WO2009117963A1 (zh) 地址配置方法、装置和系统
EP2364543B1 (en) Broadband network access
JP5551247B2 (ja) マルチnat64環境のための方法及びホストノード
JP4728792B2 (ja) Ip通信装置およびこれを備えたip通信システムならびにip通信装置のipアドレス設定方法
JP4975190B2 (ja) IPv6ネットワーク内のホストの探索方法
EP2536108B1 (en) Method, system and apparatus for acquiring ipv6 configuration information in ipv6 transient network
US20120324063A1 (en) Method, network device, and system for automatically configuring network device in ipv6 network
US7760666B2 (en) Method of generating and managing connection identifiers for supporting multicast for each group in IPv6-based wireless network and network interface using the method
JP2007520970A (ja) トンネリングサービス方法及びシステム
WO2010069181A1 (zh) Ipv6地址配置方法和系统
WO2007009367A1 (fr) Méthode de détection de doublons d’adresse dans un réseau d’accès deux couches ipv6 et système pour celle-ci
WO2009117960A1 (zh) 一种接入网络的方法、认证方法、通讯系统以及相关设备
WO2013185731A2 (zh) 一种自动管理IPv6地址冲突的方法及系统
WO2014047919A1 (zh) 一种分配地址的方法、装置及系统
WO2007028306A1 (fr) Procede de reconstruction de l'adresse reseau dans le reseau d'acces ipv6
US20140313933A1 (en) Method, apparatus, and system for layer 2 interworking based on ipv6
US20140032782A1 (en) Method and apparatus for route selection of host in multihoming site
WO2013186969A1 (ja) 通信情報検出装置及び通信情報検出方法
JP4054719B2 (ja) 特定アドレス使用制限装置
CN104935677A (zh) 一种nat64资源获取方法及获取/分配装置
WO2011095109A1 (zh) 实现在不同网络间进行通信的方法及装置
WO2011044729A1 (zh) 通信网络中用于检测任意播组配置情况的方法和装置
JP2005210554A (ja) Dhcp代理サーバ
WO2009109141A1 (zh) 一种IPv6会话的存活检测的方法、装置及系统
JP2010157857A (ja) Vpn接続装置、パケット制御方法、及びプログラム

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: 09724624

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009724624

Country of ref document: EP