WO2011088703A1 - System and method for negotiating and configuring ipv6 network parameter - Google Patents

System and method for negotiating and configuring ipv6 network parameter Download PDF

Info

Publication number
WO2011088703A1
WO2011088703A1 PCT/CN2010/078903 CN2010078903W WO2011088703A1 WO 2011088703 A1 WO2011088703 A1 WO 2011088703A1 CN 2010078903 W CN2010078903 W CN 2010078903W WO 2011088703 A1 WO2011088703 A1 WO 2011088703A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
ipv6cp
ipv6
ipv6 network
response message
Prior art date
Application number
PCT/CN2010/078903
Other languages
French (fr)
Chinese (zh)
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 WO2011088703A1 publication Critical patent/WO2011088703A1/en

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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Definitions

  • the present invention relates to the field of network communications, and in particular, to a system and method for negotiating and configuring IPv6 network parameters in a Point-to-Point Protocol (PPP).
  • PPP Point-to-Point Protocol
  • NCP network layer control protocol
  • IPv4 the rapid development of the Internet and the rapid expansion of the scale have made the existing IPv4 face many problems in terms of scalability, such as insufficient address space, which needs to be solved urgently.
  • IPv6 IPv6 to solve these problems.
  • IPv4 address space is gradually depleted, some short-term solutions to delay address consumption are being implemented, and some long-term solutions such as IPv6 technology are gradually being implemented.
  • IPv6 there are some problems when using IPv6 to carry IPv6. For example, the negotiation configuration of IPv6 network parameters needs to be resolved.
  • IPv6CP IPv6 control protocol
  • IPv6CP IPv6 control protocol
  • DHCPv6 Protocol version 6
  • extended option functions are used to negotiate and configure IPv6 network parameters.
  • IPv6 network parameter negotiation configuration method needs to introduce an additional mechanism, thereby increasing the overhead of device implementation and operation and causing instability factors. In addition, this is inconsistent with the implementation method in the original IPv4 network, especially in the migration from IPv4 to IPv6.
  • IPCP IPv4 Control Protocol
  • the main purpose of the present invention is to provide a system and method for negotiating and configuring IPv6 network parameters, and directly using IPv6CP in the PPP protocol family to negotiate and configure IPv6 network parameters.
  • a system for negotiating an IPv6 network parameter includes: a negotiation configuration unit, configured to negotiate an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6 control protocol (IPv6CP) packet.
  • IPv6CP IPv6 control protocol
  • the negotiation configuration unit further includes: a reading module of the response end, a processing module of the response end, and a sending module of the response end;
  • the reading module is configured to obtain a configuration request message from the requesting end, and read an IPv6CP configuration option carried in the configuration request message, where the configuration request message uses the format of the IPv6CP ⁇
  • the processing module is configured to: the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in an IPv6CP configuration option carried in the response message, where the response message uses the IPv6CP packet Format
  • the sending module is configured to send the response message to the requesting end.
  • the negotiation configuration unit further includes: a configuration unit of the requesting end, configured to receive the response message, obtain the IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and according to the IPv6 network The parameters perform network configuration operations.
  • the requesting end includes a host or a home gateway.
  • a method for negotiating parameters for configuring an IPv6 network comprising:: based on an IPv6CP packet
  • the IPv6 network parameters are negotiated between the requesting end and the responding end.
  • the negotiation configuration includes:
  • the response end obtains the configuration request message from the requesting end, and reads the IPv6CP configuration option carried in the configuration request message; wherein the configuration request message uses the format of the IPv6CP message;
  • the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in the IPv6CP configuration option carried in the response message, where the response message uses the format of the IPv6CP message;
  • the responder sends the response message to the requesting end.
  • the negotiating configuration further includes: the requesting end receiving the response message, obtaining the IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and performing network configuration according to the IPv6 network parameter operating.
  • the IPv6 network parameter includes: at least one of an IPv6 address, an IPv6 prefix, a primary domain name service system (DNS) address, and an alternate DNS address.
  • DNS domain name service system
  • the invention is based on the IPv6CP configuration option in the IPv6CP packet, and negotiates the configuration of the IPv6 network parameter between the requesting end and the responding end.
  • an IPv6-based configuration option is introduced, that is, the IPv6CP configuration option is carried in the IPv6CP packet, so that the IPv6 network parameter in the PPP protocol family can be directly used to negotiate the configuration of the IPv6 network parameter, and the PPP is not required to be implemented by using an additional mechanism. Not only is the implementation method simple, but also reduces the overhead of the device, making the device run more stable and robust.
  • FIG. 1 is a schematic diagram showing an example of a format of an IPv6 address configuration option of an IPv6 address according to the present invention
  • FIG. 2 is a schematic diagram showing an example of a format of an IPv6CP configuration option of an IPv6 prefix according to the present invention
  • 4 is a schematic diagram showing an example of a format of an IPv6CP configuration option being an alternate DNS address
  • Figure 5 is a schematic structural view of an embodiment of a system of the present invention
  • FIG. 6 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 1 of the present invention
  • FIG. 7 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 2 of the present invention.
  • the basic idea of the present invention is: Based on the IPv6CP configuration option in the IPv6CP packet, the IPv6 network parameters are negotiated between the requesting end and the responding end.
  • a system for negotiating an IPv6 network parameter includes: a negotiation configuration unit, configured to negotiate an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6CP packet.
  • the negotiation configuration unit further includes: a reading module of the response end, a processing module of the response end, and a sending module of the response end.
  • the reading module is configured to obtain a configuration request message from the requesting end, and read the IPv6CP configuration option carried in the configuration request message.
  • the configuration request message is in the format of the IPv6CP packet.
  • the processing module is configured to: the IPv6 network parameter corresponding to the IPv6CP configuration option carried in the configuration request message is placed in a corresponding field in the IPv6CP configuration option carried in the response message; where the response message is in the format of the IPv6CP message.
  • the sending module is used to send a response message to the requesting end.
  • the negotiation configuration unit further includes: a configuration unit of the requesting end, configured to receive the response message, obtain an IPv6 network parameter from a field of the IPv6CP configuration option carried in the response message, and perform a network configuration operation according to the IPv6 network parameter.
  • the request side includes a host or a home gateway.
  • a method for negotiating an IPv6 network parameter includes: Configuring an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6CP packet.
  • the negotiation configuration specifically includes the following content:
  • the response end obtains the configuration request message from the requesting end, and reads the configuration request message.
  • the IPv6CP configuration option is carried in.
  • the configuration request message uses the format of the IPv6CP packet.
  • the responding end allocates the IPv6 network parameter corresponding to the IPv6CP configuration option carried in the configuration request message to the corresponding field in the IPv6CP configuration option carried in the response message.
  • the response message uses the format of the IPv6CP packet.
  • the responder sends a response message to the requesting end.
  • the method may further include a configuration process, that is, the requesting end receives the response message, obtains an IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and performs a network configuration operation according to the IPv6 network parameter.
  • a configuration process that is, the requesting end receives the response message, obtains an IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and performs a network configuration operation according to the IPv6 network parameter.
  • the IPv6 network parameters include: at least one of an IPv6 address, an IPv6 prefix, a primary domain name service system (DNS) address, and an alternate DNS address.
  • the present invention is directed to the negotiation configuration problem of IPv6 network parameters in PPP, and is a technical solution for IPv6 network parameter negotiation configuration based on the IPv6CP configuration option.
  • the main contents included in the technical solution of the present invention are explained below.
  • the IPv6 network parameter negotiation configuration system based on the IPv6CP configuration option includes: a reading module, a processing module, and a sending module.
  • the reading module is configured to process the receiving of the IPv6CP packet from the peer end, and read the content of the configuration option in the packet, and then submit the processing module for further processing.
  • the processing module is configured to place the selected IPv6 network parameter in the corresponding field of the configuration option in the response message according to the content of the received configuration option.
  • the sending module is configured to send the response packet generated by the processing module to the peer end as a response to the received IPv6CP message.
  • IPv6 network parameters include, but are not limited to, an IPv6 address, an IPv6 prefix, a primary DNS address, an alternate DNS address, and the like.
  • the IPv6 network parameter negotiation configuration method based on the IPv6CP configuration option of the present invention includes:
  • the reading module receives the IPV6CP message from the peer end, and reads the content of the configuration option in the message. And then the processing module performs further processing; the processing module places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message according to the content of the received configuration option; the sending module sends the response message generated by the processing module The peer is sent as a response to the received IPv6CP message.
  • the configuration requesting end of the negotiation two parties may perform a network configuration operation according to the acquired network parameters, where the configuration operation includes: the configuration requesting end may perform its own network configuration operation according to the acquired network parameters, for example, configuring itself
  • the configuration operation of the IPv6 address, the primary DNS address, and the alternate DNS address of the interface may also perform network configuration operations of the connected device according to the acquired network parameters, for example, through stateless address configuration, DHCP, and the like.
  • the mechanism delivers configuration operations such as IPv6 address, primary DNS, and alternate DNS address to hosts in the network to which it is connected.
  • the present invention provides a simple and robust IPv6 network parameter negotiation configuration scheme, considering that the existing IPv6 network parameter negotiation configuration method in the PPP cannot directly negotiate the configuration of the IPv6 network parameters.
  • the IPv6CP configuration option is used to negotiate the configuration of the IPv6 network parameters, and no additional mechanism is needed, and the implementation method is simple, thereby reducing the overhead of the device and making the operation more stable.
  • the invention is illustrated by way of example below.
  • FIG. 1 to FIG. 4 are schematic diagrams showing examples of formats of respective IPv6CP configuration options, wherein FIG. 2 is different from other graphs, and is special except for the fields common to the format, namely: Type field, Length field, content ( The content field also includes the reserved ( Reserved ) field; content is abbreviated as cont in the figure, and the specific format of each IPv6CP configuration option is shown in Figure 1 to Figure 4.
  • the IPv6 address can be represented by IPv6 Address
  • the IPv6 prefix can be represented by IPv6 Prefix
  • the primary DNS address can be used with Primary DNS Address. Indicates
  • the alternate DNS address can be represented by the Secondary DNS Address.
  • IPv6 Prefix can only be applied in IPv6, and is not available in Ipv4.
  • FIG. 5 is a schematic structural diagram of an embodiment of a system of the present invention.
  • FIG. 6 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 2 of the method of the present invention.
  • the PPP configuration requester when the PPP configuration requester is a host, the host sends a configuration request message and carries the IPv6CP configuration option. After the response process is complete, the configuration response message is sent to the host.
  • the PPP configuration requester is the home gateway
  • the home gateway sends a configuration request message and carries the IPv6CP configuration option.
  • the configuration response message is sent to the home gateway.
  • the system includes: a reading module, a processing module, and a sending module.
  • the reading module is configured to process the receiving of the IPv6CP message from the peer end and read the content of the configuration option in the message.
  • the processing module is connected to the reading module, configured to generate a response message according to the content of the received configuration option, and place the selected IPv6 network parameter in a corresponding field of the configuration option in the response message.
  • the sending module is connected to the processing module, and is configured to send the response message to the peer end.
  • the PPP configuration option negotiation process includes the following steps: Step 101: A host sends a configuration request message.
  • the configuration request message is implemented by using IPv6CP.
  • the IPv6CP configuration options carried in the IPv6CP 4 are IPv6 Address, Primary DNS Address, Secondary DNS Address, and the like.
  • the configuration options such as IPv6 Address, Primary DNS Address. Secondary DNS Address may not contain specific parameter values, and are empty. After receiving the response from the configuration response, add specific parameter values.
  • Step 102 The read module of the configuration response end receives the IPv6 packet from the host, and reads the IPv6. The content of the IPv6CP configuration option in the message.
  • Step 103 The processing module configuring the response end generates a response according to the content of the received configuration option, and places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message.
  • the network parameter values such as the selected IPv6 Address, Primary DNS Address, and Secondary DNS Address are placed in the corresponding fields of the configuration options in the response message.
  • the configuration request message sent by the configuration requesting end carries a configuration option, and the configuration option may include a field corresponding to the network parameter such as IPv6 Address, Primary DNS Address, and Secondary DNS Address;
  • the response message that is, the response message also carries configuration options, and may also include fields corresponding to network parameters such as IPv6 Address, Primary DNS Address, and Secondary DNS Address, and then, the specific network parameter value is placed.
  • the corresponding field in the configuration option needs to be placed, for example, the parameter value of the IPv6 Address network parameter is placed in the configuration option corresponding to the IPv6 Address field.
  • Step 104 The sending module of the responding end sends the response packet generated by the processing module to the host of the peer end as a response to the received IPv6CP packet.
  • Step 105 The host performs network configuration operations according to the IPv6 network parameters in the obtained response packet.
  • the host performs specific network configuration operations according to the obtained network parameter values such as IPv6 Address, Primary DNS Address, and Secondary DNS Address.
  • the ⁇ configuration option negotiation process includes the following steps: Step 201: The home gateway sends a configuration request message.
  • the configuration request message is implemented by using IPv6CP
  • the IPv6CP configuration option carried in the IPv6CP 4 is IPv6-Prefix, Primary DNS Address, Secondary DNS Address, and the like. J3 ⁇ 4, IPv6 Address, Primary DNS Address. Secondary
  • the contents of the configuration options such as DNS Address may not contain specific parameter values, and are empty. After receiving the response from the configuration response end, the specific parameter values are added.
  • Step 202 The reading module of the configuration response end receives the IPv6 packet from the home gateway, and reads the content of the IPv6CP configuration option in the IPv6 packet.
  • Step 203 The processing module configuring the response end generates a response message according to the content of the received configuration option, and places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message.
  • the network parameter values such as the selected IPv6-Prefix, Primary DNS Address, and Secondary DNS Address are placed in the corresponding fields of the configuration options in the response message.
  • Step 204 The sending module that configures the responding end sends the response packet generated by the processing module to the home gateway of the peer end as a response to the received IPv6CP packet.
  • Step 205 The home gateway performs operations such as network configuration according to the IPv6 network parameters in the obtained response message.
  • the home gateway performs specific network configuration operations according to the obtained network parameter values such as IPv6-Prefix, Primary DNS Address, and Secondary DNS Address.
  • configuration-option the host is represented by Host; and the home gateway is represented by Residential Gateway.

Landscapes

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

Abstract

A system for negotiating and configuring internet protocol version six (IPv6) network parameters is provided in the present invention. In the system, a negotiation and configuration unit is used to negotiate and configure the IPv6 network parameters between a request end and a respond end based on the IPv6 control protocol (IPv6CP) configuration option in an IPv6CP message. A method for negotiating and configuring IPv6 network parameters is also provided in the present invention, wherein, the IPv6 network parameters are negotiated and configured between the request end and the respond end based on the IPv6CP configuration option in the IPv6CP message. Application of the present invention enables direct negotiation and configuration of IPv6 network parameters with the IPv6CP in the point-to-point protocol (PPP) family of protocols, simple implementation of the method, and cost reduction of devices, therefore the devices run more stably and robustly.

Description

一种协商配置 IPv6网络参数的系统及方法 技术领域  System and method for negotiating and configuring IPv6 network parameters
本发明涉及网络通信领域, 尤其涉及一种点到点协议 ( PPP , Point-to-Point Protocol ) 中协商配置 IPv6网络参数的系统及方法。 背景技术  The present invention relates to the field of network communications, and in particular, to a system and method for negotiating and configuring IPv6 network parameters in a Point-to-Point Protocol (PPP). Background technique
PPP是作为一种链路层协议, 因为其简单高效并且具有良好的扩展性, 已经被广泛的应用于用户数字链路(DSL )拨号、 认证, 路由器高速链路封 装等各领域。 PPP 中的网络层控制协议 ( NCP , network-layer control protocol ), 使得在 PPP连接上可以同时承载多种网络层协议, 例如 IPv4、 IPv6等。  As a link layer protocol, PPP has been widely used in user digital link (DSL) dialing, authentication, router high-speed link encapsulation, etc. because of its simplicity, efficiency, and scalability. The network layer control protocol (NCP) in PPP enables multiple network layer protocols, such as IPv4 and IPv6, to be carried simultaneously on a PPP connection.
同时, Internet的高速发展与规模的急剧扩大,使现有的 IPv4在扩展性 上面临很多问题,例如地址空间不足等,亟待解决。于是,人们开发出 IPv6, 目的便是用于解决这些问题。 由于 IPv4地址空间正逐渐面临枯竭, 一些延 緩地址消耗的短期方案正在被实施, 同时一些长期的解决方案如 IPv6技术 也在逐步被实施。然而在利用 PPP承载 IPv6时,存在一些问题,例如: IPv6 网络参数的协商配置等, 需要解决。  At the same time, the rapid development of the Internet and the rapid expansion of the scale have made the existing IPv4 face many problems in terms of scalability, such as insufficient address space, which needs to be solved urgently. As a result, people developed IPv6 to solve these problems. As the IPv4 address space is gradually depleted, some short-term solutions to delay address consumption are being implemented, and some long-term solutions such as IPv6 technology are gradually being implemented. However, there are some problems when using IPv6 to carry IPv6. For example, the negotiation configuration of IPv6 network parameters needs to be resolved.
目前, PPP的实现方法, 无法直接通过 PPP协议族中的 IPv6控制协议 ( IPv6CP )来协商配置 IPv6网络参数, 而是需要通过额外的机制, 如 IPv6 无状态地址配置及扩展选项功能, 动态主机配置协议版本 6 ( DHCPv6 )及 扩展选项功能等来进行 IPv6网络参数的协商和配置。  At present, the implementation of PPP cannot directly negotiate IPv6 network parameters through the IPv6 control protocol (IPv6CP) in the PPP protocol suite. Instead, it requires additional mechanisms such as IPv6 stateless address configuration and extended option functions, and dynamic host configuration. Protocol version 6 (DHCPv6) and extended option functions are used to negotiate and configure IPv6 network parameters.
上述现有的 IPv6网络参数协商配置方法, 除 PPP协议族本身, 还需要 引入额外的机制, 从而增加设备实现及运行的开销并带来不稳定因素。 另 夕卜, 这与原来 IPv4网络中的实现方法不一致, 特别在由 IPv4到 IPv6迁移 的过程中失去了平滑性和连续性, 其原因在于: IPv4环境下, 是通过 PPP 协议族中的 IPv4控制协议( IPCP )的各种配置选项, 来直接完成所有 IPv4 网络参数的协商配置。 发明内容 In addition to the PPP protocol family itself, the existing IPv6 network parameter negotiation configuration method needs to introduce an additional mechanism, thereby increasing the overhead of device implementation and operation and causing instability factors. In addition, this is inconsistent with the implementation method in the original IPv4 network, especially in the migration from IPv4 to IPv6. The reason for the loss of smoothness and continuity is as follows: In the IPv4 environment, all IPv4 network parameters are negotiated and configured through various configuration options of the IPv4 Control Protocol (IPCP) in the PPP protocol suite. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种协商配置 IPv6网络参数的 系统及方法, 能直接釆用 PPP协议族中的 IPv6CP来协商配置 IPv6网络参 数。  In view of the above, the main purpose of the present invention is to provide a system and method for negotiating and configuring IPv6 network parameters, and directly using IPv6CP in the PPP protocol family to negotiate and configure IPv6 network parameters.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种协商配置 IPv6网络参数的系统, 该系统包括: 协商配置单元, 用 于基于 IPv6控制协议(IPv6CP )报文中的 IPv6CP配置选项, 在请求端与 响应端之间协商配置 IPv6网络参数。  A system for negotiating an IPv6 network parameter, the system includes: a negotiation configuration unit, configured to negotiate an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6 control protocol (IPv6CP) packet.
其中, 所述协商配置单元进一步包括: 响应端的读取模块、 响应端的 处理模块和响应端的发送模块; 其中,  The negotiation configuration unit further includes: a reading module of the response end, a processing module of the response end, and a sending module of the response end;
所述读取模块, 用于获取来自请求端的配置请求消息, 并读取所述配 置请求消息中携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP ^艮文的格式;  The reading module is configured to obtain a configuration request message from the requesting end, and read an IPv6CP configuration option carried in the configuration request message, where the configuration request message uses the format of the IPv6CP^
所述处理模块, 用于将与所述 IPv6CP配置选项相对应的 IPv6网络参 数, 置于响应消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述 响应消息釆用所述 IPv6CP报文的格式;  The processing module is configured to: the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in an IPv6CP configuration option carried in the response message, where the response message uses the IPv6CP packet Format
所述发送模块, 用于将所述响应消息发送给所述请求端。  The sending module is configured to send the response message to the requesting end.
其中, 所述协商配置单元进一步包括: 请求端的配置单元, 用于接收 所述响应消息,从所述响应消息中携带的 IPv6CP配置选项的字段中获取所 述 IPv6网络参数, 并根据所述 IPv6网络参数执行网络配置操作。  The negotiation configuration unit further includes: a configuration unit of the requesting end, configured to receive the response message, obtain the IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and according to the IPv6 network The parameters perform network configuration operations.
其中, 所述请求端包括主机或家庭网关。  The requesting end includes a host or a home gateway.
一种协商配置 IPv6网络参数的方法, 该方法包括: 基于 IPv6CP报文 中的 IPv6CP配置选项, 在请求端与响应端之间协商配置 IPv6网络参数。 其中, 所述协商配置包括: A method for negotiating parameters for configuring an IPv6 network, the method comprising:: based on an IPv6CP packet In the IPv6CP configuration option, the IPv6 network parameters are negotiated between the requesting end and the responding end. The negotiation configuration includes:
响应端获取来自请求端的配置请求消息, 并读取所述配置请求消息中 携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP报文 的格式;  The response end obtains the configuration request message from the requesting end, and reads the IPv6CP configuration option carried in the configuration request message; wherein the configuration request message uses the format of the IPv6CP message;
响应端将与所述 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应 消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述响应消息釆用 所述 IPv6CP报文的格式;  The responding end, the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in the IPv6CP configuration option carried in the response message, where the response message uses the format of the IPv6CP message;
响应端将所述响应消息发送给所述请求端。  The responder sends the response message to the requesting end.
其中, 所述协商配置还包括: 所述请求端接收所述响应消息, 从所述 响应消息中携带的 IPv6CP配置选项的字段中获取所述 IPv6网络参数, 并 根据所述 IPv6网络参数执行网络配置操作。  The negotiating configuration further includes: the requesting end receiving the response message, obtaining the IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and performing network configuration according to the IPv6 network parameter operating.
其中, 所述 IPv6网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务 系统( DNS )地址、 备用 DNS地址中的至少一种。  The IPv6 network parameter includes: at least one of an IPv6 address, an IPv6 prefix, a primary domain name service system (DNS) address, and an alternate DNS address.
本发明基于 IPv6CP报文中的 IPv6CP配置选项, 在请求端与响应端之 间协商配置 IPv6网络参数。  The invention is based on the IPv6CP configuration option in the IPv6CP packet, and negotiates the configuration of the IPv6 network parameter between the requesting end and the responding end.
釆用本发明, 引入基于 IPv6CP的配置选项, 即: 在 IPv6CP报文中携 带 IPv6CP配置选项, 从而能直接釆用 PPP协议族中的 IPv6CP来协商配置 IPv6 网络参数, 无需再借助额外的机制实现 PPP, 不仅实现方法简单, 而 且减少了设备的开销, 使得设备的运行更加稳定和健壮。 附图说明  By using the present invention, an IPv6-based configuration option is introduced, that is, the IPv6CP configuration option is carried in the IPv6CP packet, so that the IPv6 network parameter in the PPP protocol family can be directly used to negotiate the configuration of the IPv6 network parameter, and the PPP is not required to be implemented by using an additional mechanism. Not only is the implementation method simple, but also reduces the overhead of the device, making the device run more stable and robust. DRAWINGS
图 1为本发明 IPv6CP配置选项为 IPv6地址的格式示例示意图; 图 2为本发明 IPv6CP配置选项为 IPv6前缀的格式示例示意图; 图 3为本发明 IPv6CP配置选项为主用 DNS地址的格式示例示意图; 图 4为本发明 IPv6CP配置选项为备用 DNS地址的格式示例示意图; 图 5为本发明系统实施例的结构示意图; 1 is a schematic diagram showing an example of a format of an IPv6 address configuration option of an IPv6 address according to the present invention; FIG. 2 is a schematic diagram showing an example of a format of an IPv6CP configuration option of an IPv6 prefix according to the present invention; 4 is a schematic diagram showing an example of a format of an IPv6CP configuration option being an alternate DNS address; Figure 5 is a schematic structural view of an embodiment of a system of the present invention;
图 6为本发明方法实施例 1的 PPP配置选项协商过程的示意图; 图 7为本发明方法实施例 2的 PPP配置选项协商过程的示意图。 具体实施方式  FIG. 6 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 1 of the present invention; FIG. 7 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 2 of the present invention. detailed description
本发明的基本思想是: 基于 IPv6CP报文中的 IPv6CP配置选项, 在请 求端与响应端之间协商配置 IPv6网络参数。  The basic idea of the present invention is: Based on the IPv6CP configuration option in the IPv6CP packet, the IPv6 network parameters are negotiated between the requesting end and the responding end.
下面结合附图对技术方案的实施作进一步的详细描述。  The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
一种协商配置 IPv6网络参数的系统, 该系统包括: 协商配置单元, 用 于基于 IPv6CP报文中的 IPv6CP配置选项, 在请求端与响应端之间协商配 置 IPv6网络参数。  A system for negotiating an IPv6 network parameter, the system includes: a negotiation configuration unit, configured to negotiate an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6CP packet.
这里, 协商配置单元进一步包括: 响应端的读取模块、 响应端的处理 模块和响应端的发送模块。 其中, 读取模块用于获取来自请求端的配置请 求消息, 并读取配置请求消息中携带的 IPv6CP配置选项; 其中, 配置请求 消息釆用 IPv6CP报文的格式。 处理模块用于将与配置请求消息中携带的 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应消息中携带的 IPv6CP 配置选项中的相对应字段; 其中, 响应消息釆用 IPv6CP报文的格式。 发送 模块用于将响应消息发送给请求端。  Here, the negotiation configuration unit further includes: a reading module of the response end, a processing module of the response end, and a sending module of the response end. The reading module is configured to obtain a configuration request message from the requesting end, and read the IPv6CP configuration option carried in the configuration request message. The configuration request message is in the format of the IPv6CP packet. The processing module is configured to: the IPv6 network parameter corresponding to the IPv6CP configuration option carried in the configuration request message is placed in a corresponding field in the IPv6CP configuration option carried in the response message; where the response message is in the format of the IPv6CP message. The sending module is used to send a response message to the requesting end.
这里, 协商配置单元进一步包括: 请求端的配置单元, 用于接收响应 消息, 从响应消息中携带的 IPv6CP配置选项的字段中获取 IPv6网络参数, 并根据 IPv6网络参数执行网络配置操作。  Here, the negotiation configuration unit further includes: a configuration unit of the requesting end, configured to receive the response message, obtain an IPv6 network parameter from a field of the IPv6CP configuration option carried in the response message, and perform a network configuration operation according to the IPv6 network parameter.
这里, 请求端包括主机或家庭网关。  Here, the request side includes a host or a home gateway.
一种协商配置 IPv6网络参数的方法, 该方法包括: 基于 IPv6CP报文 中的 IPv6CP配置选项, 在请求端与响应端之间协商配置 IPv6网络参数。  A method for negotiating an IPv6 network parameter, the method includes: Configuring an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6CP packet.
这里, 所述协商配置具体包括以下内容:  Here, the negotiation configuration specifically includes the following content:
一、 响应端获取来自请求端的配置请求消息, 并读取配置请求消息中 携带的 IPv6CP配置选项; 其中, 配置请求消息釆用所述 IPv6CP报文的格 式。 1. The response end obtains the configuration request message from the requesting end, and reads the configuration request message. The IPv6CP configuration option is carried in. The configuration request message uses the format of the IPv6CP packet.
二、响应端将与配置请求消息中携带的 IPv6CP配置选项相对应的 IPv6 网络参数,置于响应消息中携带的 IPv6CP配置选项中的相对应字段;其中, 响应消息釆用 IPv6CP报文的格式。  The responding end allocates the IPv6 network parameter corresponding to the IPv6CP configuration option carried in the configuration request message to the corresponding field in the IPv6CP configuration option carried in the response message. The response message uses the format of the IPv6CP packet.
三、 响应端将响应消息发送给请求端。  3. The responder sends a response message to the requesting end.
这里, 该方法还可以包括配置过程, 即为: 请求端接收响应消息, 从 响应消息中携带的 IPv6CP配置选项的字段中获取 IPv6网络参数, 并根据 IPv6网络参数执行网络配置操作。  Here, the method may further include a configuration process, that is, the requesting end receives the response message, obtains an IPv6 network parameter from a field of an IPv6CP configuration option carried in the response message, and performs a network configuration operation according to the IPv6 network parameter.
这里, IPv6网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务系统 ( DNS )地址、 备用 DNS地址中的至少一种。  Here, the IPv6 network parameters include: at least one of an IPv6 address, an IPv6 prefix, a primary domain name service system (DNS) address, and an alternate DNS address.
综上所述,本发明是针对 PPP中 IPv6网络参数的协商配置问题提出的, 是一种基于 IPv6CP配置选项的 IPv6网络参数协商配置的技术方案。 以下 对本发明技术方案所包括的主要内容进行阐述。  In summary, the present invention is directed to the negotiation configuration problem of IPv6 network parameters in PPP, and is a technical solution for IPv6 network parameter negotiation configuration based on the IPv6CP configuration option. The main contents included in the technical solution of the present invention are explained below.
本发明基于 IPv6CP配置选项的 IPv6网络参数协商配置系统包括: 读 取模块、处理模块和发送模块。其中,读取模块用于处理来自对端的 IPv6CP 报文的接收, 并读取报文中配置选项的内容, 然后交由处理模块做进一步 处理。 处理模块用于根据所接收到配置选项的内容, 将选定的 IPv6网络参 数置于回应报文中配置选项的相应字段。 发送模块用于将处理模块生成的 回应报文发送给对端, 作为对所接收到的 IPv6CP报文的回应。  The IPv6 network parameter negotiation configuration system based on the IPv6CP configuration option includes: a reading module, a processing module, and a sending module. The reading module is configured to process the receiving of the IPv6CP packet from the peer end, and read the content of the configuration option in the packet, and then submit the processing module for further processing. The processing module is configured to place the selected IPv6 network parameter in the corresponding field of the configuration option in the response message according to the content of the received configuration option. The sending module is configured to send the response packet generated by the processing module to the peer end as a response to the received IPv6CP message.
进一步地, IPv6网络参数包括但不限于: IPv6地址、 IPv6前缀、 主用 DNS地址、 备用 DNS地址等。  Further, the IPv6 network parameters include, but are not limited to, an IPv6 address, an IPv6 prefix, a primary DNS address, an alternate DNS address, and the like.
如果将本发明的系统应用于本发明的方法,则本发明基于 IPv6CP配置 选项的 IPv6网络参数协商配置方法包括:  If the system of the present invention is applied to the method of the present invention, the IPv6 network parameter negotiation configuration method based on the IPv6CP configuration option of the present invention includes:
读取模块接收来自对端的 IPV6CP报文, 读取报文中配置选项的内容, 然后交由处理模块做进一步处理; 处理模块根据所接收到配置选项的内容, 将选定的 IPv6网络参数置于回应报文中配置选项的相应字段; 发送模块将 处理模块生成的回应报文发送给对端,作为对所接收到的 IPv6CP报文的回 应。 The reading module receives the IPV6CP message from the peer end, and reads the content of the configuration option in the message. And then the processing module performs further processing; the processing module places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message according to the content of the received configuration option; the sending module sends the response message generated by the processing module The peer is sent as a response to the received IPv6CP message.
进一步地, 协商双方中的配置请求端可根据所获取的网络参数执行网 络配置操作, 该配置操作包括: 所述配置请求端可以根据所获取的网络参 数执行自身的网络配置操作, 例如, 配置自身接口的 IPv6地址、 主用 DNS 地址、 备用 DNS地址等配置操作; 所述配置请求端还可以根据所获取的网 络参数执行所连接设备的网络配置操作, 例如, 进而通过无状态地址配置, DHCP等机制, 向其所连接网络中的主机下发 IPv6地址、 主用 DNS、 备用 DNS地址等配置操作。  Further, the configuration requesting end of the negotiation two parties may perform a network configuration operation according to the acquired network parameters, where the configuration operation includes: the configuration requesting end may perform its own network configuration operation according to the acquired network parameters, for example, configuring itself The configuration operation of the IPv6 address, the primary DNS address, and the alternate DNS address of the interface; the configuration requesting end may also perform network configuration operations of the connected device according to the acquired network parameters, for example, through stateless address configuration, DHCP, and the like. The mechanism delivers configuration operations such as IPv6 address, primary DNS, and alternate DNS address to hosts in the network to which it is connected.
考虑到 PPP中现有的 IPv6网络参数的协商配置方法, 无法直接通过配 置选项协商配置 IPv6网络参数, 本发明提供了一种简单、健壮的 IPv6网络 参数协商配置方案。 釆用本发明, 釆用 IPv6CP的配置选项来进行 IPv6网 络参数的协商配置, 不需要额外的机制, 实现方法简单, 从而减少了设备 的开销, 使得运行更加稳定。  The present invention provides a simple and robust IPv6 network parameter negotiation configuration scheme, considering that the existing IPv6 network parameter negotiation configuration method in the PPP cannot directly negotiate the configuration of the IPv6 network parameters. By using the invention, the IPv6CP configuration option is used to negotiate the configuration of the IPv6 network parameters, and no additional mechanism is needed, and the implementation method is simple, thereby reducing the overhead of the device and making the operation more stable.
以下对本发明进行举例阐述。  The invention is illustrated by way of example below.
需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的 特征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。  It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
图 1〜图 4为各个 IPv6CP配置选项的格式示例示意图, 其中图 2区别 于其他各图, 比较特殊, 除了格式所通用的字段, 即: 类型 (Type )字段、 长度(Length )字段、内容( content )字段之夕卜,还包括预留的保留( Reserved ) 字段; content在图中缩写为 cont, 各个 IPv6CP配置选项的具体格式请详见 图 1〜图 4。 IPv6CP配置选项中, IPv6地址可以用 IPv6 Address表示; IPv6 前缀可以用 IPv6 Prefix表示; 主用 DNS地址可以用 Primary DNS Address 表示;备用 DNS地址可以用 Secondary DNS Address表示。需指出的是: IPv6 Prefix只能应用在 IPv6中, 在 Ipv4中是没有的。 FIG. 1 to FIG. 4 are schematic diagrams showing examples of formats of respective IPv6CP configuration options, wherein FIG. 2 is different from other graphs, and is special except for the fields common to the format, namely: Type field, Length field, content ( The content field also includes the reserved ( Reserved ) field; content is abbreviated as cont in the figure, and the specific format of each IPv6CP configuration option is shown in Figure 1 to Figure 4. In the IPv6CP configuration option, the IPv6 address can be represented by IPv6 Address; the IPv6 prefix can be represented by IPv6 Prefix; the primary DNS address can be used with Primary DNS Address. Indicates; the alternate DNS address can be represented by the Secondary DNS Address. It should be noted that: IPv6 Prefix can only be applied in IPv6, and is not available in Ipv4.
图 5为本发明系统实施例的结构示意图。 图 6为本发明方法实施例 1 的 PPP配置选项协商过程的示意图。 图 7为本发明方法实施例 2的 PPP配 置选项协商过程的示意图。 其中, 如图 6所示, PPP配置请求端为主机时, 主机将发送配置请求消息并携带 IPv6CP配置选项,待配置响应端完成处理 过程后将配置响应消息发送给主机。 如图 7所示, PPP配置请求端为家庭 网关时, 家庭网关将发送配置请求消息并携带 IPv6CP配置选项, 待配置响 应端完成处理过程后将配置响应消息发送给家庭网关。  FIG. 5 is a schematic structural diagram of an embodiment of a system of the present invention. FIG. 6 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 1 of the present invention. FIG. 7 is a schematic diagram of a PPP configuration option negotiation process according to Embodiment 2 of the method of the present invention. As shown in Figure 6, when the PPP configuration requester is a host, the host sends a configuration request message and carries the IPv6CP configuration option. After the response process is complete, the configuration response message is sent to the host. As shown in Figure 7, when the PPP configuration requester is the home gateway, the home gateway sends a configuration request message and carries the IPv6CP configuration option. After the response process is completed, the configuration response message is sent to the home gateway.
系统实施例  System embodiment
如图 5 所示, 本实施例中, 该系统包括: 读取模块、 处理模块、 和发 送模块。 其中, 读取模块用于处理来自对端的 IPv6CP报文的接收, 并读取 报文中配置选项的内容。 处理模块连接至读取模块, 用于根据所接收到配 置选项的内容生成回应报文, 并将选定的 IPv6网络参数置于回应报文中的 配置选项相应字段。 发送模块连接至处理模块, 用于将回应报文发送给对 端。  As shown in FIG. 5, in this embodiment, the system includes: a reading module, a processing module, and a sending module. The reading module is configured to process the receiving of the IPv6CP message from the peer end and read the content of the configuration option in the message. The processing module is connected to the reading module, configured to generate a response message according to the content of the received configuration option, and place the selected IPv6 network parameter in a corresponding field of the configuration option in the response message. The sending module is connected to the processing module, and is configured to send the response message to the peer end.
方法实施例 1  Method embodiment 1
如图 6所示, 本实施例中, PPP配置选项协商过程包括以下步骤: 步骤 101、 主机发送配置请求消息。  As shown in FIG. 6, in this embodiment, the PPP configuration option negotiation process includes the following steps: Step 101: A host sends a configuration request message.
这里, 配置请求消息通过 IPv6CP ^艮文实现, IPv6CP 4艮文中携带的 IPv6CP配置选项为 IPv6 Address, Primary DNS Address, Secondary DNS Address等西己置选项。 J¾时, IPv6 Address、 Primary DNS Address. Secondary DNS Address等配置选项的内容可以不包含具体的参数值, 为空, 在收到配 置响应端的回应后再添入具体的参数值。  Here, the configuration request message is implemented by using IPv6CP. The IPv6CP configuration options carried in the IPv6CP 4 are IPv6 Address, Primary DNS Address, Secondary DNS Address, and the like. In J3⁄4, the configuration options such as IPv6 Address, Primary DNS Address. Secondary DNS Address may not contain specific parameter values, and are empty. After receiving the response from the configuration response, add specific parameter values.
步骤 102、配置响应端的读取模块接收来自主机的 IPv6报文,读取 IPv6 报文中的 IPv6CP配置选项的内容。 Step 102: The read module of the configuration response end receives the IPv6 packet from the host, and reads the IPv6. The content of the IPv6CP configuration option in the message.
步骤 103、配置响应端的处理模块根据所接收到配置选项的内容生成回 应才艮文, 并将选定的 IPv6网络参数置于回应 ^艮文中的配置选项相应字段。  Step 103: The processing module configuring the response end generates a response according to the content of the received configuration option, and places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message.
这里,是将选定的 IPv6 Address, Primary DNS Address、 Secondary DNS Address等网络参数值置于回应报文中的配置选项相应字段。 针对置入所述 相应字段而言, 由于配置请求端发送的配置请求消息中携带有配置选项, 且配置选项中, 可能包括分别对应 IPv6 Address, Primary DNS Address, Secondary DNS Address等网络参数的字段; 在配置响应端响应时, 回应报 文即响应消息中也携带有配置选项, 同样可能包括分别对应 IPv6 Address, Primary DNS Address, Secondary DNS Address等网络参数的字段, 那么, 在置入具体网络参数值时需置入配置选项中的相应字段, 比如, 将 IPv6 Address这一网络参数的参数值置入配置选项中与 IPv6 Address相对应的字 段。  Here, the network parameter values such as the selected IPv6 Address, Primary DNS Address, and Secondary DNS Address are placed in the corresponding fields of the configuration options in the response message. For the setting of the corresponding field, the configuration request message sent by the configuration requesting end carries a configuration option, and the configuration option may include a field corresponding to the network parameter such as IPv6 Address, Primary DNS Address, and Secondary DNS Address; When responding to the response of the responding end, the response message, that is, the response message also carries configuration options, and may also include fields corresponding to network parameters such as IPv6 Address, Primary DNS Address, and Secondary DNS Address, and then, the specific network parameter value is placed. The corresponding field in the configuration option needs to be placed, for example, the parameter value of the IPv6 Address network parameter is placed in the configuration option corresponding to the IPv6 Address field.
步骤 104、配置响应端的发送模块将处理模块生成的回应报文发送给对 端的主机, 作为对所接收到的 IPv6CP报文的回应。  Step 104: The sending module of the responding end sends the response packet generated by the processing module to the host of the peer end as a response to the received IPv6CP packet.
步骤 105、 主机依据所获取的回应报文中的 IPv6网络参数, 执行网络 配置等操作。  Step 105: The host performs network configuration operations according to the IPv6 network parameters in the obtained response packet.
这里, 主机是依据所获取的 IPv6 Address , Primary DNS Address , Secondary DNS Address等网络参数值, 执行具体的网络配置等操作。  Here, the host performs specific network configuration operations according to the obtained network parameter values such as IPv6 Address, Primary DNS Address, and Secondary DNS Address.
方法实施例 2  Method embodiment 2
如图 7所示, 本实施例中, ΡΡΡ配置选项协商过程包括以下步骤: 步骤 201、 家庭网关发送配置请求消息。  As shown in FIG. 7, in this embodiment, the ΡΡΡ configuration option negotiation process includes the following steps: Step 201: The home gateway sends a configuration request message.
这里, 配置请求消息通过 IPv6CP ^艮文实现, IPv6CP 4艮文中携带的 IPv6CP 配置选项为 IPv6-Prefix, Primary DNS Address , Secondary DNS Address等西己置选项。 J¾时, IPv6 Address、 Primary DNS Address. Secondary DNS Address等配置选项的内容可以不包含具体的参数值, 为空, 在收到配 置响应端的回应后再添入具体的参数值。 Here, the configuration request message is implemented by using IPv6CP, and the IPv6CP configuration option carried in the IPv6CP 4 is IPv6-Prefix, Primary DNS Address, Secondary DNS Address, and the like. J3⁄4, IPv6 Address, Primary DNS Address. Secondary The contents of the configuration options such as DNS Address may not contain specific parameter values, and are empty. After receiving the response from the configuration response end, the specific parameter values are added.
步骤 202、 配置响应端的读取模块接收来自家庭网关的 IPv6报文, 读 取 IPv6报文中的 IPv6CP配置选项的内容。  Step 202: The reading module of the configuration response end receives the IPv6 packet from the home gateway, and reads the content of the IPv6CP configuration option in the IPv6 packet.
步 203、配置响应端的处理模块根据所接收到配置选项的内容生成回应 报文, 并将选定的 IPv6网络参数置于回应报文中的配置选项相应字段。  Step 203: The processing module configuring the response end generates a response message according to the content of the received configuration option, and places the selected IPv6 network parameter in a corresponding field of the configuration option in the response message.
这里, 是将选定的 IPv6-Prefix、 Primary DNS Address, Secondary DNS Address等网络参数值置于回应报文中的配置选项相应字段。  Here, the network parameter values such as the selected IPv6-Prefix, Primary DNS Address, and Secondary DNS Address are placed in the corresponding fields of the configuration options in the response message.
步骤 204、配置响应端的发送模块将处理模块生成的回应报文发送给对 端的家庭网关, 作为对所接收到的 IPv6CP报文的回应。  Step 204: The sending module that configures the responding end sends the response packet generated by the processing module to the home gateway of the peer end as a response to the received IPv6CP packet.
步骤 205、 家庭网关依据所获取的回应报文中的 IPv6网络参数, 执行 网络配置等操作。  Step 205: The home gateway performs operations such as network configuration according to the IPv6 network parameters in the obtained response message.
这里, 家庭网关是依据所获取的 IPv6-Prefix、 Primary DNS Address, Secondary DNS Address等网络参数值, 执行具体的网络配置等操作。  Here, the home gateway performs specific network configuration operations according to the obtained network parameter values such as IPv6-Prefix, Primary DNS Address, and Secondary DNS Address.
需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可 执行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。  It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein.
这里,以上涉及到的配置选项以 configuration-option表示;主机以 Host 表示; 家庭网关以 Residential Gateway表示。  Here, the configuration options mentioned above are represented by configuration-option; the host is represented by Host; and the home gateway is represented by Residential Gateway.
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种协商配置 IPv6网络参数的系统, 其特征在于, 该系统包括: 协 商配置单元, 用于基于 IPv6控制协议( IPv6CP )报文中的 IPv6CP配置选 项, 在请求端与响应端之间协商配置 IPv6网络参数。  A system for negotiating and configuring an IPv6 network parameter, the system comprising: a negotiation configuration unit, configured to negotiate between a requesting end and a responding end according to an IPv6CP configuration option in an IPv6 Control Protocol (IPv6CP) packet Configure IPv6 network parameters.
2、 根据权利要求 1所述的系统, 其特征在于, 所述协商配置单元进一 步包括: 响应端的读取模块、 响应端的处理模块和响应端的发送模块; 其 中,  2. The system according to claim 1, wherein the negotiation configuration unit further comprises: a reading module of the response end, a processing module of the response end, and a transmitting module of the response end;
所述读取模块, 用于获取来自请求端的配置请求消息, 并读取所述配 置请求消息中携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP ^艮文的格式;  The reading module is configured to obtain a configuration request message from the requesting end, and read an IPv6CP configuration option carried in the configuration request message, where the configuration request message uses the format of the IPv6CP^
所述处理模块, 用于将与所述 IPv6CP配置选项相对应的 IPv6网络参 数, 置于响应消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述 响应消息釆用所述 IPv6CP报文的格式;  The processing module is configured to: the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in an IPv6CP configuration option carried in the response message, where the response message uses the IPv6CP packet Format
所述发送模块, 用于将所述响应消息发送给所述请求端。  The sending module is configured to send the response message to the requesting end.
3、 根据权利要求 2所述的系统, 其特征在于, 所述协商配置单元进一 步包括: 请求端的配置单元, 用于接收所述响应消息, 从所述响应消息中 携带的 IPv6CP配置选项的字段中获取所述 IPv6网络参数,并根据所述 IPv6 网络参数执行网络配置操作。  The system according to claim 2, wherein the negotiation configuration unit further comprises: a configuration unit of the requesting end, configured to receive the response message, from a field of an IPv6CP configuration option carried in the response message Obtaining the IPv6 network parameter, and performing a network configuration operation according to the IPv6 network parameter.
4、 根据权利要求 1至 3中任一项所述的系统, 其特征在于, 所述请求 端包括主机或家庭网关。  The system according to any one of claims 1 to 3, wherein the requesting end comprises a host or a home gateway.
5、 一种协商配置 IPv6网络参数的方法, 其特征在于, 该方法包括: 基 于 IPv6CP报文中的 IPv6CP配置选项 ,在请求端与响应端之间协商配置 IPv6 网络参数。  A method for negotiating an IPv6 network parameter, the method comprising: configuring an IPv6 network parameter between the requesting end and the responding end according to the IPv6CP configuration option in the IPv6CP packet.
6、 根据权利要求 5所述的方法, 其特征在于, 所述协商配置包括: 响应端获取来自请求端的配置请求消息, 并读取所述配置请求消息中 携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP报文 的格式; The method according to claim 5, wherein the negotiating configuration comprises: the responding end acquiring a configuration request message from the requesting end, and reading the configuration request message The IPv6CP configuration option is carried; wherein the configuration request message uses a format of the IPv6CP packet;
响应端将与所述 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应 消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述响应消息釆用 所述 IPv6CP报文的格式;  The responding end, the IPv6 network parameter corresponding to the IPv6CP configuration option is placed in a corresponding field in the IPv6CP configuration option carried in the response message, where the response message uses the format of the IPv6CP message;
响应端将所述响应消息发送给所述请求端。  The responder sends the response message to the requesting end.
7、 根据权利要求 6所述的方法, 其特征在于, 所述协商配置还包括: 所述请求端接收所述响应消息,从所述响应消息中携带的 IPv6CP配置选项 的字段中获取所述 IPv6网络参数,并根据所述 IPv6网络参数执行网络配置 操作。  The method according to claim 6, wherein the negotiating configuration further comprises: the requesting end receiving the response message, acquiring the IPv6 from a field of an IPv6CP configuration option carried in the response message Network parameters, and perform network configuration operations according to the IPv6 network parameters.
8、 根据权利要求 5至 7中任一项所述的方法, 其特征在于, 所述 IPv6 网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务系统(DNS )地址、 备用 DNS地址中的至少一种。  The method according to any one of claims 5 to 7, wherein the IPv6 network parameter comprises: at least one of an IPv6 address, an IPv6 prefix, a primary domain name service system (DNS) address, and an alternate DNS address. One.
PCT/CN2010/078903 2010-01-19 2010-11-19 System and method for negotiating and configuring ipv6 network parameter WO2011088703A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010100012617A CN102130884A (en) 2010-01-19 2010-01-19 System and method for negotiating configuration of Internet protocol version 6 (IPv6) network parameters
CN201010001261.7 2010-01-19

Publications (1)

Publication Number Publication Date
WO2011088703A1 true WO2011088703A1 (en) 2011-07-28

Family

ID=44268776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078903 WO2011088703A1 (en) 2010-01-19 2010-11-19 System and method for negotiating and configuring ipv6 network parameter

Country Status (2)

Country Link
CN (1) CN102130884A (en)
WO (1) WO2011088703A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624707B (en) * 2012-02-22 2018-04-17 中兴通讯股份有限公司 A kind of method and system of negotiation IPv6 information
CN104954161A (en) * 2014-03-28 2015-09-30 中兴通讯股份有限公司 IPv6 transitional technology type processing method, device and system
CN104954336B (en) * 2014-03-28 2019-05-17 中兴通讯股份有限公司 IPv6 network parameter processing method, device, system and aaa server
CN106330651A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 4in6 tunnel mode selection method and device
CN108848100B (en) * 2018-06-27 2020-10-20 清华大学 Stateful IPv6 address generation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744596A (en) * 2004-09-01 2006-03-08 华为技术有限公司 Method for host obtaining network allocation parameterns in IPV6 network
KR20070067911A (en) * 2005-12-26 2007-06-29 삼성전자주식회사 Apparatus and method for multi dns server address provding using ppp
KR100736536B1 (en) * 2001-07-07 2007-07-06 엘지전자 주식회사 Interface identification method using identification information of mobile station in Internet Protocol version 6

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100736536B1 (en) * 2001-07-07 2007-07-06 엘지전자 주식회사 Interface identification method using identification information of mobile station in Internet Protocol version 6
CN1744596A (en) * 2004-09-01 2006-03-08 华为技术有限公司 Method for host obtaining network allocation parameterns in IPV6 network
KR20070067911A (en) * 2005-12-26 2007-06-29 삼성전자주식회사 Apparatus and method for multi dns server address provding using ppp

Also Published As

Publication number Publication date
CN102130884A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
KR101842316B1 (en) Method and system of providing internet protocol(ip) data communication in a nfc peer to peer communication environment
US11146666B2 (en) IPv4/IPv6 bridge
US7366188B2 (en) Gateway for supporting communications between network devices of different private networks
Borella et al. Realm specific IP: protocol specification
WO2011147353A1 (en) Method and apparatus for message transmission
WO2012051915A1 (en) Method and device for port mapping, and communications system
JP4764737B2 (en) Network system, terminal and gateway device
WO2007037028A1 (en) Information processing system, tunnel communication device, tunnel communication method, proxy response device, and proxy response method
WO2014015775A1 (en) Ipv6 address stateless auto-configuration system, data card, and implementation method thereof
WO2015054882A1 (en) Network device communication method and network device
WO2014000565A1 (en) Method for establishing channel for managing ipv4 terminal and network gateway
WO2014086167A1 (en) Mobile terminal and address allocation method and system thereof
WO2011088703A1 (en) System and method for negotiating and configuring ipv6 network parameter
WO2007028300A1 (en) A method for obtaining the home agent information of the mobile node and a system thereof
JP2019176511A (en) Network apparatus
WO2017088101A1 (en) Network access information acquiring method, and router
CN111711705B (en) Method and device for realizing network connection based on bidirectional NAT (network Address translation) by proxy node
TW201414253A (en) Network address translation system and method
WO2013185696A2 (en) Data processing method and device
WO2011140954A1 (en) Method and device for obtaining remote ip address
WO2013178164A1 (en) Ipv6 domain name server (dns) address allocation and obtaining method and device
WO2011120276A1 (en) Method and system for establishing connection between terminals
WO2015123947A1 (en) Method and apparatus for delivering local area network information
WO2015139397A1 (en) Nat64 resource acquisition method and acquisition/distribution apparatus
WO2014008822A1 (en) Method, device and system for setting dns server address

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

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

Country of ref document: EP

Kind code of ref document: A1