WO2016202059A1 - Procédé d'accès à un réseau ipv6 et passerelle - Google Patents
Procédé d'accès à un réseau ipv6 et passerelle Download PDFInfo
- Publication number
- WO2016202059A1 WO2016202059A1 PCT/CN2016/078721 CN2016078721W WO2016202059A1 WO 2016202059 A1 WO2016202059 A1 WO 2016202059A1 CN 2016078721 W CN2016078721 W CN 2016078721W WO 2016202059 A1 WO2016202059 A1 WO 2016202059A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- feature information
- ipv6
- network
- packet
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Definitions
- This document relates to but not limited to the field of data communication, and relates to a method and a gateway for accessing an IPv6 network.
- IPv6 Internet Protocol Version 6
- FIG. 1 is a schematic diagram of a related art network networking.
- a gateway device accesses two IPv6 networks at the same time, and the connected device accesses the Internet through a gateway device.
- each network environment may assign a prefix to the gateway.
- the gateway sends these prefixes to the attached device, the connected device may configure multiple addresses.
- the source address used by the connected device to access the network does not match the prefix assigned by the target network, the network may fail. This is the source network address filtering of the carrier. Request for decision.
- the gateway obtains the network address prefix from IPv6 network A and IPv6 network B, and sends the two network address prefixes to the attached PC.
- the attached device generates two IPv6 addresses.
- IPv6 network B When the device uses the Ping program to access the destination IP address (Internet Protocol) 2300::1, the source address is 2000::200::1, and the source address of the packet enters IPv6 network B. If the network address prefix is not assigned by IPv6 network B, the packet will be discarded by the BRAS (Broadband Remote Access Server) of IPv6 network B, causing the communication to fail.
- BRAS Broadband Remote Access Server
- the embodiments of the present invention provide a method and a gateway for accessing an IPv6 network, which ensure correct forwarding of packets.
- the embodiment of the invention provides a method for accessing an IPv6 network, including:
- the gateway obtains the address feature information of the multiple IPv6 networks
- the address device information of one of the IPv6 networks is allocated to the attached device, or the address generated by the address feature information of one of the IPv6 networks is allocated to the attached device.
- the packet After receiving the packet sent by the device, analyzing the destination IPv6 network of the packet, if the address feature information of the destination IPv6 network is inconsistent with the address feature information of the source address of the packet, After the address feature information of the source address of the packet is replaced with the address feature information of the destination IPv6 network, the packet is forwarded.
- the method further includes:
- the gateway After receiving the packet replied by the destination IPv6 network, the gateway replaces the address feature information of the destination address of the packet replied by the destination IPv6 network with the address feature information currently used by the downlink device.
- the assigning the address feature information of one of the IPv6 networks to the downlink device, or the address generated by the downlink device to the address feature information of one of the IPv6 networks includes:
- the gateway uses the neighbor discovery protocol or the dynamic host configuration protocol of the IPV6 to allocate the address feature information of one of the IPv6 networks to the attached device, or assign the address generated by the address feature information of one of the IPv6 networks to the attached device. of.
- the address feature information includes a network address prefix.
- the embodiment of the invention further provides a gateway, including:
- the allocation module is configured to allocate the address feature information of one of the IPv6 networks to the attached device after the address feature information of the plurality of IPv6 networks is obtained, or allocate the information to the attached device An address generated by address feature information of an IPv6 network;
- the forwarding module is configured to analyze, after receiving the packet sent by the device, the destination IPv6 network that is forwarded by the packet, if the address feature information of the destination IPv6 network and the source address of the packet If the address feature information is inconsistent, the address feature information of the source address of the packet is replaced with the address feature information of the destination IPv6 network, and then the packet is forwarded.
- the forwarding module is further configured to receive the packet replied by the destination IPv6 network, and replace the address feature information of the destination address of the packet replied by the destination IPv6 network with the current use of the downlink device. Address feature information.
- the allocation module is configured to:
- the neighbor discovery protocol or the dynamic host configuration protocol of the IPV6 is used to allocate the address feature information of one of the networks to the attached device, or to allocate the address generated by the address feature information of one of the networks to the attached device.
- the address feature information includes a network address prefix.
- the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, a method for accessing an IPv6 network is implemented.
- the above technical solution can enable the IPv6 host to be accessed normally in a multi-network environment without configuring multiple IPv6 addresses, thereby avoiding the situation that the source address selection error cannot access the network.
- FIG. 1 is a schematic diagram of a network networking of the related art
- FIG. 2 is a schematic diagram of a problem of multiple network access in an IPv6 network of the related art
- FIG. 3 is a flowchart of a method for accessing a network according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of an effect of a method for accessing a network according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a gateway according to an embodiment of the present invention.
- FIG. 6 is a flowchart of a method for accessing a multiple IPv6 network according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a method for accessing an IPv6 network according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
- Step 11 After obtaining the address feature information of the multiple IPv6 networks, the gateway allocates the address feature information of one of the IPv6 networks to the attached device, or allocates the address feature information generated by the IPv6 network of the IPv6 network. address;
- the address feature information includes a network address prefix.
- the address feature information of one of the IPv6 networks is allocated to the downlink device, or the address generated by the address feature information of one of the IPv6 networks is allocated to the downlink device by using the following manner:
- the gateway uses the neighbor discovery protocol or the dynamic host configuration protocol of the IPV6 to allocate the address feature information of one of the IPv6 networks to the attached device, or assign the address generated by the address feature information of one of the IPv6 networks to the attached device. of.
- Step 12 After receiving the packet sent by the downlink device, analyzing the destination IPv6 network that is forwarded by the packet, if the address feature information of the destination IPv6 network and the address feature of the source address of the packet If the information is inconsistent, the address feature information of the source address of the packet is replaced with the address feature information of the destination IPv6 network, and then the packet is forwarded.
- the method for accessing an IPv6 network in the embodiment of the present invention further includes:
- the gateway After receiving the packet replied by the destination IPv6 network, the gateway replaces the address feature information of the destination address of the packet replied by the destination IPv6 network with the address feature information currently used by the downlink device.
- the gateway when the gateway accesses multiple IPv6 network environments, the gateway can assign a network address prefix to the connected device.
- the network address prefix of the address and the network address assigned by the network are used. If the prefix is inconsistent, the gateway can replace the network address prefix part of the source address of the packet with the network address prefix that matches the currently accessed network, so that the network can be correctly accessed.
- the reverse response is processed for the reply message, and the prefix part of the destination address is replaced with the network address prefix currently used by the attached device.
- FIG. 5 is a schematic diagram of a gateway according to an embodiment of the present invention. As shown in FIG. 5, the gateway in this embodiment includes:
- the allocation module is configured to: after obtaining the address feature information of the plurality of IPv6 networks, assign the address feature information of one of the IPv6 networks to the attached device, or allocate the address feature information of the one of the IPv6 networks to the connected device. the address of;
- the allocation module is responsible for assigning an IPv6 address to the IPv6 host of the gateway.
- the module uses the standard ND (Neighbor Discovery) protocol or the DHCPv6 (Dynamic Host Configuration Protocol for IPV6) protocol.
- the allocation module is configured to: use the neighbor discovery protocol or the dynamic host configuration protocol of the IPV6 to allocate address feature information of one of the networks to the attached device, or allocate the information to the attached device.
- the address generated by the address feature information of one of the networks.
- the address feature information includes a network address prefix.
- the forwarding module is configured to: after receiving the packet sent by the device, analyze the destination network of the packet, if the address feature information of the destination network and the address feature information of the source address of the packet If the address feature information of the source address of the packet is replaced with the address feature information of the destination network, the packet is forwarded.
- the forwarding module is configured to analyze the forwarding destination of the data packet, and determine whether the network address prefix authorized by the destination network to the gateway is consistent with the network address prefix of the source address of the data packet. If not, the network address prefix is replaced. For the packet replied by the destination network, the network address prefix part of the destination address of the packet is replaced with the network address prefix currently used by the host.
- the forwarding module is further configured to receive the destination The packet replied by the IPv6 network replaces the address feature information of the destination address of the packet replied by the destination IPv6 network with the address feature information currently used by the hanged device.
- the embodiment of the present invention provides a method for accessing a plurality of IPv6 networks based on a gateway device. As shown in FIG. 6, the method in this embodiment includes:
- Step 101 The gateway establishes two IPv6 connections, and accesses the IPv6 network A and the IPv6 network B.
- Step 102 The gateway obtains a PD (Prefix Delegation) named "PDA” from the network A, and obtains a PD from the network B, and is named "PDB";
- PDA Prefix Delegation
- the PDA is 2000:200::/64 and the PDB is 3000:300::/64.
- Step 103 The gateway address delivery module allocates only one network address prefix to the attached device, or assigns the downlink device to an address generated by one of the network address prefixes.
- the "PDA" 2000:200::/64 is sent to the attached device, or the downloaded device is assigned the address generated by the PDA.
- Step 104 The attached device generates a GUA (Global Unique Address) according to the received network address prefix configuration.
- GUA Global Unique Address
- the generated GUA is 2000:200::1.
- Step 105 The connected device starts to access the network, as shown in FIG. 3;
- the source IP address of the Ping is 2000:200::1 and the destination IP is 2300::1.
- Step 106 The gateway performs routing. If network B is selected (if the destination of 2300::1 is out of network B), step 107 is performed, if network A is selected (if the destination of 2300::1 is outgoing from network A) , without changing the message, directly performing step 108;
- Step 107 If the destination of 2300::1 goes out from network B, replace the network address prefix part of the source address, and replace the address to become 3000:300::1;
- Step 108 Forward the message to the WAN of the wide area network
- Step 109 The gateway receives the network side packet, and checks the network address prefix part of the destination IP, such as If the PDA (2000::200::) is not processed directly, step 111; if it is a PDB, step 110;
- Step 110 If it is a PDB (3000:300::), replace the network address prefix portion of the destination address with the PDA;
- Step 111 Forward the packet to the LAN (Local Area Network) side.
- LAN Local Area Network
- this document provides a method for accessing a multi-IPv6 network environment based on a gateway device. This method avoids the difficulty in selecting a source address when a connected device accesses multiple IPv6 networks due to multiple IPv6 addresses. The problem is that the message cannot be correctly forwarded due to incorrect source address selection.
- the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, a method for accessing an IPv6 network is implemented.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- This application is not limited to any specific combination of hardware and software.
- the above technology prevents the device from being incorrectly forwarded due to incorrect source address selection.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
L'invention concerne un procédé d'accès à un réseau, comprenant les opérations suivantes : après obtention d'informations de caractéristique d'adresse de multiples réseaux IPv6, une passerelle attribue des informations de caractéristique d'adresse d'un réseau IPv6 à un dispositif connecté, ou attribue une adresse générée à partir d'informations de caractéristique d'adresse d'un réseau IPv6 à un dispositif connecté ; et après réception d'un paquet envoyé par le dispositif connecté, analyser un réseau IPv6 cible auquel le paquet est transféré, et si des informations de caractéristique d'adresse du réseau IPv6 cible sont incohérentes avec des informations de caractéristique d'adresse d'une adresse source du paquet, remplacer les informations de caractéristique d'adresse de l'adresse source du paquet par les informations de caractéristique d'adresse du réseau IPv6 cible, et transférer le paquet. La solution technique ci-dessus permet à un hôte IPv6 connecté de mettre en œuvre un accès normal dans un environnement multi-réseau sans avoir besoin de configurer de multiples adresses IPv6 pour l'hôte IPv6 connecté, et évite le problème d'échec d'accès à un réseau dû à la sélection incorrecte d'une adresse source.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510347238.6 | 2015-06-19 | ||
| CN201510347238.6A CN106331191A (zh) | 2015-06-19 | 2015-06-19 | 一种访问IPv6网络的方法及网关 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016202059A1 true WO2016202059A1 (fr) | 2016-12-22 |
Family
ID=57544756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/078721 Ceased WO2016202059A1 (fr) | 2015-06-19 | 2016-04-07 | Procédé d'accès à un réseau ipv6 et passerelle |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106331191A (fr) |
| WO (1) | WO2016202059A1 (fr) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112887186A (zh) * | 2019-11-29 | 2021-06-01 | 中兴通讯股份有限公司 | 多平面网络接入方法、装置以及计算机存储介质 |
| CN114945013A (zh) * | 2022-04-28 | 2022-08-26 | 中国电信股份有限公司 | 数据转发方法、装置、电子设备及计算机可读存储介质 |
| CN115334036A (zh) * | 2022-08-11 | 2022-11-11 | 江苏安超云软件有限公司 | 智能控制源地址转换的方法和装置、电子设备和存储介质 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109688057B (zh) * | 2018-12-13 | 2021-08-24 | Ut斯达康通讯有限公司 | 基于ipv6的段路由网络的报文转发方法及装置 |
| CN114765600B (zh) * | 2020-12-31 | 2023-10-20 | 华为技术有限公司 | 一种IPv6地址的配置方法及路由设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060056420A1 (en) * | 2004-09-16 | 2006-03-16 | Fujitsu Limited | Communication apparatus selecting a source address |
| US7161897B1 (en) * | 2000-11-27 | 2007-01-09 | Nortel Networks Limited | Communications system, apparatus and method therefor |
| US7894433B2 (en) * | 2005-08-08 | 2011-02-22 | Cisco Technology, Inc. | Default gateway router supplying IP address prefixes ordered for source address selection by host device |
| CN102801826A (zh) * | 2012-08-29 | 2012-11-28 | 清华大学 | 基于IPv6地址翻译的IPv6站点多宿主应用方法 |
-
2015
- 2015-06-19 CN CN201510347238.6A patent/CN106331191A/zh not_active Withdrawn
-
2016
- 2016-04-07 WO PCT/CN2016/078721 patent/WO2016202059A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7161897B1 (en) * | 2000-11-27 | 2007-01-09 | Nortel Networks Limited | Communications system, apparatus and method therefor |
| US20060056420A1 (en) * | 2004-09-16 | 2006-03-16 | Fujitsu Limited | Communication apparatus selecting a source address |
| US7894433B2 (en) * | 2005-08-08 | 2011-02-22 | Cisco Technology, Inc. | Default gateway router supplying IP address prefixes ordered for source address selection by host device |
| CN102801826A (zh) * | 2012-08-29 | 2012-11-28 | 清华大学 | 基于IPv6地址翻译的IPv6站点多宿主应用方法 |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112887186A (zh) * | 2019-11-29 | 2021-06-01 | 中兴通讯股份有限公司 | 多平面网络接入方法、装置以及计算机存储介质 |
| CN112887186B (zh) * | 2019-11-29 | 2024-03-22 | 中兴通讯股份有限公司 | 多平面网络接入方法、装置以及计算机存储介质 |
| CN114945013A (zh) * | 2022-04-28 | 2022-08-26 | 中国电信股份有限公司 | 数据转发方法、装置、电子设备及计算机可读存储介质 |
| CN114945013B (zh) * | 2022-04-28 | 2023-10-27 | 中国电信股份有限公司 | 数据转发方法、装置、电子设备及计算机可读存储介质 |
| CN115334036A (zh) * | 2022-08-11 | 2022-11-11 | 江苏安超云软件有限公司 | 智能控制源地址转换的方法和装置、电子设备和存储介质 |
| CN115334036B (zh) * | 2022-08-11 | 2023-07-07 | 安超云软件有限公司 | 智能控制源地址转换的方法和装置、电子设备和存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106331191A (zh) | 2017-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5711754B2 (ja) | スマートクライアントルーティング | |
| US8289968B1 (en) | Distributed network address translation in computer networks | |
| US7830878B2 (en) | Virtual network connection system, virtual network connection apparatus, and computer-readable medium | |
| US8122113B2 (en) | Dynamic host configuration protocol (DHCP) message interception and modification | |
| US9231908B2 (en) | Ensuring symmetric routing to private network | |
| US8458303B2 (en) | Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset | |
| CN107094110B (zh) | 一种dhcp报文转发方法及装置 | |
| WO2013155302A1 (fr) | Système de détection de ressources informatiques | |
| US20140294009A1 (en) | Communication apparatus, communication system, control method of communication apparatus and program | |
| WO2016202059A1 (fr) | Procédé d'accès à un réseau ipv6 et passerelle | |
| CN107547665B (zh) | 一种dhcp地址分配的方法、设备及系统 | |
| CN113014680B (zh) | 一种宽带接入的方法、装置、设备和存储介质 | |
| JP7554296B2 (ja) | 通信システム、グローバルコントローラ、及びプログラム | |
| US10084747B2 (en) | External address space compression | |
| WO2012136006A1 (fr) | Procédé et dispositif de routage pour un hôte dans un site de multi-homing | |
| WO2018019216A1 (fr) | Commande d'accès à un ap | |
| CN108848033A (zh) | 一种规避路由冲突的方法、装置及存储介质 | |
| US20090292796A1 (en) | Method and device for providing routing policies to user terminals according to applications executed on user terminals | |
| WO2017219816A1 (fr) | Procédé de transmission de données, et dispositif de traduction d'adresse réseau | |
| US7693091B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
| WO2016177185A1 (fr) | Procédé et appareil de traitement d'adresse de commande d'accès au support (mac) | |
| US12341749B2 (en) | Proxy address resolution protocol for distributed local area network communications | |
| WO2016202080A1 (fr) | Procédé et dispositif d'acquisition d'adresse | |
| US20170208031A1 (en) | Method for modifying a portmap of a cpe device, respective cpe device and computer/program | |
| JP3905067B2 (ja) | ネットワークを介したホスト間の通信方法 |
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: 16810800 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: 16810800 Country of ref document: EP Kind code of ref document: A1 |