WO2014187212A1 - 一种转发报文的方法及装置 - Google Patents

一种转发报文的方法及装置 Download PDF

Info

Publication number
WO2014187212A1
WO2014187212A1 PCT/CN2014/075846 CN2014075846W WO2014187212A1 WO 2014187212 A1 WO2014187212 A1 WO 2014187212A1 CN 2014075846 W CN2014075846 W CN 2014075846W WO 2014187212 A1 WO2014187212 A1 WO 2014187212A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
packet
network
port group
port
Prior art date
Application number
PCT/CN2014/075846
Other languages
English (en)
French (fr)
Inventor
王君
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP14801830.2A priority Critical patent/EP3007399A4/en
Priority to US14/893,906 priority patent/US9800543B2/en
Publication of WO2014187212A1 publication Critical patent/WO2014187212A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers

Definitions

  • the present invention relates to address translation technologies in the field of mobile communications, and in particular, to a method and apparatus for forwarding messages.
  • NAPT Network Address Port Translation
  • IP Internet Protocol
  • the main advantage of NAPT is its ability to achieve versatility with a globally valid IP address.
  • the static NAPT must be used to set the port mappings of the internal network and the external network one by one. In this way, the static configuration takes up too much resources, the manual maintenance is very inconvenient, and the session resources are occupied.
  • the present invention provides a method and an apparatus for forwarding a message, which can reduce the static configuration of NAPT rules and resources occupied by entries, facilitate maintenance, and reduce resources occupied by sessions.
  • the technical solution of the present invention is implemented as follows:
  • the present invention provides a method for forwarding a message, the method comprising: if according to a source IP address and a source port number, or a destination IP address and a destination port number of the received message The matching network address port group translation entry is found, and the message is converted according to the network address port group conversion entry, and the message is sent.
  • the network address port group conversion entry is: mapping an IP address of the intranet to an IP address of an external network, and one or more port number intervals corresponding to the IP address of the intranet, and the One or more port numbers corresponding to the IP address of the external network are the same and are mapped one by one.
  • the entry is converted according to the network address port group. Converting the packet includes: when receiving the packet sent by the intranet to the external network, extracting the source IP address and the source port number of the packet, and searching according to the source IP address and the source port number of the packet.
  • the message is converted according to the matching network address port group translation entry; otherwise, the network address port group conversion entry is created according to the network address port group conversion rule, and The packet is converted according to the created network address port group translation entry; when the packet sent by the external network to the intranet is received, the destination IP address and the destination port number of the packet are extracted, according to the destination IP address of the packet.
  • the address and destination port number look for a matching network address port group translation entry, if any, according to the matching network address port group translation entry pair The packet is converted. Otherwise, the packet or other processing is discarded.
  • the network address port group conversion rule is: the specified intranet IP address and its corresponding port number interval, statically converted to the specified external network IP address and the same port number as the intranet port number interval.
  • the IP address corresponding to a type of packet in the specified intranet and its corresponding port interval are dynamically translated into any IP address in the specified external IP address pool and the same port as the intranet port number range. Number interval.
  • the method for searching for a matching network address port group translation entry according to the source IP address and the source port number of the packet includes: if the source IP address of the packet and the source port number and any network The IP address of the intranet in the address port group translation entry is the same, and the source port number of the packet is within the intranet port interval of the entry, and the network address port group translation entry matching the packet is found.
  • the determining, according to the destination IP address and the destination port number of the packet, whether there is a matching network address port group translation entry including: if the destination IP address of the packet and the destination port number and any network The IP address of the external network in the address port group translation entry is the same, and the destination port number of the packet is within the range of the external network port of the entry, and the network address port group conversion entry matching the packet is found.
  • the converting the packet according to the network address port group conversion entry includes: converting the source IP address of the packet into a network address when receiving the packet sent by the intranet to the external network The IP address and source port number of the external network in the port group translation entry are unchanged.
  • the present invention further provides an apparatus for forwarding a message, the apparatus comprising: a matching conversion module, a network address port group module, and a transceiver module; wherein the matching conversion module is set to be based on the source IP address of the received message And the source port number, or the destination IP address and the destination port number, find the corresponding network address port group conversion entry from the network address port group module, and then convert the message according to the network address port group conversion entry, after the conversion
  • the message is sent to the transceiver module; the network address port group module is set to provide a network address port group conversion entry for the matching conversion module according to the network address port group conversion rule; the transceiver module is set to issue the converted conversion module to send the converted Message.
  • the network address port group module is specifically configured to establish a mapping relationship between an IP address of an intranet and an IP address of an external network, and one or more port number intervals corresponding to the IP address of the intranet, and One or more port numbers corresponding to the IP address of the external network are the same and are mapped one by one, and are saved as a network address port group conversion entry.
  • the matching conversion module is specifically configured to: when receiving the packet sent by the intranet to the external network, extract the source IP address and the source port number of the packet, according to the source IP address and source of the packet. The port number searches for a matching network address port group translation entry in the network address port group module. If yes, the packet is converted according to the matched network address port group conversion entry.
  • Creating a network address port group conversion entry is saved to the network address port group module, and converting the packet according to the created network address port group conversion entry; when receiving the packet sent by the external network to the intranet, extracting the report The destination IP address and destination port number of the packet, according to the destination IP address and destination port number of the packet, find whether there is a matching network address port group translation entry in the network address port group module. If yes, according to the matching network address port group The conversion entry converts the message, otherwise, the message or other processing is discarded.
  • the network address port group module is specifically configured to save a network address port group conversion rule;
  • the network address port group conversion rule is: a specified intranet IP address and a corresponding port number interval, and static conversion
  • the IP address of the specified external network and the same port number range as the intranet port number interval; or the IP address corresponding to a type of packet in the specified intranet and its corresponding port interval are dynamically converted to the specified external network. Any IP address in the IP address pool and the same port number range as the intranet port number range.
  • the matching conversion module is specifically configured to: if the source IP address of the packet is the same as the IP address of the intranet in any network address port group conversion entry of the network address port group module, and the packet is The source port number is within the range of the intranet port interval in the entry, and the network address port group translation entry matching the message is found.
  • the matching conversion module is specifically configured to: if the destination IP address of the packet is the same as the IP address of the external network in any network address port group conversion entry of the network address port group module, and the packet If the destination port number is within the range of the external network port in the entry, the network address port group translation entry matching the packet is found.
  • the matching conversion module is specifically configured to: when receiving the packet sent by the intranet to the external network, convert the source IP address of the packet into an IP address of the external network in the network address port group conversion entry, The source port number is unchanged.
  • the destination IP address of the packet is converted into the IP address and the destination port number of the intranet in the network address port group translation entry.
  • the method and device for forwarding a message according to the present invention can find a matching network address port group according to a source Internet Protocol (IP) address and a source port number, or a destination IP address and a destination port number of the received message.
  • IP Internet Protocol
  • FIG. 1 is a schematic flowchart of a method for forwarding a packet according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for forwarding a packet according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a system according to Embodiment 1 and Embodiment 2 of the present invention.
  • the method for forwarding a packet in the embodiment of the present invention includes the following steps: Step 101: The NAT device detects whether a packet sent by the external network to the intranet is received, or receives an intranet from the internal network. If the packet is sent to the internal network by the internal network, the process proceeds to step 102.
  • step 104 If the packet sent by the external network to the internal network is received, step 104 is performed.
  • the NAT device can implement the packet detection function by using multiple detection schemes.
  • the present invention does not limit the specific implementation manner of the detection packet, and detects whether the packet sent by the external network to the intranet is received.
  • the related technologies for sending packets to the internal network to the external network are not described here.
  • Step 102 When receiving the packet sent by the internal network to the external network, check whether there is a matching network address port group translation entry according to the source IP address and the source port number of the packet.
  • the network address port group conversion entry is created according to the network address port group conversion rule, and the packet sent to the external network is converted according to the created network address port group conversion entry, and the process ends.
  • the searching for a matching network address port group translation entry according to the source IP address and the source port number of the packet includes: if the source IP address of the packet and any one of the network address port group conversion entries are in the intranet If the IP address is the same and the source port number of the packet is in the intranet port interval in the entry, the network address port group translation entry matching the packet is found.
  • the network address port group conversion entry is: a mapping relationship between an IP address of an intranet and an IP address of an external network, an interval of one or more port numbers corresponding to the IP address of the intranet, and an IP of the external network
  • One or more port numbers corresponding to the address are the same and are mapped one by one; for example, the intranet IP address 192.168.0.1 and the port number range are between 1-1024, and the external network IP address 10.0.0.1 and the port number range are 1-1024 - mapping.
  • the network address port group conversion rule is: the specified intranet IP address and its corresponding port number interval, statically converted to the specified external network IP address and the same port number interval as the intranet port number interval; Or, the IP address of the specified intranet packet and its corresponding port interval, and the IP address triggered by the data packet is dynamically translated into any IP address in the specified external IP address pool and the same port number as the intranet port number interval. Interval. Step 103: Convert the packet according to the network address port group conversion entry, issue the packet, and end the processing flow.
  • the converting the packet according to the network address port group conversion entry includes: converting the source IP address of the packet into a preset external network IP address, and the source port number is unchanged.
  • Step 104 When receiving the packet sent by the external network to the intranet, check whether there is a matching network address port group translation entry according to the destination IP address and the destination port number of the packet. If yes, go to step 105; otherwise, Discard the packet or do other processing to end the processing.
  • the searching for a matching network address port group translation entry according to the destination IP address and the destination port number of the packet includes: if the destination IP address of the packet is in any one of the network address port group conversion entries If the IP address of the network is the same and the destination port number of the packet is in the outer network port interval of the entry, the network address port group translation entry matching the packet is found. The discarding of the packet or other processing is related to the related art, and details are not described herein.
  • Step 105 Convert the packet according to a network address port group translation entry, and send the packet. Specifically, according to the network address port group conversion entry, the destination IP address in the packet is converted into an intranet IP address, and the destination port number remains unchanged, and the packet is sent to the intranet.
  • the embodiment of the present invention further provides a service offloading device for accessing the Internet, where the device includes: a matching conversion module 21, a network address port group module 22, and a transceiver module 23; wherein, the matching conversion module 21, Set to find the corresponding network address port group translation entry from the network address port group module 22 according to the source IP address and the source port number, the destination IP address, and the destination port number of the received message, according to the network.
  • the address port group conversion entry converts the message, and sends the converted message to the transceiver module 23;
  • the network address port group module 22 is coupled to the matching conversion module 21, and is configured to match according to the network address port group conversion rule.
  • the conversion module 21 provides a network address port group conversion entry;
  • the transceiver module 23 is coupled to the matching conversion module 21 and configured to issue the converted message sent by the matching conversion module 21.
  • the network address port group module 22 is specifically configured to establish a mapping relationship between an IP address of an intranet and an IP address of an external network, one or more port number intervals corresponding to the IP address of the intranet, and the external network. One or more port numbers corresponding to the IP address have the same interval and are mapped one by one, and are saved as a network address port group conversion entry.
  • the matching conversion module 21 is specifically configured to: if the source IP address of the packet is the same as the IP address of the intranet in any network address port group translation entry, and the source port number of the packet is in the entry. In the network port interval, the network address port group conversion entry matching the message is found; if the destination IP address of the packet is the same as the IP address of the external network in any network address port group conversion entry, The destination port number of the packet is in the outer network port interval in the entry, and the network address port group translation entry matching the packet is found.
  • the matching conversion module 21 is specifically configured to: when receiving the packet sent by the intranet to the external network, extract the source IP address and the source port number of the packet, and search according to the source IP address and the source port number of the packet.
  • the address port group conversion entry is saved to the network address port group module 22, and the message is converted.
  • the destination IP address and the destination port number of the packet are extracted. Finds whether there is a matching network address port group translation entry in the network address port group module 22 according to the destination IP address and the destination port number of the packet, and if so, converts the packet according to the matched network address port group conversion entry. Otherwise, discard the message or other processing.
  • the matching conversion module 21 is specifically configured to convert the source IP address of the packet into a preset external network IP address and a source port number when receiving the packet sent by the intranet to the external network; When receiving the packet sent by the external network to the intranet, the destination IP address of the packet is converted into the preset intranet IP address and the destination port number.
  • the network address port group module 22 is specifically configured to save a network address port group conversion rule; the network address port group conversion rule is: a specified intranet IP address and its corresponding port number interval, statically converted to a specified The IP address of the external network and the same port number range as the intranet port number interval; or the IP address corresponding to the packet of the specified intranet and its corresponding port interval are dynamically converted to the specified external network IP address pool.
  • Embodiment 1 The method for forwarding a packet according to the structure shown in FIG. 3 includes: Step 301: Set an IP address of the intranet server to be 192.168.0.1, and an IP address of the host 1 to be 192.168.0.1. Step 302: The NAT device configures the IP address 202.1.1.1 in the external network IP address pool. Step 303: Perform configuration of a static network address port group conversion rule on the NAT device.
  • the network address port group static conversion rule includes: performing network address port group conversion on the intranet packet of the source port 192.168.0.1 source port 1 to 1024 port interval, and converting to the IP address 202.1.1.1 port in an address pool. Interval 1 to 1024. After the rule is configured, the 202.1.1.1 address and port number range ⁇ 1-1024> is mapped to the source IP address 192.168.0.1 address and port number range ⁇ 1-1024> and is used as the network address port group translation entry.
  • Step 304 When the NAT device receives the access message sent by the Internet user whose source IP address is 202.1.1.1, the destination address 202 ⁇ 1.1 and the destination port 80 of the access packet are extracted, and a matching network address is found.
  • Step 305 When the NAT device receives the response packet returned by the internal network, the source address 192.168.0.1 and the source port 80 of the response packet are extracted, and a matching network address port group conversion entry is found, and the response is obtained. The source address of the message is replaced by 202 ⁇ 1.1, and the source port 80 remains unchanged and sent to the Internet.
  • the method for forwarding a packet according to the structure shown in FIG. 3 is as follows: Step 401: Set the IP address of the intranet server to 192.168.0.1, and the IP address of the host 1 to 192.168.0.1.
  • Step 402 The NAT device configures the IP addresses 202.1.1.1 and 202.1.1.2 in the external network IP address pool.
  • the network address port group dynamic conversion rule includes: performing network address port group conversion for all intranet packets whose source IP address is in the range of 192.168.0.1 to 192.168.0.254 and the port interval is 1 to 1024.
  • the IP address and port in the address pool are dynamically translated.
  • Step 404 When the NAT device receives the packet whose source IP address is 192.168.0.1 and the source port is 80, the source device obtains the source address 192.168.0.1 of the response packet according to the dynamic rule described in step 403.
  • Source port 80 and according to the network address port group dynamic conversion rule, create a port group conversion entry by using the address 202.1.1.1 in the address pool, and then replace the source address of the response message with 202.1.1.1, and the source port 80 remains. No change, send to the Internet, end the process. Therefore, the 202.1.1.1 address and port number range ⁇ 1-1024> is mapped to the source IP address 192.168.0.1 address and port number range ⁇ 1-1024> and is used as a network address port group translation entry.
  • Step 405 When the NAT device receives the access message sent by the Internet user whose source IP address is 202.1.1.1, the destination address 202 ⁇ 1.1 and the destination port 80 of the access packet are extracted, and a matching network address is found.
  • the port group converts the entry, replaces the destination address of the access message with 192.168.0.1, and the destination port 80 remains unchanged and sends it to the intranet.

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

本发明公开了一种转发报文的方法,包括:若根据收到的报文的源互连网协议(IP)地址及源端口号、或目的IP地址及目的端口号查找到匹配的网络地址端口组转换条目,则根据所述网络地址端口组转换条目对所述报文进行转换,发出所述报文。本发明还公开了一种转发报文的装置,采用本发明能减少静态配置网络地址端口转换(NAPT)规则和条目占用的内存资源,并且能有效的减少配置,便于维护。

Description

一种转发报文的;^及装置
技术领域 本发明涉及移动通信领域中的地址转换技术, 尤其涉及一种转发报文的方法及装 置。 背景技术 网络地址端口转换(NAPT, Network Address Port Translation )是人们熟悉的一种 报文转换方式,普遍用于接入设备,可以将中小型的网络隐藏在合法的互联网协议(IP, Internet Protocol) 地址后面。 NAPT的主要优势在于能够使用一个全球有效 IP地址实 现通用性。 但是, 在需要保持内网和外网端口映射一致的外网访问架设中, 必须采用静态 NAPT将内网及外网的端口映射一一进行设置。 这样, 就会产生静态配置占用资源过 大, 人工进行维护非常不方便, 以及占用会话资源的问题。 发明内容 有鉴于此, 本发明提供了一种转发报文的方法及装置, 能减少静态配置 NAPT规 则和条目占用的资源, 便于维护, 以及减少会话占用的资源。 本发明的技术方案是这样实现的: 本发明提供了一种转发报文的方法, 该方法包括: 若根据收到的报文的源 IP地址及源端口号、或目的 IP地址及目的端口号查找 到匹配的网络地址端口组转换条目, 则根据所述网络地址端口组转换条目对所述报文 进行转换, 发出所述报文。 上述方案中, 所述网络地址端口组转换条目为: 内网的 IP地址与一个外网的 IP 地址建立映射关系, 所述内网的 IP地址对应的一个或多个端口号区间、和所述外网的 IP地址对应的一个或多个端口号区间相同且一一映射。 上述方案中, 所述根据收到的报文的源 IP地址及源端口号、 或目的 IP地址及 目的端口号查找到匹配的网络地址端口组转换条目,则根据所述网络地址端口组转换 条目对所述报文进行转换, 包括: 当收到内网向外网发送的报文时, 提取所述报文的源 IP地址及源端口号, 根 据报文的源 IP地址及源端口号查找是否有匹配的网络地址端口组转换条目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进行转换, 否则, 按照网络地址端 口组转换规则创建网络地址端口组转换条目, 并根据创建的网络地址端口组转换条目 对所述报文进行转换; 当收到外网向内网发送的报文, 提取所述报文的目的 IP地址及目的端口号, 根据报文的目的 IP地址及目的端口号查找是否有匹配的网络地址端口组转换条目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进行转换, 否则, 丢弃报文 或其他处理。 上述方案中, 所述网络地址端口组转换规则为: 指定的内网的 IP地址及其对应的端口号区间, 静态转换为指定的外网的 IP地址 及与内网端口号区间相同的端口号区间; 或者, 指定的内网中一类报文对应的 IP地址及其对应的端口区间,动态转换为指定的外 网 IP地址池中任意一个 IP地址、 及与内网端口号区间相同的端口号区间。 上述方案中,所述根据报文的源 IP地址及源端口号查找是否有匹配的网络地址 端口组转换条目, 包括: 若所述报文的源 IP 地址及所述源端口号与任意一条网络地址端口组转换条目 中内网的 IP地址相同, 且所述报文的源端口号在该条目的内网端口区间范围内, 则查 找到所述报文匹配的网络地址端口组转换条目。 上述方案中, 所述根据报文的目的 IP 地址及目的端口号查找是否有匹配的网 络地址端口组转换条目, 包括: 若所述报文的目的 IP 地址及所述目的端口号与任意一条网络地址端口组转换 条目中外网的 IP 地址相同, 且所述报文的目的端口号在该条目的外网端口区间范围 内, 则查找到所述报文匹配的网络地址端口组转换条目。 上述方案中, 所述根据网络地址端口组转换条目对所述报文进行转换, 包括: 当收到内网向外网发送的报文时, 将所述报文的源 IP地址转换成网络地址端口 组转换条目中外网的 IP地址、 源端口号不变; 当收到外网向内网发送的报文时, 将所述报文的目的 IP地址转换成网络地址端 口组转换条目中内网的 IP地址、 目的端口号不变。 本发明还提供了一种转发报文的装置, 所述装置包括: 匹配转换模块、 网络地址 端口组模块和收发模块; 其中, 匹配转换模块, 设置为若根据收到的报文的源 IP地址及源端口号、 或目的 IP 地址及目的端口号从网络地址端口组模块找到相应的网络地址端口组转换条目,则根 据所述网络地址端口组转换条目对所述报文进行转换, 将转换后的报文发送给收发模 块; 网络地址端口组模块, 设置为根据网络地址端口组转换规则为匹配转换模块提供 网络地址端口组转换条目; 收发模块, 设置为发出匹配转换模块发来的转换后的报文。 上述方案中, 所述网络地址端口组模块, 具体设置为将内网的 IP地址与一个外网 的 IP地址建立映射关系, 所述内网的 IP地址对应的一个或多个端口号区间、 和所述 外网的 IP地址对应的一个或多个端口号区间相同且一一映射,保存为网络地址端口组 转换条目。 上述方案中, 所述匹配转换模块, 具体设置为当收到内网向外网发送的报文时, 提取所述报文的源 IP地址及源端口号,根据报文的源 IP地址及源端口号查找网络 地址端口组模块中是否有匹配的网络地址端口组转换条目, 若有, 则根据匹配的网络 地址端口组转换条目对所述报文进行转换, 否则, 按照网络地址端口组转换规则创建 网络地址端口组转换条目保存到网络地址端口组模块, 并根据创建的网络地址端口组 转换条目对所述报文进行转换; 当收到外网向内网发送的报文, 提取所述报文的目的 IP地址及目的端口号, 根据报文的目的 IP 地址及目的端口号查找网络地址端口组模块中是否有匹配的网 络地址端口组转换条目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进 行转换, 否则, 丢弃报文或其他处理。 上述方案中, 所述网络地址端口组模块, 具体设置为保存网络地址端口组转换规 则; 所述网络地址端口组转换规则为: 指定的内网的 IP地址及其对应的端口号区间, 静态转换为指定的外网的 IP地址及与内网端口号区间相同的端口号区间; 或者, 指定的内网中一类报文对应的 IP地址及其对应的端口区间,动态转换为指定的外 网 IP地址池中任意一个 IP地址、 及与内网端口号区间相同的端口号区间。 上述方案中, 所述匹配转换模块, 具体设置为若所述报文的源 IP地址与网络地 址端口组模块的任意一条网络地址端口组转换条目中内网的 IP地址相同且所述报文 的源端口号在该条目中的内网端口区间范围内,则查找到所述报文匹配的网络地址端 口组转换条目。 上述方案中, 所述匹配转换模块, 具体设置为若所述报文的目的 IP地址与网络 地址端口组模块的任意一条网络地址端口组转换条目中的外网的 IP 地址相同且所述 报文的目的端口号在该条目中的外网端口区间范围内,则查找到所述报文匹配的网络 地址端口组转换条目。 上述方案中, 所述匹配转换模块, 具体设置为当收到内网向外网发送的报文时, 将所述报文的源 IP地址转换成网络地址端口组转换条目中外网的 IP地址、 源端口号 不变; 当收到外网向内网发送的报文时, 将所述报文的目的 IP地址转换成网络地址 端口组转换条目中内网的 IP地址、 目的端口号不变。 本发明所提供的转发报文的方法及装置, 能够在根据收到的报文的源互连网协 议 (IP) 地址及源端口号、 或目的 IP地址及目的端口号查找到匹配的网络地址端 口组转换条目的情况下, 根据所述网络地址端口组转换条目对所述报文进行转换, 发 出所述报文。 这样, 就可以根据配置的网络地址端口组对收到的报文进行转换, 从而 避免了静态配置网络地址端口转换 (NAPT ) 规则和条目占用大量资源的问题, 减少 人工维护, 以及减少会话占用的资源。 附图说明 图 1为本发明实施例的转发报文的方法流程示意图; 图 2为本发明实施例的转发报文的装置组成结构示意图; 图 3为本发明实施例一及实施例二的系统结构示意图。 具体实施方式 本发明实施例的方案中, 若根据收到的报文的源 IP地址及源端口号、 或目的 IP 地址及目的端口号查找到匹配的网络地址端口组转换条目, 则根据所述网络地址端口 组转换条目对所述报文进行转换, 发出所述报文。 下面结合附图及具体实施例对本发明再作进一步详细的说明。 本发明实施例的转发报文的方法, 如图 1所示, 包括以下步骤: 步骤 101 : NAT设备检测当前是否收到外网发向内网的报文, 或者收到内网发向 外网的报文, 若收到内网发向外网的报文, 则执行步骤 102; 若收到外网发向内网的 报文, 则执行步骤 104。 本步骤中, NAT设备可以采用多种检测方案来实现报文检测功能, 本发明对于检 测报文的具体实现方式不作限定, 对于检测当前是否收到外网发向内网的报文, 或者 收到内网发向外网的报文的相关技术, 这里不做赘述。 步骤 102: 当收到内网发向外网的报文时, 根据报文的源 IP地址及源端口号查找 是否有匹配的网络地址端口组转换条目, 若有, 则执行步骤 103; 否则, 按照网络地 址端口组转换规则创建网络地址端口组转换条目, 并根据创建的网络地址端口组转换 条目将所述发向外网的报文转换后发出, 结束处理流程。 这里,所述根据报文的源 IP地址及源端口号查找是否有匹配的网络地址端口组转 换条目, 包括: 若所述报文的源 IP地址与任意一条网络地址端口组转换条目中内网的 IP地址相同且所述报文的源端口号在该条目中的内网端口区间内, 则查找到所述报文 匹配的网络地址端口组转换条目。 所述网络地址端口组转换条目为: 内网的 IP地址与一个外网的 IP地址建立映射 关系, 所述内网的 IP地址对应的一个或多个端口号区间、 和所述外网的 IP地址对应 的一个或多个端口号区间相同且一一映射; 比如, 指定内网 IP地址 192.168.0.1 及端 口号区间在 1-1024之间, 与外网 IP地址 10.0.0.1 及端口号区间在 1-1024——映射。 所述网络地址端口组转换规则为: 指定的内网的 IP地址及其对应的端口号区间, 静态转换为指定的外网的 IP地址及与内网端口号区间相同的端口号区间; 或者, 指定的内网一类报文的 IP地址及其对应的端口区间、由数据报文触发动态转换为 指定的外网 IP地址池中任意 IP地址及与内网端口号区间相同的端口号区间。 步骤 103: 根据网络地址端口组转换条目对所述报文进行转换, 发出所述报文, 结束处理流程。 这里, 所述根据网络地址端口组转换条目对所述报文进行转换, 包括: 将所述报 文的源 IP地址转换成预设的外网 IP地址、 源端口号不变。 步骤 104: 当收到外网发向内网的报文时, 根据报文的目的 IP地址及目的端口号 查找是否有匹配的网络地址端口组转换条目, 若有, 则执行步骤 105; 否则, 丢弃报 文或做其他处理, 结束处理流程。 这里,所述根据报文的目的 IP地址及目的端口号查找是否有匹配的网络地址端口 组转换条目, 包括: 若所述报文的目的 IP地址与任意一条网络地址端口组转换条目中 的外网的 IP地址相同且所述报文的目的端口号在该条目中的外网端口区间内,则查找 到所述报文匹配的网络地址端口组转换条目。 所述丢弃报文或做其他处理为相关技术, 这里不做赘述。 步骤 105: 根据网络地址端口组转换条目对所述报文进行转换, 发出所述报文。 具体的, 根据网络地址端口组转换条目, 将报文中的所述目的 IP地址转换成内网 IP地址、 且目的端口号保持不变, 将所述报文发向内网。 如图 2所示, 本发明实施例还提供了一种接入互联网的业务分流装置, 该装置包 括: 匹配转换模块 21、 网络地址端口组模块 22和收发模块 23 ; 其中, 匹配转换模块 21, 设置为若根据收到的报文的源 IP地址及源端口号、 或目的 IP 地址及目的端口号从网络地址端口组模块 22 中查找到相应的网络地址端口组转换条 目, 则根据所述网络地址端口组转换条目对所述报文进行转换, 将转换后的报文发送 给收发模块 23 ; 网络地址端口组模块 22,耦合至匹配转换模块 21,设置为根据网络地址端口组转 换规则为匹配转换模块 21提供网络地址端口组转换条目; 收发模块 23, 耦合至匹配转换模块 21, 设置为发出匹配转换模块 21发来的转换 后的报文。 所述网络地址端口组模块 22, 具体设置为内网的 IP地址与一个外网的 IP地址建 立映射关系, 所述内网的 IP地址对应的一个或多个端口号区间、 和所述外网的 IP地 址对应的一个或多个端口号区间相同且一一映射, 保存为网络地址端口组转换条目。 所述匹配转换模块 21, 具体设置为若所述报文的源 IP地址与任意一条网络地址 端口组转换条目中内网的 IP地址相同且所述报文的源端口号在该条目中的内网端口 区间内, 则查找到所述报文匹配的网络地址端口组转换条目; 若所述报文的目的 IP地 址与任意一条网络地址端口组转换条目中的外网的 IP地址及相同且所述报文的目的 端口号在该条目中的外网端口区间内, 则查找到所述报文匹配的网络地址端口组转换 条目。 所述匹配转换模块 21, 具体设置为当收到内网向外网发送的报文时, 提取所述报 文的源 IP地址及源端口号, 根据报文的源 IP地址及源端口号查找网络地址端口组模 块 22中是否有匹配的网络地址端口组转换条目,若有,则根据匹配的网络地址端口组 转换条目对所述报文进行转换, 否则, 按照网络地址端口组转换规则创建网络地址端 口组转换条目保存到网络地址端口组模块 22, 并对所述报文进行转换; 当收到外网向 内网发送的报文, 提取所述报文的目的 IP地址及目的端口号, 根据报文的目的 IP地 址及目的端口号查找网络地址端口组模块 22 中是否有匹配的网络地址端口组转换条 目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进行转换, 否则, 丢弃 报文或其他处理。 所述匹配转换模块 21, 具体设置为当收到内网向外网发送的报文时, 将所述报文 的源 IP地址转换成预设的外网 IP地址、 源端口号不变; 当收到外网向内网发送的报 文时, 将所述报文的目的 IP地址转换成预设的内网 IP地址、 目的端口号不变。 所述网络地址端口组模块 22, 具体设置为保存网络地址端口组转换规则; 所述网 络地址端口组转换规则为: 指定的内网的 IP地址及其对应的端口号区间, 静态转换为 指定的外网的 IP地址及与内网端口号区间相同的端口号区间; 或者, 指定的内网中一 类报文对应的 IP地址及其对应的端口区间, 动态转换为指定的外网 IP地址池中任意 一个 IP地址、 及与内网端口号区间相同的端口号区间。 下面参考附图, 详细说明本发明的具体实施方式。 实施例一 按照如图 3所示的结构构建网络, 本实施例提供的转发报文的方法包括: 步骤 301 :设置内网服务器 IP地址为 192.168.0.1,主机 1的 IP地址为 192.168.0.1。 步骤 302: NAT设备配置外网 IP地址池中的 IP地址 202.1.1.1。 步骤 303 : NAT设备上进行静态网络地址端口组转换规则的配置。 所述网络地址端口组静态转换规则包括:对于源地址 192.168.0.1源端口 1到 1024 端口区间的内网报文,进行网络地址端口组转换,并转换为某地址池中 IP地址 202.1.1.1 端口区间 1到 1024。 规则配置后, 202.1.1.1地址及端口号区间 <1-1024>与源 IP地址 192.168.0.1地址 及端口号区间<1-1024>建立映射关系并作为网络地址端口组转换条目。 步骤 304: 当 NAT设备收到源 IP地址为 202.1.1.1的因特网用户发来的访问报文 时, 提取所述访问报文的目的地址 202丄 1.1、 目的端口 80, 查找到有匹配的网络地址 端口组转换条目,将所述访问报文的目的地址替换成 192.168.0.1, 目的端口 80保持不 变, 并发送到内网。 步骤 305: 当 NAT设备收到内网返回的响应报文时, 提取所述响应报文的源地址 192.168.0.1及源端口 80, 查找到有匹配的网络地址端口组转换条目, 将所述响应报文 的源地址替换成 202丄 1.1, 源端口 80保持不变, 发送到英特网。 实施例二 按照如图 3所示的结构构建网络, 本实施例提供的转发报文的方法包括: 步骤 401 :设置内网服务器 IP地址为 192.168.0.1,主机 1的 IP地址为 192.168.0.1。 步骤 402: NAT设备配置外网 IP地址池中的 IP地址 202.1.1.1及 202.1.1.2。 步骤 403 : NAT设备上进行动态网络地址端口组转换规则的配置后,执行步骤 404 及步骤 405。 所述网络地址端口组动态转换规则包括: 对于源 IP 地址处于 192.168.0.1 到 192.168.0.254范围内且端口区间为 1到 1024的所有内网报文,进行网络地址端口组转 换, 通过上述配置的地址池中 IP地址及端口进行动态转换。 步骤 404:当 NAT设备收到内网发出的源 IP地址为 192.168.0.1 源端口为 80的报 文时, 根据步骤 403所述的动态规则, 提取所述响应报文的源地址 192.168.0.1及源端 口 80,并根据网络地址端口组动态转换规则,用地址池中的 202.1.1.1这个地址创建端 口组转换条目, 接着将所述响应报文的源地址替换成 202.1.1.1, 源端口 80保持不变, 发送到英特网, 结束处理流程。 因此, 202.1.1.1地址及端口号区间 <1-1024>与源 IP地址 192.168.0.1地址及端口 号区间 <1-1024>建立映射关系并作为网络地址端口组转换条目。 步骤 405: 当 NAT设备收到源 IP地址为 202.1.1.1的因特网用户发来的访问报文 时, 提取所述访问报文的目的地址 202丄 1.1、 目的端口 80, 查找到有匹配的网络地址 端口组转换条目,将所述访问报文的目的地址替换成 192.168.0.1, 目的端口 80保持不 变, 并发送到内网。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范围。

Claims

权 利 要 求 书 、 一种转发报文的方法, 包括:
若根据收到的报文的源互联网协议 IP地址及源端口号、 或目的 IP地址 及目的端口号查找到匹配的网络地址端口组转换条目, 则根据所述网络地址 端口组转换条目对所述报文进行转换, 发出所述报文。 、 根据权利要求 1所述的方法, 其中, 所述网络地址端口组转换条目为: 内网的 IP地址与一个外网的 IP地址建立映射关系, 所述内网的 IP地址对应的一个或 多个端口号区间、和所述外网的 IP地址对应的一个或多个端口号区间相同且一 一映射。 、 根据权利要求 2所述的方法, 其中,所述根据收到的报文的源 IP地址及源端口 号、或目的 IP地址及目的端口号查找到匹配的网络地址端口组转换条目, 则根 据所述网络地址端口组转换条目对所述报文进行转换, 包括:
当收到内网向外网发送的报文时, 提取所述报文的源 IP地址及源端口 号, 根据报文的源 IP地址及源端口号查找是否有匹配的网络地址端口组转 换条目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进行转换, 否则, 按照网络地址端口组转换规则创建网络地址端口组转换条目, 并根据创 建的网络地址端口组转换条目对所述报文进行转换;
当收到外网向内网发送的报文, 提取所述报文的目的 IP地址及目的端 口号, 根据报文的目的 IP地址及目的端口号查找是否有匹配的网络地址端 口组转换条目, 若有, 则根据匹配的网络地址端口组转换条目对所述报文进行 转换, 否则, 丢弃报文或其他处理。 、 根据权利要求 3所示的方法, 其中, 所述网络地址端口组转换规则为:
指定的内网的 IP地址及其对应的端口号区间,静态转换为指定的外网的 IP 地址及与内网端口号区间相同的端口号区间;
或者,
指定的内网中一类报文对应的 IP地址及其对应的端口区间,动态转换为指 定的外网 IP地址池中任意一个 IP地址、 及与内网端口号区间相同的端口号区 间。 、 根据权利要求 3所述的方法, 其中, 所述根据报文的源 IP地址及源端口号查 找是否有匹配的网络地址端口组转换条目, 包括:
若所述报文的源 IP 地址及所述源端口号与任意一条网络地址端口组转 换条目中内网的 IP地址相同,且所述报文的源端口号在该条目的内网端口区间 范围内, 则查找到所述报文匹配的网络地址端口组转换条目。 、 根据权利要求 3所述的方法, 其中, 所述根据报文的目的 IP地址及目的端口 号查找是否有匹配的网络地址端口组转换条目, 包括:
若所述报文的目的 IP 地址及所述目的端口号与任意一条网络地址端口 组转换条目中外网的 IP地址相同,且所述报文的目的端口号在该条目的外网端 口区间范围内, 则查找到所述报文匹配的网络地址端口组转换条目。 、 根据权利要求 3所述的方法, 其中, 所述根据网络地址端口组转换条目对所述 报文进行转换, 包括:
当收到内网向外网发送的报文时, 将所述报文的源 IP地址转换成网络地 址端口组转换条目中外网的 IP地址、 源端口号不变;
当收到外网向内网发送的报文时,将所述报文的目的 IP地址转换成网络 地址端口组转换条目中内网的 IP地址、 目的端口号不变。 、 一种转发报文的装置, 包括: 匹配转换模块、 网络地址端口组模块和收发模块; 其中,
匹配转换模块, 设置为若根据收到的报文的源 IP地址及源端口号、或目 的 IP地址及目的端口号从网络地址端口组模块找到相应的网络地址端口组转 换条目, 则根据所述网络地址端口组转换条目对所述报文进行转换, 将转换后 的报文发送给收发模块;
网络地址端口组模块, 设置为根据网络地址端口组转换规则为匹配转换模 块提供网络地址端口组转换条目;
收发模块, 设置为发出匹配转换模块发来的转换后的报文。 、 根据权利要求 8所述的装置, 其中,
所述网络地址端口组模块, 具体设置为将内网的 IP地址与一个外网的 IP 地址建立映射关系, 所述内网的 IP地址对应的一个或多个端口号区间、和所述 外网的 IP地址对应的一个或多个端口号区间相同且一一映射,保存为网络地址 端口组转换条目。 、 根据权利要求 9所述的装置, 其中,
所述匹配转换模块, 具体设置为当收到内网向外网发送的报文时, 提取 所述报文的源 IP地址及源端口号, 根据报文的源 IP地址及源端口号查找网 络地址端口组模块中是否有匹配的网络地址端口组转换条目, 若有, 则根据匹 配的网络地址端口组转换条目对所述报文进行转换, 否则, 按照网络地址端口 组转换规则创建网络地址端口组转换条目保存到网络地址端口组模块, 并根据 创建的网络地址端口组转换条目对所述报文进行转换; 当收到外网向内网发送的报文, 提取所述报文的目的 IP地址及目的端 口号, 根据报文的目的 IP 地址及目的端口号查找网络地址端口组模块中是 否有匹配的网络地址端口组转换条目, 若有, 则根据匹配的网络地址端口组转 换条目对所述报文进行转换, 否则, 丢弃报文或其他处理。 、 根据权利要求 9所述的装置, 其中,
所述网络地址端口组模块, 具体设置为保存网络地址端口组转换规则; 所述网络地址端口组转换规则为:指定的内网的 IP地址及其对应的端口号 区间, 静态转换为指定的外网的 IP地址及与内网端口号区间相同的端口号区 间;
或者,
指定的内网中一类报文对应的 IP地址及其对应的端口区间,动态转换为指 定的外网 IP地址池中任意一个 IP地址、 及与内网端口号区间相同的端口号区 间。 、 根据权利要求 9所述的装置, 其中,
所述匹配转换模块, 具体设置为若所述报文的源 IP地址与网络地址端口 组模块的任意一条网络地址端口组转换条目中内网的 IP地址相同且所述报文 的源端口号在该条目中的内网端口区间范围内,则查找到所述报文匹配的网络 地址端口组转换条目。 、 根据权利要求 9所述的装置, 其中, 所述匹配转换模块, 具体设置为若所述报文的目的 IP地址与网络地址端 口组模块的任意一条网络地址端口组转换条目中的外网的 IP地址相同且所述 报文的目的端口号在该条目中的外网端口区间范围内,则查找到所述报文匹配 的网络地址端口组转换条目。 根据权利要求 9所述的装置, 其中,
所述匹配转换模块, 具体设置为当收到内网向外网发送的报文时, 将所 述报文的源 IP地址转换成网络地址端口组转换条目中外网的 IP地址、 源端口 号不变; 当收到外网向内网发送的报文时, 将所述报文的目的 IP地址转换成 网络地址端口组转换条目中内网的 IP地址、 目的端口号不变。
PCT/CN2014/075846 2013-05-24 2014-04-21 一种转发报文的方法及装置 WO2014187212A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14801830.2A EP3007399A4 (en) 2013-05-24 2014-04-21 METHOD AND DEVICE FOR RETRANSMITTING A MESSAGE
US14/893,906 US9800543B2 (en) 2013-05-24 2014-04-21 Method and device for forwarding packet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310198760.3 2013-05-24
CN201310198760.3A CN104184842A (zh) 2013-05-24 2013-05-24 一种转发报文的方法及装置

Publications (1)

Publication Number Publication Date
WO2014187212A1 true WO2014187212A1 (zh) 2014-11-27

Family

ID=51932804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075846 WO2014187212A1 (zh) 2013-05-24 2014-04-21 一种转发报文的方法及装置

Country Status (4)

Country Link
US (1) US9800543B2 (zh)
EP (1) EP3007399A4 (zh)
CN (1) CN104184842A (zh)
WO (1) WO2014187212A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395496A (zh) * 2017-06-16 2017-11-24 腾讯科技(深圳)有限公司 一种数据转发方法、装置、网关设备和存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791451B (zh) * 2014-12-22 2020-02-21 华为技术有限公司 一种报文响应方法及装置
CN105898720B (zh) * 2015-01-26 2019-07-05 中国移动通信集团广东有限公司 一种短消息的处理方法、装置及系统
CN104702713B (zh) * 2015-03-26 2018-09-04 新华三技术有限公司 一种数据报文转发方法及装置
CN107172120B (zh) * 2017-03-27 2022-06-28 联想(北京)有限公司 信息处理方法、处理节点及网络节点
CN106936719A (zh) * 2017-05-17 2017-07-07 济南浪潮高新科技投资发展有限公司 一种ip报文策略匹配方法
US11171915B2 (en) * 2018-06-29 2021-11-09 Electronics And Telecommunications Research Institute Server apparatus, client apparatus and method for communication based on network address mutation
CN109218467B (zh) * 2018-11-15 2022-02-25 锐捷网络股份有限公司 一种网络地址转换方法及芯片
CN109819070B (zh) * 2019-04-12 2020-07-07 苏州浪潮智能科技有限公司 一种网络地址转换方法
CN110225146B (zh) * 2019-05-20 2022-05-27 浙江华创视讯科技有限公司 内外网映射方法、装置、电子设备、介质及视频会议系统
CN111147520B (zh) * 2019-12-31 2022-02-25 奇安信科技集团股份有限公司 由防火墙执行的信息处理方法和装置
CN114531417B (zh) * 2020-10-30 2023-09-22 华为技术有限公司 一种通信方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050063393A1 (en) * 2003-09-19 2005-03-24 Jyun-Naih Lin Method of network address port translation and gateway using the same
CN101179477A (zh) * 2006-11-10 2008-05-14 中国科学院声学研究所 一种实现嵌入式路由器的方法
CN101800690A (zh) * 2009-02-05 2010-08-11 北京启明星辰信息技术股份有限公司 一种使用地址池实现源地址转换的方法和装置
CN102480530A (zh) * 2010-11-25 2012-05-30 华为技术有限公司 一种报文发送方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6768743B1 (en) * 1999-10-26 2004-07-27 3Com Corporation Method and system for address server redirection for multiple address networks
US7388869B2 (en) * 2002-11-19 2008-06-17 Hughes Network Systems, Llc System and method for routing among private addressing domains
US20050105524A1 (en) * 2003-11-17 2005-05-19 Hughes Electronics Corporation System and method for provisioning of route information in a meshed communications network
GB2418110B (en) * 2004-09-14 2006-09-06 3Com Corp Method and apparatus for controlling traffic between different entities on a network
JP2006310928A (ja) * 2005-04-26 2006-11-09 Yokogawa Electric Corp ゲートウェイシステム
US10089127B2 (en) * 2011-11-15 2018-10-02 Nicira, Inc. Control plane interface for logical middlebox services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050063393A1 (en) * 2003-09-19 2005-03-24 Jyun-Naih Lin Method of network address port translation and gateway using the same
CN101179477A (zh) * 2006-11-10 2008-05-14 中国科学院声学研究所 一种实现嵌入式路由器的方法
CN101800690A (zh) * 2009-02-05 2010-08-11 北京启明星辰信息技术股份有限公司 一种使用地址池实现源地址转换的方法和装置
CN102480530A (zh) * 2010-11-25 2012-05-30 华为技术有限公司 一种报文发送方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395496A (zh) * 2017-06-16 2017-11-24 腾讯科技(深圳)有限公司 一种数据转发方法、装置、网关设备和存储介质
CN107395496B (zh) * 2017-06-16 2020-12-15 腾讯科技(深圳)有限公司 一种数据转发方法、装置、网关设备和存储介质

Also Published As

Publication number Publication date
US9800543B2 (en) 2017-10-24
CN104184842A (zh) 2014-12-03
EP3007399A4 (en) 2016-06-08
EP3007399A1 (en) 2016-04-13
US20160134587A1 (en) 2016-05-12

Similar Documents

Publication Publication Date Title
WO2014187212A1 (zh) 一种转发报文的方法及装置
WO2015117337A1 (zh) 网络规则条目的设置方法及装置
US9712559B2 (en) Identifying frames
EP2769307B1 (en) Answer augmentation system for authoritative dns servers
WO2012155562A1 (zh) 一种基于单个IPv6地址前缀实现路由传输的方法和无线设备
US10289504B2 (en) Access control method and system, and access point
RU2012136596A (ru) Схема локального ip доступа
WO2011147353A1 (zh) 一种报文发送方法及装置
WO2014036890A1 (zh) 客户端模式下无线网络设备网桥转发报文的方法及装置
CN101582925A (zh) 一种网络地址转换的方法及系统
KR101901341B1 (ko) 사용자 장치의 이동성을 지원하는 네트워크 접속 방법 및 장치
WO2016034122A1 (zh) CPE设备基于Linux实现公网接入用户数限制的系统及方法
RU2012144311A (ru) Способ и коммутатор для отправки пакета
WO2011107052A2 (zh) 一种防止地址冲突的方法及接入节点
RU2016113280A (ru) Соединение базовых станций через стороннюю сеть
WO2011103820A2 (zh) 一种网络地址转换方法及装置
WO2015117454A1 (zh) 一种IPv4与IPv6之间的翻译方法及装置
TW201414253A (zh) 網路位址轉換系統及方法
WO2013120315A1 (zh) 域名信息的处理方法、无线路由器和客户端
WO2014063606A1 (zh) 报文转发的方法和相应设备
WO2014166078A1 (zh) 数据发送处理方法及路由器
WO2016095751A1 (zh) 一种域名解析方法及装置
WO2022089412A1 (zh) 一种通信方法及装置
WO2016078235A1 (zh) 基于PNAT向IPv6过渡的网络转换实现方法、装置
CN104468575A (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: 14801830

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14893906

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2014801830

Country of ref document: EP