WO2014056441A1 - 一种在CPE上配置IPv6过渡技术的方法及设备 - Google Patents

一种在CPE上配置IPv6过渡技术的方法及设备 Download PDF

Info

Publication number
WO2014056441A1
WO2014056441A1 PCT/CN2013/084959 CN2013084959W WO2014056441A1 WO 2014056441 A1 WO2014056441 A1 WO 2014056441A1 CN 2013084959 W CN2013084959 W CN 2013084959W WO 2014056441 A1 WO2014056441 A1 WO 2014056441A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
cpe
dhcpv6
configuration parameter
transition technology
Prior art date
Application number
PCT/CN2013/084959
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 中国移动通信集团公司
Publication of WO2014056441A1 publication Critical patent/WO2014056441A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • 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

Definitions

  • the present invention relates to the field of communication network technologies, and in particular, to a method and device for configuring an IPv6 transition technology on a CPE (Customer Premise Equipment).
  • CPE Customer Premise Equipment
  • IPv4 Internet Protocol Version 4, Internet Protocol Version 4
  • IPv6 Internet Protocol Version 6, Internet Protocol Version 6
  • the IPv6 transition technology can be divided into three categories: double stack, tunnel, and translation. There are dozens of specific technologies.
  • IPv6 transition technologies Different IPv6 transition technologies may be used; different operators may choose different IPv6 transition technologies.
  • the equipment manufacturer's CPE products may support multiple IPv6 transition technologies to meet the needs of different operators. That is, equipment vendors generally introduce CPEs that support multiple technologies without developing specific CPEs for a certain operator.
  • the operator can only control the IPv6 transition technology of the CPE through the network management or the configuration in advance.
  • the following methods are generally adopted: pre-configuration and door-to-door service.
  • the IPv6 transition technology of the CPE device is configured in advance. The drawback of this method is that once the user modifies the configuration of the CPE or replaces the CPE device autonomously, the service may be unavailable.
  • the embodiments of the present invention provide a method and a device for configuring an IPv6 transition technology on a CPE, so as to implement an IPv6 transition technology conveniently and quickly on a CPE device.
  • An embodiment of the present invention provides a method for configuring an IPv6 transition technology on a CPE, where the method includes:
  • the embodiment of the present invention further provides a method for configuring an IPv6 transition technology on a CPE, where the method includes:
  • the CPE sends a dynamic host setting protocol DHCP/DHCPv6 request message to the server; the CPE receives a response message of the corresponding protocol returned by the server, and the response message of the corresponding protocol encapsulates an option Option that carries the IPv6 transition technology configuration parameter.
  • the IPv6 transition technology configuration parameter is used to instruct the CPE to use the corresponding IPv6 transition technology for communication;
  • the CPE obtains an IPv6 transition technology configuration parameter from the response message of the corresponding protocol, and performs configuration.
  • the embodiment of the invention further provides a server, including:
  • a receiving module configured to receive a dynamic host setting protocol DHCP/DHCPv6 request message sent by the CPE;
  • a processing module configured to process, according to the DHCP/DHCPv6 request message received by the receiving module, and generate a response message of the corresponding protocol, where the response message of the corresponding protocol is encapsulated with an option Option that carries the IPv6 transition technology configuration parameter.
  • the IPv6 transition technology configuration parameter is used to instruct the CPE to use the corresponding IPv6 transition technology for communication;
  • a sending module configured to send, to the CPE, a response message of a corresponding protocol generated by the processing module.
  • the embodiment of the invention further provides a CPE device, including:
  • a sending module configured to send a dynamic host setting protocol to the server, DHCP/DHCPv6 request cancellation Interest rate
  • a receiving module configured to receive a response message of a corresponding protocol returned by the server, where the response message of the corresponding protocol is encapsulated with an option Option that carries an IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is used to indicate that the CPE adopts Corresponding IPv6 transition technology for communication;
  • a processing module configured to obtain an IPv6 transition technology configuration parameter from the response message of the corresponding protocol received by the receiving module, and perform configuration.
  • the solution for configuring the IPv6 transition technology on the CPE is provided by the embodiment of the present invention.
  • the server receives the DHCP/DHCPv6 request message sent by the CPE, and returns a response message of the corresponding protocol to the CPE according to the request message, where the package carries the IPv6 transition.
  • the Option Option of the technical configuration parameters solves the problems that arise between the operators, users, and CPE equipment manufacturers in the process of configuring and managing the IPv6 transition technology of the CPE equipment.
  • the transformation of the server and CPE equipment is small and easy to implement;
  • the IP address and the message interaction in the configuration parameter allocation process complete the configuration of the CPE device IPv6 transition technical parameters, without increasing the extra message interaction burden between the CPE and the server, and saving bandwidth resources.
  • FIG. 1 is a schematic structural diagram of a DHCPv6 message Option according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of specifying an IPv6 configuration parameter for a CPE by using an IPv6 address and network configuration parameter allocation process and a lease renewal process according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic flowchart of specifying a IPv6 configuration parameter for a CPE by using a DHCPv6 stateless configuration process according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic structural diagram of a DHCP message Option according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of the process of assigning IPv6 configuration parameters to a CPE by using an IPv4 address and network configuration parameter allocation process and other network configuration parameter allocation processes according to Embodiment 3 of the present invention
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a CPE device according to an embodiment of the present invention.
  • the DHCP and DHCPv6 protocols are one of the basic protocols of the network. After any host and terminal access the network, they usually obtain the IPv4 or IPv6 address through DHCP or DHCPv6 protocol, and then proceed. Interact with the information of the communication peer.
  • the three-layer CPE device in the IPv4 environment supports the DHCP protocol.
  • the RFC6204/6204bis requires that the CPE device in the IPv6 environment must support the DHCPv6 protocol.
  • An embodiment of the present invention provides a method for configuring an IPv6 transition technology on a CPE.
  • the Option option is configured in a DHCP/DHCPv6 (DHCP or DHCPv6) message.
  • the Option option carries the IPv6 transition technical parameters used by the local network.
  • the DHCP/DHCPv6 message carrying the Option option is exchanged to facilitate the control of the IPv6 transition technical parameters specified by the CPE.
  • the CPE uses the corresponding IPv6 transition technology to communicate with the network.
  • the client is a CPE
  • the server stores the IPv6 transition technology configuration parameter specified for the CPE in the network, which may be a BRAS.
  • This embodiment describes a process of configuring an IPv6 transition technology configuration parameter for a CPE by using a DHCPv6 protocol message.
  • the following describes the process of configuring IPv6 transition technical parameters for the CPE in the IPv6 address and network parameter allocation process. As shown in the figure, the process includes the following steps:
  • Step 201 The CPE broadcasts a DHCPv6-Solicit message (DHCPv6 configuration parameter request message) to request the server in the network to allocate an IPv6 address and a network configuration parameter.
  • DHCPv6 configuration parameter request message DHCPv6 configuration parameter request message
  • Step 202 The server sends a DHCPv6-Advertise message (DHCPv6 advertisement message) to the CPE according to the DHCPv6-Solicit message, to notify the CPE of the assigned IPv6 address and network configuration parameters.
  • DHCPv6 advertisement message DHCPv6 advertisement message
  • the server after receiving the DHCPv6-Solicit message sent by the CPE, the server selects an IPv6 address according to the priority of the IPv6 address allocation, and sends the IPv6 address to the CPE along with the network configuration parameters.
  • multiple servers send DHCPv6 messages to the CPE to allocate network configuration parameters such as IPv6 address and IP v6 address lease time to the CPE.
  • Step 203 The CPE sends a DHCPv6-Request message (DHCPv6 acknowledgment request message) to the server, to request the server to confirm the address and network configuration parameters. If the CPE receives the DHCPv6-Advertise message sent by multiple servers, select one of the servers according to the order of receiving, the priority of the server, etc., and send a DHCPv6-Request message to the server, requesting the server to confirm the address and Network configuration parameters.
  • DHCPv6-Request message DHCPv6 acknowledgment request message
  • Step 204 After receiving the DHCPv6-Request message, the server selected by the CPE returns a DHCPv6-Reply message (DHCPv6 acknowledgment message) if it confirms that the IPv6 address and the network configuration parameter are allocated to the CPE, and the DHCPv6-Reply message is encapsulated.
  • the Option option is used to carry IPv6 transition technology configuration parameters to allow or require the CPE to use the corresponding IPv6 transition technology.
  • the Option option for carrying the IPv6 transition technology configuration parameter is a newly defined option in the embodiment of the present invention (for convenience of description, the Option option is hereinafter referred to as an OPTION_TRA_TYPE type Option option), the OPTION- The specific format of the Option option of the TRA-TYPE type is shown in Figure 1, including:
  • the Option option identifies: OPTION— TRA— TYPE, which will be defined by IANA (The Internet Assigned Numbers Authority);
  • Option option length (Option-len): The length is 2 bytes.
  • Option option data Transition technology type (configuration parameter) for IPv6.
  • IPv6 transition technologies can include: dual stack, DSLITE (lightweight dual stack), 6RD (IPv6 Rapid Deployment), 6to4 (IPv6 to IPv4 tunnel), 6over4 (IPv6 over IPv4 tunnel), NAT (Network Address Translation, Network address translation) 64, BIH (Bump in the host) and other types, each IPv6 transition technology can be identified by the corresponding IPv6 transition technology configuration parameters. Table 1 shows the corresponding relationship between IPv6 transition technology configuration parameters and IPv6 transition technology. : Table 1
  • the CPE After receiving the DHCPv6-Reply message, the CPE parses the DHCPv6-Reply message, obtains the IPv6 transition technology configuration parameters, and configures it in the CPE to use the corresponding The IPv6 transition technology communicates with the network side.
  • the Option_option of the OPTION_TRA_TYPE type newly defined in the embodiment of the present invention may be encapsulated in the DHCPv6-Request message, where the Mode value carried in the Option option is null, indicating that the request server is the
  • the CPE specifies the IPv6 transition technology configuration parameters.
  • the server encapsulates the IPv6 transition technology configuration parameter specified by the CPE device in the Option of the OPTION_TRA_TYPE of the DHCPv6-Reply message, and sends the option to the CPE.
  • the Mode value of the TRA-type Option option can also be the IPv6 transition technology configuration parameter supported by the CPE device. After receiving the DHCPv6-Request message sent by the CPE, the server parses the DHCPv6-Request message and obtains the OPTION.
  • TRA Type Option option to determine whether the Mode value is consistent with the preset IPv6 transition technology configuration parameters of the CPE. If they are consistent, send a DHCPv6-Reply message to the CPE to confirm that the IPv6 address is assigned to the CPE device.
  • the option of the OPTION-TRA-TYPE option is encapsulated in the DHCPv6-Reply message.
  • the Mode value is the IPv6 transition technology configuration parameter specified by the CPE.
  • the server will encapsulate the IPv6 transition technology configuration parameters specified for the CPE in DHCPv6. -OPTION of the -Reply message - TRA - Option of type TYPE, sent to the CPE. For example, the server parses out that the Option value of the DHCPv6-Request message is 0, and the IPv6 transition technology configuration parameter specified for the CPE stored in the server is 1, indicating that the default IPv6 transition technology supported by the CPE is specified by the network side.
  • the Option value is set to 1 (the IPv6 transition technology configuration parameter specified for the CPE in the server), and encapsulate the Option option in the DHCPv6-Reply message and send it to the CPE.
  • the CPE may also encapsulate the Option of the OPTION_TRA_TYPE type in the DHCPv6-Solicit message and send it to the server.
  • the Mode value of the Option option may be null or the IPv6 transition configured for the CPE by default.
  • the server may encapsulate the IPv6 transition technology configuration parameter specified for the CPE device in the Option_option of the OPTION_TRA_TYPE type of the DHCPv6-Advertise message, and send the option to the CPE.
  • Step 205 When the IPv6 address lease time reaches the time T1 (the recommended value is half of the lifetime Preferred Lifetime), the CPE sends a DHCPv6-Renew message (DHCPv6 lease renewal request message) to the server to update the address lease, the DHCPv6
  • the -Renew message encapsulates an Option of the OPTION_TRA_TYPE type, which is used to carry the configuration parameters of the IPv6 transition technology, and the IPv6 transition technology configuration parameter of the bearer is null or the configuration parameter of the IPv6 transition technology currently configured for the CPE.
  • the Option The configured IPv6 transition technology configuration parameter is empty.
  • Step 206 If the server allows the CPE to continue to use the IP address, send a DHCPv6-Reply message (DHCPv6 renewal success message) to the CPE, to notify the CPE that the address lease has been successfully updated, and the DHCPv6-Reply message is encapsulated with an IPv6 transition technology.
  • Configure the parameter OPTION_TRA_TYPE Option where the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE; if the server does not allow the CPE to continue to use the IPv6 address, send the DHCPv6 renewal to the CPE.
  • a failure message tells the CPE not to get a new lease.
  • Step 207 The CPE multicasts and sends a DHCPv6-Rebind message (DHCPv6 address binding message) to all servers to request to update the lease.
  • the DHCPv6-Rebind message encapsulates an Option of the OPTION_TRA_TYPE type for carrying the IPv6 transition technology configuration parameter.
  • the configuration parameters of the IPv6 transition technology carried by the CPE are empty or configured for the IPv6 transition technology currently configured by the CPE.
  • the CPE sends a DHCPv6-Renew request to update the lease at T1, but does not receive a response message from the server, the CPE sends a DHCPv6-Rebind message requesting an update lease when T2 (the recommended value is 0.8 times the lifetime).
  • Step 208 If the server allows the CPE to continue to use the IPv6 address, send a DHCPv6-Reply message (DHCPv6 renewal success message) to the CPE, and notify the CPE that the address lease has been successfully updated.
  • the DHCPv6-Reply message is encapsulated with an IPv6 transition technology configuration.
  • the server does not allow the CPE to continue to use the IPv6 address, it sends a DHCPv6 renewal failure message to the CPE, notifying the client that the new lease cannot be obtained. If the CPE does not receive the response message from the server, the CPE stops using the valid lifetime. The IPv6 address.
  • Embodiment 2 This embodiment describes the process of specifying the IPv6 transition technology configuration parameters of the CPE through DHCPv6 stateless configuration.
  • the DHCPv6 server can allocate other network configuration parameters to the client that already has the IPv6 address.
  • This process is called DHCPv6 stateless configuration.
  • the process includes the following steps: Step 301: When the CPE device is initialized, the CPE sends the server to the server. Send a DHCP v6-Router-solicit message (DHCPv6 Router Request message) to request an IPv6 address for it.
  • Step 302 The server sends a DHCPv6-Router-advertise message (DHCPv6 router advertisement message) to the CPE according to the DHCPv6-Router-solicit message.
  • DHCPv6 router advertisement message DHCPv6 router advertisement message
  • the server When the managed address configuration flag M in the DHCPv6-Router-advertise message is 0, and the other configuration flag 0 is 1, the server notifies the CPE to use the address stateless auto-configuration function to obtain an IPv6 address.
  • the server passes DHCPv6-Router- The advertise message assigns an IPv6 address to the CPE, which does not carry other network configuration parameters.
  • Step 303 The CPE sends a DHCPv6-Information-request message (DHCPv6 configuration information request message) to the server in a multicast manner, and specifies a configuration information that the CPE needs to obtain from the server.
  • the DHCPv6-Information-request message is encapsulated with an IPv6 transition technology.
  • the CPE after the CPE successfully obtains an IPv6 address by using the stateless auto-configuration function, the CPE automatically starts the DHCPv6 stateless configuration function to obtain other network configuration parameters except the address.
  • Step 304 After receiving the DHCPv6-Information-request message, the server allocates network configuration information (including DNS, NTP, and IPv6 transition technology configuration information, etc.) to the CPE, and unicasts the DHCPv6-Information-Reply message (DHCPv6 configuration information request reply) The message is to be returned to the CPE, and the DHCPv6-Information-Reply message is encapsulated with an Option of the OPTION_TRA_TYPE type, which carries the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is The IPv6 transition technology configuration parameters specified by the server for the CPE.
  • network configuration information including DNS, NTP, and IPv6 transition technology configuration information, etc.
  • the CPE receives multiple DHCPv6-Information-Reply messages, select the first received DHCPv6-Information-Reply message, and complete the CPE according to the parameters provided in the message. Status configuration.
  • This embodiment describes a process of specifying a Pv4 transition technology configuration parameter of a CPE by using a DHCP protocol message.
  • the embodiment of the present invention defines the Option option format of the DHCP protocol message, as shown in FIG. 4, including: Option option identifier, Option option length (Option-len), and Option option data, Option field definition of DHCP protocol message and DHCPv6 protocol.
  • Option option identifier e.g., Option-len
  • Option option data e.g., Option field definition of DHCP protocol message
  • DHCPv6 protocol e.g., DHCPv6 protocol.
  • the following describes the process of configuring the IPv6 transition technology for the CPE in the IPv4 address and network parameter allocation process. As shown in the figure, the process includes the following steps:
  • Step 501 The CPE sends a DHCP-Discover message (DHCP configuration parameter request message) in a broadcast manner to request the DHCP server to allocate an IPv4 address and a network configuration parameter.
  • DHCP configuration parameter request message DHCP configuration parameter request message
  • This step is the discovery phase of the DHCP address allocation, that is, the stage in which the DHCP client (CPE device) searches for the DHCP server.
  • Step 502 After receiving the DHCP-Discover message (DHCP configuration parameter request message) sent by the CPE, the DHCP server selects an IPv4 address according to the priority order of the IPv4 address allocation, and passes the DHCP-Offer message together with other network configuration parameters.
  • the DHCP Advertisement message is sent to the CPE.
  • This step is the provisioning phase of the DHCP address allocation process, that is, the phase in which the DHCP server provides the IPv4 address.
  • the way the DHCP-Offer message is sent is determined by the flag option in the DHCP-Discover message.
  • Step 503 The CPE sends a DHCP-Request message (DHCP Confirmation Request message) to the selected DHCP server to request confirmation to accept the assigned IPv4 address and network configuration parameters.
  • DHCP Confirmation Request message DHCP Confirmation Request message
  • This step is the selection phase of the DHCP address allocation process, that is, the phase in which the CPE selects an IPv4 address. If multiple DHCP servers send DHCP-Offer messages to the CPE, the CPE only accepts the first received DHCP-Offer message, and then broadcasts a DHCP-Request message, which contains the server's DHCP-Offer message. The assigned IPv4 address and network configuration parameters.
  • Step 504 The DHCP server sends a DHCP-Ack message (DHCP acknowledgement message) to the CPE to confirm that the IPv4 address and network configuration parameters are assigned to the CPE.
  • This step is the confirmation phase of the DHCP address allocation process, that is, the stage in which the DHCP server confirms the IPv4 address.
  • the DHCP server receives the DHCP-Request message from the CPE, only the DHCP server selected by the CPE performs the following operations: If the DHCP server confirms that the IPv4 address and network configuration parameters are assigned to the CPE, a DHCP-Ack message is returned, indicating that the confirmation will be The IPv4 address and network configuration parameters are assigned to the CPE. In this case, the CPE can use the IPv4 address and network configuration parameters. Otherwise, a DHCP-Nack message is returned, indicating that the address cannot be assigned to the CPE.
  • the DHCP-Ack message encapsulates an Option of the OPTION_TRA_TYPE type for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is a configuration parameter of the IPv6 transition technology specified by the DHCP server for the CPE, for example, DHCP.
  • the DHCP-Request message sent by the CPE to the DHCP server may be encapsulated with an Option of the OPTION_TRA_TYPE type for carrying the IPv6 transition technology configuration parameter, where the configured IPv6 transition technology configuration parameter is empty or IPv6 transition technology configuration parameters configured by default on the CPE. If the Mode value of the Option option is blank, the CPE does not specify the IPv6 transition technology by default, but leaves it to the DHCP server for the CPE.
  • the CPE may also encapsulate the Option of the OPTION_TRA_TYPE type in a DHCP-Discover message and send it to the DHCP server.
  • the Mode value of this Option option can be empty.
  • the DHCP server encapsulates the IPv6 transition technology configuration parameter specified by the CPE in the Option of the OPTION_TRA_TYPE of the DHCP-Offer message, and sends the parameter to the CPE.
  • the DHCP server may send a DHCP-Inform message to the DHCP server.
  • the process includes The following steps:
  • Step 505 The CPE sends a DHCP-Inform message (DHCP notification message) to the DHCP server, where the DHCP-Inform message encapsulates the network configuration parameter for carrying the IPv6 transition technology configuration parameter and the DHCP server allocates the CPE and the OPTION_TRA_TYPE type.
  • the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter currently configured for the CPE.
  • Step 506 The DHCP server sends a DHCP-Ack message to the CPE according to the Inform message. (DHCP acknowledgment message), the DHCP-Ack message is encapsulated with an Option of the OPTION_TRA_TYPE type for carrying the IPv6 transition technology configuration parameter, wherein the IPv6 transition technology configuration parameter carried by the DHCP server is the IPv6 transition technology specified by the DHCP server for the CPE. Configuration parameters.
  • the operation mode of the IPv6 transition technology configuration parameter for the CPE includes active and passive.
  • the active mode is the one-to-one answer mode. That is, the CPE requests the IPv6 transition technology configuration parameter from the server, and the server responds; the passive mode In this case, the CPE does not need to request the IPv6 transition technology configuration parameter from the server.
  • the server directly encapsulates the IPv6 transition technology configuration parameter in the message and sends it to the CPE, so that the network side device specifies the IPv6 transition technology for the CPE.
  • the IPv6 transition technology is a mandatory network parameter.
  • the server can directly forward the DHCPv6-Advertise message and the DHCPv6-Reply message to the CPE by using the DHCPv6-Advertise message and the DHCPv6-Reply message.
  • the CPE advertises.
  • the server can directly notify the CPE through the DHCP-Offer message and the DHCP-Ack message.
  • the scheme for configuring the IPv6 transition technology on the CPE does not add any new protocol and message interaction process, but defines a new OPTION_TRA_TYPE type Option in the existing DHCP/DHCPv6 message. Option to implement IPv6 transition technology configuration parameters for the CPE.
  • the solution for configuring the IPv6 transition technology on the CPE is provided by the embodiment of the present invention.
  • the server receives the DHCP/DHCPv6 request message sent by the CPE, and returns a response message of the corresponding protocol to the CPE according to the request message, where the package carries the IPv6 transition.
  • the Option Option of the technical configuration parameters solves the problems that arise between the operators, users, and CPE equipment manufacturers in the process of configuring and managing the IPv6 transition technology of the CPE equipment.
  • the transformation of the server and CPE equipment is small and easy to implement;
  • the IP address and the message interaction in the configuration parameter allocation process complete the configuration of the CPE device IPv6 transition technical parameters, without increasing the extra message interaction burden between the CPE and the server, and saving bandwidth resources.
  • an embodiment of the present invention further provides a server. As shown in FIG. 6, the server includes:
  • the receiving module 61 is configured to receive a DHCP/DHCPv6 request message sent by the CPE.
  • the processing module 62 is configured to perform processing according to the DHCP/DHCPv6 request message received by the receiving module 61, and generate a response message of the corresponding protocol, where the response message of the corresponding protocol is encapsulated with an option Option that carries the IPv6 transition technology configuration parameter.
  • the IPv6 transition technology configuration parameter is used to instruct the CPE to use the corresponding IPv6 transition technology for communication;
  • a sending module 63 configured to send a response message of a corresponding protocol generated by the processing module 62 to the
  • the receiving module 61 is specifically configured to: receive a DHCP/DHCPv6 configuration parameter request message sent by the CPE; and receive an acknowledgement request message of a corresponding protocol sent by the CPE;
  • the processing module 62 is further configured to: allocate a corresponding parameter to the CPE according to the DHCP/DHCPv6 configuration parameter request message received by the receiving module 61, and send an advertisement message of the corresponding protocol to the CPE through the sending module 63; and, according to the corresponding received by the receiving module 61, After the acknowledgment request message is sent to the CPE, the acknowledgment message of the corresponding protocol is sent to the CPE by the sending module 63.
  • the acknowledgment message of the corresponding protocol is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter.
  • the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the acknowledgment request message of the corresponding protocol is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter configured by the CPE.
  • the DHCP/DHCPv6 configuration parameter request message is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter configured by the CPE is configured by default.
  • the advertised message of the corresponding protocol is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the DHCPv6 configuration parameter request message is a DHCPv6-Solicit message
  • the corresponding protocol notification message is a DHCPv6-Advertise message
  • the corresponding protocol confirmation request message is a DHCPv6-Request message
  • the corresponding protocol confirmation message is a DHCPv6-Reply message
  • the receiving module 61 is further configured to: after the processing module 62 sends a DHCPv6-Reply message to the CPE through the sending module 63, receive the DHCPv6 lease renewal request sent by the CPE.
  • a DHCPv6-Renew message, the DHCPv6-Renew message is encapsulated with an Option for carrying an IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or is an IPv6 transition technology configuration parameter currently configured by the CPE.
  • the sending module 63 is further configured to: when the CPE is allowed to continue to use the IPv6 address information, send a DHCPv6 renewal success DHCPv6-Reply message to the CPE, where the DHCPv6-Reply message encapsulates an Option for carrying the IPv6 transition technology configuration parameter, where
  • the configured IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the DHCPv6 configuration parameter request message is a DHCPv6-Solicit message
  • the corresponding protocol notification message is a DHCPv6-Advertise message
  • the corresponding protocol confirmation request message is a DHCPv6-Request message
  • the corresponding protocol confirmation message is a DHCPv6-Reply message
  • the receiving module 61 is further configured to: after the processing module 62 sends a DHCPv6-Reply message to the CPE through the sending module 63, receive a DHCPv6-Rebind message sent by the CPE, and the DHCPv6-Rebind message is encapsulated with an IPv6 transition technology configuration.
  • the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter currently configured for the CPE;
  • the sending module 63 is further configured to: when the CPE is allowed to continue to use the IPv6 address information, send a DHCPv6 renewal success DHCPv6-Reply message to the CPE, where the DHCPv6-Reply message encapsulates an Option for carrying the IPv6 transition technology configuration parameter, where the bearer
  • the IPv6 transition technology configuration parameter is an IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the DHCP configuration parameter request message is a DHCP-Discover message
  • the corresponding protocol notification message is a DHCP-Offer message
  • the corresponding protocol confirmation request message is a DHCP-Request message
  • the corresponding protocol confirmation message is a DHCP-Ack message
  • the receiving module 61 is further configured to: after the processing module 62 sends a DHCP-Ack message to the CPE through the sending module 63, receive a DHCP notification DHCP-Inform message sent by the CPE for requesting network configuration parameters, where the DHCP-Inform message is encapsulated for The Option that carries the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or is the IPv6 transition technology configuration parameter currently configured by the CPE.
  • the sending module 63 is further configured to: after the network configuration parameter is allocated to the CPE according to the DHCP-Inform message received by the receiving module 61, return a DHCP acknowledge DHCP-Ack message to the CPE, where The DHCP-Ack message encapsulates the network configuration parameters allocated by the server for the CPE and the Option for carrying the IPv6 transition technology configuration parameters, where the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the receiving module 61 is specifically configured to: receive a DHCPv6-Router-solicit message from a DHCPv6 router sent by the CPE; and receive a DHCPv6-Information-request message by receiving a DHCPv6 configuration information sent by the CPE; the DHCPv6-Information-request message is encapsulated to carry the IPv6 transition Technical configuration parameter Option, where the configuration parameters of the IPv6 transition technology carried are empty or the IPv6 transition technology configuration parameters configured by default for the CPE;
  • the processing module 62 is specifically configured to allocate an IPv6 address and/or a network parameter to the CPE according to the DHCPv6-Router-solicit message received by the receiving module 61, and send a DHCPv6-Router-advertise message to the CPE through the sending module 63 by using the DHCPv6 router.
  • the DHCPv6-Information-request message assigns a network configuration parameter to the CPE according to the DHCPv6-Information-request message, generating a configuration information request replying to the DHCPv6-Information-reply message, and sending the message to the CPE through the sending module 63; the DHCPv6-Information-reply message encapsulating is used to carry the IPv6 transition Option of the technical configuration parameter, where the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the configuration parameter request message is a DHCPv6-Solicit message; the advertised message is a DHCPv6-Advertise message; the acknowledgment request message is a DHCPv6-Request message; and the acknowledgment message is a DHCPv6-Reply message.
  • the configuration parameter request message is a DHCP-Discover message; the advertisement message is a DHCP-Offer message; the confirmation request message is a DHCP-Request message; and the confirmation message is a DHCP-Ack message.
  • the embodiment of the present invention further provides a CPE device. As shown in FIG. 7, the CPE device includes:
  • a sending module 71 configured to send a DHCP/DHCPv6 request message to the server;
  • the receiving module 72 is configured to receive a response message of a corresponding protocol returned by the server, where the response message of the corresponding protocol is encapsulated with an option Option that carries an IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is used to indicate that the CPE adopts a corresponding IPv6 transition technology for communication;
  • the processing module 73 is configured to obtain the IPv6 from the response message of the corresponding protocol received by the receiving module 72. Transition technology configuration parameters and configuration.
  • the sending module 71 is specifically configured to: send a DHCP/DHCPv6 configuration parameter request message to the server; and send the corresponding protocol to the server after the receiving module 72 receives the notification message of the corresponding protocol encapsulated by the server and encapsulates the corresponding parameter allocated for the CPE. Acknowledge the request message to request the server to confirm that the corresponding parameter is assigned to the CPE;
  • the receiving module 72 is specifically configured to: receive an acknowledgment message of the corresponding protocol sent by the server, where the acknowledgment message of the corresponding protocol is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the configured IPv6 transition technology configuration parameter is specified by the server for the CPE. IPv6 transition technology configuration parameters.
  • the acknowledgment request message of the corresponding protocol is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter configured by the CPE.
  • the DHCP/DHCPv6 configuration parameter request message is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter configured by the CPE is configured by default.
  • the notification message of the corresponding protocol is encapsulated with a configuration parameter for carrying IPv6 transition technology.
  • configuration parameters of the IPv6 transition technology carried by the server are the IPv6 transition technology configuration parameters specified by the server for the CPE.
  • the DHCPv6 configuration parameter request message is a DHCPv6-Solicit message
  • the corresponding protocol notification message is a DHCPv6-Advertise message
  • the corresponding protocol confirmation request message is a DHCPv6-Request message
  • the corresponding protocol confirmation message is a DHCPv6-Reply message
  • the sending module 71 is further configured to: after receiving the DHCPv6-Reply message sent by the server, the receiving module 72 sends a DHCPv6 lease renewal request DHCPv6-Renew message to the server, where the DHCPv6-Renew message is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter.
  • the configuration parameters of the IPv6 transition technology carried by the CPE are empty or configured for the IPv6 transition technology currently configured by the CPE.
  • the receiving module 72 is further configured to: receive a DHCPv6-renewed successful DHCPv6-Reply message sent by the server, where the DHCPv6-Reply message encapsulates an Option for carrying an IPv6 transition technology configuration parameter, where the configured IPv6 transition technology configuration parameter is a server Indicates the IPv6 transition technology configuration parameters specified by the CPE.
  • the DHCPv6 configuration parameter request message is a DHCPv6-Solicit message
  • the corresponding protocol notification message is a DHCPv6-Advertise message
  • the corresponding protocol confirmation request message is a DHCPv6-Request message
  • the corresponding protocol confirmation message is a DHCPv6-Reply message
  • the sending module 71 is further configured to: after receiving the DHCPv6-Reply message sent by the server, the sending module 72 sends a DHCPv6 address binding DHCPv6-Rebind message to the server, where the DHCPv6-Rebind message is encapsulated with an Option for carrying the IPv6 transition technology configuration parameter.
  • the configuration parameters of the IPv6 transition technology carried by the CPE are empty or configured for the IPv6 transition technology currently configured by the CPE.
  • the receiving module 72 is further configured to: receive a DHCPv6-renewed successful DHCPv6-Reply message sent by the server, where the DHCPv6-Reply message encapsulates an Option for carrying an IPv6 transition technology configuration parameter, where the configured IPv6 transition technology configuration parameter is a server Indicates the IPv6 transition technology configuration parameters specified by the CPE.
  • the DHCP configuration parameter request message is a DHCP-Discover message
  • the corresponding protocol notification message is a DHCP-Offer message
  • the corresponding protocol confirmation request message is a DHCP-Request message
  • the corresponding protocol confirmation message is a DHCP-Ack message
  • the sending module 71 is further configured to: after receiving the DHCP-Ack message sent by the server, the receiving module 72 sends a DHCP notification DHCP-Inform message for requesting network configuration parameters, where the DHCP-Inform message is encapsulated for carrying the IPv6 transition.
  • the configuration parameter of the IPv6 transition technology carried is null or is the IPv6 transition technology configuration parameter currently configured by the CPE;
  • the receiving module 72 is further configured to: receive, by the server, a DHCP acknowledgement DHCP-Ack message, where the DHCP-Ack message encapsulates a network configuration parameter allocated by the server for the CPE, and an Option, an Option bearer for carrying an IPv6 transition technology configuration parameter.
  • the IPv6 transition technology configuration parameter is the IPv6 transition technology configuration parameter specified by the server for the CPE.
  • the sending module 71 is specifically configured to send a DHCPv6 router request to the server.
  • the DHCPv6-Information-request is sent to the server after receiving the IPv6 address and/or network parameters allocated by the DHCPv6-Router-advertise message to the CPE by the DHCPv6 router.
  • the DHCPv6-Information-request message is encapsulated with a configuration parameter for carrying IPv6 transition technology. Number Option, where the IPv6 transition technology configuration parameter is empty or the IPv6 transition technology configuration parameter configured for the CPE by default;
  • the receiving module 72 is specifically configured to: receive, by the receiving server, a configuration information request to reply to a DHCPv6-Information-reply message, where the DHCPv6-Information-reply message encapsulates an Option for carrying an IPv6 transition technology configuration parameter, where the IPv6 transition technology configuration parameter is carried Configure parameters for the IPv6 transition technology specified by the server for the CPE.
  • the configuration parameter request message is a DHCPv6-Solicit message
  • the advertised message is a DHCPv6-Advertise message
  • the acknowledgment request message is a DHCPv6-Request message
  • the acknowledgment message is a DHCPv6-Reply message.
  • the configuration parameter request message is a DHCP-Discover message
  • the notification message is DHCP-
  • the Offer message is a DHCP-Request message; the acknowledge message is a DHCP-Ack message.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a
  • the terminal device (which may be a cell phone, a personal computer, a server, or a network device, etc.) performs the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开一种在CPE上配置IPv6过渡技术的方法及设备,该方法包括:服务器接收CPE发送的动态主机设置协议DHCP/DHCPv6请求消息;服务器根据DHCP/DHCPv6请求消息进行处理,并向CPE返回相应协议的响应消息,相应协议的响应消息封装有承载了IPv6过渡技术配置参数的选项Option,IPv6过渡技术配置参数用于指示CPE采用相应IPv6过渡技术进行通信,解决了运营商、用户以及CPE设备制造商之间在CPE设备配置和管理IPv6过渡技术过程中产生的问题,对服务器及CPE设备改造量小,易于实施;不增加CPE与服务器之间额外的消息交互负担,节约带宽资源。

Description

一种在 CPE上配置 IPv6过渡技术的方法及设备 本申请要求于 2012年 10月 10 日提交中国国家知识产权局、 申请号为 201210381634.7、 发明名称为 "一种在 CPE上配置 IPv6过渡技术的方法及设 备"的中国专利申请的优先权, 该在先申请的全部内容通过引用结合在本申请 中。
技术领域 本发明涉及通信网络技术领域, 尤其涉及一种在 CPE ( Customer Premise Equipment, 用户端设备 )上配置 IPv6过渡技术的方法及设备。
背景技术
目前 IPv4 ( Internet Protocol Version 4, 互联网协议第四版)地址已经基本 耗尽,正在向 IPv6 ( Internet Protocol Version 6,互联网协议第六版)过渡。 IPv6 过渡技术总体上可分为双栈、 隧道、 翻译等 3大类, 具体技术多达数十种。
电信运营商和设备制造商对 IPv6 过渡技术的处理方式不同。 运营商对 IPv6 过渡技术的选择可能比较单一, 在同一网络区域, 比如同一 BRAS ( Broadband Remote Access Server,宽带远程接入服务器)下,只使用一种 IPv6 过渡技术; 同一运营商在不同的网络环境下可能使用不同的 IPv6过渡技术; 不同的运营商可能选择不同的 IPv6过渡技术。 而设备制造商的 CPE产品可能 支持多种 IPv6过渡技术, 以满足不同运营商的需要, 即设备商一般会推出支 持多种技术的 CPE, 而不会针对某家运营商研制特定的 CPE。
为了使 CPE的 IPv6过渡技术和运营商的要求相匹配, 运营商目前只能通 过网管或提前配置等方式控制 CPE的 IPv6过渡技术, 一般采用以下方式: 提 前配置、 登门服务。 运营商在为用户提供 CPE设备时, 提前配置好 CPE设备 的 IPv6过渡技术。 此种方式的缺陷是, 一旦用户自行修改 CPE的配置, 或者 自主更换 CPE设备, 将可能导致无法使用服务。
因此, 亟需一种在 CPE上配置 IPv6过渡技术的方案用以解决上述技术问 题。
发明内容 本发明实施例提供了一种在 CPE上配置 IPv6过渡技术的方法及设备, 用 以实现在 CPE设备上方便快捷地配置 IPv6过渡技术。
为此, 本发明实施例采用如下技术方案:
本发明实施例提供一种在 CPE上配置 IPv6过渡技术的方法, 所述方法包 括:
服务器接收 CPE发送的动态主机设置协议 DHCP/DHCPv6请求消息; 所述服务器根据所述 DHCP/DHCPv6请求消息进行处理, 并向所述 CPE 返回相应协议的响应消息, 所述相应协议的响应消息封装有承载了 IPv6过渡 技术配置参数的选项 Option, 所述 IPv6过渡技术配置参数用于指示 CPE采用 相应 IPv6过渡技术进行通信。
本发明实施例还提供一种在 CPE上配置 IPv6过渡技术的方法, 所述方法 包括:
CPE向服务器发送动态主机设置协议 DHCP/DHCPv6请求消息; 所述 CPE接收所述服务器返回的相应协议的响应消息, 所述相应协议的 响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option, 所述 IPv6过渡 技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
所述 CPE从所述相应协议的响应消息中获取 IPv6过渡技术配置参数, 并 进行配置。
本发明实施例还提供一种服务器, 包括:
接收模块, 用于接收 CPE发送的动态主机设置协议 DHCP/DHCPv6请求 消息;
处理模块,用于根据所述接收模块接收的 DHCP/DHCPv6请求消息进行处 理, 并生成相应协议的响应消息, 所述相应协议的响应消息中封装有承载了 IPv6过渡技术配置参数的选项 Option, 所述 IPv6过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
发送模块, 用于将所述处理模块生成的相应协议的响应消息发送给所述 CPE。
本发明实施例还提供一种 CPE设备, 包括:
发送模块, 用于向服务器发送动态主机设置协议 DHCP/DHCPv6请求消 息;
接收模块, 用于接收所述服务器返回的的相应协议的响应消息, 所述相应 协议的响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option,所述 IPv6 过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
处理模块, 用于从所述接收模块接收的相应协议的响应消息中获取 IPv6 过渡技术配置参数, 并进行配置。
与现有技术相比, 本发明的上述实施例具有以下有益技术效果:
本发明实施例提供的在 CPE上配置 IPv6过渡技术的方案, 通过服务器接 收 CPE发送的 DHCP/DHCPv6请求消息, 并根据该请求消息, 向 CPE返回相 应协议的响应消息,其中封装有承载了 IPv6过渡技术配置参数的选项 Option, 解决了运营商、 用户以及 CPE设备制造商之间在 CPE设备配置和管理 IPv6 过渡技术过程中产生的问题, 对服务器及 CPE设备改造量小, 易于实施; 利 用现有的 IP地址和配置参数分配过程中的消息交互完成 CPE设备 IPv6过渡技 术参数的配置, 不增加 CPE与服务器之间额外的消息交互负担, 节约带宽资 源。
附图说明
图 1为本发明实施例提供的 DHCPv6消息 Option结构示意图;
图 2为本发明实施例一提供的通过 IPv6地址和网络配置参数分配过程及 租约更新过程, 为 CPE指定 IPv6配置参数的流程示意图;
图 3为本发明实施例二提供的通过 DHCPv6无状态配置过程, 为 CPE指 定 IPv6配置参数的流程示意图;
图 4为本发明实施例提供的 DHCP消息 Option结构示意图;
图 5为本发明实施例三提供的通过 IPv4地址和网络配置参数分配过程及 其他网络配置参数分配过程, 为 CPE指定 IPv6配置参数的流程示意图;
图 6为本发明实施例提供的服务器结构示意图;
图 7为本发明实施例提供的 CPE设备结构示意图。
具体实施方式
DHCP和 DHCPv6协议是网络基本协议之一, 任何主机和终端接入网络 后,一般都会先经由 DHCP或 DHCPv6协议获取 IPv4或 IPv6地址, 而后进行 与通信对端的信息交互。 一般来讲, 目前在 IPv4环境下的三层 CPE设备均支 持 DHCP协议, RFC6204/6204bis 中要求 IPv6环境下的 CPE设备必须支持 DHCPv6协议。
本发明实施例提供一种在 CPE 上配置 IPv6 过渡技术的方法, 通过在 DHCP/DHCPv6 ( DHCP或 DHCPv6 )消息中定义 Option选项, 该 Option选项 携带含有本地网络采用的 IPv6过渡技术参数, 在 DHCP/DHCPv6 IP地址分配 以及网络参数配置过程中通过交互携带该 Option选项的 DHCP/DHCPv6消息, 从而方便地控制 CPE配置指定的 IPv6过渡技术参数,使 CPE采用相应的 IPv6 过渡技术与网络侧进行通信。
为了更清楚说明本发明的技术方案,以下分别结合 DHCPv6协议和 DHCP 协议两种实施方式, 并结合附图, 对本发明实施例进行详细描述。 在本发明以 下实施例中, 客户端为 CPE, 服务器存储有本网络中为 CPE指定的 IPv6过渡 技术配置参数, 可以为 BRAS。
实施例一
本实施例描述了利用 DHCPv6协议消息为 CPE配置 IPv6过渡技术配置参 数的过程。
以下结合图 2, 详细说明在 IPv6地址和网络参数分配过程中 , 为 CPE配 置 IPv6过渡技术参数的流程, 如图所示, 该流程包括以下步骤:
步骤 201 , CPE广播发送 DHCPv6-Solicit消息( DHCPv6配置参数请求消 息), 以请求网络中的服务器为其分配 IPv6地址和网络配置参数。
步骤 202 , 服务器根据该 DHCPv6-Solicit 消息, 向 CPE 发送 DHCPv6-Advertise消息( DHCPv6通告消息),用以通知 CPE为其分配的 IPv6 地址和网络配置参数。
具体的, 服务器接收到 CPE发送的 DHCPv6-Solicit消息后, 根据 IPv6地 址分配的优先次序选出一个 IPv6地址, 与网络配置参数一起, 发送给 CPE。 当网络中存在多个服务器时, 多个服务器会分别通过向 CPE发送 DHCPv6消 息, 为 CPE分配 IPv6地址和 IP v6地址租借时间等网络配置参数。
步骤 203 , CPE向服务器发送 DHCPv6-Request消息 ( DHCPv6确认请求 消息), 以请求服务器确认为其分配地址和网络配置参数。 如果 CPE接收到多个服务器发送的 DHCPv6-Advertise消息, 则根据接收 的先后顺序、 服务器优先级等, 选择其中一台服务器, 并向该服务器发送 DHCPv6-Request消息, 请求服务器确认为其分配地址和网络配置参数。
步骤 204, 被 CPE选中的服务器接收到 DHCPv6-Request消息后, 若确认 将 IPv6地址和网络配置参数分配给该 CPE使用 , 则返回 DHCPv6-Reply消息 ( DHCPv6确认消息), 该 DHCPv6-Reply消息封装有 Option选项, 用于承载 IPv6过渡技术配置参数, 以允许或要求 CPE使用相应的 IPv6过渡技术。
其中, 所述用于承载 IPv6过渡技术配置参数的 Option选项为本发明实施 例新定义的选项(为方便描述,以下将该 Option选项称为 OPTION— TRA— TYPE 类型的 Option选项), 该 OPTION— TRA— TYPE类型的 Option选项的具体格式 如图 1所示, 包括:
Option 选项标识: 为 OPTION— TRA— TYPE, 将由 IANA ( The Internet Assigned Numbers Authority , 互联网数字分配机构)定义;
Option选项长度( Option-len ): 长度为 2字节;
Option选项数据: 为 IPv6过渡技术类型 (配置参数)。
IPv6过渡技术可包括: 双栈、 DSLITE (轻量级双栈)、 6RD ( IPv6 Rapid Deployment, 快速部署)、 6to4 ( IPv6 to IPv4隧道)、 6over4 ( IPv6 over IPv4 隧道)、 NAT ( Network Address Translation, 网络地址转换 ) 64、 BIH ( Bump in the host )等类型, 每种 IPv6过渡技术可通过相应的 IPv6过渡技术配置参数进 行标识, 表 1给出了 IPv6过渡技术配置参数与 IPv6过渡技术的对应关系: 表 1
Figure imgf000007_0001
此后 , CPE接收到 DHCPv6-Reply消息后 , 解析该 DHCPv6-Reply消息 , 获取其中携带的 IPv6过渡技术配置参数, 并配置在 CPE本地, 以便使用相应 的 IPv6过渡技术与网络侧进行通信。
优选的, 上述流程的步骤 203中, DHCPv6-Request消息中可以封装本发 明实施例新定义的 OPTION— TRA— TYPE类型的 Option选项, 该 Option选项 中承载的 Mode值为空, 表示请求服务器为该 CPE指定 IPv6过渡技术配置参 数。 相应的, 步骤 204中, 服务器将为该 CPE设备指定的 IPv6过渡技术配置 参数封装于 DHCPv6-Reply消息的 OPTION— TRA— TYPE类型的 Option选项, 发送给 CPE。
OPTION— TRA— TYPE类型的 Option选项的 Mode值还可以是 CPE设备默 认支持的 IPv6 过渡技术配置参数, 此时, 服务器接收到 CPE 发送的 DHCPv6-Request 消 息后 , 解析该 DHCPv6-Request 消 息 , 得到 OPTION— TRA— TYPE类型的 Option选项,判断 Mode值与预设的该 CPE的 IPv6 过渡技术配置参数是否一致, 若一致, 则向 CPE发送 DHCPv6-Reply消息, 确认将 IPv6 地址分配给该 CPE 设备, 该 DHCPv6-Reply 消息中封装有 OPTION— TRA— TYPE类型的 Option选项,其中 Mode值即为 CPE指定的 IPv6 过渡技术配置参数; 若不一致, 则服务器将为该 CPE指定的 IPv6过渡技术配 置参数封装于 DHCPv6-Reply消息的 OPTION— TRA— TYPE类型的 Option选项, 发送给 CPE。例如,服务器解析出 DHCPv6-Request消息中的 Option选项值为 0, 而服务器中存储的为 CPE指定的 IPv6过渡技术配置参数为 1 ,说明该 CPE 所支持的默认的 IPv6过渡技术与网络侧指定的 IPv6过渡技术配置参数不相 符, 则将该 Option选项值设置为 1 (服务器中存储的为 CPE指定的 IPv6过渡 技术配置参数 ),并封装于 DHCPv6-Reply消息的该 Option选项,发送给 CPE。
进一步的, 在步骤 201 中, CPE也可以将 OPTION— TRA— TYPE类型的 Option选项封装于 DHCPv6-Solicit消息中, 发送给服务器, 该 Option选项的 Mode值可以为空或为 CPE默认配置的 IPv6过渡技术配置参数。 相应的, 在 步骤 202中, 服务器可以将为该 CPE设备指定的 IPv6过渡技术配置参数封装 于 DHCPv6-Advertise消息的 OPTION— TRA— TYPE类型的 Option选项, 发送 给 CPE。
在完成 DHCPv6地址和网络配置参数分配过程之后的租约更新过程中, 也可以为 CPE指定 IPv6过渡技术, 流程如下: 步骤 205, 当 IPv6地址租借时间到达时间 T1 (推荐值为生命期 Preferred Lifetime的一半)时, CPE会向服务器发送 DHCPv6-Renew消息( DHCPv6租 约更新请求消息), 以进行地址租约的更新, 该 DHCPv6-Renew消息封装有用 于承载 IPv6过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option,其中承 载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配置参 数, 优选的, 该 Option中承载的 IPv6过渡技术配置参数为空。
步骤 206, 如果服务器允许 CPE 继续使用该 IP 地址, 则向 CPE发送 DHCPv6-Reply消息 ( DHCPv6续约成功消息), 以通知 CPE已经成功更新地 址租约, 该 DHCPv6-Reply 消息封装有用于承载 IPv6 过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option,其中承载的 IPv6过渡技术配置参数为服 务器为 CPE指定的 IPv6过渡技术配置参数;如果服务器不允许 CPE继续使用 该 IPv6地址, 则向 CPE发送 DHCPv6续约失败消息, 通知 CPE不能获得新 的租约。
步骤 207, CPE向所有服务器组播发送 DHCPv6-Rebind消息 ( DHCPv6 地址绑定消息), 以请求更新租约, 该 DHCPv6-Rebind 消息封装有用于承载 IPv6过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配置参数。
具体的, 如果 CPE在 T1时发送 DHCPv6-Renew请求更新租约, 但是没 有收到服务器的回应消息, 则 CPE会在 T2 (推荐值为生命期的 0.8倍) 时, 发送 DHCPv6-Rebind消息请求更新租约。
步骤 208, 如果服务器允许 CPE继续使用该 IPv6地址, 则向 CPE发送 DHCPv6-Reply消息 ( DHCPv6续约成功消息), 通知 CPE已经成功更新地址 租约, 该 DHCPv6-Reply 消息封装有用于承载 IPv6 过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option,其中承载的 IPv6过渡技术配置参数为服 务器为 CPE指定的 IPv6过渡技术配置参数。
如果服务器不允许 CPE继续使用该 IPv6地址, 则向 CPE发送 DHCPv6 续约失败消息, 通知客户端不能获得新的租约; 如果 CPE没有收到服务器的 应答消息, 则到达有效生命期后, CPE停止使用该 IPv6地址。
实施例二 本实施例描述了通过 DHCPv6无状态配置指定 CPE的 IPv6过渡技术配置 参数的过程。
DHCPv6服务器可以为已经具有 IPv6地址的客户端分配其他网络配置参 数, 该过程称为 DHCPv6无状态配置, 如图 3所示, 该流程包括以下步骤: 步骤 301 ,当 CPE设备初始化时, CPE向服务器发送 DHCP v6-Router- solicit 消息 ( DHCPv6路由器请求消息), 以请求为其分配 IPv6地址。
步骤 302 , 服务器根据 DHCPv6-Router-solicit 消息向 CPE 发送 DHCPv6-Router-advertise消息 ( DHCPv6路由器通告消息)。
当 DHCPv6-Router-advertise消息中的被管理地址配置标志位 M为 0, 且 其他配置标志位 0为 1时, 说明服务器通知 CPE采用地址无状态自动配置功 能获取 IPv6地址,服务器通过 DHCPv6-Router-advertise消息为 CPE分配 IPv6 地址, 其中不携带其他网络配置参数。
步骤 303 , CPE以组播的方式向服务器发送 DHCPv6-Information-request 消息 ( DHCPv6配置信息请求消息),指定 CPE需要从服务器获取的配置信息, 该 DHCPv6-Information-request消息封装有用于承载 IPv6过渡技术配置参数 OPTION— TRA— TYPE类型的 Option,其中承载的 IPv6过渡技术配置参数为空 或为 CPE默认配置的 IPv6过渡技术配置参数。
具体的, 当 CPE采用地址无状态自动配置功能成功获取 IPv6地址之后, CPE会自动启动 DHCPv6无状态配置功能, 以获取除地址外的其他网络配置 参数。
步骤 304, 服务器收到 DHCPv6-Information-request消息后, 为 CPE分配 网络配置信息 (包括 DNS、 NTP以及 IPv6过渡技术配置信息等), 并单播发 送 DHCPv6-Information-Reply 消息 ( DHCPv6 配置信息请求回复消息)将为 CPE分配的网络配置信息返回给 CPE, DHCPv6-Information-Reply消息封装有 用于承载 IPv6过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option,其中 承载的 IPv6过渡技术配置参数为所述服务器为 CPE指定的 IPv6过渡技术配置 参数。
如果 CPE接收到多个 DHCPv6-Information-Reply消息 , 则选择最先收到 的 DHCPv6-Information-Reply消息, 并根据该消息中提供的参数完成 CPE无 状态配置。
实施例三
本实施例描述了利用 DHCP协议消息指定 CPE的 Pv4过渡技术配置参数 的过程。
本发明实施例定义了 DHCP协议消息的 Option选项格式, 如图 4所示, 包括: Option选项标识、 Option选项长度 ( Option-len )和 Option选项数据, DHCP协议消息的 Option各字段定义与 DHCPv6协议的 Option相同, 在此不 再赘述。
以下结合图 5, 详细说明在 IPv4地址和网络参数分配过程中 , 为 CPE配 置 IPv6过渡技术的流程, 如图所示, 该流程包括以下步骤:
步骤 501 , CPE以广播方式发送 DHCP-Discover消息( DHCP配置参数请 求消息), 以请求 DHCP服务器分配 IPv4地址和网络配置参数。
本步骤为 DHCP地址分配的发现阶段, 即 DHCP客户端 ( CPE设备 )寻 找 DHCP服务器的阶段。
步骤 502, DHCP服务器接收到 CPE发送的 DHCP-Discover消息( DHCP 配置参数请求消息)后, 才艮据 IPv4地址分配的优先次序选出一个 IPv4地址, 与其他网络配置参数一起通过 DHCP-Offer 消息 (DHCP 通告消息)发送给 CPE。
本步骤为 DHCP地址分配过程的提供阶段, 即 DHCP服务器提供 IPv4地 址的阶段。 DHCP-Offer消息的发送方式由 DHCP-Discover消息中的 flag选项 决定。
步骤 503 , CPE向选中的 DHCP服务器发送 DHCP-Request消息 ( DHCP 确认请求消息), 以请求确认接受所分配 IPv4地址和网络配置参数。
本步骤为 DHCP地址分配过程的选择阶段,即 CPE选择 IPv4地址的阶段。 如果有多台 DHCP服务器向该 CPE发来 DHCP-Offer消息, CPE只接受第一 个收到的 DHCP-Offer消息, 然后以广播方式发送 DHCP-Request消息, 该消 息中包含服务器在 DHCP-Offer消息中分配的 IPv4地址和网络配置参数。
步骤 504, DHCP服务器向 CPE发送 DHCP-Ack消息( DHCP确认消息), 以确认将 IPv4地址和网络配置参数分配给该 CPE。 本步骤为 DHCP地址分配过程的确认阶段, 即 DHCP服务器确认 IPv4地 址的阶段。 DHCP服务器收到 CPE发送的 DHCP-Request消息后, 只有 CPE 选择的 DHCP服务器会进行如下操作: 如果 DHCP服务器确认将 IPv4地址和 网络配置参数分配给该 CPE , 则返回 DHCP-Ack消息 , 表明确认将 IPv4地址 和网络配置参数分配给该 CPE, 此时, CPE可以使用该 IPv4地址和网络配置 参数; 否则返回 DHCP-Nack消息, 表明地址不能分配给该 CPE。
具体的, DHCP-Ack 消息封装有用于承载 IPv6 过渡技术配置参数的 OPTION— TRA— TYPE类型的 Option, 其中承载的 IPv6过渡技术配置参数为 DHCP服务器为 CPE指定的 IPv6过渡技术配置参数, 例如, DHCP服务器为 CPE指定 DS-LITE 过渡技术, Mode=l。
优选的, 上述步骤 503 中, CPE向 DHCP服务器发送的 DHCP-Request 消息可以封装有用于承载 IPv6过渡技术配置参数的 OPTION— TRA— TYPE类型 的 Option,其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6 过渡技术配置参数。 若该 Option选项的 Mode值为空, 说明 CPE不默认指定 IPv6过渡技术, 而是留给 DHCP服务器为 CPE指定。
进一步的, 在步骤 501 中, CPE也可以将 OPTION— TRA— TYPE类型的 Option选项封装于 DHCP-Discover消息中, 发送给 DHCP服务器。 该 Option 选项的 Mode值可以为空。 相应的, 在步骤 502中, DHCP服务器将为该 CPE 指 定的 IPv6 过渡技术配置参数封装于 DHCP-Offer 消 息 的 OPTION— TRA— TYPE类型的 Option选项中, 发送给 CPE。
在 DHCP服务器为 CPE分配了 IPv4地址和网络配置参数之后,如果 CPE 还需获取其他网络配置参数(例如, IPv6过渡技术配置参数), 则可以通过发 送 DHCP-Inform消息向 DHCP服务器请求, 该过程包括以下步骤:
步骤 505, CPE向 DHCP服务器发送 DHCP-Inform消息 ( DHCP通知消 息),该 DHCP-Inform消息封装有用于承载 IPv6过渡技术配置参数以及 DHCP 服务器为 CPE 分配的网络配置参数以及的 OPTION— TRA— TYPE 类型的 Option,其中 载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过 渡技术配置参数。
步骤 506, DHCP服务器根据 Inform消息, 向 CPE发送 DHCP-Ack消息 ( DHCP确认消息),该 DHCP-Ack消息封装有封装有用于承载 IPv6过渡技术 配置参数的 OPTION— TRA— TYPE类型的 Option,其中承载的 IPv6过渡技术配 置参数为 DHCP服务器为 CPE指定的 IPv6过渡技术配置参数。
为 CPE指定 IPv6过渡技术配置参数的操作方式包括主动和被动两种, 主 动方式为为一问一答方式, 即, CPE向服务器请求 IPv6过渡技术配置参数, 月良务器做出回应;被动方式为不问只答方式,即,无需 CPE向服务器请求 IPv6 过渡技术配置参数, 服务器直接将 IPv6过渡技术配置参数封装于消息中发送 给 CPE, 实现网络侧设备为 CPE指定 IPv6过渡技术。 由于 IPv6过渡技术是 强制性的网络参数, 因此, 无论 CPE是否提出请求, 在利用 DHCPv6协议消 息为 CPE 指定 IPv6 过渡技术配置参数的场景下, 服务器可以通过 DHCPv6-Advertise消息和 DHCPv6-Reply消息直接向 CPE进行通告; 在利用 DHCP协议消息为 CPE指定 IPv6过渡技术配置参数的场景下, 服务器可以通 过 DHCP-Offer消息和 DHCP-Ack消息直接向 CPE进行通告。
本发明实施例提供的在 CPE上配置 IPv6过渡技术的方案, 不新增任何新 的协议和消息交互流程, 而是在现有 DHCP/DHCPv6 消息中定义了新的 OPTION— TRA— TYPE类型的 Option选项, 以实现为 CPE指定 IPv6过渡技术 配置参数。
本发明实施例提供的在 CPE上配置 IPv6过渡技术的方案, 通过服务器接 收 CPE发送的 DHCP/DHCPv6请求消息, 并根据该请求消息, 向 CPE返回相 应协议的响应消息,其中封装有承载了 IPv6过渡技术配置参数的选项 Option, 解决了运营商、 用户以及 CPE设备制造商之间在 CPE设备配置和管理 IPv6 过渡技术过程中产生的问题, 对服务器及 CPE设备改造量小, 易于实施; 利 用现有的 IP地址和配置参数分配过程中的消息交互完成 CPE设备 IPv6过渡技 术参数的配置, 不增加 CPE与服务器之间额外的消息交互负担, 节约带宽资 源。 基于相同的技术构思, 本发明实施例还提供了一种服务器, 如图 6所示, 该服务器包括:
接收模块 61 , 用于接收 CPE发送的 DHCP/DHCPv6请求消息; 处理模块 62,用于根据接收模块 61接收的 DHCP/DHCPv6请求消息进行 处理, 并生成相应协议的响应消息, 所述相应协议的响应消息中封装有承载了 IPv6过渡技术配置参数的选项 Option, 所述 IPv6过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
发送模块 63 , 用于将处理模块 62生成的相应协议的响应消息发送给所述
CPE。
接收模块 61具体用于,接收所述 CPE发送的 DHCP/DHCPv6配置参数请 求消息; 以及接收所述 CPE发送的相应协议的确认请求消息;
处理模块 62还用于,根据接收模块 61接收的 DHCP/DHCPv6配置参数请 求消息, 为 CPE分配相应参数, 并通过发送模块 63向 CPE发送相应协议的 通告消息; 以及, 根据接收模块 61接收的相应协议的确认请求消息, 在确认 将相应参数分配给 CPE后, 通过发送模块 63向 CPE发送相应协议的确认消 息; 该相应协议的确认消息中封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为服务器为 CPE指定的 IPv6过渡 技术配置参数。
该相应协议的确认请求消息封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6过 渡技术配置参数。
该 DHCP/DHCPv6配置参数请求消息封装有用于承载 IPv6过渡技术配置 参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6过渡技术配置参数;
该相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为服务器为 CPE指定的 IPv6过渡 技术配置参数。
具体的, DHCPv6配置参数请求消息为 DHCPv6-Solicit消息,相应协议的 通告消息为 DHCPv6-Advertise 消息, 相应协议的确认请求消息为 DHCPv6-Request消息, 相应协议的确认消息为 DHCPv6-Reply消息;
接收模块 61 还用于, 在处理模块 62 通过发送模块 63 向 CPE 发送 DHCPv6-Reply 消息之后, 接收 CPE 发送的 DHCPv6 租约更新请求 DHCPv6-Renew消息, 该 DHCPv6-Renew消息封装有用于承载 IPv6过渡技术 配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE当前配 置的 IPv6过渡技术配置参数;
发送模块 63还用于,当允许 CPE继续使用所述 IPv6地址信息时,向 CPE 发送 DHCPv6续约成功 DHCPv6-Reply消息,该 DHCPv6-Reply消息中封装有 用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参 数为服务器为 CPE指定的 IPv6过渡技术配置参数。
具体的, DHCPv6配置参数请求消息为 DHCPv6-Solicit消息,相应协议的 通告消息为 DHCPv6-Advertise 消息, 相应协议的确认请求消息为 DHCPv6-Request消息, 相应协议的确认消息为 DHCPv6-Reply消息;
接收模块 61 还用于, 在处理模块 62 通过发送模块 63 向 CPE 发送 DHCPv6-Reply消息之后,接收 CPE发送的 DHCPv6地址绑定 DHCPv6-Rebind 消息, 该 DHCPv6-Rebind 消息封装有用于承载 IPv6 过渡技术配置参数的 Option,其中 载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过 渡技术配置参数;
发送模块 63还用于, 当允许 CPE继续使用该 IPv6地址信息时, 向 CPE 发送 DHCPv6续约成功 DHCPv6-Reply消息,该 DHCPv6-Reply消息中封装有 用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参 数为所述服务器为 CPE指定的 IPv6过渡技术配置参数。
具体的 , DHCP配置参数请求消息为 DHCP-Discover消息 ,相应协议的通 告消息为 DHCP-Offer消息,相应协议的确认请求消息为 DHCP-Request消息, 相应协议的确认消息为 DHCP-Ack消息;
接收模块 61 还用于, 在处理模块 62 通过发送模块 63 向 CPE 发送 DHCP-Ack消息之后, 接收 CPE发送的用于请求网络配置参数的 DHCP通知 DHCP-Inform消息, 该 DHCP-Inform消息封装有用于承载 IPv6过渡技术配置 参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配置参数;
发送模块 63还用于, 在根据接收模块 61接收到的 DHCP-Inform消息为 CPE 分配网络配置参数后, 向 CPE返回 DHCP 确认 DHCP-Ack 消息, 该 DHCP-Ack消息封装有服务器为 CPE分配的网络配置参数以及用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为服务器为 所述 CPE指定的 IPv6过渡技术配置参数。
接收模块 61 具体用于, 接收 CPE 发送的 DHCPv6 路由器请求 DHCPv6-Router-solicit 消息; 以及接收 CPE发送的 DHCPv6 配置信息请求 DHCPv6-Information-request消息; 该 DHCPv6-Information-request消息封装有 用于承载 IPv6过渡技术配置参数 Option, 其中承载的 IPv6过渡技术配置参数 为空或为 CPE默认配置的 IPv6过渡技术配置参数;
处理模块 62具体用于, 根据接收模块 61接收到的 DHCPv6-Router-solicit 消息,为 CPE分配 IPv6地址和 /或网络参数,并通过发送模块 63利用 DHCPv6 路由器通告 DHCPv6-Router-advertise 消息发送给 CPE; 以及根据 DHCPv6-Information-request消息为 CPE分配网络配置参数, 生成配置信息请 求回复 DHCPv6-Information-reply消息, 并通过发送模块 63发送给 CPE; 该 DHCPv6-Information-reply 消息封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为服务器为 CPE指定的 IPv6过渡 技术配置参数。
配置参数请求消息为 DHCPv6-Solicit消息;通告消息为 DHCPv6-Advertise 消息; 确认请求消息为 DHCPv6-Request消息; 确认消息为 DHCPv6-Reply消 息。
配置参数请求消息为 DHCP-Discover消息;通告消息为 DHCP-Offer消息; 确认请求消息为 DHCP-Request消息; 确认消息为 DHCP-Ack消息。 基于相同的技术构思, 本发明实施例还提供了一种 CPE设备, 如图 7所 示, 该 CPE设备包括:
发送模块 71 , 用于向服务器发送 DHCP/DHCPv6请求消息;
接收模块 72, 用于接收服务器返回的的相应协议的响应消息, 所述相应 协议的响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option,所述 IPv6 过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
处理模块 73 ,用于从接收模块 72接收的相应协议的响应消息中获取 IPv6 过渡技术配置参数, 并进行配置。
发送模块 71具体用于,向服务器发送 DHCP/DHCPv6配置参数请求消息; 以及在接收模块 72接收到服务器返回的封装有为 CPE分配的相应参数的相应 协议的通告消息后, 向服务器发送相应协议的确认请求消息, 以请求服务器确 认将相应参数分配给 CPE;
接收模块 72具体用于, 接收服务器发送的相应协议的确认消息, 该相应 协议的确认消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承 载的 IPv6过渡技术配置参数为服务器为 CPE指定的 IPv6过渡技术配置参数。
该相应协议的确认请求消息封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6过 渡技术配置参数。
该 DHCP/DHCPv6配置参数请求消息封装有用于承载 IPv6过渡技术配置 参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6过渡技术配置参数;
该相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的
Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为 CPE指定的 IPv6 过渡技术配置参数。
具体的, DHCPv6配置参数请求消息为 DHCPv6-Solicit消息,相应协议的 通告消息为 DHCPv6-Advertise 消息, 相应协议的确认请求消息为 DHCPv6-Request消息, 相应协议的确认消息为 DHCPv6-Reply消息;
发送模块 71还用于, 在接收模块 72接收到服务器发送的 DHCPv6-Reply 消息之后, 向服务器发送 DHCPv6租约更新请求 DHCPv6-Renew 消息, 该 DHCPv6-Renew消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中 承载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配置参 数;
接收模块 72还用于,接收服务器发送的 DHCPv6续约成功 DHCPv6-Reply 消息, 该 DHCPv6-Reply 消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为服务器为所述 CPE指定的 IPv6 过渡技术配置参数。 具体的, DHCPv6配置参数请求消息为 DHCPv6-Solicit消息,相应协议的 通告消息为 DHCPv6-Advertise 消息, 相应协议的确认请求消息为 DHCPv6-Request消息, 相应协议的确认消息为 DHCPv6-Reply消息;
发送模块 71还用于, 在接收模块 72接收到服务器发送的 DHCPv6-Reply 消息之后, 向服务器发送 DHCPv6 地址绑定 DHCPv6-Rebind 消息, 该 DHCPv6-Rebind消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中 承载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配置参 数;
接收模块 72还用于,接收服务器发送的 DHCPv6续约成功 DHCPv6-Reply 消息, 该 DHCPv6-Reply 消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为服务器为所述 CPE指定的 IPv6 过渡技术配置参数。
具体的, DHCP配置参数请求消息为 DHCP-Discover消息,相应协议的通 告消息为 DHCP-Offer消息,相应协议的确认请求消息为 DHCP-Request消息, 相应协议的确认消息为 DHCP-Ack消息;
发送模块 71还用于, 在接收模块 72接收到服务器发送的 DHCP-Ack消 息之后, 向服务器发送用于请求网络配置参数的 DHCP通知 DHCP-Inform消 息, 该 DHCP-Inform消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为 CPE当前配置的 IPv6过渡技术配 置参数;
接收模块 72还用于, 接收服务器发送的 DHCP确认 DHCP-Ack消息, 该 DHCP-Ack消息封装有服务器为所述 CPE分配的网络配置参数以及用于承载 IPv6过渡技术配置参数的 Option, Option中承载的 IPv6过渡技术配置参数为 服务器为 CPE指定的 IPv6过渡技术配置参数。
发送模块 71 具体用于, 向服务器发送 DHCPv6 路由器请求
DHCPv6-Router-solicit消息; 以及在接收模块 72接收到服务器通过 DHCPv6 路由器通告 DHCPv6-Router-advertise消息为 CPE分配的 IPv6地址和 /或网络 参数后, 向服务器发送 DHCPv6配置信息请求 DHCPv6-Information-request消 息;该 DHCPv6-Information-request消息封装有用于承载 IPv6过渡技术配置参 数 Option,其中承载的 IPv6过渡技术配置参数为空或为 CPE默认配置的 IPv6 过渡技术配置参数;
接收模块 72 具体用于, 接收服务器发送的配置信息请求回复 DHCPv6-Information-reply消息 ,该 DHCPv6-Information-reply消息中封装有用 于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数 为所述服务器为 CPE指定的 IPv6过渡技术配置参数。
具体的, 配置参数请求消息为 DHCPv6-Solicit 消息; 通告消息为 DHCPv6-Advertise消息; 述确认请求消息为 DHCPv6-Request消息; 述确认消 息为 DHCPv6-Reply消息。
具体的, 配置参数请求消息为 DHCP-Discover消息; 通告消息为 DHCP-
Offer消息; 述确认请求消息为 DHCP-Request消息; 述确认消息为 DHCP-Ack 消息。 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件,但很 多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上 或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中, 包括若干指令用以使得一台终端设备(可以 是手机, 个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述 的方法。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应视本发明的保护范围。

Claims

权 利 要 求
1.一种在用户端设备 CPE上配置 IPv6过渡技术的方法, 其特征在于, 所 述方法包括:
服务器接收 CPE发送的动态主机设置协议 DHCP/DHCPv6请求消息; 所述服务器根据所述 DHCP/DHCPv6请求消息进行处理, 并向所述 CPE 返回相应协议的响应消息, 所述相应协议的响应消息封装有承载了 IPv6过渡 技术配置参数的选项 Option, 所述 IPv6过渡技术配置参数用于指示 CPE采用 相应 IPv6过渡技术进行通信。
2.如权利要求 1 所述的方法, 其特征在于, 所述服务器接收 CPE发送的 DHCP/DHCPv6请求消息, 具体为:
所述服务器在根据 CPE发送的 DHCP/DHCPv6配置参数请求消息为所述
CPE分配相应参数, 并通过相应协议的通告消息发送给所述 CPE后, 接收所 述 CPE发送的相应协议的确认请求消息, 以请求所述服务器确认将所述相应 参数分配给所述 CPE;
所述服务器根据所述 DHCP/DHCPv6请求消息进行处理, 并向所述 CPE 返回相应协议的响应消息, 所述相应协议的响应消息封装有承载了 IPv6过渡 技术配置参数的 Option, 具体为:
所述服务器根据所述相应协议的确认请求消息,确认将所述相应参数分配 给所述 CPE后, 向所述 CPE发送相应协议的确认消息, 所述相应协议的确认 消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过 渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
3.如权利要求 2所述的方法, 其特征在于, 所述相应协议的确认请求消息 封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术 配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数。
4.如权利要求 2所述的方法, 其特征在于, 所述 DHCP/DHCPv6配置参数 请求消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6 过渡技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数; 所述相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
5.如权利要求 2所述的方法, 其特征在于, 所述 DHCPv6配置参数请求消 息为 DHCPv6-Solicit消息, 所述相应协议的通告消息为 DHCPv6-Advertise消 息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议的 确认消息为 DHCPv6-Reply消息,所述服务器向所述 CPE发送 DHCPv6-Reply 消息之后, 还包括:
所述服务器接收所述 CPE发送的 DHCPv6租约更新请求 DHCPv6-Renew 消息, 所述 DHCPv6-Renew 消息封装有用于承载 IPv6 过渡技术配置参数的 Option,其中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前配置的 IPv6 过渡技术配置参数;
若所述服务器允许所述 CPE继续使用所述 IPv6地址信息, 则向所述 CPE 发送 DHCPv6续约成功 DHCPv6-Reply消息,所述 DHCPv6-Reply消息中封装 有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置 参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
6.如权利要求 2所述的方法, 其特征在于, 所述 DHCPv6配置参数请求消 息为 DHCPv6-Solicit消息, 所述相应协议的通告消息为 DHCPv6-Advertise消 息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议的 确认消息为 DHCPv6-Reply消息,所述服务器向所述 CPE发送 DHCPv6-Reply 消息之后, 还包括:
所述服务器接收 CPE发送的 DHCPv6地址绑定 DHCPv6-Rebind消息 ,所 述 DHCPv6-Rebind消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其 中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前配置的 IPv6过渡技术 配置参数;
若所述服务器允许所述 CPE继续使用所述 IPv6地址信息, 则向所述 CPE 发送 DHCPv6续约成功 DHCPv6-Reply消息,所述 DHCPv6-Reply消息中封装 有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置 参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
7.如权利要求 2所述的方法, 其特征在于, 所述 DHCP配置参数请求消息 为 DHCP-Discover消息, 所述相应协议的通告消息为 DHCP-Offer消息, 所述 相应协议的确认请求消息为 DHCP-Request消息, 所述相应协议的确认消息为 DHCP-Ack消息, 所述服务器向所述 CPE发送 DHCP-Ack消息之后, 还包括: 所述服务器接收所述 CPE发送的用于请求网络配置参数的 DHCP 通知 DHCP-Inform消息, 所述 DHCP-Inform消息封装有用于承载 IPv6过渡技术配 置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前 配置的 IPv6过渡技术配置参数;
所述服务器根据所述 DHCP-Inform消息为所述 CPE分配网络配置参数, 并向所述 CPE返回 DHCP确认 DHCP-Ack消息 , 所述 DHCP-Ack消息封装有 所述服务器为所述 CPE分配的网络配置参数以及用于承载 IPv6过渡技术配置 参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE 指定的 IPv6过渡技术配置参数。
8.如权利要求 1 所述的方法, 其特征在于, 所述服务器接收 CPE发送的 DHCPv6请求消息, 具体为:
服务器在根据 CPE发送的 DHCPv6路由器请求 DHCPv6-Router-solicit消 息为所述 CPE分配 IPv6地址和 /或网络参数, 并通过 DHCPv6路由器通告 DHCPv6-Router-advertise 消息发送给所述 CPE 后, 接收所述 CPE 发送的 DHCPv6 配 置信 息请求 DHCPv6-Information-request 消 息 ; 所述 DHCPv6-Information-request 消息封装有用于承载 IPv6 过渡技术配置参数 Option,其中承载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6 过渡技术配置参数;
所述服务器根据所述 DHCPv6请求消息进行处理, 并向所述 CPE返回相 应协议的响应消息, 所述相应协议的响应消息封装有承载了 IPv6过渡技术配 置参数的选项 Option, 具体为:
所述服务器根据所述 DHCPv6-Information-request消息为所述 CPE分配网 络配置参数, 并向所述 CPE发送配置信息请求回复 DHCPv6-Information-reply 消息 ,所述 DHCPv6-Information-reply消息封装有用于承载 IPv6过渡技术配置 参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE 指定的 IPv6过渡技术配置参数。
9.如权利要求 2-4任一项所述的方法, 其特征在于, 所述配置参数请求消息为 DHCPv6-Solicit消息;
所述通告消息为 DHCPv6-Advertise消息;
所述确认请求消息为 DHCPv6-Request消息;
所述确认消息为 DHCPv6-Reply消息。
10.如权利要求 2-4任一项所述的方法, 其特征在于,
所述配置参数请求消息为 DHCP-Discover消息;
所述通告消息为 DHCP-Offer消息;
所述确认请求消息为 DHCP-Request消息;
所述确认消息为 DHCP-Ack消息。
11.一种在用户端设备 CPE上配置 IPv6过渡技术的方法, 其特征在于, 所 述方法包括:
CPE向服务器发送动态主机设置协议 DHCP/DHCPv6请求消息; 所述 CPE接收所述服务器返回的相应协议的响应消息, 所述相应协议的 响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option, 所述 IPv6过渡 技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
所述 CPE从所述相应协议的响应消息中获取 IPv6过渡技术配置参数, 并 进行配置。
12.如权利要求 11 所述的方法, 其特征在于, 所述 CPE 向服务器发送 DHCP/DHCPv6请求消息, 具体为:
所述 CPE向所述服务器发送 DHCP/DHCPv6配置参数请求消息, 并接收 所述服务器返回的封装有为所述 CPE分配的相应参数的相应协议的通告消息 后, 向所述服务器发送相应协议的确认请求消息, 以请求所述服务器确认将所 述相应参数分配给所述 CPE;
所述 CPE接收所述服务器返回的相应协议的响应消息, 所述相应协议的 响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option, 具体为:
所述 CPE接收所述服务器发送的相应协议的确认消息, 所述相应协议的 确认消息中封装有用于承载 IPv6过渡技术配置参数的 Option,其中承载的 IPv6 过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
13.如权利要求 12所述的方法, 其特征在于, 所述相应协议的确认请求消 息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技 术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数。
14.如权利要求 12所述的方法, 其特征在于, 所述 DHCP/DHCPv6配置参 数请求消息封装有用于承载 IPv6过渡技术配置参数的 Option,其中承载的 IPv6 过渡技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数; 所述相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的
Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的
IPv6过渡技术配置参数。
15.如权利要求 12所述的方法, 其特征在于, 所述 DHCPv6配置参数请求 消息为 DHCPv6-Solicit消息, 所述相应协议的通告消息为 DHCPv6-Advertise 消息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议 的确认消息为 DHCPv6-Reply 消息, 所述 CPE 接收所述服务器发送的
DHCPv6-Reply消息之后, 还包括:
所述 CPE向所述服务器发送 DHCPv6租约更新请求 DHCPv6-Renew消息 , 所述 DHCPv6-Renew消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前配置的 IPv6过渡技 术配置参数;
所述 CPE接收所述服务器发送的 DHCPv6续约成功 DHCPv6-Reply消息, 所述 DHCPv6-Reply消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡 技术配置参数。
16.如权利要求 12所述的方法, 其特征在于, 所述 DHCPv6配置参数请求 消息为 DHCPv6-Solicit消息, 所述相应协议的通告消息为 DHCPv6-Advertise 消息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议 的确认消息为 DHCPv6-Reply 消息, 所述 CPE 接收所述服务器发送的 DHCPv6-Reply消息之后, 还包括:
所述 CPE向所述服务器发送 DHCPv6地址绑定 DHCPv6-Rebind消息 ,所 述 DHCPv6-Rebind消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其 中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前配置的 IPv6过渡技术 配置参数;
所述 CPE接收所述服务器发送的 DHCPv6续约成功 DHCPv6-Reply消息, 所述 DHCPv6-Reply消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡 技术配置参数。
17.如权利要求 12所述的方法, 其特征在于, 所述 DHCP配置参数请求消 息为 DHCP-Discover消息, 所述相应协议的通告消息为 DHCP-Offer消息, 所 述相应协议的确认请求消息为 DHCP-Request消息, 所述相应协议的确认消息 为 DHCP-Ack消息, 所述 CPE接收所述服务器发送的 DHCP-Ack消息之后, 还包括:
所述 CPE 向所述服务器发送用于请求网络配置参数的 DHCP 通知 DHCP-Inform消息, 所述 DHCP-Inform消息封装有用于承载 IPv6过渡技术配 置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前 配置的 IPv6过渡技术配置参数;
所述 CPE接收所述服务器发送的 DHCP 确认 DHCP-Ack 消息, 所述 DHCP-Ack消息封装有所述服务器为所述 CPE分配的网络配置参数以及用于 承载 IPv6过渡技术配置参数的 Option,所述 Option中承载的 IPv6过渡技术配 置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
18.如权利要求 11 所述的方法, 其特征在于, 所述 CPE 向服务器发送
DHCPv6请求消息, 具体为:
所述 CPE向所述服务器发送 DHCPv6路由器请求 DHCPv6-Router-solicit 消息, 并接收所述服务器通过 DHCPv6路由器通告 DHCPv6-Router-advertise 消息为所述 CPE 分配的 IPv6 地址和 /或网络参数后, 向所述服务器发送 DHCPv6 配 置信 息请求 DHCPv6-Information-request 消 息 ; 所述 DHCPv6-Information-request 消息封装有用于承载 IPv6 过渡技术配置参数 Option,其中承载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6 过渡技术配置参数;
所述 CPE接收所述服务器返回的相应协议的响应消息, 所述相应协议的 响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option, 具体为: 所述 CPE 接收所述服务器发送的 配置信 息请求 回 复 DHCPv6-Information-reply消息 ,所述 DHCPv6-Information-reply消息中封装有 用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参 数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
19.如权利要求 12-14任一项所述的方法, 其特征在于,
所述配置参数请求消息为 DHCPv6-Solicit消息;
所述通告消息为 DHCPv6-Advertise消息;
所述确认请求消息为 DHCPv6-Request消息;
所述确认消息为 DHCPv6-Reply消息。
20.如权利要求 12-14任一项所述的方法, 其特征在于,
所述配置参数请求消息为 DHCP-Discover消息;
所述通告消息为 DHCP- Offer消息;
所述确认请求消息为 DHCP-Request消息;
所述确认消息为 DHCP-Ack消息。
21.—种服务器, 其特征在于, 包括:
接收模块, 用于接收 CPE发送的动态主机设置协议 DHCP/DHCPv6请求 消息;
处理模块,用于根据所述接收模块接收的 DHCP/DHCPv6请求消息进行处 理, 并生成相应协议的响应消息, 所述相应协议的响应消息中封装有承载了 IPv6过渡技术配置参数的选项 Option, 所述 IPv6过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信;
发送模块, 用于将所述处理模块生成的相应协议的响应消息发送给所述 CPE。
22.如权利要求 21所述的服务器, 其特征在于, 所述接收模块具体用于, 接收所述 CPE发送的 DHCP/DHCPv6配置参数请求消息; 以及接收所述 CPE 发送的相应协议的确认请求消息;
所述处理模块还用于,根据所述接收模块接收的 DHCP/DHCPv6配置参数 请求消息, 为所述 CPE分配相应参数, 并通过所述发送模块向所述 CPE发送 相应协议的通告消息; 以及,根据所述接收模块接收的相应协议的确认请求消 息,在确认将所述相应参数分配给所述 CPE后,通过所述发送模块向所述 CPE 发送相应协议的确认消息; 所述相应协议的确认消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务 器为所述 CPE指定的 IPv6过渡技术配置参数。
23.如权利要求 22所述的服务器, 其特征在于, 所述相应协议的确认请求 消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡 技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数。
24.如权利要求 22所述的服务器, 其特征在于, 所述 DHCP/DHCPv6配置 参数请求消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参 数;
所述相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
25.如权利要求 22所述的服务器, 其特征在于, 所述 DHCPv6配置参数请 求消息为 DHCPv6-Solicit消息,所述相应协议的通告消息为 DHCPv6-Advertise 消息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议 的确认消息为 DHCP v6-Reply消息;
所述接收模块还用于, 在所述处理模块通过所述发送模块向所述 CPE发 送 DHCPv6-Reply消息之后, 接收所述 CPE发送的 DHCPv6租约更新请求 DHCPv6-Renew消息, 所述 DHCPv6-Renew消息封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE 当前配置的 IPv6过渡技术配置参数;
所述发送模块还用于, 当允许所述 CPE继续使用所述 IPv6地址信息时, 向所述 CPE发送 DHCPv6续约成功 DHCPv6-Reply消息,所述 DHCPv6-Reply 消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过 渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
26.如权利要求 22所述的服务器, 其特征在于, 所述 DHCPv6配置参数请 求消息为 DHCPv6-Solicit消息,所述相应协议的通告消息为 DHCPv6-Advertise 消息, 所述相应协议的确认请求消息为 DHCPv6-Request消息, 所述相应协议 的确认消息为 DHCPv6-Reply消息;
所述接收模块还用于, 在所述处理模块通过所述发送模块向所述 CPE发 送 DHCPv6-Reply 消息之后, 接收 CPE 发送的 DHCPv6 地址绑定 DHCPv6-Rebind消息,所述 DHCPv6-Rebind消息封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE 当前配置的 IPv6过渡技术配置参数;
所述发送模块还用于, 当允许所述 CPE继续使用所述 IPv6地址信息时, 向所述 CPE发送 DHCPv6续约成功 DHCPv6-Reply消息,所述 DHCPv6-Reply 消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过 渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
27.如权利要求 22所述的服务器, 其特征在于, 所述 DHCP配置参数请求 消息为 DHCP-Discover消息, 所述相应协议的通告消息为 DHCP-Offer消息, 所述相应协议的确认请求消息为 DHCP-Request消息, 所述相应协议的确认消 息为 DHCP-Ack消息;
所述接收模块还用于, 在所述处理模块通过所述发送模块向所述 CPE发 送 DHCP-Ack消息之后,接收所述 CPE发送的用于请求网络配置参数的 DHCP 通知 DHCP-Inform消息,所述 DHCP-Inform消息封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE 当前配置的 IPv6过渡技术配置参数;
所述发送模块还用于, 在根据所述接收模块接收到的所述 DHCP-Inform 消息为所述 CPE分配网络配置参数后 ,向所述 CPE返回 DHCP确认 DHCP-Ack 消息, 所述 DHCP-Ack消息封装有所述服务器为所述 CPE分配的网络配置参 数以及用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术 配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
28.如权利要求 21所述的服务器, 其特征在于, 所述接收模块具体用于, 接收 CPE发送的 DHCPv6路由器请求 DHCPv6-Router-solicit消息; 以及接收 所述 CPE发送的 DHCPv6配置信息请求 DHCPv6-Information-request消息;所 述 DHCPv6-Information-request消息封装有用于承载 IPv6过渡技术配置参数 Option,其中承载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6 过渡技术配置参数;
所述处理模块具体用 于 , 根据所述接收模块接收到 的
DHCPv6-Router-solicit消息, 为所述 CPE分配 IPv6地址和 /或网络参数, 并通 过所述发送模块利用 DHCPv6路由器通告 DHCPv6-Router-advertise消息发送 给所述 CPE;以及根据所述 DHCPv6-Information-request消息为所述 CPE分配 网络配置参数, 生成配置信息请求回复 DHCPv6-Information-reply消息, 并通 过所述发送模块发送给所述 CPE; 所述 DHCPv6-Information-reply消息封装有 用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参 数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
29.如权利要求 22-24任一项所述的服务器, 其特征在于,
所述配置参数请求消息为 DHCPv6-Solicit消息;
所述通告消息为 DHCPv6-Advertise消息;
所述确认请求消息为 DHCPv6-Request消息;
所述确认消息为 DHCPv6-Reply消息。
30.如权利要求 22-24任一项所述的服务器, 其特征在于,
所述配置参数请求消息为 DHCP-Discover消息;
所述通告消息为 DHCP-Offer消息;
所述确认请求消息为 DHCP-Request消息;
所述确认消息为 DHCP-Ack消息。
31.—种用户端设备 CPE设备, 其特征在于, 包括:
发送模块, 用于向服务器发送动态主机设置协议 DHCP/DHCPv6请求消 接收模块, 用于接收所述服务器返回的的相应协议的响应消息, 所述相应 协议的响应消息封装有承载了 IPv6过渡技术配置参数的选项 Option,所述 IPv6 过渡技术配置参数用于指示 CPE采用相应 IPv6过渡技术进行通信; 处理模块, 用于从所述接收模块接收的相应协议的响应消息中获取 IPv6 过渡技术配置参数, 并进行配置。
32.如权利要求 31所述的 CPE设备, 其特征在于,
所述发送模块具体用于,向所述服务器发送 DHCP/DHCPv6配置参数请求 消息; 以及在所述接收模块接收到所述服务器返回的封装有为所述 CPE分配 的相应参数的相应协议的通告消息后,向所述服务器发送相应协议的确认请求 消息, 以请求所述服务器确认将所述相应参数分配给所述 CPE;
所述接收模块具体用于,接收所述服务器发送的相应协议的确认消息, 所 述相应协议的确认消息中封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡 技术配置参数。
33.如权利要求 32所述的 CPE设备,其特征在于,所述相应协议的确认请 求消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过 渡技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置参数。
34.如权利要求 32所述的 CPE设备, 其特征在于, 所述 DHCP/DHCPv6 配置参数请求消息封装有用于承载 IPv6过渡技术配置参数的 Option, 其中承 载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6过渡技术配置 参数;
所述相应协议的通告消息中封装有用于承载 IPv6 过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
35.如权利要求 32所述的 CPE设备, 其特征在于, 所述 DHCPv6配置参 数请求消息为 DHCPv6-Solicit 消息, 所述相应协议的通告消息为 DHCPv6-Advertise消息,所述相应协议的确认请求消息为 DHCPv6-Request消 息, 所述相应协议的确认消息为 DHCPv6-Reply消息;
所述发送模块还用于, 在所述接收模块接收到所述服务器发送的 DHCPv6-Reply 消息之后, 向所述服务器发送 DHCPv6 租约更新请求 DHCPv6-Renew消息, 所述 DHCPv6-Renew消息封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE 当前配置的 IPv6过渡技术配置参数;
所述接收模块还用于, 接收所述服务器发送的 DHCPv6 续约成功 DHCPv6-Reply消息,所述 DHCPv6-Reply消息中封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所 述 CPE指定的 IPv6过渡技术配置参数。
36.如权利要求 32所述的 CPE设备, 其特征在于, 所述 DHCPv6配置参 数请求消息为 DHCPv6-Solicit 消息, 所述相应协议的通告消息为 DHCPv6-Advertise消息,所述相应协议的确认请求消息为 DHCPv6-Request消 息 , 所述相应协议的确认消息为 DHCPv6-Reply消息;
所述发送模块还用于, 在所述接收模块接收到所述服务器发送的
DHCPv6-Reply 消息之后, 向所述服务器发送 DHCPv6 地址绑定 DHCPv6-Rebind消息,所述 DHCPv6-Rebind消息封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE 当前配置的 IPv6过渡技术配置参数;
所述接收模块还用于, 接收所述服务器发送的 DHCPv6 续约成功
DHCPv6-Reply消息,所述 DHCPv6-Reply消息中封装有用于承载 IPv6过渡技 术配置参数的 Option, 其中承载的 IPv6过渡技术配置参数为所述服务器为所 述 CPE指定的 IPv6过渡技术配置参数。
37.如权利要求 32所述的 CPE设备, 其特征在于, 所述 DHCP配置参数 请求消息为 DHCP-Discover消息, 所述相应协议的通告消息为 DHCP-Offer消 息, 所述相应协议的确认请求消息为 DHCP-Request消息, 所述相应协议的确 认消息为 DHCP-Ack消息;
所述发送模块还用于, 在所述接收模块接收到所述服务器发送的 DHCP-Ack消息之后,向所述服务器发送用于请求网络配置参数的 DHCP通知 DHCP-Inform消息, 所述 DHCP-Inform消息封装有用于承载 IPv6过渡技术配 置参数的 Option, 其中承载的 IPv6过渡技术配置参数为空或为所述 CPE当前 配置的 IPv6过渡技术配置参数;
所述接收模块还用于, 接收所述服务器发送的 DHCP确认 DHCP-Ack消 息, 所述 DHCP-Ack消息封装有所述服务器为所述 CPE分配的网络配置参数 以及用于承载 IPv6过渡技术配置参数的 Option, 所述 Option中承载的 IPv6 过渡技术配置参数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
38.如权利要求 31所述的 CPE设备,其特征在于,所述发送模块具体用于, 向所述服务器发送 DHCPv6路由器请求 DHCPv6-Router-solicit消息; 以及在 所述接收模块接收到 所述服务器通过 DHCPv6 路由 器通告 DHCPv6-Router-advertise消息为所述 CPE分配的 IPv6地址和 /或网络参数后, 向所述服务器发送 DHCPv6配置信息请求 DHCPv6-Information-request消息; 所述 DHCPv6-Information-request消息封装有用于承载 IPv6过渡技术配置参数 Option,其中承载的 IPv6过渡技术配置参数为空或为所述 CPE默认配置的 IPv6 过渡技术配置参数;
所述接收模块具体用于, 接收所述服务器发送的配置信息请求回复 DHCPv6-Information-reply消息 ,所述 DHCPv6-Information-reply消息中封装有 用于承载 IPv6过渡技术配置参数的 Option, 其中承载的 IPv6过渡技术配置参 数为所述服务器为所述 CPE指定的 IPv6过渡技术配置参数。
39.如权利要求 32-34任一项所述的 CPE设备, 其特征在于,
所述配置参数请求消息为 DHCPv6-Solicit消息;
所述通告消息为 DHCPv6-Advertise消息;
所述确认请求消息为 DHCPv6-Request消息;
所述确认消息为 DHCPv6-Reply消息。
40.如权利要求 32-34任一项所述的 CPE设备, 其特征在于,
PCT/CN2013/084959 2012-10-10 2013-10-10 一种在CPE上配置IPv6过渡技术的方法及设备 WO2014056441A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210381634.7A CN103731394B (zh) 2012-10-10 2012-10-10 一种在CPE上配置IPv6过渡技术的方法及设备
CN201210381634.7 2012-10-10

Publications (1)

Publication Number Publication Date
WO2014056441A1 true WO2014056441A1 (zh) 2014-04-17

Family

ID=50455325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084959 WO2014056441A1 (zh) 2012-10-10 2013-10-10 一种在CPE上配置IPv6过渡技术的方法及设备

Country Status (2)

Country Link
CN (1) CN103731394B (zh)
WO (1) WO2014056441A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262958A (zh) * 2020-01-09 2020-06-09 深信服科技股份有限公司 内外网站交互方法、装置、设备及计算机可读存储介质
CN114640663A (zh) * 2022-03-03 2022-06-17 上海联虹技术有限公司 远程控制cpe设备的方法及远程控制系统

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869065B (zh) 2014-02-26 2020-04-21 中兴通讯股份有限公司 数据报文处理方法及装置
CN104468202B (zh) * 2014-11-26 2018-03-27 迈普通信技术股份有限公司 一种用户端设备的管理方法及装置
CN104519149A (zh) * 2014-12-24 2015-04-15 国家电网公司 一种通过缓存DHCPv6 rq options保护重要通信设备的方法
CN106161666A (zh) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 互联网协议第6版IPv6报文处理方法和装置
CN106471792B (zh) * 2015-05-25 2020-01-10 华为技术有限公司 消息处理方法、服务器和系统
CN106330651A (zh) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 4in6隧道模式选择方法及装置
CN107294755B (zh) * 2016-04-13 2022-01-25 中兴通讯股份有限公司 用户信息和设备的绑定方法、装置及系统
CN111224854B (zh) * 2018-11-27 2021-09-07 北京华为数字技术有限公司 一种工作模式的选择方法、客户端前端设备及存储介质
CN113923110A (zh) * 2020-06-22 2022-01-11 中兴通讯股份有限公司 Map-e隧道的配置管理方法、设备、服务器以及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075944A (zh) * 2006-05-19 2007-11-21 华为技术有限公司 一种ip地址分配方法及系统
US20100202321A1 (en) * 2009-02-11 2010-08-12 Cisco Technology, Inc. IPv6 ADDRESSING OVER NON-IPv6 SYSTEMS
CN102158563A (zh) * 2010-02-12 2011-08-17 华为技术有限公司 IPv6过渡网络中获取IPv6配置信息的方法、系统以及装置
CN102209121A (zh) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 IPv6网络和IPv4网络之间互通的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075944A (zh) * 2006-05-19 2007-11-21 华为技术有限公司 一种ip地址分配方法及系统
US20100202321A1 (en) * 2009-02-11 2010-08-12 Cisco Technology, Inc. IPv6 ADDRESSING OVER NON-IPv6 SYSTEMS
CN102158563A (zh) * 2010-02-12 2011-08-17 华为技术有限公司 IPv6过渡网络中获取IPv6配置信息的方法、系统以及装置
CN102209121A (zh) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 IPv6网络和IPv4网络之间互通的方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262958A (zh) * 2020-01-09 2020-06-09 深信服科技股份有限公司 内外网站交互方法、装置、设备及计算机可读存储介质
CN111262958B (zh) * 2020-01-09 2023-02-03 深信服科技股份有限公司 内外网站交互方法、装置、设备及计算机可读存储介质
CN114640663A (zh) * 2022-03-03 2022-06-17 上海联虹技术有限公司 远程控制cpe设备的方法及远程控制系统

Also Published As

Publication number Publication date
CN103731394B (zh) 2017-01-25
CN103731394A (zh) 2014-04-16

Similar Documents

Publication Publication Date Title
WO2014056441A1 (zh) 一种在CPE上配置IPv6过渡技术的方法及设备
US8103784B2 (en) Communication device and communication control method using efficient echonet address determination scheme
CN102984295B (zh) 一种移动终端及其地址分配方法
WO2010069181A1 (zh) Ipv6地址配置方法和系统
WO2015085788A1 (zh) 一种动态主机配置协议报文处理方法及装置
EP3758300B1 (en) Method for accessing service network, and communication apparatus
CN102752413B (zh) Dhcp服务器选择方法和网络设备
US20140006584A1 (en) Method for establishing channel for managing ipv4 terminal and network gateway
WO2011098039A1 (zh) Ipv6过渡网络中获取ipv6配置信息的方法、系统以及装置
WO2013071765A1 (zh) 为用户终端分配ip地址的方法、装置和系统
CN112398959B (zh) Rlc信道确定方法和装置
WO2009071009A1 (fr) Procédé pour découvrir automatiquement des dispositifs d'éléments de réseau, dispositif et système
CN101873320B (zh) 一种基于DHCPv6中继的客户端信息确认方法及其装置
WO2012174914A1 (zh) 控制地址配置方式的方法和设备
WO2015054882A1 (zh) 网络设备通信方法及网络设备
WO2013086966A1 (zh) 基于IPv6的二层互通的方法、装置和系统
CN103384282A (zh) 一种获取ipv6nd地址的方法及bars
CN106878481B (zh) 一种网络互连协议ip地址获取方法、装置和系统
US9503418B2 (en) Method and apparatus for obtaining remote IP address
EP4145906A1 (en) Non-ip type data transmission processing method, device and apparatus, and medium
TW538616B (en) Method for providing transparent public addressed networks within private networks
WO2015123947A1 (zh) 局域网信息的下发方法及装置
WO2017206575A1 (zh) 通信协议接入的方法、装置及系统
CN102480476A (zh) 一种基于dhcp协议扩展的多业务访问方法
WO2014169838A1 (zh) 动态主机配置协议服务器、中继的管理方法及装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13845490

Country of ref document: EP

Kind code of ref document: A1