WO2013123763A1 - Dynamic ipv6 configuration method for home gateway - Google Patents

Dynamic ipv6 configuration method for home gateway Download PDF

Info

Publication number
WO2013123763A1
WO2013123763A1 PCT/CN2012/079912 CN2012079912W WO2013123763A1 WO 2013123763 A1 WO2013123763 A1 WO 2013123763A1 CN 2012079912 W CN2012079912 W CN 2012079912W WO 2013123763 A1 WO2013123763 A1 WO 2013123763A1
Authority
WO
WIPO (PCT)
Prior art keywords
ipv6
address
home gateway
dhcpv6
configuration
Prior art date
Application number
PCT/CN2012/079912
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 烽火通信科技股份有限公司
Priority to RU2013155979/08A priority Critical patent/RU2602971C2/en
Publication of WO2013123763A1 publication Critical patent/WO2013123763A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Definitions

  • the present invention relates to the field of home gateway technologies, and in particular, to a method for dynamically configuring IPV6 (Internet Protocol Version 6) in a home gateway. Background technique
  • the home gateway is a multi-service integrated access device for home and small business users. It is connected to the external network through the home gateway to form a home-oriented service delivery platform.
  • the main function is to realize the conversion from the intelligent broadband access network to the informationized home network.
  • the current global Internet IPv4 address pool has tended to dry up, and research on IPv6-enabled home gateways is imperative.
  • IPv6 Home Gateway Configuration There are three ways to configure IPv6:
  • the first is to manually configure the IPv6 address of the gateway, and the routing gateway, IPv6 domain name server (DNS: Domain Name System) and other information through static configuration.
  • DNS Domain Name System
  • the second is configured by DHCPv6 (DHCP for Dynamic Host Configuration Protocol).
  • DHCPv6 Dynamic Host Configuration Protocol for IPv6.
  • IPv6 PPPoE Point-to-Point Protocol over Ethernet
  • the PPPoE server of IPv4 and IPv6 has different configurations for the addresses of the two ends of the PPP (Point-to-Point Protocol) link.
  • the IP addresses of the two ends of the PPP link of the IPv4 are mainly through the IPCP of the PPP session.
  • IP Control Protocol IP Control Protocol
  • IPv6 PPP link address is negotiated through IPv6CP (IPv6 Control Protocol), according to "RFC 2472: IP Version 6 over PPP”
  • IPv6CP negotiates 64-bit interface identifier in the link negotiation phase (Interface Identifier),
  • the pppx network interface generates a local link address instead of a global unicast address.
  • the home gateway is a hub connecting the operator network and the user's home network. How the home gateway user communicates with the IPv6 network through the home gateway is a technical problem to be solved in the field. Summary of the invention
  • the purpose of the present invention is to overcome the deficiencies of the above background art, and provide a method for dynamically configuring IPV6 in a home gateway.
  • the home gateway can obtain the WAN side by selecting an "acquire address” option by using a home gateway through an IPv6 PPPoE dialing method.
  • the IPv6 global unicast address of the network interface can access IPv6 network resources.
  • the home gateway terminal user can obtain the IPv6 global unicast address, and thus can access the IPv6 network resources.
  • the method for dynamically configuring the IPV6 of the home gateway comprises the following steps: A. Establishing a WAN connection with an Internet attribute routing mode, adopting a point-to-point protocol PPPoE dialing mode on the Ethernet, and obtaining an address according to the PPPoE dialing option "Get Address” and "Get a Prefix” Dynamic combination, determine the configuration mode of the home gateway IPV6; B, start the dial-up process, create the interface of the dial-up process, the dial-up process calls the executable script ipv6-up, and starts the IPv6 dynamic host configuration protocol DHCPv6 client in the gateway, which produces different The configuration behavior, combined with stateful autoconfiguration and stateless autoconfiguration, enables the home gateway to dynamically configure IPv6.
  • the dynamic combination of the PPPoE dialing options "Get Address” and “Get Prefix” in the step A and the marking thereof include the following four types:
  • the DHCPv6 client requests the stateless DHCPv6 service, and the home gateway obtains the domain name server address from the WAN side DHCPv6 server; the DHCPv6 client starts the DHCPv6 server in the gateway, and updates the domain name server. Address configuration information. .
  • the DHCPv6 client initiates the prefix identification group option IA_PD request, starts the route advertisement module, and the home gateway LAN side PC acquires the IPv6 global unicast address through stateless automatic configuration;
  • the home gateway LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in the stateful auto configuration.
  • the DHCPv6 client initiates the non-temporary address identification group option IA_NA request, and the home gateway WAN side obtains the IPv6 global unicast address and the domain name server address information through the stateful automatic configuration;
  • the DHCPv6 server updates the domain name server address configuration information.
  • the DHCPv6 client simultaneously initiates an IA_NA request and an IA_PD request, and the home gateway WAN side obtains an IPv6 global unicast address and a domain name server address through stateful autoconfiguration;
  • the home gateway LAN side PC obtains the IPv6 global unicast address through the stateless automatic configuration; starts the DHCPv6 server of the gateway, and the home gateway LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in the stateful automatic configuration.
  • the stateful automatic configuration is: the corresponding network interface of the home gateway obtains an IPv6 global unicast address from the WAN side DHCPv6 server address pool, and obtains the domain name server address from the WAN side DHCPv6 server.
  • the stateless DHCPv6 service mode in the stateful automatic configuration is:
  • the DHCPv6 server does not allocate an IPv6 address, and only provides the domain to the client.
  • the process of the stateless automatic configuration is: the network interface obtains a global unicast address by using the global address prefix of the route advertisement combined with the interface identifier.
  • the present invention adopts the method of the IPv6 PPPoE dialing by the home gateway.
  • the home gateway can obtain the IPv6 global unicast address of the WAN side network interface, thereby accessing the IPv6 network resource.
  • the home gateway end user can obtain the IPv6 global unicast address, which in turn can access IPv6 network resources.
  • FIG. 1 is a structural block diagram of a home gateway in an embodiment of the present invention.
  • the home gateway is connected to the OLT (Optical Line Tterminal).
  • the OLT is connected to an IPv6-enabled dial-up server, a dynamic host configuration server, and a domain name server. It also needs a WEB server that supports IPv6.
  • WAN Wide Area Network
  • INTERNET Internet
  • This WAN connection can forward LAN (Local Area Network) data and WAN side data to implement LAN and WAN.
  • the data on both sides is interconnected.
  • the configuration mode is PPPoE dialing mode. There are two options for this configuration mode: "Get Address” and "Get Prefix”.
  • the dynamic combination of items determines how the home gateway IPV6 is configured. There are four combinations of these two options, each of which takes a different dynamic configuration of IPv6. According to different configuration modes of the home gateway IPv6, combined with stateful automatic configuration and stateless automatic configuration, the home gateway dynamically configures IPv6.
  • the process of dynamically configuring IPv6 on the home gateway is as follows:
  • Step S1 Start the PPPoE dialup process pppd in the home gateway, and create an interface for the dialup process.
  • Step S2 The dialing process pppd calls the executable script ipv6-up.
  • Step S3 Executable script The ipv6-up script determines whether the WAN connection has an INTERNET attribute. If yes, go to step S4, otherwise it will pop up.
  • Step S4 The executable script ipv6-up determines the currently selected configuration mode.
  • Uncheck the get address, uncheck the get prefix, and define the flag flag value is 00; uncheck the get address, check the get prefix, The definition mark Flag value is 01;
  • the difference between these four configurations is that the DHCPv6 client process has different options for making requests.
  • the DHCPv6 client requests a non-temporary address through the IA-NA (Identity Association for Non-temporary Addresses) option, and requests the temporary address through the IA-TA (Identity Association for Temporary Addresses) option.
  • the address prefix is requested by the IA_PD (Authentication Association for Prefix Delegation) option.
  • Step S5a The DHCPv6 client requests the stateless DHCPv6 service, that is, the dynamic host configuration server does not allocate an IPv6 address, and only provides the domain name server address configuration information.
  • Step S6b Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
  • Step S5b The DHCPv6 client initiates an IA_PD request, and the prefix is obtained by the WAN-side dynamic host configuration server.
  • the prefix assigned to the home gateway is less than or equal to 64 bits, the required number of bits is added by the obtained address prefix by default. Fill in 64 bits.
  • Step S6a The radvd (Router Advertisement Daemon) is started by the DHCPv6 client, and the DHCPv6 client updates the obtained prefix to the configuration file of the radvd process, and the radvd process passes the prefix to the RA (Router Advertisement, Router Advertisement).
  • the packet is sent to the LAN device of the home gateway.
  • the home gateway acts as a router, and the radvd configuration in the home gateway needs to be updated to support the stateless auto configuration mode configuration address.
  • the LAN side PC automatically configures IPv6 globally through stateless automatic configuration. Unicast address.
  • Step S6b Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
  • Home Gateway The LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode.
  • Step S5c The executable script ipv6-up starts the DHCPv6 client.
  • the radvd is not required
  • the DHCPv6 client requests the IA_NA mode
  • the WAN side of the home gateway obtains the IPv6 global unicast address and the domain name server address information through the stateful automatic configuration.
  • the home gateway WAN side address comes from the IPv6 dynamic host configuration server address pool.
  • Step S6b Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
  • the home gateway requests both the address and the prefix, and performs steps S5d, S6a, and S6b shown in FIG.
  • Step S5d The executable script ipv6-up starts the DHCPv6 client.
  • the DHCPv6 client requests the IA_NA and IA_PD modes.
  • the WAN side of the home gateway can automatically obtain the IPv6 global unicast address and domain name server address information.
  • Home Gateway The WAN side address comes from the global unicast address configured in the IPv6 Dynamic Host Configuration Server address pool.
  • Step S6a The radvd is started by the DHCPv6 client, and the DHCPv6 client updates the obtained prefix to the configuration file of the radvd process.
  • the radvd process sends the prefix to the LAN device of the home gateway through the RA message.
  • the role of the router, and the radvd configuration in the home gateway needs to be updated to support the configuration of the stateless autoconfiguration mode.
  • the LAN side PC obtains an IPv6 global unicast address through stateless autoconfiguration.
  • Step S6b Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
  • Home Gateway The LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in stateful autoconfiguration.
  • the dynamic host configuration server startup interface is pppx.
  • the router device needs to support the stateless auto configuration mode to configure the address.
  • the terminal needs to use the stateless DHCPv6 to obtain other configuration information except the address.
  • the domain name server address is One of the configuration information. Create an IPv6 PPPoE dial-up connection in the INTERNET routing mode in the home gateway.
  • the home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running.
  • the home gateway DHCPv6 client process is started by the ipv6-up script.
  • the home gateway establishes two network interfaces: the pppx network interface and the DHCPv6 network interface. Obtain domain name server address information through stateless DHCPv6 service
  • the home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running. The ipv6-up script starts the home gateway DHCPv6 client process. After the DHCPv6 client process obtains the prefix information, it starts the home gateway route through the process radvd.
  • the process is shown in Figure 2.
  • the DHCPv6 client process initiates an IA_PD request, obtains the prefix information from the server, and updates the mdvd configuration file.
  • the radvd process sends the prefix information to the LAN side PC through the RA message.
  • the LAN side PC automatically configures the IPv6 global order through stateless automatic configuration. Broadcast address, obtain the domain name server address information through the stateless DHCPv6 service.
  • the home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running.
  • the DHCPv6 client process is started by the ipv6-up script.
  • the DHCPv6 client process initiates an IA_NA request and obtains IPv6 from the dynamic host configuration server address pool. Global unicast address and domain name server address information, at this time the home gateway can PING through the external network.
  • the home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running.
  • the DHCPv6 client process is started by the ipv6-up script.
  • the DHCPv6 client process initiates a request containing the IA_NA and IA_PD options, and the home gateway requests the prefix and address.
  • the home gateway obtains the IPv6 global unicast address of the pppx interface on the WAN side through stateful autoconfiguration.
  • the DHCPv6 client process updates the prefix information obtained from the dynamic host configuration server to the gateway radvd configuration file, and starts the radvd process in the home gateway.
  • the radvd process sends the prefix to the home gateway LAN side PC through the RA message.
  • the LAN side PC automatically configures the IPv6 global unicast address through stateless mode, and obtains the domain name server address information through the gateway's DHCPv6 server.
  • the gateway can PING the external network.
  • the LAN side PC can PING the external network.

Abstract

Disclosed is a dynamic IPv6 configuration method for a home gateway, comprising the steps of: establishing a WAN connection with an Internet attribute routing mode, and according to the dynamic combination of PPPoE dialing options i.e. "obtaining an address" and "obtaining a prefix", determining an IPv6 configuration manner of a home gateway using a PPPoE dialing manner; and starting up a dialing process, establishing an interface of the dialing process, the dialing process invoking an executable script ipv6-up, generating a corresponding request according to the IPv6 configuration manner of the home gateway, starting up a DHCPv6 client in the gateway, and combining a stateful auto-configuration with a stateless auto-configuration, and achieving the dynamic IPv6 configuration of the home gateway. By selecting the 'obtaining an address', the home gateway can obtain the IPv6 global unicast address of a network interface at the WAN side, and access an IPv6 network. By selecting the 'obtaining an address' and the 'obtaining a prefix', home gateway users can obtain the IPv6 global unicast address, and access IPv6 network resources.

Description

说 明 书  Description
家庭网关动态配置 IPV6的方法  Home gateway dynamic configuration IPV6 method
技术领域 Technical field
本发明涉及家庭网关技术领域,特别是涉及一种家庭网关动态配 置 IPV6 (Internet Protocol Version 6) 的方法。 背景技术  The present invention relates to the field of home gateway technologies, and in particular, to a method for dynamically configuring IPV6 (Internet Protocol Version 6) in a home gateway. Background technique
家庭网关是面向家庭和小企业用户的多业务综合接入设备,通过 家庭网关与外部网络相连, 形成面向家庭的业务提供平台, 主要功能 是实现智能宽带接入网到信息化家庭网络的转换。 当前全球互联网 IPv4地址总库已趋于枯竭, 研究支持 IPv6的家庭网关已势在必行。  The home gateway is a multi-service integrated access device for home and small business users. It is connected to the external network through the home gateway to form a home-oriented service delivery platform. The main function is to realize the conversion from the intelligent broadband access network to the informationized home network. The current global Internet IPv4 address pool has tended to dry up, and research on IPv6-enabled home gateways is imperative.
家庭网关配置 IPv6有以下三种途径:  Home Gateway Configuration There are three ways to configure IPv6:
一是通过静态配置, 手动配置网关的 IPv6地址, 及路由网关、 IPv6域名服务器 (DNS : Domain Name System, 域名系统) 等信息。  The first is to manually configure the IPv6 address of the gateway, and the routing gateway, IPv6 domain name server (DNS: Domain Name System) and other information through static configuration.
二是通过 DHCPv6 (DHCP for IPv6, IPv6动态主机配置协议) ( DHCP: Dynamic Host Configuration Protocol, 动态主机设置协议 ) 配置, 详细内容可参照 " RFC 3315: Dynamic Host Configuration Protocol for IPv6"。  The second is configured by DHCPv6 (DHCP for Dynamic Host Configuration Protocol). For details, refer to "RFC 3315: Dynamic Host Configuration Protocol for IPv6".
三是通过 IPv6 PPPoE (Point-to-Point Protocol over Ethernet, 以太 网上点对点协议) 配置。 IPv4 和 IPv6 的 PPPoE 服务器对 PPP (Point-to-Point Protocol, 点到点协议) 链路两端地址的配置不同, IPv4 的 PPP链路两端地址主要是通过 PPP会话阶段的 IPCP (IP Control Protocol, IP控制协议)配置, IPv6的 PPP链路两端地址通过 IPv6CP(IPv6控制协议)协商,根据" RFC 2472: IP Version 6 over PPP", IPv6CP在链路协商阶段协商 64位接口标识符 (Interface Identifier) , 在 pppx网络接口产生一个本地链路地址, 而非全球单播地址, 所以, 还需要做特殊的处理, 才能实现家庭网关用户和外网的通信。家庭网 关是连接运营商网络和用户家庭网络的枢纽,家庭网关用户如何通过 家庭网关与 IPv6网络通信, 是本领域亟待解决的技术问题。 发明内容 The third is through the IPv6 PPPoE (Point-to-Point Protocol over Ethernet) configuration. The PPPoE server of IPv4 and IPv6 has different configurations for the addresses of the two ends of the PPP (Point-to-Point Protocol) link. The IP addresses of the two ends of the PPP link of the IPv4 are mainly through the IPCP of the PPP session. , IP Control Protocol) configuration, IPv6 PPP link address is negotiated through IPv6CP (IPv6 Control Protocol), according to "RFC 2472: IP Version 6 over PPP", IPv6CP negotiates 64-bit interface identifier in the link negotiation phase (Interface Identifier), The pppx network interface generates a local link address instead of a global unicast address. Therefore, special processing is required to enable communication between the home gateway user and the external network. The home gateway is a hub connecting the operator network and the user's home network. How the home gateway user communicates with the IPv6 network through the home gateway is a technical problem to be solved in the field. Summary of the invention
本发明的目的是为了克服上述背景技术的不足, 提供一种家庭 网关动态配置 IPV6的方法,采用家庭网关通过 IPv6 PPPoE拨号的方 法, 通过选择 "获取地址"选项的操作, 家庭网关能够获取 WAN侧 网络接口的 IPv6全球单播地址, 进而可以访问 IPv6网络资源; 通过 同时选择 "获取地址"和 "获取前缀"选项, 家庭网关终端用户能够 获取到 IPv6全球单播地址, 进而可以访问 IPv6网络资源。  The purpose of the present invention is to overcome the deficiencies of the above background art, and provide a method for dynamically configuring IPV6 in a home gateway. The home gateway can obtain the WAN side by selecting an "acquire address" option by using a home gateway through an IPv6 PPPoE dialing method. The IPv6 global unicast address of the network interface can access IPv6 network resources. By selecting the "acquire address" and "acquire prefix" options, the home gateway terminal user can obtain the IPv6 global unicast address, and thus can access the IPv6 network resources.
本发明提供的家庭网关动态配置 IPV6的方法,包括以下步骤: A、 建立一条带因特网属性路由模式的广域网连接, 采用以太网上点 对点协议 PPPoE拨号方式,根据 PPPoE拨号选项 "获取地址"和 "获 取前缀" 的动态组合, 确定家庭网关 IPV6 的配置方式; B、 启动拨 号进程, 创建拨号进程的接口, 拨号进程调用可执行脚本 ipv6-up, 启动网关中的 IPv6动态主机配置协议 DHCPv6客户端, 产生不同配 置行为, 结合有状态自动配置和无状态自动配置, 实现家庭网关动态 配置 IPv6。  The method for dynamically configuring the IPV6 of the home gateway provided by the present invention comprises the following steps: A. Establishing a WAN connection with an Internet attribute routing mode, adopting a point-to-point protocol PPPoE dialing mode on the Ethernet, and obtaining an address according to the PPPoE dialing option "Get Address" and "Get a Prefix" Dynamic combination, determine the configuration mode of the home gateway IPV6; B, start the dial-up process, create the interface of the dial-up process, the dial-up process calls the executable script ipv6-up, and starts the IPv6 dynamic host configuration protocol DHCPv6 client in the gateway, which produces different The configuration behavior, combined with stateful autoconfiguration and stateless autoconfiguration, enables the home gateway to dynamically configure IPv6.
在上述技术方案中,步骤 A中所述 PPPoE拨号选项"获取地址" 和 "获取前缀" 的动态组合及其标记包括以下四种:  In the above technical solution, the dynamic combination of the PPPoE dialing options "Get Address" and "Get Prefix" in the step A and the marking thereof include the following four types:
( 1 ) "获取地址"和 "获取前缀"均不选择, 标记 Flag值为 00; (1) "Get address" and "Get prefix" are not selected, and the flag value is 00;
(2) 只选择 "获取前缀", 标记 Flag值为 01 ; (2) Select only "Get Prefix" and mark Flag as 01;
(3 ) 只选择 "获取地址", 标记 Flag值为 10;  (3) Select only "Get Address" and mark Flag as 10;
(4) 同时选择 "获取地址"和 "获取前缀", 标记 Flag值为 11。 在上述技术方案中, 当 Flag值为 00时, DHCPv6客户端请求 无状态 DHCPv6服务,家庭网关从 WAN侧 DHCPv6服务器获取到域 名服务器地址; 通过 DHCPv6客户端启动网关中的 DHCPv6服务端, 更新域名服务器地址配置信息。。 (4) Select "Get Address" and "Get Prefix" at the same time, and mark Flag as 11. In the foregoing technical solution, when the Flag value is 00, the DHCPv6 client requests the stateless DHCPv6 service, and the home gateway obtains the domain name server address from the WAN side DHCPv6 server; the DHCPv6 client starts the DHCPv6 server in the gateway, and updates the domain name server. Address configuration information. .
在上述技术方案中, 当 Flag值为 01时, DHCPv6客户端发起 前缀标识组选项 IA_PD请求, 启动路由通告模块, 家庭网关 LAN侧 PC 通过无状态自动配置, 获取 IPv6 全球单播地址; 启动网关的 DHCPv6服务端, 家庭网关 LAN侧 PC通过有状态自动配置中的无 状态 DHCPv6服务方式, 获取域名服务器地址信息。  In the foregoing technical solution, when the Flag value is 01, the DHCPv6 client initiates the prefix identification group option IA_PD request, starts the route advertisement module, and the home gateway LAN side PC acquires the IPv6 global unicast address through stateless automatic configuration; On the DHCPv6 server, the home gateway LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in the stateful auto configuration.
在上述技术方案中, 当 Flag值为 10时, DHCPv6客户端发起 非临时地址标识组选项 IA_NA请求, 家庭网关 WAN侧通过有状态 自动配置, 获取 IPv6全球单播地址和域名服务器地址信息; 启动网 关的 DHCPv6服务端, 更新域名服务器地址配置信息。  In the foregoing technical solution, when the Flag value is 10, the DHCPv6 client initiates the non-temporary address identification group option IA_NA request, and the home gateway WAN side obtains the IPv6 global unicast address and the domain name server address information through the stateful automatic configuration; The DHCPv6 server updates the domain name server address configuration information.
在上述技术方案中, 当 Flag值为 11时, 所述 DHCPv6客户端 同时发起 IA_NA请求和 IA_PD请求, 家庭网关 WAN侧通过有状态 自动配置, 获取 IPv6全球单播地址和域名服务器地址; 启动路由通 告模块, 家庭网关 LAN侧 PC通过无状态自动配置获取 IPv6全球单 播地址; 启动网关的 DHCPv6服务端, 家庭网关 LAN侧 PC通过有 状态自动配置中的无状态 DHCPv6 服务方式, 获取域名服务器地址 信息。  In the foregoing technical solution, when the Flag value is 11, the DHCPv6 client simultaneously initiates an IA_NA request and an IA_PD request, and the home gateway WAN side obtains an IPv6 global unicast address and a domain name server address through stateful autoconfiguration; Module, the home gateway LAN side PC obtains the IPv6 global unicast address through the stateless automatic configuration; starts the DHCPv6 server of the gateway, and the home gateway LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in the stateful automatic configuration.
在上述技术方案中, 所述有状态自动配置为: 家庭网关相应网 络接口从 WAN侧 DHCPv6服务器地址池中获取 IPv6全球单播地址, 从 WAN侧 DHCPv6服务器获取域名服务器地址。  In the foregoing technical solution, the stateful automatic configuration is: the corresponding network interface of the home gateway obtains an IPv6 global unicast address from the WAN side DHCPv6 server address pool, and obtains the domain name server address from the WAN side DHCPv6 server.
在上述技术方案中, 所述有状态自动配置中的无状态 DHCPv6 服务方式为: DHCPv6服务器不分配 IPv6地址, 仅向客户端提供域 在上述技术方案中, 所述无状态自动配置的过程为: 网络接口 通过路由通告的全局地址前缀结合接口标识符得到一个全球单播地 址。 In the foregoing technical solution, the stateless DHCPv6 service mode in the stateful automatic configuration is: The DHCPv6 server does not allocate an IPv6 address, and only provides the domain to the client. In the foregoing technical solution, the process of the stateless automatic configuration is: the network interface obtains a global unicast address by using the global address prefix of the route advertisement combined with the interface identifier.
与现有技术相比, 本发明的优点如下:  The advantages of the present invention over the prior art are as follows:
( 1 )本发明采用家庭网关通过 IPv6 PPPoE拨号的方法, 通过勾 选 "获取地址"选项的操作, 家庭网关能够获取 WAN侧网络接口的 IPv6全球单播地址, 进而可以访问 IPv6网络资源。  (1) The present invention adopts the method of the IPv6 PPPoE dialing by the home gateway. By selecting the "Get Address" option, the home gateway can obtain the IPv6 global unicast address of the WAN side network interface, thereby accessing the IPv6 network resource.
(2) 通过同时勾选 "获取地址"和 "获取前缀"选项, 家庭网 关终端用户能够获取到 IPv6全球单播地址, 进而可以访问 IPv6网络 资源。 附图说明  (2) By simultaneously checking the "Get Address" and "Get Prefix" options, the home gateway end user can obtain the IPv6 global unicast address, which in turn can access IPv6 network resources. DRAWINGS
图 1是本发明实施例中家庭网关的结构框图。  1 is a structural block diagram of a home gateway in an embodiment of the present invention.
图 2是本发明实施例中的方法流程图。 具体实施方式  2 is a flow chart of a method in an embodiment of the present invention. detailed description
下面结合附图及实施例对本发明作进一步的详细描述。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
参见图 1所示, 家庭网关连接到 OLT (Optical Line Tterminal, 光线路终端), OLT上联口连接支持 IPv6的拨号服务器、动态主机配 置服务器和域名服务器, 还需要一个支持 IPv6的 WEB服务器。  As shown in Figure 1, the home gateway is connected to the OLT (Optical Line Tterminal). The OLT is connected to an IPv6-enabled dial-up server, a dynamic host configuration server, and a domain name server. It also needs a WEB server that supports IPv6.
在网关中建立一条带 INTERNET (因特网)属性路由模式的 WAN (Wide Area Network,广域网)连接,此 WAN连接可以将 LAN(Local Area Network, 局域网)侧数据和 WAN侧数据进行转发, 实现 LAN、 WAN两侧的数据互通, 选择配置方式为 PPPoE拨号方式, 此种配置 方式有两个选项, 分别为 "获取地址"和 "获取前缀", 通过两个选 项的动态组合确定家庭网关 IPV6的配置方式。 这两个选项有四种组 合情况,每种组合采取不同的动态配置 IPv6方式。根据家庭网关 IPv6 的不同配置方式, 结合有状态自动配置和无状态自动配置, 实现家庭 网关动态配置 IPv6。 Establish a WAN (Wide Area Network) connection with the INTERNET (Internet) attribute routing mode in the gateway. This WAN connection can forward LAN (Local Area Network) data and WAN side data to implement LAN and WAN. The data on both sides is interconnected. The configuration mode is PPPoE dialing mode. There are two options for this configuration mode: "Get Address" and "Get Prefix". The dynamic combination of items determines how the home gateway IPV6 is configured. There are four combinations of these two options, each of which takes a different dynamic configuration of IPv6. According to different configuration modes of the home gateway IPv6, combined with stateful automatic configuration and stateless automatic configuration, the home gateway dynamically configures IPv6.
参见图 2所示, 家庭网关动态配置 IPv6的流程如下:  As shown in Figure 2, the process of dynamically configuring IPv6 on the home gateway is as follows:
步骤 S1 : 启动家庭网关中 PPPoE拨号进程 pppd, 创建拨号进程 的接口。  Step S1: Start the PPPoE dialup process pppd in the home gateway, and create an interface for the dialup process.
步骤 S2: 拨号进程 pppd调用可执行脚本 ipv6-up。  Step S2: The dialing process pppd calls the executable script ipv6-up.
步骤 S3 : 可执行脚本 ipv6-up 脚本判断 WAN 连接是否带有 INTERNET属性, 如果是, 则转到步骤 S4, 否则跳出。  Step S3: Executable script The ipv6-up script determines whether the WAN connection has an INTERNET attribute. If yes, go to step S4, otherwise it will pop up.
步骤 S4: 可执行脚本 ipv6-up判断目前选择的配置方式。  Step S4: The executable script ipv6-up determines the currently selected configuration mode.
"获取地址"和 "获取前缀"两个选项的四种组合情况分别为: 不勾选获取地址, 不勾选获取前缀, 定义标记 Flag值为 00; 不勾选获取地址, 勾选获取前缀, 定义标记 Flag值为 01 ;  The four combinations of the "Get Address" and "Get Prefix" options are as follows: Uncheck the get address, uncheck the get prefix, and define the flag flag value is 00; uncheck the get address, check the get prefix, The definition mark Flag value is 01;
勾选获取地址, 不勾选获取前缀, 定义标记 Flag值为 10;  Check the Get address, uncheck the Get prefix, and define the flag Flag value as 10;
勾选获取地址, 勾选获取前缀, 定义标记 Flag值为 11。  Check the Get address, check the Get prefix, and define the flag Flag value to 11.
这四种配置的不同在于 DHCPv6 客户端进程发出请求的选项不 同。 DHCPv6 客户端通过 IA—NA ( Identity Association for Non-temporary Addresses, 非临时地址标识组选项) 选项请求非临时 地址, 通过 IA—TA (Identity Association for Temporary Addresses, 临 时地址标识组选项) 选项请求临时地址, 通过 IA_PD ( Identity Association for Prefix Delegation, 前缀标识组选项) 选项请求分配地 址前缀。  The difference between these four configurations is that the DHCPv6 client process has different options for making requests. The DHCPv6 client requests a non-temporary address through the IA-NA (Identity Association for Non-temporary Addresses) option, and requests the temporary address through the IA-TA (Identity Association for Temporary Addresses) option. The address prefix is requested by the IA_PD (Authentication Association for Prefix Delegation) option.
下面分别对 4种配置方式进行详细阐述。  The four configuration methods are described in detail below.
(一) 当 Flag值为 00时, 执行图 2所示的步骤 S5a和 S6b。 步骤 S5a: DHCPv6客户端请求无状态 DHCPv6服务, 即动态主 机配置服务器不分配 IPv6地址, 仅提供域名服务器地址配置信息。 (1) When the Flag value is 00, steps S5a and S6b shown in Fig. 2 are executed. Step S5a: The DHCPv6 client requests the stateless DHCPv6 service, that is, the dynamic host configuration server does not allocate an IPv6 address, and only provides the domain name server address configuration information.
步骤 S6b: 启动网关的 DHCPv6服务端, 更新域名服务器地址配 置信息。  Step S6b: Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
(二) 当 Flag值为 01时, 家庭网关请求前缀, 执行图 2所示的 步骤 S5b、 S6a和 S6b。  (2) When the Flag value is 01, the home gateway requests the prefix, and steps S5b, S6a, and S6b shown in Figure 2 are performed.
步骤 S5b: DHCPv6客户端发起 IA_PD请求, 前缀通过 WAN侧 动态主机配置服务器获取,分配给家庭网关的前缀小于等于 64位时, 缺省情况下在获得的地址前缀后增补所需位数的 0, 补齐 64位。  Step S5b: The DHCPv6 client initiates an IA_PD request, and the prefix is obtained by the WAN-side dynamic host configuration server. When the prefix assigned to the home gateway is less than or equal to 64 bits, the required number of bits is added by the obtained address prefix by default. Fill in 64 bits.
步骤 S6a:通过 DHCPv6客户端启动 radvd (Router Advertisement Daemon, 路由通告模块), DHCPv6 客户端将获取到的前缀更新至 radvd 进程的配置文件中, radvd 进程将此前缀通过 RA ( Router Advertisement, 路由器通告) 报文发送至家庭网关的 LAN侧设备, 此时家庭网关充当路由器的角色,且需要更新家庭网关中 radvd配置, 使其支持无状态自动配置方式配置地址, LAN侧 PC通过无状态自动 配置 IPv6全球单播地址。  Step S6a: The radvd (Router Advertisement Daemon) is started by the DHCPv6 client, and the DHCPv6 client updates the obtained prefix to the configuration file of the radvd process, and the radvd process passes the prefix to the RA (Router Advertisement, Router Advertisement). The packet is sent to the LAN device of the home gateway. At this time, the home gateway acts as a router, and the radvd configuration in the home gateway needs to be updated to support the stateless auto configuration mode configuration address. The LAN side PC automatically configures IPv6 globally through stateless automatic configuration. Unicast address.
步骤 S6b: 启动网关的 DHCPv6服务端, 更新域名服务器地址配 置信息。 家庭网关 LAN侧 PC通过无状态 DHCPv6服务方式, 获取 域名服务器地址信息。  Step S6b: Start the DHCPv6 server of the gateway, and update the domain name server address configuration information. Home Gateway The LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode.
(三) 当 Flag值为 10时, 家庭网关请求地址, 执行图 2所示的 步骤 S5c和 S6b o  (3) When the Flag value is 10, the home gateway requests the address, and steps S5c and S6b shown in Figure 2 are performed.
步骤 S5c: 可执行脚本 ipv6-up启动 DHCPv6客户端, 此种情况 不需要启动 radvd, DHCPv6客户端请求 IA_NA方式,家庭网关 WAN 侧通过有状态自动配置获取 IPv6全球单播地址和域名服务器地址信 息, 家庭网关 WAN侧地址来自 IPv6动态主机配置服务器地址池。 步骤 S6b: 启动网关的 DHCPv6服务端, 更新域名服务器地址配 置信息。 Step S5c: The executable script ipv6-up starts the DHCPv6 client. In this case, the radvd is not required, the DHCPv6 client requests the IA_NA mode, and the WAN side of the home gateway obtains the IPv6 global unicast address and the domain name server address information through the stateful automatic configuration. The home gateway WAN side address comes from the IPv6 dynamic host configuration server address pool. Step S6b: Start the DHCPv6 server of the gateway, and update the domain name server address configuration information.
(四) 当 Flag值为 11时, 家庭网关同时请求地址和前缀, 执行 图 2所示的步骤 S5d、 S6a和 S6b。  (4) When the Flag value is 11, the home gateway requests both the address and the prefix, and performs steps S5d, S6a, and S6b shown in FIG.
步骤 S5d: 可执行脚本 ipv6-up启动 DHCPv6客户端, DHCPv6 客户端同时请求 IA_NA和 IA_PD方式, 家庭网关 WAN侧通过有状 态自动配置, 获取 IPv6全球单播地址和域名服务器地址信息。 家庭 网关 WAN侧地址来自 IPv6动态主机配置服务器地址池中配置的全 球单播地址。  Step S5d: The executable script ipv6-up starts the DHCPv6 client. The DHCPv6 client requests the IA_NA and IA_PD modes. The WAN side of the home gateway can automatically obtain the IPv6 global unicast address and domain name server address information. Home Gateway The WAN side address comes from the global unicast address configured in the IPv6 Dynamic Host Configuration Server address pool.
步骤 S6a: 通过 DHCPv6客户端启动 radvd, DHCPv6客户端将 获取到的前缀更新至 radvd进程的配置文件中, radvd进程将此前缀 通过 RA报文发送至家庭网关的 LAN侧设备, 此时家庭网关充当路 由器的角色, 且需要更新家庭网关中 radvd配置, 使其支持无状态自 动配置方式配置地址, LAN侧 PC通过无状态自动配置, 获取到一个 IPv6全球单播地址。  Step S6a: The radvd is started by the DHCPv6 client, and the DHCPv6 client updates the obtained prefix to the configuration file of the radvd process. The radvd process sends the prefix to the LAN device of the home gateway through the RA message. The role of the router, and the radvd configuration in the home gateway needs to be updated to support the configuration of the stateless autoconfiguration mode. The LAN side PC obtains an IPv6 global unicast address through stateless autoconfiguration.
步骤 S6b: 启动网关的 DHCPv6服务端, 更新域名服务器地址配 置信息。 家庭网关 LAN 侧 PC 通过有状态自动配置中的无状态 DHCPv6服务方式, 获取域名服务器地址信息。  Step S6b: Start the DHCPv6 server of the gateway, and update the domain name server address configuration information. Home Gateway The LAN side PC obtains the domain name server address information through the stateless DHCPv6 service mode in stateful autoconfiguration.
本发明实施例的具体操作和现象说明如下:  The specific operations and phenomena of the embodiments of the present invention are as follows:
启动 IPv6的拨号服务器、 动态主机配置服务器, 动态主机配置 服务器启动接口为 pppx, 路由器设备需要支持无状态自动配置方式 配置地址, 需要终端使用无状态 DHCPv6 获取地址外的其他配置信 息, 域名服务器地址是配置信息之一。 在家庭网关中建一条 INTERNET路由模式的 IPv6 PPPoE拨号连接。  Start the IPv6 dial-up server and the dynamic host configuration server. The dynamic host configuration server startup interface is pppx. The router device needs to support the stateless auto configuration mode to configure the address. The terminal needs to use the stateless DHCPv6 to obtain other configuration information except the address. The domain name server address is One of the configuration information. Create an IPv6 PPPoE dial-up connection in the INTERNET routing mode in the home gateway.
( 1 )设置家庭网关 IPv6 PPPoE拨号连接配置信息, 不勾选获取 地址, 不勾选获取前缀, 重启设备。 观察现象为: (1) Set the home gateway IPv6 PPPoE dial-up connection configuration information, do not check the get Address, uncheck the get prefix, restart the device. The observation phenomenon is:
家庭网关启动 pppd进程, pppx接口建立成功之后, ipv6-up脚本 开始运行, 由 ipv6-up脚本启动家庭网关 DHCPv6客户端进程, 家庭 网关建立两个网络接口: pppx网络接口和 DHCPv6网络接口。 通过 无状态 DHCPv6服务方式获取域名服务器地址信息  The home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running. The home gateway DHCPv6 client process is started by the ipv6-up script. The home gateway establishes two network interfaces: the pppx network interface and the DHCPv6 network interface. Obtain domain name server address information through stateless DHCPv6 service
(2)设置家庭网关 IPv6 PPPoE拨号连接配置信息, 不勾选获取 地址, 勾选获取前缀, 重启设备, 观察现象为:  (2) Set the home gateway IPv6 PPPoE dial-up connection configuration information, uncheck the get address, check the get prefix, restart the device, and observe the phenomenon as follows:
家庭网关启动 pppd进程, pppx接口建立成功之后, ipv6-up脚本 开始运行, 由 ipv6-up 脚本启动家庭网关 DHCPv6 客户端进程, DHCPv6 客户端进程获取到前缀信息后启动家庭网关路由通过进程 radvd, 详细流程参见图 2所示。 DHCPv6客户端进程发起 IA_PD请 求, 从服务端获取到前缀信息, 并更新至 mdvd配置文件, radvd进 程将此前缀信息通过 RA报文发送至 LAN侧 PC, LAN侧 PC通过无 状态自动配置 IPv6全球单播地址, 通过无状态 DHCPv6服务方式获 取域名服务器地址信息。  The home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running. The ipv6-up script starts the home gateway DHCPv6 client process. After the DHCPv6 client process obtains the prefix information, it starts the home gateway route through the process radvd. The process is shown in Figure 2. The DHCPv6 client process initiates an IA_PD request, obtains the prefix information from the server, and updates the mdvd configuration file. The radvd process sends the prefix information to the LAN side PC through the RA message. The LAN side PC automatically configures the IPv6 global order through stateless automatic configuration. Broadcast address, obtain the domain name server address information through the stateless DHCPv6 service.
(3 ) 设置家庭网关 IPv6 PPPoE拨号配置信息, 勾选获取地址, 不勾选获取前缀, 重启设备, 路由设备不需要支持无状态自动配置, 观察现象为:  (3) Set the IPv6 PPPoE dialup configuration information of the home gateway, check the Get address, uncheck the Get prefix, and restart the device. The routing device does not need to support stateless autoconfiguration. The observation phenomenon is:
家庭网关启动 pppd进程, pppx接口建立成功之后, ipv6-up脚本 开始运行, 由 ipv6-up脚本启动 DHCPv6客户端进程, DHCPv6客户 端进程进程发起 IA_NA请求, 从动态主机配置服务器地址池中获取 到 IPv6 全球单播地址和域名服务器地址信息, 此时家庭网关可以 PING通外网。  The home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running. The DHCPv6 client process is started by the ipv6-up script. The DHCPv6 client process initiates an IA_NA request and obtains IPv6 from the dynamic host configuration server address pool. Global unicast address and domain name server address information, at this time the home gateway can PING through the external network.
(4)设置家庭网关 IPv6 PPPoE拨号连接配置信息, 勾选获取地 址, 勾选获取前缀, 重启网关设备, 观察现象为: 家庭网关启动 pppd进程, pppx接口建立成功之后, ipv6-up脚本 开始运行, 由 ipv6-up脚本启动 DHCPv6客户端进程, DHCPv6客户 端进程进程发起包含 IA_NA和 IA_PD选项的请求, 家庭网关同时请 求前缀和地址。 家庭网关通过有状态自动配置获取到 WAN侧 pppx 接口的 IPv6全球单播地址, DHCPv6客户端进程将从动态主机配置 服务器获取到的前缀信息更新至网关 radvd配置文件, 并启动家庭网 关中 radvd进程, radvd进程将此前缀通过 RA报文发送至家庭网关 LAN侧 PC, LAN侧 PC通过无状态自动配置 IPv6全球单播地址, 通过网关的 DHCPv6 服务器获取域名服务器地址信息, 网关可以 PING通外网, 同时 LAN侧 PC可以 PING通外网。 (4) Set the IPv6 PPPoE dial-up connection configuration information of the home gateway, check the Get address, check the Get prefix, and restart the gateway device. The observation phenomenon is: The home gateway starts the pppd process. After the pppx interface is successfully established, the ipv6-up script starts running. The DHCPv6 client process is started by the ipv6-up script. The DHCPv6 client process initiates a request containing the IA_NA and IA_PD options, and the home gateway requests the prefix and address. The home gateway obtains the IPv6 global unicast address of the pppx interface on the WAN side through stateful autoconfiguration. The DHCPv6 client process updates the prefix information obtained from the dynamic host configuration server to the gateway radvd configuration file, and starts the radvd process in the home gateway. The radvd process sends the prefix to the home gateway LAN side PC through the RA message. The LAN side PC automatically configures the IPv6 global unicast address through stateless mode, and obtains the domain name server address information through the gateway's DHCPv6 server. The gateway can PING the external network. The LAN side PC can PING the external network.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不 脱离本发明的精神和范围。这样, 倘若本发明的这些修改和变型属于 本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些 改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
本说明书中未作详细描述的内容属于本领域专业技术人员公知 的现有技术。  The contents not described in detail in the present specification belong to the prior art well known to those skilled in the art.

Claims

权 利 要 求 书 Claim
1、 一种家庭网关动态配置 IPv6的方法, 其特征在于包括以下步 骤:  A method for dynamically configuring IPv6 by a home gateway, which is characterized by the following steps:
A、 建立一条带因特网属性路由模式的广域网连接, 采用以太网 上点对点协议 PPPoE拨号方式, 根据 PPPoE拨号选项 "获取地址" 和 "获取前缀" 的动态组合, 确定家庭网关 IPv6的配置方式;  A. Establish a WAN connection with Internet attribute routing mode, adopt PPPoE dial-up mode on the Ethernet, and determine the configuration mode of the home gateway IPv6 according to the dynamic combination of the PPPoE dialing options "Get Address" and "Get Prefix";
B、 启动拨号进程, 创建拨号进程的接口, 拨号进程调用可执行 脚本 ipv6-up,启动网关中的 IPv6动态主机配置协议 DHCPv6客户端, 产生不同配置行为, 结合有状态自动配置和无状态自动配置, 实现家 庭网关动态配置 IPv6。  B. Start the dialup process, create the interface of the dialup process, and the dialup process invokes the executable script ipv6-up to start the IPv6 dynamic host configuration protocol DHCPv6 client in the gateway, which generates different configuration behaviors, combined with stateful autoconfiguration and stateless autoconfiguration. , Realize the home gateway to dynamically configure IPv6.
2、 如权利要求 1所述的家庭网关动态配置 IPv6的方法, 其特征 在于: 步骤 A中所述 PPPoE拨号选项 "获取地址"和 "获取前缀" 的动态组合及其标记包括以下四种:  2. The method for dynamically configuring IPv6 in a home gateway according to claim 1, wherein: the dynamic combination of the PPPoE dialing options "Get Address" and "Get Prefix" in the step A and the marking thereof are as follows:
( 1 ) "获取地址"和 "获取前缀"均不选择, 标记 Flag值为 00; (1) "Get address" and "Get prefix" are not selected, and the flag value is 00;
(2) 只选择 "获取前缀", 标记 Flag值为 01 ; (2) Select only "Get Prefix" and mark Flag as 01;
(3 ) 只选择 "获取地址", 标记 Flag值为 10;  (3) Select only "Get Address" and mark Flag as 10;
(4) 同时选择 "获取地址"和 "获取前缀", 标记 Flag值为 11。  (4) Select "Get Address" and "Get Prefix" at the same time, and mark Flag as 11.
3、 如权利要求 2所述的家庭网关动态配置 IPv6的方法, 其特征 在于:当 Flag值为 00时, DHCPv6客户端请求无状态 DHCPv6服务, 家庭网关通过无状态 DHCPv6 方式获取地址之外的域名服务器地址 配置信息。  3. The method for dynamically configuring IPv6 in a home gateway according to claim 2, wherein when the Flag value is 00, the DHCPv6 client requests a stateless DHCPv6 service, and the home gateway obtains a domain name other than the address through the stateless DHCPv6 mode. Server address configuration information.
4、 如权利要求 2所述的家庭网关动态配置 IPv6的方法, 其特征 在于:当 Flag值为 01时, DHCPv6客户端发起前缀标识组选项 IA_PD 请求, 启动路由通告模块, 启动网关的 DHCPv6 服务端, 家庭网关 LAN侧 PC通过无状态自动配置获取 IPv6全球单播地址, 通过有状 The method for dynamically configuring IPv6 in a home gateway according to claim 2, wherein when the flag value is 01, the DHCPv6 client initiates a prefix identification group option IA_PD request, starts a route advertisement module, and starts a DHCPv6 server of the gateway. The home gateway LAN side PC obtains the IPv6 global unicast address through stateless autoconfiguration.
5、 如权利要求 2所述的家庭网关动态配置 IPv6的方法, 其特征 在于: 当 Flag值为 10时, DHCPv6客户端发起非临时地址标识组选 项 IA_NA请求, 家庭网关 WAN侧通过有状态自动配置获取 IPv6全 球单播地址和域名服务器地址信息; 启动网关的 DHCPv6 服务端, 更新域名服务器地址配置信息。 The method for dynamically configuring IPv6 in a home gateway according to claim 2, wherein: when the Flag value is 10, the DHCPv6 client initiates a non-temporary address identification group option IA_NA request, and the home gateway WAN side is configured by stateful automatic configuration. Obtain the IPv6 global unicast address and domain name server address information. Start the DHCPv6 server of the gateway and update the domain name server address configuration information.
6、 如权利要求 2所述的家庭网关动态配置 IPv6的方法, 其特征 在于: 当 Flag值为 11时, 所述 DHCPv6客户端同时发起 IA_NA请 求和 IA_PD请求, 家庭网关 WAN侧通过有状态自动配置获取 IPv6 全球单播地址和域名服务器地址信息; 启动路由通告模块, 启动网关 的 DHCPv6服务端, 家庭网关 LAN侧 PC通过无状态自动配置获取 IPv6全球单播地址, 通过有状态自动配置中的无状态 DHCPv6服务 方式, 获取域名服务器地址信息。  The method for dynamically configuring IPv6 in a home gateway according to claim 2, wherein: when the Flag value is 11, the DHCPv6 client simultaneously initiates an IA_NA request and an IA_PD request, and the home gateway WAN side is configured by stateful automatic configuration. Obtain the IPv6 global unicast address and domain name server address information; start the route advertisement module, start the DHCPv6 server of the gateway, and the home gateway LAN side PC obtains the IPv6 global unicast address through stateless automatic configuration, and passes the stateless automatic configuration in the stateless state. The DHCPv6 service mode obtains the domain name server address information.
7、 如权利要求 5或 6所述的家庭网关动态配置 IPv6的方法, 其 特征在于: 所述有状态自动配置为: 从 WAN侧 DHCPv6服务器地址 池中获取 IPv6全球单播地址和域名服务器地址信息, 并将该 IPv6地 址分配给家庭网关的相应网络接口。  The method for dynamically configuring IPv6 in a home gateway according to claim 5 or 6, wherein: the stateful automatic configuration is: obtaining an IPv6 global unicast address and a domain name server address information from a WAN side DHCPv6 server address pool. And assign the IPv6 address to the corresponding network interface of the home gateway.
8、如权利要求 3至 6中任一项所述的家庭网关动态配置 IPv6的 方法, 其特征在于: 所述有状态自动配置中的无状态 DHCPv6 服务 方式为: IPv6动态主机配置服务器不分配 IPv6地址, 只向客户端提 供域名服务器地址信息。  The method for dynamically configuring IPv6 of a home gateway according to any one of claims 3 to 6, wherein: the stateless DHCPv6 service mode in the stateful automatic configuration is: the IPv6 dynamic host configuration server does not allocate IPv6. Address, only provides the domain name server address information to the client.
9、如权利要求 3至 6中任一项所述的家庭网关动态配置 IPv6的 方法, 其特征在于: 所述无状态自动配置的过程为: 网络接口通过路 由通告的全局地址前缀结合接口标识符得到一个全球单播地址。  The method for dynamically configuring IPv6 in a home gateway according to any one of claims 3 to 6, wherein: the stateless automatic configuration process is: the network interface uses a global address prefix advertised by a route to combine an interface identifier. Get a global unicast address.
PCT/CN2012/079912 2012-02-20 2012-08-10 Dynamic ipv6 configuration method for home gateway WO2013123763A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2013155979/08A RU2602971C2 (en) 2012-02-20 2012-08-10 Dynamic ipv6 configuration method for home gateway

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210037141.1 2012-02-20
CN201210037141.1A CN102594940B (en) 2012-02-20 2012-02-20 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway

Publications (1)

Publication Number Publication Date
WO2013123763A1 true WO2013123763A1 (en) 2013-08-29

Family

ID=46483133

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079912 WO2013123763A1 (en) 2012-02-20 2012-08-10 Dynamic ipv6 configuration method for home gateway

Country Status (4)

Country Link
CN (1) CN102594940B (en)
MY (1) MY174365A (en)
RU (1) RU2602971C2 (en)
WO (1) WO2013123763A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681480A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Point-to-point protocol (PPP) dial on demand method and equipment
CN112272244A (en) * 2020-10-22 2021-01-26 北京自如信息科技有限公司 Router WAN end IPv6 internet mode configuration method and device
CN113660357A (en) * 2021-08-17 2021-11-16 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual-stack system
CN114938347A (en) * 2021-02-04 2022-08-23 青岛海信宽带多媒体技术有限公司 Router and router ipv6 self-adaption method and device
CN115412533A (en) * 2021-05-27 2022-11-29 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium
US11528159B2 (en) * 2017-09-04 2022-12-13 Somfy Activites Sa Method of automatic configuration of network address of a communicating element forming part of a home-automation system, associated network interface, communicating element and home-automation system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594940B (en) * 2012-02-20 2014-11-19 烽火通信科技股份有限公司 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway
CN102833732B (en) * 2012-07-25 2017-03-29 中兴通讯股份有限公司 System, data card and its implementation that a kind of IPv6 addresses stateless is automatically configured
WO2015162450A1 (en) * 2014-04-22 2015-10-29 Pismo Labs Technology Limited Methods and systems for processing a dns request
CN105120014B (en) * 2015-09-08 2018-10-09 烽火通信科技股份有限公司 A kind of IPv6 in LTE uplinks home gateway realizes system and method
JP6816152B2 (en) * 2016-01-26 2021-01-20 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Methods and equipment for configuring M2M devices
CN112449752A (en) * 2018-12-26 2021-03-05 华为技术有限公司 IPv6 address configuration method and routing equipment
CN110730132B (en) * 2019-09-27 2021-06-15 迈普通信技术股份有限公司 Default gateway selection method, device and system
CN111541797A (en) * 2020-04-23 2020-08-14 深圳市吉祥腾达科技有限公司 Eco-based IPV6 implementation method
CN113114795B (en) * 2021-03-30 2022-07-08 烽火通信科技股份有限公司 IPv6 address allocation method and system
CN113612870A (en) * 2021-09-07 2021-11-05 上海市共进通信技术有限公司 Method for distributing different IPv6 address prefixes based on LAN side multi-type terminal equipment
CN114785755B (en) * 2022-04-19 2024-03-29 深圳市和为顺网络技术有限公司 IPV6 Internet surfing IAPD self-adaption method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080310323A1 (en) * 2007-06-15 2008-12-18 Qualcomm Incorporated Method and Apparatus for DNS Update Triggered IPv6 Neighbor Advertisement
CN101984636A (en) * 2010-10-25 2011-03-09 华为技术有限公司 Prefix distribution method, device and system
CN102137170A (en) * 2010-01-26 2011-07-27 中兴通讯股份有限公司 Method and device for distributing IPv6 (Internet Protocol version 6) addresses
CN102594940A (en) * 2012-02-20 2012-07-18 烽火通信科技股份有限公司 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100583904C (en) * 2006-03-03 2010-01-20 华为技术有限公司 Automatic configuration method for host address in IPV6 network
US20070223397A1 (en) * 2006-03-24 2007-09-27 Sergey Gerasimov Network configuration
CN101883155B (en) * 2010-05-19 2014-03-19 中兴通讯股份有限公司 WAN side information acquisition method and device of home gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080310323A1 (en) * 2007-06-15 2008-12-18 Qualcomm Incorporated Method and Apparatus for DNS Update Triggered IPv6 Neighbor Advertisement
CN102137170A (en) * 2010-01-26 2011-07-27 中兴通讯股份有限公司 Method and device for distributing IPv6 (Internet Protocol version 6) addresses
CN101984636A (en) * 2010-10-25 2011-03-09 华为技术有限公司 Prefix distribution method, device and system
CN102594940A (en) * 2012-02-20 2012-07-18 烽火通信科技股份有限公司 Method for dynamically configuring IPv6 (internet protocol version 6) for home gateway

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681480A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Point-to-point protocol (PPP) dial on demand method and equipment
EP3223493A4 (en) * 2014-11-17 2017-11-15 ZTE Corporation Point-to-point protocol (ppp)-based dial-on-demand method and device, and computer storage medium
US11528159B2 (en) * 2017-09-04 2022-12-13 Somfy Activites Sa Method of automatic configuration of network address of a communicating element forming part of a home-automation system, associated network interface, communicating element and home-automation system
CN112272244A (en) * 2020-10-22 2021-01-26 北京自如信息科技有限公司 Router WAN end IPv6 internet mode configuration method and device
CN114938347A (en) * 2021-02-04 2022-08-23 青岛海信宽带多媒体技术有限公司 Router and router ipv6 self-adaption method and device
CN115412533A (en) * 2021-05-27 2022-11-29 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium
CN115412533B (en) * 2021-05-27 2024-01-16 北京小米移动软件有限公司 Terminal device, control method and device thereof, and storage medium
CN113660357A (en) * 2021-08-17 2021-11-16 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual-stack system
CN113660357B (en) * 2021-08-17 2023-10-27 烽火通信科技股份有限公司 Method and device for automatically acquiring IP address by IPv6 dual stack system

Also Published As

Publication number Publication date
CN102594940A (en) 2012-07-18
MY174365A (en) 2020-04-11
RU2602971C2 (en) 2016-11-20
CN102594940B (en) 2014-11-19
RU2013155979A (en) 2015-06-27

Similar Documents

Publication Publication Date Title
WO2013123763A1 (en) Dynamic ipv6 configuration method for home gateway
EP2919444B1 (en) Method, relay device, and system for acquiring internet protocol address in network
EP2055046B1 (en) Method and device for identifying and selecting an interface to access a network
JP5967173B2 (en) Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program
EP2347554B1 (en) A method and a gateway for providing multiple internet access
WO2014015775A1 (en) Ipv6 address stateless auto-configuration system, data card, and implementation method thereof
WO2013159641A1 (en) Address allocation method, device, and system
WO2008031319A1 (en) The method and device for managing route information and retransmitting data in accessing device
EP3108643B1 (en) Ipoe dual-stack subscriber for routed residential gateway configuration
WO2011098039A1 (en) Method, system and apparatus for acquiring ipv6 configuration information in ipv6 transient network
WO2017088101A1 (en) Network access information acquiring method, and router
JP2013535909A (en) Generation of PV6 address to activate virtual leased line service
EP3108642B1 (en) Ipoe dual-stack subscriber for bridged residential gateway configuration
US20140372499A1 (en) Methods and Systems for Enabling NAT Traversal
WO2006116911A1 (en) Ppp access terminal,access service device and a method of the terminal obtaining the server address of the provider
JP2013509837A (en) Method and system for realizing identity and location mapping
WO2009018658A1 (en) Device, system and method for automatic ipv4 provisioning in a local area network connected to an ipv6 network
WO2013178164A1 (en) Ipv6 domain name server (dns) address allocation and obtaining method and device
CN102624707A (en) Method and system for negotiating internet protocol version 6 (IPv6) information
JP2004015795A (en) IPv4 MANAGEMENT METHOD AND MANAGEMENT DEVICE IN IPv6 WIRELESS LAN ENVIRONMENT
WO2008106773A1 (en) Tunneling device for automatic protocol provisioning in a network
US20140351453A1 (en) Node in a Network
US20140379785A1 (en) Server Communication
Campos et al. Dynamic autoconfiguration in 4G networks: problem statement and preliminary solution
Sun et al. Network Working Group Y. Cui Internet-Draft J. Wu Intended status: Standards Track P. Wu Expires: January 12, 2012 Tsinghua University

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013155979

Country of ref document: RU

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12869150

Country of ref document: EP

Kind code of ref document: A1