[go: up one dir, main page]

WO2011088703A1 - 一种协商配置IPv6网络参数的系统及方法 - Google Patents

一种协商配置IPv6网络参数的系统及方法 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
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2010/078903
Other languages
English (en)
French (fr)
Inventor
秦超
袁立权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2011088703A1 publication Critical patent/WO2011088703A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

本发明公开了一种协商配置IPv6网络参数的系统,该系统中,协商配置单元用于基于IPv6控制协议(IPv6CP)报文中的IPv6CP配置选项,在请求端与响应端之间协商配置IPv6网络参数。本发明还公开了一种协商配置IPv6网络参数的方法,基于IPv6CP报文中的IPv6CP配置选项,在请求端与响应端之间协商配置IPv6网络参数。采用本发明,能直接采用PPP协议族中的IPv6CP来协商配置IPv6网络参数,实现方法简单,减少设备的开销,使设备的运行更加稳定和健壮。

Description

一种协商配置 IPv6网络参数的系统及方法 技术领域
本发明涉及网络通信领域, 尤其涉及一种点到点协议 ( PPP , Point-to-Point Protocol ) 中协商配置 IPv6网络参数的系统及方法。 背景技术
PPP是作为一种链路层协议, 因为其简单高效并且具有良好的扩展性, 已经被广泛的应用于用户数字链路(DSL )拨号、 认证, 路由器高速链路封 装等各领域。 PPP 中的网络层控制协议 ( NCP , network-layer control protocol ), 使得在 PPP连接上可以同时承载多种网络层协议, 例如 IPv4、 IPv6等。
同时, Internet的高速发展与规模的急剧扩大,使现有的 IPv4在扩展性 上面临很多问题,例如地址空间不足等,亟待解决。于是,人们开发出 IPv6, 目的便是用于解决这些问题。 由于 IPv4地址空间正逐渐面临枯竭, 一些延 緩地址消耗的短期方案正在被实施, 同时一些长期的解决方案如 IPv6技术 也在逐步被实施。然而在利用 PPP承载 IPv6时,存在一些问题,例如: IPv6 网络参数的协商配置等, 需要解决。
目前, PPP的实现方法, 无法直接通过 PPP协议族中的 IPv6控制协议 ( IPv6CP )来协商配置 IPv6网络参数, 而是需要通过额外的机制, 如 IPv6 无状态地址配置及扩展选项功能, 动态主机配置协议版本 6 ( DHCPv6 )及 扩展选项功能等来进行 IPv6网络参数的协商和配置。
上述现有的 IPv6网络参数协商配置方法, 除 PPP协议族本身, 还需要 引入额外的机制, 从而增加设备实现及运行的开销并带来不稳定因素。 另 夕卜, 这与原来 IPv4网络中的实现方法不一致, 特别在由 IPv4到 IPv6迁移 的过程中失去了平滑性和连续性, 其原因在于: IPv4环境下, 是通过 PPP 协议族中的 IPv4控制协议( IPCP )的各种配置选项, 来直接完成所有 IPv4 网络参数的协商配置。 发明内容
有鉴于此, 本发明的主要目的在于提供一种协商配置 IPv6网络参数的 系统及方法, 能直接釆用 PPP协议族中的 IPv6CP来协商配置 IPv6网络参 数。
为达到上述目的, 本发明的技术方案是这样实现的:
一种协商配置 IPv6网络参数的系统, 该系统包括: 协商配置单元, 用 于基于 IPv6控制协议(IPv6CP )报文中的 IPv6CP配置选项, 在请求端与 响应端之间协商配置 IPv6网络参数。
其中, 所述协商配置单元进一步包括: 响应端的读取模块、 响应端的 处理模块和响应端的发送模块; 其中,
所述读取模块, 用于获取来自请求端的配置请求消息, 并读取所述配 置请求消息中携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP ^艮文的格式;
所述处理模块, 用于将与所述 IPv6CP配置选项相对应的 IPv6网络参 数, 置于响应消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述 响应消息釆用所述 IPv6CP报文的格式;
所述发送模块, 用于将所述响应消息发送给所述请求端。
其中, 所述协商配置单元进一步包括: 请求端的配置单元, 用于接收 所述响应消息,从所述响应消息中携带的 IPv6CP配置选项的字段中获取所 述 IPv6网络参数, 并根据所述 IPv6网络参数执行网络配置操作。
其中, 所述请求端包括主机或家庭网关。
一种协商配置 IPv6网络参数的方法, 该方法包括: 基于 IPv6CP报文 中的 IPv6CP配置选项, 在请求端与响应端之间协商配置 IPv6网络参数。 其中, 所述协商配置包括:
响应端获取来自请求端的配置请求消息, 并读取所述配置请求消息中 携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP报文 的格式;
响应端将与所述 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应 消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述响应消息釆用 所述 IPv6CP报文的格式;
响应端将所述响应消息发送给所述请求端。
其中, 所述协商配置还包括: 所述请求端接收所述响应消息, 从所述 响应消息中携带的 IPv6CP配置选项的字段中获取所述 IPv6网络参数, 并 根据所述 IPv6网络参数执行网络配置操作。
其中, 所述 IPv6网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务 系统( DNS )地址、 备用 DNS地址中的至少一种。
本发明基于 IPv6CP报文中的 IPv6CP配置选项, 在请求端与响应端之 间协商配置 IPv6网络参数。
釆用本发明, 引入基于 IPv6CP的配置选项, 即: 在 IPv6CP报文中携 带 IPv6CP配置选项, 从而能直接釆用 PPP协议族中的 IPv6CP来协商配置 IPv6 网络参数, 无需再借助额外的机制实现 PPP, 不仅实现方法简单, 而 且减少了设备的开销, 使得设备的运行更加稳定和健壮。 附图说明
图 1为本发明 IPv6CP配置选项为 IPv6地址的格式示例示意图; 图 2为本发明 IPv6CP配置选项为 IPv6前缀的格式示例示意图; 图 3为本发明 IPv6CP配置选项为主用 DNS地址的格式示例示意图; 图 4为本发明 IPv6CP配置选项为备用 DNS地址的格式示例示意图; 图 5为本发明系统实施例的结构示意图;
图 6为本发明方法实施例 1的 PPP配置选项协商过程的示意图; 图 7为本发明方法实施例 2的 PPP配置选项协商过程的示意图。 具体实施方式
本发明的基本思想是: 基于 IPv6CP报文中的 IPv6CP配置选项, 在请 求端与响应端之间协商配置 IPv6网络参数。
下面结合附图对技术方案的实施作进一步的详细描述。
一种协商配置 IPv6网络参数的系统, 该系统包括: 协商配置单元, 用 于基于 IPv6CP报文中的 IPv6CP配置选项, 在请求端与响应端之间协商配 置 IPv6网络参数。
这里, 协商配置单元进一步包括: 响应端的读取模块、 响应端的处理 模块和响应端的发送模块。 其中, 读取模块用于获取来自请求端的配置请 求消息, 并读取配置请求消息中携带的 IPv6CP配置选项; 其中, 配置请求 消息釆用 IPv6CP报文的格式。 处理模块用于将与配置请求消息中携带的 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应消息中携带的 IPv6CP 配置选项中的相对应字段; 其中, 响应消息釆用 IPv6CP报文的格式。 发送 模块用于将响应消息发送给请求端。
这里, 协商配置单元进一步包括: 请求端的配置单元, 用于接收响应 消息, 从响应消息中携带的 IPv6CP配置选项的字段中获取 IPv6网络参数, 并根据 IPv6网络参数执行网络配置操作。
这里, 请求端包括主机或家庭网关。
一种协商配置 IPv6网络参数的方法, 该方法包括: 基于 IPv6CP报文 中的 IPv6CP配置选项, 在请求端与响应端之间协商配置 IPv6网络参数。
这里, 所述协商配置具体包括以下内容:
一、 响应端获取来自请求端的配置请求消息, 并读取配置请求消息中 携带的 IPv6CP配置选项; 其中, 配置请求消息釆用所述 IPv6CP报文的格 式。
二、响应端将与配置请求消息中携带的 IPv6CP配置选项相对应的 IPv6 网络参数,置于响应消息中携带的 IPv6CP配置选项中的相对应字段;其中, 响应消息釆用 IPv6CP报文的格式。
三、 响应端将响应消息发送给请求端。
这里, 该方法还可以包括配置过程, 即为: 请求端接收响应消息, 从 响应消息中携带的 IPv6CP配置选项的字段中获取 IPv6网络参数, 并根据 IPv6网络参数执行网络配置操作。
这里, IPv6网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务系统 ( DNS )地址、 备用 DNS地址中的至少一种。
综上所述,本发明是针对 PPP中 IPv6网络参数的协商配置问题提出的, 是一种基于 IPv6CP配置选项的 IPv6网络参数协商配置的技术方案。 以下 对本发明技术方案所包括的主要内容进行阐述。
本发明基于 IPv6CP配置选项的 IPv6网络参数协商配置系统包括: 读 取模块、处理模块和发送模块。其中,读取模块用于处理来自对端的 IPv6CP 报文的接收, 并读取报文中配置选项的内容, 然后交由处理模块做进一步 处理。 处理模块用于根据所接收到配置选项的内容, 将选定的 IPv6网络参 数置于回应报文中配置选项的相应字段。 发送模块用于将处理模块生成的 回应报文发送给对端, 作为对所接收到的 IPv6CP报文的回应。
进一步地, IPv6网络参数包括但不限于: IPv6地址、 IPv6前缀、 主用 DNS地址、 备用 DNS地址等。
如果将本发明的系统应用于本发明的方法,则本发明基于 IPv6CP配置 选项的 IPv6网络参数协商配置方法包括:
读取模块接收来自对端的 IPV6CP报文, 读取报文中配置选项的内容, 然后交由处理模块做进一步处理; 处理模块根据所接收到配置选项的内容, 将选定的 IPv6网络参数置于回应报文中配置选项的相应字段; 发送模块将 处理模块生成的回应报文发送给对端,作为对所接收到的 IPv6CP报文的回 应。
进一步地, 协商双方中的配置请求端可根据所获取的网络参数执行网 络配置操作, 该配置操作包括: 所述配置请求端可以根据所获取的网络参 数执行自身的网络配置操作, 例如, 配置自身接口的 IPv6地址、 主用 DNS 地址、 备用 DNS地址等配置操作; 所述配置请求端还可以根据所获取的网 络参数执行所连接设备的网络配置操作, 例如, 进而通过无状态地址配置, DHCP等机制, 向其所连接网络中的主机下发 IPv6地址、 主用 DNS、 备用 DNS地址等配置操作。
考虑到 PPP中现有的 IPv6网络参数的协商配置方法, 无法直接通过配 置选项协商配置 IPv6网络参数, 本发明提供了一种简单、健壮的 IPv6网络 参数协商配置方案。 釆用本发明, 釆用 IPv6CP的配置选项来进行 IPv6网 络参数的协商配置, 不需要额外的机制, 实现方法简单, 从而减少了设备 的开销, 使得运行更加稳定。
以下对本发明进行举例阐述。
需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的 特征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。
图 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中是没有的。
图 5为本发明系统实施例的结构示意图。 图 6为本发明方法实施例 1 的 PPP配置选项协商过程的示意图。 图 7为本发明方法实施例 2的 PPP配 置选项协商过程的示意图。 其中, 如图 6所示, PPP配置请求端为主机时, 主机将发送配置请求消息并携带 IPv6CP配置选项,待配置响应端完成处理 过程后将配置响应消息发送给主机。 如图 7所示, PPP配置请求端为家庭 网关时, 家庭网关将发送配置请求消息并携带 IPv6CP配置选项, 待配置响 应端完成处理过程后将配置响应消息发送给家庭网关。
系统实施例
如图 5 所示, 本实施例中, 该系统包括: 读取模块、 处理模块、 和发 送模块。 其中, 读取模块用于处理来自对端的 IPv6CP报文的接收, 并读取 报文中配置选项的内容。 处理模块连接至读取模块, 用于根据所接收到配 置选项的内容生成回应报文, 并将选定的 IPv6网络参数置于回应报文中的 配置选项相应字段。 发送模块连接至处理模块, 用于将回应报文发送给对 端。
方法实施例 1
如图 6所示, 本实施例中, PPP配置选项协商过程包括以下步骤: 步骤 101、 主机发送配置请求消息。
这里, 配置请求消息通过 IPv6CP ^艮文实现, IPv6CP 4艮文中携带的 IPv6CP配置选项为 IPv6 Address, Primary DNS Address, Secondary DNS Address等西己置选项。 J¾时, IPv6 Address、 Primary DNS Address. Secondary DNS Address等配置选项的内容可以不包含具体的参数值, 为空, 在收到配 置响应端的回应后再添入具体的参数值。
步骤 102、配置响应端的读取模块接收来自主机的 IPv6报文,读取 IPv6 报文中的 IPv6CP配置选项的内容。
步骤 103、配置响应端的处理模块根据所接收到配置选项的内容生成回 应才艮文, 并将选定的 IPv6网络参数置于回应 ^艮文中的配置选项相应字段。
这里,是将选定的 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相对应的字 段。
步骤 104、配置响应端的发送模块将处理模块生成的回应报文发送给对 端的主机, 作为对所接收到的 IPv6CP报文的回应。
步骤 105、 主机依据所获取的回应报文中的 IPv6网络参数, 执行网络 配置等操作。
这里, 主机是依据所获取的 IPv6 Address , Primary DNS Address , Secondary DNS Address等网络参数值, 执行具体的网络配置等操作。
方法实施例 2
如图 7所示, 本实施例中, ΡΡΡ配置选项协商过程包括以下步骤: 步骤 201、 家庭网关发送配置请求消息。
这里, 配置请求消息通过 IPv6CP ^艮文实现, IPv6CP 4艮文中携带的 IPv6CP 配置选项为 IPv6-Prefix, Primary DNS Address , Secondary DNS Address等西己置选项。 J¾时, IPv6 Address、 Primary DNS Address. Secondary DNS Address等配置选项的内容可以不包含具体的参数值, 为空, 在收到配 置响应端的回应后再添入具体的参数值。
步骤 202、 配置响应端的读取模块接收来自家庭网关的 IPv6报文, 读 取 IPv6报文中的 IPv6CP配置选项的内容。
步 203、配置响应端的处理模块根据所接收到配置选项的内容生成回应 报文, 并将选定的 IPv6网络参数置于回应报文中的配置选项相应字段。
这里, 是将选定的 IPv6-Prefix、 Primary DNS Address, Secondary DNS Address等网络参数值置于回应报文中的配置选项相应字段。
步骤 204、配置响应端的发送模块将处理模块生成的回应报文发送给对 端的家庭网关, 作为对所接收到的 IPv6CP报文的回应。
步骤 205、 家庭网关依据所获取的回应报文中的 IPv6网络参数, 执行 网络配置等操作。
这里, 家庭网关是依据所获取的 IPv6-Prefix、 Primary DNS Address, Secondary DNS Address等网络参数值, 执行具体的网络配置等操作。
需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可 执行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。
这里,以上涉及到的配置选项以 configuration-option表示;主机以 Host 表示; 家庭网关以 Residential Gateway表示。
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。

Claims

权利要求书
1、 一种协商配置 IPv6网络参数的系统, 其特征在于, 该系统包括: 协 商配置单元, 用于基于 IPv6控制协议( IPv6CP )报文中的 IPv6CP配置选 项, 在请求端与响应端之间协商配置 IPv6网络参数。
2、 根据权利要求 1所述的系统, 其特征在于, 所述协商配置单元进一 步包括: 响应端的读取模块、 响应端的处理模块和响应端的发送模块; 其 中,
所述读取模块, 用于获取来自请求端的配置请求消息, 并读取所述配 置请求消息中携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP ^艮文的格式;
所述处理模块, 用于将与所述 IPv6CP配置选项相对应的 IPv6网络参 数, 置于响应消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述 响应消息釆用所述 IPv6CP报文的格式;
所述发送模块, 用于将所述响应消息发送给所述请求端。
3、 根据权利要求 2所述的系统, 其特征在于, 所述协商配置单元进一 步包括: 请求端的配置单元, 用于接收所述响应消息, 从所述响应消息中 携带的 IPv6CP配置选项的字段中获取所述 IPv6网络参数,并根据所述 IPv6 网络参数执行网络配置操作。
4、 根据权利要求 1至 3中任一项所述的系统, 其特征在于, 所述请求 端包括主机或家庭网关。
5、 一种协商配置 IPv6网络参数的方法, 其特征在于, 该方法包括: 基 于 IPv6CP报文中的 IPv6CP配置选项 ,在请求端与响应端之间协商配置 IPv6 网络参数。
6、 根据权利要求 5所述的方法, 其特征在于, 所述协商配置包括: 响应端获取来自请求端的配置请求消息, 并读取所述配置请求消息中 携带的 IPv6CP配置选项; 其中, 所述配置请求消息釆用所述 IPv6CP报文 的格式;
响应端将与所述 IPv6CP配置选项相对应的 IPv6网络参数, 置于响应 消息中携带的 IPv6CP配置选项中的相对应字段; 其中, 所述响应消息釆用 所述 IPv6CP报文的格式;
响应端将所述响应消息发送给所述请求端。
7、 根据权利要求 6所述的方法, 其特征在于, 所述协商配置还包括: 所述请求端接收所述响应消息,从所述响应消息中携带的 IPv6CP配置选项 的字段中获取所述 IPv6网络参数,并根据所述 IPv6网络参数执行网络配置 操作。
8、 根据权利要求 5至 7中任一项所述的方法, 其特征在于, 所述 IPv6 网络参数包括: IPv6地址、 IPv6前缀、 主用域名服务系统(DNS )地址、 备用 DNS地址中的至少一种。
PCT/CN2010/078903 2010-01-19 2010-11-19 一种协商配置IPv6网络参数的系统及方法 Ceased WO2011088703A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010100012617A CN102130884A (zh) 2010-01-19 2010-01-19 一种协商配置IPv6网络参数的系统及方法
CN201010001261.7 2010-01-19

Publications (1)

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

Family

ID=44268776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078903 Ceased WO2011088703A1 (zh) 2010-01-19 2010-11-19 一种协商配置IPv6网络参数的系统及方法

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624707B (zh) * 2012-02-22 2018-04-17 中兴通讯股份有限公司 一种协商IPv6信息的方法及系统
CN104954161A (zh) * 2014-03-28 2015-09-30 中兴通讯股份有限公司 IPv6过渡技术类型处理方法、装置及系统
CN104954336B (zh) * 2014-03-28 2019-05-17 中兴通讯股份有限公司 IPv6网络参数处理方法、装置、系统及AAA服务器
CN106330651A (zh) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 4in6隧道模式选择方法及装置
CN108848100B (zh) * 2018-06-27 2020-10-20 清华大学 一种有状态IPv6地址生成方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744596A (zh) * 2004-09-01 2006-03-08 华为技术有限公司 IPv6网络中主机获取网络配置参数的方法
KR20070067911A (ko) * 2005-12-26 2007-06-29 삼성전자주식회사 피피피를 이용한 다수의 디엔스서버 주소제공 장치 및 방법
KR100736536B1 (ko) * 2001-07-07 2007-07-06 엘지전자 주식회사 차세대 인터넷 프로토콜에서의 이동국 식별정보를 이용한인터페이스 식별 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100736536B1 (ko) * 2001-07-07 2007-07-06 엘지전자 주식회사 차세대 인터넷 프로토콜에서의 이동국 식별정보를 이용한인터페이스 식별 방법
CN1744596A (zh) * 2004-09-01 2006-03-08 华为技术有限公司 IPv6网络中主机获取网络配置参数的方法
KR20070067911A (ko) * 2005-12-26 2007-06-29 삼성전자주식회사 피피피를 이용한 다수의 디엔스서버 주소제공 장치 및 방법

Also Published As

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

Similar Documents

Publication Publication Date Title
KR101842316B1 (ko) Nfc 피어 투 피어 통신 환경에서 인터넷 프로토콜(ip) 데이터 통신을 제공하는 방법 및 시스템
CN104137518B (zh) 在面向服务架构总线上的互联网协议连接
US11146666B2 (en) IPv4/IPv6 bridge
CN111294399B (zh) 一种数据传输方法和装置
CN102594635B (zh) 基于家庭网关的终端接入方法和系统以及家庭网关
CN101729500B (zh) 一种ip会话标识方法、装置和系统
WO2011147353A1 (zh) 一种报文发送方法及装置
WO2012051915A1 (zh) 端口映射方法、装置与通信系统
CN105359458A (zh) 网络设备通信方法及网络设备
WO2014000565A1 (zh) 管理IPv4终端的通道的建立方法及网络网关
CN102137170A (zh) IPv6地址的分配方法和装置
JP2019176511A (ja) ネットワーク機器
WO2011088703A1 (zh) 一种协商配置IPv6网络参数的系统及方法
WO2011144152A1 (zh) 信息提供方法及家庭网关、家庭网络系统
CN108307694A (zh) 一种网络连接信息获取方法及路由器
CN101257517B (zh) 地址解析协议请求消息处理方法及装置
TW201414253A (zh) 網路位址轉換系統及方法
CN100518126C (zh) 配置gre隧道的方法及路由器
CN103457823B (zh) 双栈协议桥接拨号的实现方法
WO2013185696A2 (zh) 一种数据处理的方法与设备
JP2013509837A (ja) アイデンティティ及びロケーションマッピングの実現方法及びシステム
CN101127762A (zh) 一种基于动态主机配置协议的信息交互方法和系统
WO2011140954A1 (zh) 远程ip地址获取方法及设备
WO2007028300A1 (fr) Procede pour obtenir les informations sur l'agent d'origine du noeud mobile et systeme employant celui-ci
WO2011120276A1 (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: 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