WO2014067450A1 - Procédé et dispositif d'acheminement local à trois couches - Google Patents

Procédé et dispositif d'acheminement local à trois couches Download PDF

Info

Publication number
WO2014067450A1
WO2014067450A1 PCT/CN2013/086155 CN2013086155W WO2014067450A1 WO 2014067450 A1 WO2014067450 A1 WO 2014067450A1 CN 2013086155 W CN2013086155 W CN 2013086155W WO 2014067450 A1 WO2014067450 A1 WO 2014067450A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
ethernet
nat
packet
sta
Prior art date
Application number
PCT/CN2013/086155
Other languages
English (en)
Chinese (zh)
Inventor
关真珍
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014067450A1 publication Critical patent/WO2014067450A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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

Definitions

  • a wireless local area network (WLAN) networking mode includes a fat access point (AP) and a thin AP.
  • AP fat access point
  • AC Access Controller
  • the thin AP "zero configuration" only implements the 802.11 air interface function. All configurations are centralized on the AC.
  • QoS Quality of Service
  • access control access control
  • load balancing load balancing
  • AP control management AP control management
  • QoS Quality of Service
  • the thin AP+AC there are two data forwarding modes, one is local forwarding and the other is centralized forwarding.
  • Centralized forwarding means that a data tunnel is established between the thin AP and the AC.
  • the thin AP sends data packets of all users to the AC through the data tunnel, and is forwarded by the AC.
  • Local forwarding means that only the control channel is established between the AC and the thin AP.
  • the functions of the network management, the authentication, and the load balancing are controlled by the AC.
  • the data is transmitted to the AC through the tunnel. It is forwarded locally by the AP.
  • the backhaul network that uses local forwarding for thin APs is mainly a fixed network, which only supports Layer 2 local forwarding.
  • Layer 2 local forwarding encapsulates data plane packets of WLAN users, it carries Ethernet.
  • WLAN can use Long Term Evolution (Long Term Evolution,
  • LTE as a backhaul network. Since LTE is a Layer 3 network, air interfaces can only encapsulate Internet protocols.
  • IP Internet Protocol
  • an embodiment of the present invention provides a Layer 3 local forwarding method and device, which is used to implement Layer 3 local forwarding, and thus can cooperate with an LTE backhaul network.
  • a three-layer local forwarding method is provided, including:
  • the first device receives the uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not the first device. MAC address;
  • the first device strips the Ethernet header of the uplink data packet, obtains an uplink data file stripped of the Ethernet header, and records the Ethernet header;
  • the first device performs the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the uplink that strips the Ethernet header.
  • the source IP address in the data packet is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is used by the STA.
  • the port number is replaced with the port number of the first device;
  • the first device sends the uplink data packet after the first NAT to the LTE network.
  • the method further includes: the first device receiving a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format ;
  • the first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the first
  • the IP address of the device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the recorded Ethernet header encapsulates the downlink data packet after the second NAT in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the recorded Ethernet
  • the destination MAC address of the network header, and the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header;
  • the first device sends the uplink data packet after the first NAT to the LTE network, including:
  • the uplink data packet of the AP after the first NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the MAC address of the first device.
  • the destination MAC address of the encapsulated Ethernet header is the MAC address of the customer premises equipment CPE; the Ethernet header is stripped by the CPE and sent to the LTE network after performing the third NAT.
  • the first device is a CPE
  • the CPE receives an Ethernet packet sent by the STA via the AP, and the Ethernet packet is forwarded by the AP to the CPE.
  • the first device sends the uplink data packet after the first NAT to the LTE network, including:
  • the CPE sends the uplink data packet after the first NAT to the LTE network.
  • the first device is an AP
  • Receiving, by the first device, the downlink data packet sent by the LTE network the method includes: the AP receiving, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the data packet is subjected to the fourth NAT and the data is used. After the Ethernet format is encapsulated, the downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format.
  • the method further includes:
  • the AP strips the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulates the Ethernet packet, so that the second NAT is performed on the downlink data packet stripped from the Ethernet header.
  • the first device is a CPE
  • STA including:
  • the CPE will be used
  • Layer 2 forwarding is performed by the AP to the STA.
  • the AP sends the ARP packet or the DHCP packet to the AC through the CAPWAP tunnel of the wireless access point control protocol when the packet sent by the STA is an address resolution protocol ARP packet or a dynamic host configuration protocol DHCP message.
  • the STA sends an uplink data packet according to the ARP packet or the DHCP packet.
  • a Layer 3 local forwarding device including:
  • a first receiving module configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, the packet header is an Ethernet header, and the destination MAC address included in the Ethernet header is not Describe the MAC address of the first device;
  • a first processing module configured to strip the Ethernet header of the uplink data packet, obtain an uplink data file that is stripped of the Ethernet header, and record the Ethernet header;
  • a second processing module configured to perform, by performing a first NAT on the uplink data packet stripped from the Ethernet header, to obtain an uplink data packet after the first NAT, where the first NAT refers to stripping the Ethernet header
  • the source IP address in the uplink data is replaced by the IP address of the STA as the IP address of the first device, and the source port number in the uplink data of the stripped Ethernet header is described by The port number of the STA is replaced with the port number of the first device;
  • the first sending module is configured to send the uplink data packet after the first NAT to the LTE network.
  • the method further includes: a second receiving module, configured to receive a downlink data packet sent by the LTE network, where the downlink data packet uses an IP address Format package
  • a third processing module configured to perform a second NAT on the downlink data packet to obtain a second NAT a downlink data packet, where the second NAT is to replace the destination IP address of the downlink data packet with the IP address of the first device, and the downlink data packet.
  • the destination port number of the text is replaced by the port number of the first device to the port number of the STA;
  • the fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header
  • the MAC address is the destination MAC address of the recorded Ethernet header
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header
  • the second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device is an access point AP;
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
  • the first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and the CPE is used by the CPE.
  • the Ethernet header is stripped and sent to the LTE network after performing the third NAT.
  • the device is a user premises equipment CPE
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
  • the first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
  • the device is an AP
  • the second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the downlink data sent by the CPE to the LTE network
  • the packet is subjected to the fourth NAT and is encapsulated in an Ethernet format.
  • the downlink data packet sent by the LTE network is a downlink data packet encapsulated in an IP format.
  • the third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
  • the first device is a CPE
  • the second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
  • the second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
  • the method further includes:
  • the third sending module is configured to: when the packet sent by the STA is an ARP packet or a DHCP packet, the address resolution protocol ARP packet or the dynamic host configuration protocol DHCP is obtained through a wireless access point control protocol CAPWAP tunnel. The packet is sent to the AC, so that the STA obtains the address information according to the ARP packet or the DHCP packet, and then sends the uplink data packet.
  • the uplink packet of the STA can be forwarded in three layers to implement support for the LTE backhaul network.
  • FIG. 1 is a schematic diagram of networking of LTE as a WLAN backhaul network according to the present invention
  • FIG. 2 is a schematic flowchart of an embodiment of a three-layer local forwarding method according to the present invention
  • FIG. 3 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 4 is a schematic diagram of internal processing of a three-layer forwarding of a thin AP according to the present invention.
  • FIG. 5 is a schematic diagram of internal processing of a three-layer forwarding of a CPE according to the present invention
  • FIG. 6 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • FIG. 8 is a schematic flowchart of an embodiment of a Layer 3 local forwarding device according to the present invention.
  • FIG. 9 is a schematic flowchart diagram of another embodiment of a three-layer local forwarding method according to the present invention.
  • LTE Long Term Evolution
  • WLAN Wireless Fidelity
  • a schematic diagram of LTE as a WLAN backhaul network where a WLAN network includes a station (Station, STA) as a WLAN terminal and a thin AP and an AC, and a control channel is established between the thin AP and the AC. Forward control plane messages.
  • the thin AP can access the Customer Premises Equipment (CPE) in the LTE network.
  • the CPE can access the Internet through the evolved NodeB (eNB) in the LTE network and other devices in the LTE network.
  • the devices in the core network such as the Broadband Remote Access Server (BRAS), the Portal (Portal) server, and the Authentication Authorization Accounting (AAA) server, complete the access authentication for the STA. Assign an IP address.
  • BRAS Broadband Remote Access Server
  • Portal Portal
  • AAA Authentication Authorization Accounting
  • the data plane packets of the user are directly forwarded by the AP through the LTE network.
  • the uplink data packet sent by the STA to the AP in the prior art is an Ethernet packet, and the AP enters In the case of the line forwarding, the Layer 2 forwarding mode is also adopted.
  • the LTE is a Layer 3 network and cannot support Layer 2 packet forwarding.
  • the present invention provides the following embodiments.
  • Step 21 The first device receives an uplink data packet sent by a STA, and the uplink data packet is encapsulated in an Ethernet format, and the packet header is encapsulated.
  • the destination media access control (MAC) address included in the Ethernet header is not the MAC address of the first device;
  • Step 22 The first device strips the Ethernet header of the uplink data packet, obtains an uplink data stripped from the Ethernet header, and records the Ethernet header.
  • Step 23 The first device performs a first network address translation (NAT) on the uplink data packet with the Ethernet header stripped, and obtains an uplink data packet after the first NAT, where the first The NAT means that the source IP address in the uplink data packet stripped from the Ethernet header is replaced by the IP address of the STA to the IP address of the first device, and the uplink of the Ethernet header is stripped.
  • the source port number in the data>3 ⁇ 4 text is replaced by the port number of the STA to the port number of the first device.
  • Step 24 The first device sends the uplink data packet after the first NAT to the LTE network.
  • the foregoing process is an uplink process.
  • the downlink process may be as shown in FIG. 3, including: Step 31: The first device receives a downlink data packet sent by the LTE network, and the downlink data packet uses an IP format.
  • Package
  • Step 32 The first device performs a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT refers to the destination IP address of the downlink data packet.
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • Step 33 The first device encapsulates the downlink data packet after the second NAT according to the recorded Ethernet header in an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the Ethernet header The address is the destination MAC address of the recorded Ethernet header, and the destination MAC address of the Ethernet header is the source MAC address of the recorded Ethernet header;
  • Step 34 The first device sends the downlink data packet encapsulated in the Ethernet format. Give the STA.
  • the first device may be an AP, and may be a thin AP, or may be a CPE.
  • Figure 4 is a schematic diagram of the internal processing of the Layer 3 forwarding of the thin AP.
  • the wifi module receives the uplink data packet sent by the STA, and the uplink data packet is a Layer 2 data packet encapsulated with an Ethernet header, and the STAs may use a Service Set Identifier (SSID).
  • SSID Service Set Identifier
  • the virtual local area network (VLAN) is isolated. For example, one STA has SSID1 and VLAN1, and the other STA has SSID2 and VLAN2.
  • the MAC layer processing module can strip the Ethernet header and record the Ethernet header.
  • the Ethernet header can include: a source MAC address, a destination MAC address, and a VLAN. Information, etc.
  • the source MAC address is the MAC address of the STA
  • the destination MAC address is the MAC address of the gateway, such as the MAC address of the BRAS.
  • the MAC layer processing module of the thin AP can send the uplink data packet stripped off the Ethernet header to the NAT module of the thin AP.
  • the NAT module of the thin AP performs the first NAT on the uplink data packet stripped from the Ethernet header.
  • the first NAT means that the source IP address in the uplink data packet is replaced by the IP address of the STA as the IP address of the thin AP, and the source port number is replaced by the port number of the STA as the port number of the thin AP.
  • the destination IP address and destination port number of the upstream data packet are unchanged. They are the IP address and port number of the service server accessed by the user, for example, the IP address of the Session Initiation Protocol (SIP) server. The port number.
  • the NAT module can also record a NAT entry, which records the replacement IP address and the correspondence between the port numbers.
  • the NAT module of the thin AP sends the uplink data packet of the first NAT to the routing module, and the routing module searches the routing table according to the destination IP address to find the next hop for routing and forwarding.
  • the next hop of the thin AP is the CPE. Therefore, the routing module sends the uplink data packet after the first NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the Ethernet header.
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the thin AP, and the destination MAC address is the MAC address of the CPE.
  • the MAC layer processing module of the thin AP sends the uplink data packet of the Ethernet encapsulation to the CPE, and sends the packet to the LTE network via the CPE.
  • the MAC layer processing module of the thin AP receives the downlink number forwarded by the CPE.
  • the downlink data packet sent by the LTE network is a Layer 3 packet
  • the Layer 3 packet is a packet encapsulated in an IP format, that is, a data packet encapsulated with at least an IP header.
  • the CPE After receiving the Layer 3 packet sent by the LTE network, the CPE first performs NAT on the Layer 3 packet, and replaces the destination IP address and the destination port number with the IP address of the AP and the port number of the thin AP, respectively.
  • the downlink data packet is encapsulated in Ethernet.
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the CPE
  • the destination MAC address is the MAC address of the thin AP.
  • the MAC layer processing module of the thin AP strips off the Ethernet header of the CPE, and sends the downlink data packet stripped from the Ethernet header to the NAT module of the thin AP.
  • the NAT module of the thin AP performs the second NAT, and the destination IP address in the downlink data packet is converted from the IP address of the thin AP to the IP address of the STA, and the destination port number is replaced by the port number of the thin AP to the port number of the STA.
  • the NAT module can perform the above replacement according to the previously recorded NAT entry.
  • the NAT module of the thin AP sends the downlink data packet after the second NAT to the MAC layer processing module of the thin AP, and the MAC layer processing module of the thin AP encapsulates the received downlink data packet according to the recorded Ethernet header.
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded MAC header
  • the source MAC address of the encapsulated Ethernet header is the destination MAC address of the recorded MAC header, that is, the encapsulated Ethernet header
  • the destination MAC address is the MAC address of the STA
  • the source MAC address of the encapsulated Ethernet header is the MAC address of the BRAS.
  • the MAC layer processing module of the thin AP sends the downlink data packet of the Ethernet encapsulation to the STA through the wifi module.
  • the thin AP can establish a control channel with the AC through the Control and Provisioning of Wireless Access Points Protocol (CAPWAP) module to transmit control information, or when the thin AP recognizes that the STA sends the dynamic information.
  • CAPWAP Wireless Access Points Protocol
  • the DHCP server or the address resolution protocol (ARP) sends the DHCP packets or ARP packets to the AC.
  • the MAC layer processing module of the CPE receives the uplink data packet encapsulated with the Ethernet header sent by the thin AP, and strips the Ethernet header, and records the Ethernet header, and the Ethernet header may include : Source MAC address, destination MAC address information, etc.
  • the source MAC address is the MAC address of the STA
  • the destination MAC address is the MAC address of the BRAS. Will be stripped off
  • the NAT module of the CPE performs the first NAT on the uplink data packet stripped from the Ethernet header.
  • the source IP address of the uplink data is translated from the IP address of the STA to the IP address of the CPE, and the source port number is replaced by the port number of the STA to the port number of the CPE, and the NAT entry can be recorded. Record the correspondence between the replaced IP address and the port number.
  • the NAT module sends the uplink data packet after the first NAT to the LTE module (Modem), and the LTE module forwards the packet to the uplink data packet after the first NAT in the LTE air interface.
  • the LTE module When the downlink data is transmitted, the LTE module receives the downlink data packet sent by the LTE air interface, and the downlink data packet is a Layer 3 packet, and then sent to the NAT module of the CPE.
  • the NAT module of the CPE can perform the second NAT on the received downlink data packet according to the previously recorded NAT entry, that is, the destination IP address in the downlink data packet is replaced by the IP address of the CPE as the IP address of the STA, and the destination port is used. The number is replaced by the port number of the CPE as the port number of the STA. Then, the downlink data packet after the second NAT is sent to the MAC layer processing module of the CPE.
  • the MAC layer processing module of the CPE encapsulates the Ethernet header for the downlink data packet after the second NAT according to the previously recorded Ethernet header.
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header.
  • the source MAC address of the encapsulated Ethernet is the destination MAC address of the recorded Ethernet header, that is, the destination MAC address of the encapsulated Ethernet header is the MAC address of the STA, and the source MAC address is the MAC address of the BRAS.
  • FIG. 6 is a schematic flowchart of another embodiment of a Layer 3 local forwarding method according to the present invention.
  • This example uses a thin AP to strip the Ethernet header and NAT as an example.
  • This embodiment includes:
  • Step 601 The CPE completes the LTE network access process.
  • Step 602 The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
  • Step 603 The thin AP discovers and selects AC.
  • Step 604 The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
  • Step 605 The AC configures parameters for the thin AP.
  • the AC sends an SSID and a VLAN based on a virtual access point (VAP) to isolate users.
  • VAP virtual access point
  • Step 606 The STA sends a WLAN association request to the thin AP.
  • Step 607 The thin AP notifies the AC STA association to complete the STA configuration.
  • Step 608 The STA completes the IP address obtaining and authentication process through the tunnel.
  • the STA initiates a DHCP request, and the thin AP sends the DHCP request from the CAPWAP tunnel. It is sent to the AC, which is then sent by the AC to the BRAS.
  • the BRAS assigns an IP address to the STA.
  • the AAA server can complete WLAN side authentication for the STA.
  • Step 609 After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
  • the above steps 603 to 609 are normal STA access WLAN processes. For details, refer to the existing process.
  • the AC can also notify the thin AP whether to enable Layer 2 forwarding or Layer 3 forwarding.
  • Step 610 After determining that the local forwarding function is Layer 3 forwarding, the thin AP performs stripping Ethernet headers, NAT processing, and re-encapsulating the Ethernet headers, and then forwarding the Ethernet headers to the CPE.
  • the thin AP can determine whether it is Layer 2 forwarding or Layer 3 forwarding according to the indication of the AC; or
  • a thin AP can also be configured locally.
  • the local configuration uses Layer 3 forwarding or Layer 2 forwarding. If it is a three-layer forwarding, the three-layer forwarding process according to the embodiment of the present invention is used. If the layer 2 forwarding is used, the prior art process can be used.
  • Step 611 The CPE performs stripping Ethernet header and NAT processing on the received uplink data packet, and sends the processed uplink data to the Internet through an LTE evolved Packet Network-EPC (EPC).
  • EPC evolved Packet Network-EPC
  • the CPE may first strip the Ethernet header encapsulated by the thin AP and perform NAT on the uplink data packet of the stripped Ethernet header, that is, the source IP address and the source port number of the uplink data packet are respectively determined by the STA's IP address and The port number is replaced with the IP address and port number of the CPE, and then sent to the Internet through the LTE network.
  • the CPE can also record stripped Ethernet headers for downstream packaging.
  • the following processes may be included:
  • the CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated in an IP format (or a packet header encapsulated with an IP header or more);
  • the CPE performs NAT on the downlink data packet encapsulated in the IP format, and uses the Ethernet format encapsulation (or the encapsulated Ethernet header) to send the downlink data packet of the NAT and the encapsulated Ethernet header to the AP.
  • the destination IP address of the downstream data packet is replaced by the IP address of the CPE to the IP address of the AP, and the destination port number is replaced by the port number of the CPE as the port number of the AP.
  • the conversion can be based on the NAT recorded in the uplink.
  • the entry determines the corresponding replacement relationship. Seal Address, the encapsulated Ethernet header can be determined based on the Ethernet header recorded at the upstream.
  • the AP encapsulates the corresponding Ethernet header for the downlink data packet after the NAT according to the Ethernet header recorded in the uplink; it is understood that, in this embodiment, the first NAT refers to the thinning in step 610.
  • the NAT processing of the uplink data packet by the AP is the NAT processing performed by the CPE on the uplink data packet in the step 611, and the second NAT is the NAT processing performed by the thin AP on the downlink data packet, and the fourth NAT refers to the NAT processing performed by the CPE on downlink data packets.
  • the AP in this embodiment can strip the Ethernet header and perform NAT on the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
  • FIG. 7 is a schematic flowchart of another embodiment of a three-layer local forwarding method according to the present invention.
  • a CPE stripping Ethernet header and a NAT are taken as an example.
  • This embodiment includes:
  • Step 701 The CPE completes the LTE network access process.
  • Step 702 The thin AP is powered on, and the CPE allocates an IP address to the thin AP.
  • Step 703 The thin AP discovers and selects AC.
  • Step 704 The thin AP joins the AC to establish a CAPWAP tunnel with the AC.
  • Step 705 The AC configures parameters for the thin AP.
  • Step 706 The STA sends a WLAN association request to the thin AP.
  • Step 707 The thin AP notifies the AC STA association to complete the STA configuration.
  • Step 708 The STA completes the IP address obtaining and authentication process through the tunnel.
  • Step 709 After the STA authentication is passed, the AC notifies the thin AP to start the local forwarding function for the STA.
  • steps 701 709 For details of the above steps 701 709, refer to step 601 609.
  • Step 710 After starting the local forwarding function, the thin AP follows the Layer 2 local forwarding mode.
  • the uplink data packet sent by the STA is sent to the CPE.
  • the thin AP sends a DHCP packet or an ARP packet to the AC through the CAPWAP tunnel.
  • Step 711 The CPE performs stripping Ethernet header and NAT processing on the uplink data, and then sends the data to the Internet through the LTE EPC network.
  • the CPE receives the downlink data packet sent by the LTE network, and the downlink data packet is encapsulated with a header above the IP header;
  • the CPE performs NAT, that is, the destination IP address is replaced with the IP address of the STA by the IP address of the CPE, and the port number of the CPE is replaced by the port number of the STA, and the CPE is based on the recorded NAT entry.
  • the Ethernet header recorded in the uplink, and the corresponding Ethernet header is encapsulated in the downlink data packet after the NAT;
  • the AP sends the downlink data packet to the corresponding STA through the Layer 2 forwarding mode according to the information of the Ethernet header.
  • the first NAT refers to the NAT processing performed by the CPE on the uplink data packet in the step 711
  • the second NAT refers to the NAT processing performed by the CPE on the downlink data packet.
  • the CPE in this embodiment can strip the Ethernet header and perform NAT on the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission. To the LTE network.
  • FIG. 8 is a schematic structural diagram of an embodiment of a three-layer local forwarding device according to the present invention.
  • the device may be a device that performs the foregoing method, and the device includes a first receiving module 81, a first processing module 82, a second processing module 83, and a first
  • the sending module 84 is configured to receive an uplink data packet sent by the STA, where the uplink data packet is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the destination of the Ethernet header is included.
  • the MAC address is not the MAC address of the first device; the first processing module 82 is configured to strip the Ethernet header of the uplink data packet, obtain an uplink data packet with the Ethernet header stripped, and record the The second processing module 83 is configured to perform the first NAT on the uplink data packet stripped from the Ethernet header to obtain the uplink data packet after the first NAT, where the first NAT refers to the stripping
  • the source IP address in the uplink data packet of the Ethernet header is replaced by the IP address of the STA as the IP address of the first device, and the source port in the uplink data of the Ethernet header is stripped No.
  • the device may further include:
  • a second receiving module configured to receive a downlink data packet sent by the LTE network, where the downlink data packet is encapsulated with a packet header above an IP header;
  • the third processing module is configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the fourth processing module is configured to encapsulate, in the Ethernet format, the downlink data packet after the second NAT according to the recorded Ethernet header, where the packet header is an Ethernet header, and the source of the encapsulated Ethernet header
  • the MAC address is the destination MAC address of the recorded Ethernet header
  • the destination MAC address of the encapsulated Ethernet header is the source MAC address of the recorded Ethernet header
  • the second sending module is configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device is an AP
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA through a layer 2;
  • the first sending module is specifically configured to: encapsulate the uplink data packet after the first NAT by using an Ethernet format, where the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is The MAC address of the first device, the destination MAC address of the encapsulated Ethernet header is the MAC address of the CPE, and the uplink data packet encapsulated in the Ethernet format is sent to the CPE, and is stripped by the CPE.
  • the Ethernet header is sent to the LTE network after performing the third NAT.
  • the device is a CPE
  • the first receiving module is specifically configured to: receive an Ethernet packet sent by the STA via the AP, where the Ethernet packet is forwarded by the AP to the CPE;
  • the first sending module is specifically configured to: send the uplink data packet after the first NAT to the LTE network.
  • the device is an AP
  • the second receiving module is specifically configured to: receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE pair
  • the downlink data packet sent by the LTE network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format.
  • the third processing module is further configured to: strip the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format, so as to perform the foregoing on the downlink data packet stripped from the Ethernet header Two NAT.
  • the first device is a CPE
  • the second receiving module is specifically configured to: receive a downlink data packet that is encapsulated in the IP format and sent by the LTE network;
  • the second sending module is specifically configured to: send the downlink data packet encapsulated in the Ethernet format to the AP, and perform the Layer 2 forwarding to the STA by the AP.
  • the device may further include:
  • the determining module is configured to determine whether to use the three-layer local forwarding mode, and to perform the three-layer local forwarding mode when determining that the three-layer local forwarding mode is used, and the determining whether to use the three-layer local forwarding mode includes:
  • the indication information is used to indicate whether the indication of the three-layer local forwarding mode is used, and whether the three-layer local forwarding mode is used according to the indication information;
  • whether the configuration information of the Layer 3 local forwarding mode is used, and whether the Layer 3 local forwarding mode is used is determined according to the configuration information.
  • the device may further include:
  • the third sending module is configured to send the ARP packet or the DHCP packet to the AC and describe the uplink data packet by using the CAPWAP tunnel when the packet sent by the STA is an ARP packet or a DHCP packet.
  • the functions performed by the first receiving module and the second sending module in this embodiment are completed by the wifi module in FIG. 4, and the first processing module, the second receiving module, and the fourth
  • the function completed by the processing module can be completed by the MAC layer processing module in FIG. 4, and the functions performed by the second processing module and the third processing module can be completed by the NAT module in FIG. 4, and the function performed by the first sending module can be performed by FIG. 4
  • the routing module and the MAC layer processing module are completed.
  • the first receiving module, the first processing module, and the first The functions performed by the four processing modules and the second sending module may be completed by the MAC layer processing module in FIG. 5, and the functions performed by the second processing module and the third processing module may be completed by the NAT module in FIG. 5, the first sending module and The functions performed by the second receiving module can be completed by the LTE module in FIG.
  • the Ethernet header can be stripped and the NAT can be performed in the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the
  • the LTE network supports the LTE network as a backhaul network.
  • FIG. 9 is a schematic structural diagram of another embodiment of a three-layer local forwarding device according to the present invention.
  • the device may be a device that performs the foregoing method.
  • the device includes a transceiver 91 and a processor 92, and the transceiver 91 is configured to receive uplink data sent by the STA.
  • the packet is encapsulated in an Ethernet format, and the header is an Ethernet header.
  • the destination MAC address of the Ethernet header is not the MAC address of the first device, and the processor 92 is used for stripping.
  • the Ethernet header of the uplink data packet is obtained by stripping an uplink data packet of the Ethernet header, and recording the Ethernet header; performing first NAT on the uplink data packet stripped from the Ethernet header Obtaining an uplink data packet after the first NAT, where the first NAT is to replace the source IP address in the uplink data packet with the stripped Ethernet header from the IP address of the STA to the first device. IP address, and the source port number in the uplink data packet stripped from the Ethernet header is replaced by the port number of the STA as the port number of the first device; the transceiver 91 is also used to After the first NAT uplink data packet to the LTE network.
  • the transceiver 91 is further configured to receive the downlink data packet sent by the LTE network, where the downlink data packet is encapsulated in an IP format.
  • the processor 92 is further configured to perform a second NAT on the downlink data packet to obtain a downlink data packet after the second NAT, where the second NAT is to use the destination IP address of the downlink data packet by the
  • the IP address of the first device is replaced with the IP address of the STA, and the destination port number of the downlink data packet is replaced by the port number of the first device to the port number of the STA;
  • the first downlink packet of the second NAT is encapsulated in an Ethernet format, and the packet header is an Ethernet header, and the source MAC address of the encapsulated Ethernet header is the purpose of the recorded Ethernet header.
  • a MAC address, and a destination MAC address of the encapsulated Ethernet header is a source MAC address of the recorded Ethernet header;
  • the transceiver 91 is further configured to send the downlink data packet encapsulated in the Ethernet format to the STA.
  • the device may be an AP, and the transceiver 91 may be specifically configured to receive an Ethernet packet sent by the STA through the second layer.
  • the processor 92 is further configured to: send the uplink data packet after the first NAT. Encapsulated in the Ethernet format, the packet header is an Ethernet header, the source MAC address of the encapsulated Ethernet header is the MAC address of the first device, and the destination MAC address of the encapsulated Ethernet header is the MAC of the CPE. address;
  • the transceiver 91 is specifically configured to send the uplink data packet encapsulated in the Ethernet format to the CPE, and the CPE strips the Ethernet header and sends the third NAT to the LTE network.
  • the device is a CPE
  • the transceiver 91 is specifically configured to receive an Ethernet packet sent by the STA by using an AP, where the Ethernet packet is forwarded by the AP to the CPE.
  • the uplink data packet after the first NAT is sent to the LTE network.
  • the device is an AP
  • the transceiver 91 is configured to receive, by the CPE, a downlink data packet encapsulated in an Ethernet format, where the downlink data packet encapsulated in the Ethernet format is the CPE to the LTE.
  • the downlink data packet sent by the network is obtained by using the fourth NAT and the Ethernet format, and the downlink data packet sent by the LTE network is a downlink data packet encapsulated in the IP format; the processor 92 is also used for
  • the Ethernet header of the downlink data packet encapsulated by the CPE and encapsulated by the Ethernet format is stripped to perform the second NAT on the downlink data packet stripped from the Ethernet header.
  • the device is a CPE
  • the transceiver 91 is configured to receive the downlink data packet encapsulated in the IP format sent by the LTE network, and send the downlink data packet encapsulated in the Ethernet format to the The AP is forwarded by the AP to the STA.
  • the processor 92 is further configured to determine whether to use the Layer 3 local forwarding mode, and when determining that the Layer 3 local forwarding mode is used, performing the Layer 3 local forwarding, where the determining whether to use Layer 3 local forwarding Ways include:
  • the configuration information of the Layer 3 local forwarding mode is used to determine whether to use the Layer 3 local forwarding mode according to the configuration information.
  • the processor 92 is further configured to send, by using the CAPWAP tunnel, the ARP packet or the DHCP packet to send the uplink data packet, when the message sent by the STA is an ARP file or a DHCP message.
  • the above transceiver may be an independent transmitter and receiver, respectively performing a transmitting function and a receiving function, or may be a device that is combined to specifically transmit a function and a receiving function.
  • the network cable, the optical fiber, or the antenna may be used.
  • the antenna may be a linear antenna, a loop antenna, an array antenna, or the like.
  • the above processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • a general purpose processor can be a microprocessor or any conventional processor.
  • the device may also include a memory, which may be a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, and the like.
  • a bus system may be included, and the bus system includes, for example, a data bus, a power bus, a control bus, or a status signal bus.
  • the Ethernet header can be stripped and the NAT can be performed in the uplink.
  • the downlink can be restored according to the previously recorded Ethernet header information. Therefore, the received Layer 2 packet can be converted into a Layer 3 packet for transmission to the
  • the LTE network supports the LTE network as a backhaul network.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. You can choose which one according to your actual needs. Some or all of the units implement the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

L'invention concerne un procédé et un dispositif d'acheminement local à trois couches, le procédé comprenant : la réception d'un paquet de données de liaison montante transmis par un STA, le paquet de données de liaison montante étant encapsulé dans un format Ethernet, et l'en-tête de paquet étant un en-tête Ethernet; le retrait de l'en-tête Ethernet du paquet de données de liaison montante pour acquérir un paquet de données de liaison montante dont l'en-tête Ethernet a été retiré, et l'enregistrement de l'en-tête Ethernet; l'exécution d'une première NAT sur le paquet de données de liaison montante dont l'en-tête Ethernet a été retiré pour acquérir un paquet de données de liaison montante après la première NAT; et la transmission du paquet de données de liaison montante après la première NAT à un réseau LTE. Un mode de réalisation de la présente invention effectue un acheminement local à trois couches et peut à son tour coopérer avec un réseau de retour LTE.
PCT/CN2013/086155 2012-10-30 2013-10-29 Procédé et dispositif d'acheminement local à trois couches WO2014067450A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210423913.5A CN103795627B (zh) 2012-10-30 2012-10-30 三层本地转发方法和设备
CN201210423913.5 2012-10-30

Publications (1)

Publication Number Publication Date
WO2014067450A1 true WO2014067450A1 (fr) 2014-05-08

Family

ID=50626494

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086155 WO2014067450A1 (fr) 2012-10-30 2013-10-29 Procédé et dispositif d'acheminement local à trois couches

Country Status (2)

Country Link
CN (1) CN103795627B (fr)
WO (1) WO2014067450A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460662A (zh) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 数据传输和链路切换方法、电子设备和可读存储介质
CN115696655A (zh) * 2022-10-31 2023-02-03 北京华电力拓能源科技有限公司 一种5g演进型虚拟网络的方法及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636010B (zh) * 2016-01-18 2018-12-14 江苏鑫软图无线技术股份有限公司 一种lte系统中实现层二数据传输的方法
CN106656799B (zh) * 2017-02-14 2019-12-03 湖南基石通信技术有限公司 一种基于无线mesh网络的报文转发方法及装置
CN108011742A (zh) * 2017-02-17 2018-05-08 湖北亘华工科有限公司 一种wlan数据集中转发切换本地转发的设备及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (zh) * 2001-09-16 2003-03-26 华为技术有限公司 一种混合地址解决方案及其混合地址路由器
CN1665238A (zh) * 2004-03-04 2005-09-07 华为技术有限公司 下一代网络的组网系统
CN101036371A (zh) * 2004-07-14 2007-09-12 耐特瑞克公司 用于对第二层隧道协议中的重叠的因特网协议地址进行映射的装置和方法
CN101310487A (zh) * 2005-11-16 2008-11-19 恩梯梯Pc通信设备有限公司 通信方法、移动代理装置以及本地代理装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856387B2 (en) * 2008-04-24 2014-10-07 Qualcomm Incorporated Local IP access scheme
JP5081948B2 (ja) * 2010-05-14 2012-11-28 株式会社バッファロー 無線中継装置
CN102546403B (zh) * 2011-12-27 2014-12-10 华为技术有限公司 一种报文转发的方法与小基站

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (zh) * 2001-09-16 2003-03-26 华为技术有限公司 一种混合地址解决方案及其混合地址路由器
CN1665238A (zh) * 2004-03-04 2005-09-07 华为技术有限公司 下一代网络的组网系统
CN101036371A (zh) * 2004-07-14 2007-09-12 耐特瑞克公司 用于对第二层隧道协议中的重叠的因特网协议地址进行映射的装置和方法
CN101310487A (zh) * 2005-11-16 2008-11-19 恩梯梯Pc通信设备有限公司 通信方法、移动代理装置以及本地代理装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115696655A (zh) * 2022-10-31 2023-02-03 北京华电力拓能源科技有限公司 一种5g演进型虚拟网络的方法及系统
CN115696655B (zh) * 2022-10-31 2024-05-31 北京华电力拓能源科技有限公司 一种5g演进型虚拟网络的方法及系统
CN115460662A (zh) * 2022-11-10 2022-12-09 浙江大华技术股份有限公司 数据传输和链路切换方法、电子设备和可读存储介质

Also Published As

Publication number Publication date
CN103795627A (zh) 2014-05-14
CN103795627B (zh) 2017-08-18

Similar Documents

Publication Publication Date Title
US9781652B2 (en) Method and apparatus of LWA PDU routing
KR101511651B1 (ko) 무선 스테이션 브릿징을 위한 시스템 및 방법
EP3032871B1 (fr) Procédé, dispositif et système de transmission de données
WO2019033920A1 (fr) Procédé et dispositif permettant à un côté réseau d'identifier et de commander un équipement utilisateur distant
JP5230799B2 (ja) フロー容量を等化する方法、装置、及びシステム
US10812292B2 (en) Packet processing method and device
CN114124618B (zh) 一种报文传输方法及电子设备
WO2014067450A1 (fr) Procédé et dispositif d'acheminement local à trois couches
EP2876972B1 (fr) Procédé de transmission d'interface radio et dispositif et système pertinents
WO2013155981A1 (fr) Procédé et dispositif de dérivation de données
WO2014114058A1 (fr) Procédé de réacheminement de messages de données, système et équipement destinés aux abonnés
WO2022048441A1 (fr) Procédé de transmission de données d'application, système et dispositif électronique
WO2019242525A1 (fr) Procédé de transmission de données, dispositif et système associés
WO2010012152A1 (fr) Procédé et équipement servant à mettre en place une transmission de données dans un réseau sans fil
TWI573422B (zh) Heterogeneous network integration method and system
JP6478197B2 (ja) ダウンリンクのオフロードおよび統合の方法、アップリンクのオフロードおよび統合の方法、ならびにデバイス
WO2014121606A1 (fr) Procédé de traitement de service et dispositif associé
WO2010088834A1 (fr) Procédé, dispositif et système de communication bimode basés sur wi-fi et wimax
CN106789534B (zh) 一种基于无线网络的数据传输方法和装置
US20160037384A1 (en) Non-blocking uplink architecture for access points
WO2012110004A1 (fr) Procédé et dispositif de transfert de messages sur la base de lte-lan
CN108322389B (zh) 数据报文转发方法和系统、无线接入设备
TWI639354B (zh) 用於增強lwa的上行鏈路路由方法和用戶設備
WO2015002526A1 (fr) Procédé permettant au trafic d'un réseau local virtuel de transiter par un réseau sans fil
WO2016074222A1 (fr) Procédé et dispositif de transmission de données

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

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

Country of ref document: EP

Kind code of ref document: A1