WO2020038325A1 - Procédé d'accès au réseau, équipement de locaux d'abonné sans fil et dispositif d'accès - Google Patents

Procédé d'accès au réseau, équipement de locaux d'abonné sans fil et dispositif d'accès Download PDF

Info

Publication number
WO2020038325A1
WO2020038325A1 PCT/CN2019/101350 CN2019101350W WO2020038325A1 WO 2020038325 A1 WO2020038325 A1 WO 2020038325A1 CN 2019101350 W CN2019101350 W CN 2019101350W WO 2020038325 A1 WO2020038325 A1 WO 2020038325A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
cpe
arp
wan
gateway
Prior art date
Application number
PCT/CN2019/101350
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 WO2020038325A1 publication Critical patent/WO2020038325A1/fr

Links

Images

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/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • This application relates to the field of wireless access communication technology, and in particular, to a network access method, a wireless terminal access device, and a downlink device.
  • Wireless network-based terminal access equipment called wireless terminal access equipment (CPE)
  • CPE wireless terminal access equipment
  • IP Internet protocol
  • the current method for a CPE to access a wireless wide area network is to use a CPE from The core network obtains a WAN IP address, and then the CPE calculates the mask of the WAN IP address and the gateway IP address from the WAN IP address, and then the CPE configures the calculated mask and gateway IP address to the CPE's local area network (local area network, LAN) interface, this LAN port is the port where the CPE is connected to the downstream device, that is, the CPE is directly used as the gateway, and the CPE uses the gateway IP address to communicate with the downstream device.
  • the connected device can be connected to the CPE to provide users with wireless fidelity (WIFI), internet protocol television (IPTV), voice over internet (Internet protocol, VOIP), standard Ethernet interfaces, etc. device.
  • WIFI wireless fidelity
  • IPTV internet protocol television
  • VOIP voice over internet
  • the downstream device communicates with an A device on the WAN network
  • the CPE occupies the gateway IP.
  • the download device cannot send service data to the A device in the WAN network through the gateway IP address, but to the CPE.
  • the download device cannot be a device in the WAN network with the same gateway IP address and gateway IP address of the CPE. Perform normal communication.
  • the embodiments of the present application provide a network access method, a wireless terminal access device, and a downlink device, which can send the MAC address of the CPE to the downlink device according to the ARP learning rule set by the CPE, so that the downlink device passes the MAC of the CPE
  • the address communicates with the devices on the WAN network.
  • the first aspect of the embodiments of the present application provides a network access method, which may include:
  • the CPE can first obtain the WAN IP address of the WAN from the core network.
  • the CPE calculates the mask of the WAN IP address and the gateway IP address based on the WAN IP address.
  • the CPE can set an address resolution protocol (ARP) learning rule.
  • ARP learning rule is that when the CPE receives an ARP request from a connected device, the CPE determines whether the ARP request contains a WAN IP address and Gateway IP address. If so, the CPE masquerades as a gateway and sends the MAC address information of the CPE to the downstream device through the gateway IP address through an ARP response.
  • the ARP request includes the MAC address of the downstream device, the WAN IP address, and the gateway.
  • the IP address, the ARP request is used to request the MAC address of the gateway.
  • the CPE can receive a dynamic host configuration protocol (DHCP) request sent by the next device. It carries the MAC address of the downstream device.
  • DHCP dynamic host configuration protocol
  • the CPE records the MAC address of the downstream device, and sets the ARP information of the downstream device on the CPE.
  • ARP information belongs to static ARP information.
  • the ARP information includes the WAN IP address and the MAC address of the connected device.
  • the WAN IP address is the WAN IP address of the WAN network assigned by the core network to the CPE.
  • the CPE It is set to the IP address of the downlink device, and the MAC address of the downlink device is obtained from the DHCP request. Then, the CPE sends the WAN IP address, the calculated mask, and the gateway IP address to the downlink according to the DHCP request. Connect the device to use.
  • the download device sets its own mask and gateway IP address according to the obtained mask and gateway IP address, and then the CPE receives the ARP request sent by the download device.
  • the MAC address, gateway IP address, and WAN IP address of the downstream device that is, the IP address of the downstream device
  • the CPE can determine the transmission according to the ARP learning rules.
  • downstream device information in the ARP request matches the downstream device set in the CPE that matches the ARP information, that is, determines whether the ARP request contains the WAN IP address (that is, the IP address of the downstream device) and the gateway IP address. If the CPE determines that the downstream device that sends the ARP request is a downstream device that matches the ARP information set in the CPE, the CPE masquerades as a gateway and sends the MAC address of the CPE itself to the downstream device.
  • the downstream device receives the CPE After considering the MAC address of the CPE, the MAC address of the CPE is considered to be the MAC address of the gateway, so the MAC address information of the CPE is learned, and the service data is sent to the CPE through the MAC address of the CPE. After receiving the service data sent by the downstream device, the CPE , The business data is directly forwarded to the server of the WAN network device. Conversely, when the WAN network device needs to send the business data to the downstream device, the business data is sent to the CPE through the server of the WAN network device, and then the The CPE sends the MAC address of the downstream device recorded in the CPE to the downstream device, so that the downstream device can communicate with the WAN network device.
  • the embodiments of the present application have the following advantages: According to the ARP learning rules set by the CPE, the CPE can learn and set the IP address of the connected device (that is, the WAN IP address) and the gateway IP address in the CPE.
  • the receiving device sends an ARP request to the CPE, after determining whether the ARP request contains the WAN IP address and the gateway IP address, the CPE can disguise itself as a gateway and send the MAC address of the CPE to the receiving device.
  • the receiving device then considers it to have received
  • the MAC address of the CPE is the MAC address of the gateway, then learn the MAC address of the CPE, and send the business data to the CPE through the MAC address of the CPE, and the CPE then forwards the device to the WAN network, so as to realize the device connected to the WAN network.
  • the downlink device can communicate with the WAN network device through the MAC address of the CPE, without the CPE occupying the gateway IP address and the downlink device cannot have the same IP address as the gateway.
  • the devices on the WAN network with the IP address perform normal communication, thereby improving the success rate of communication between the downstream device and the devices on the WAN network.
  • the ARP learning rule may include that when the CPE receives the ARP request from the downlink device, the CPE may determine a source in the ARP request. Whether the IP address is a WAN IP address and the destination IP address is a gateway IP address;
  • the CPE can determine the downstream connection that sends the ARP request.
  • the device is the downstream device marked in the ARP information of the CPE, so the CPE can send the MAC address of the CPE to the downstream device through the gateway IP address, so that the downstream device can use the MAC address of the CPE Sending service data to the CPE, and then the CPE forwards the service data to a device of the WAN network.
  • a specific implementation scheme is provided for how the CPE determines whether the information of the downstream device in the ARP request matches the downstream device in the ARP information set in the CPE.
  • ARP rules provide a more specific implementation, which further improves the realizability of this solution.
  • the CPE when the CPE determines that the ARP request includes a WAN IP address and a gateway IP address according to a preset ARP learning rule, the CPE forwards to the downlink.
  • the device sends an ARP response including:
  • the CPE may determine, according to the preset ARP learning rule, whether the source IP address in the ARP request is the WAN IP address in the ARP information, and whether the destination IP address is the gateway. IP address
  • the CPE can determine that the downstream device that sent the ARP request is the CPE's ARP information. Device, so the CPE can send the MAC address of the CPE to the device through the gateway IP address, so that the device can use the MAC address of the CPE to send business data to the CPE. , And then the CPE forwards the service data to a device of the WAN network.
  • the CPE can implement mutual learning of information between the device and the connected device according to a more specific ARP rule, the implementation of this solution is further improved.
  • the method may further include:
  • the CPE receives the service data sent by the downstream device through the MAC address of the CPE, and forwards the received service data to the server of the WAN network device.
  • the CPE receives the service data sent by the WAN network device, it passes the The MAC address of the downstream device forwards the service data sent by the device on the WAN network to the downstream device.
  • the CPE only serves as a pipe to forward data between the downstream device and the device on the WAN network.
  • the downlink device can send service data to the device of the WAN network through the MAC address of the CPE, it is solved that when the IP address of the downlink device is the same as the WAN IP address of a device on the WAN network, The problem that the device cannot communicate normally with the device on the WAN network. As long as the connected device can communicate with each device on the WAN network through the MAC address of the CPE, the WAN network can also forward data to the connected device through the CPE. A more specific scheme for implementing the communication between the downstream equipment and the WAN network equipment through the CPE is achieved, further improving the practicability of the scheme.
  • a second aspect of the embodiments of the present application provides a network access method, which may include: when a downlink device needs to send service data to a WAN network device, it may first send an ARP request to the CPE to request a gateway MAC address, and the ARP request includes There is the IP address of the downstream device (that is, the WAN IP address sent by the CPE to the downstream device) and the gateway IP address. After the CPE receives the request from the downstream device, it can judge according to the preset ARP learning rules. The ARP request sent by the receiving device contains the same source IP address as the WAN IP address and the destination IP address is the same as the gateway IP address. Then the receiving device can receive the ARP response sent by the CPE.
  • the CPE fills its own MAC address in the ARP response packet, so the downstream device will consider the MAC address of the CPE to be the MAC address of the gateway.
  • the service data is sent to the CPE through the MAC address of the CPE.
  • the CPE which in turn can forward the service data to the devices on the WAN network.
  • the downlink device uses the MAC address of the CPE to send service data
  • the service data can be smoothly forwarded to the device on the WAN network through the CPE, thereby overcoming that the gateway device cannot be connected with the IP address of the gateway by the CPE Devices in the WAN network with the same IP address as the gateway IP address perform normal communication, thereby improving the success rate of communication between the downstream device and the devices in the WAN network.
  • the receiving the device receiving the ARP response sent by the CPE may include: the receiving device may receive the ARP response sent by the CPE through a gateway IP address.
  • a third aspect of the embodiments of the present application provides a wireless terminal access device CPE, and the wireless terminal access device has a function of implementing the foregoing first aspect and any one of the possible design methods in the first aspect.
  • the functions may be implemented by hardware, and may also be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a fourth aspect of the embodiments of the present application provides a downlink device, and the downlink device has a function of realizing any one of the foregoing second aspect and the method in the second aspect.
  • the functions may be implemented by hardware, and may also be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a fifth aspect of the embodiments of the present application provides a computer storage medium for storing computer software instructions used by the wireless terminal access device CPE of the first aspect described above, which includes instructions for executing a design for the CPE. program.
  • a computer storage medium is provided.
  • the computer storage medium is used to store computer software instructions used by the download device of the second aspect, and includes a program for executing a program designed for the download device. .
  • a seventh aspect of the embodiments of the present application provides a computer program product.
  • the computer program product includes computer software instructions, and the computer software instructions can be loaded by a processor to implement the method flow in the first aspect.
  • An eighth aspect of the embodiments of the present application provides a computer program product.
  • the computer program product includes computer software instructions, and the computer software instructions can be loaded by a processor to implement the method flow in the second aspect.
  • FIG. 1 is a system architecture diagram applied to an embodiment of this application
  • FIG. 2 is a schematic diagram of an embodiment of a network access method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of another embodiment of a network access method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an embodiment of a wireless terminal access device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of another embodiment of a wireless terminal access device according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an embodiment of a downlink device according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of another embodiment of a downlink device according to an embodiment of the present application.
  • the embodiments of the present application provide a network access method and a wireless terminal access device, which can send the MAC address of the CPE to the downstream device according to the ARP learning rule set by the CPE, so that the downstream device can communicate with the WAN through the MAC address of the CPE. Device communication.
  • the participation of the access device 101, the access device 102, and the device 103 of the WAN network is required.
  • the device 103 of the WAN network can allocate the WAN IP address of the WAN network to the access device 102; the access device 102 and the downstream device 101 can communicate with each other through the WAN IP address.
  • the access device 102 does not need to communicate with the device 103 in the WAN network, and in the process of transmitting business data, the access device 102 can send the The service data is forwarded to the device 103 on the WAN network.
  • the device 103 on the WAN network can also forward the packet to the downstream device 101 through the CPE.
  • the downlink device 101 in the embodiment of the present application may be a router, an indoor CPE device, and an augmented reality (AR) device, and is not specifically limited herein;
  • the access device 102 in the embodiment of the application It may be a wireless CPE; there may be one or multiple devices 103 on the WAN network, which is not limited here.
  • the access device is a CPE serving as a wireless access device, and the CPE serves as a wireless access device. Its working mode is divided into an IP transparent transmission mode and a routing mode.
  • the CPE of the wireless access device uses the IP passthrough mode in the single access point name (APN) scenario. (Also known as bridge mode) wireless network access.
  • APN access point name
  • the core network allocates only one WAN IP address to the downstream device.
  • the IP transparent transmission mode means that the access device sends the WAN IP address allocated by the core network to the downstream device in the IP transparent transmission mode.
  • the uplink data is that the CPE transparently transmits the service data sent from the downlink device to the WAN network device
  • the downlink data is that the CPE forwards the service data sent from the WAN network device to the downlink device. device.
  • FIG. 2 is a schematic diagram of an embodiment of a network access method according to an embodiment of the present application.
  • An embodiment of the network access method in the embodiments of the present application includes:
  • the CPE obtains the WAN IP address of the WAN network from the core network;
  • the core network in order to realize the normal communication between the connected device and each device of the WAN network, the core network will allocate a WAN IP address of the WAN network to the CPE.
  • the CPE may first insert a Subscriber Identification Module (SIM) card After that, it accesses a wireless network Long Term Evolution (LTE) base station, and then obtains the WAN IP address from the core network. Because it is a single APN application scenario, the core network will only allocate one WAN IP address to the CPE.
  • SIM Subscriber Identification Module
  • the CPE calculates the mask of the WAN IP address and the gateway IP address according to the WAN IP address.
  • the CPE After the CPE obtains the WAN IP address, it can calculate the mask of the WAN IP address and the gateway IP address based on the WAN IP address.
  • the calculation method of the mask can be to record the value of the bit of the WAN IP as "0", that is, bit [0], and sequentially read the value of each bit of the WAN IP until a certain bit bit [x] If the value is not equal to "0", the masked host bits are 0-x bits.
  • the WAN IP obtained from the core network is 10.10.19.16
  • it will be converted into a hexadecimal integer of 0x0a0a1310, a binary of 1010000010100001001100010000, and bit0 ⁇ from right to left.
  • bit31 it can be clearly seen that bit0 and bit4 are inconsistent.
  • 0 to 4 are the host bits, so the mask is 11111111111111111111111111100000, and the hexadecimal number is 0xffffffe0, which is 255.255.255.224.
  • the gateway IP address can be calculated by masking the WAN IP with the calculated mask and adding "1". If this address is not equal to the WAN IP, it is the gateway IP, otherwise it will be added with "1" As the gateway address.
  • the WAN IP is masked with the mask: that is, the & operation ( Judging that each bit is 1, it is 1, otherwise it is 0), then the masked value is 1010000010100001001100000000, converted into hexadecimal is 0x0a0a1300, after performing +1 operation is 0x0a0a1301, which is 10.10.19.1.
  • the mask needs to be calculated because the downstream device needs to use the mask to set when it sets the WAN IP address to its own IP address.
  • the CPE sets an ARP learning rule.
  • the CPE After the CPE calculates the mask of the WAN IP address and the gateway IP address, it can set an ARP learning rule.
  • the ARP learning rule is that when the CPE receives an ARP request from a connected device, the CPE determines whether the ARP request contains a WAN. The IP address and gateway IP address.
  • the reason why the CPE needs to determine whether there is a WAN IP is that if the CPE determines that the ARP request contains a WAN IP address, it means that the CPE can determine the IP address of the downstream device, because the downstream device uses the WAN IP address.
  • the address is set to its own IP address; the reason why the CPE needs to determine whether there is a gateway IP is that if the CPE determines that the ARP request contains the gateway IP address, the CPE sends the MAC address of the CPE through the gateway IP address in subsequent steps
  • the CPE sends the MAC address of the CPE to the downstream device through the gateway IP address through the ARP response.
  • the ARP request includes the downstream device MAC address, WAN IP address, and gateway IP address.
  • the ARP request sent by the device is used to request the MAC address of the gateway.
  • the CPE determines whether the WAN IP address and gateway IP address in the ARP request are related to the ARP information of the downstream device set in the CPE. The WAN IP address and the gateway IP address match. If they match, the CPE sends the MAC address of the CPE to the device through the gateway IP address.
  • the downlink device sends a DHCP request to the CPE.
  • the downstream device can send a DHCP request to the CPE.
  • the DHCP request carries the MAC address of the downstream device.
  • the DHCP request is used to request the CPE to mask the WAN IP address and WAN IP address. Code and gateway IP address.
  • the CPE sets the ARP information of the connected device on the CPE.
  • the CPE After the CPE obtains the WAN IP address and receives the DHCP request sent by the downstream device, it can set ARP information on the CPE.
  • This ARP information belongs to the information of the downstream device.
  • the CPE can set the MAC address of the downstream device in the DHCP request in the ARP information, so that subsequent packets sent from the WAN network device to the CPE can be forwarded to the downstream device through the MAC address of the downstream device.
  • the CPE can set the WAN IP address in the ARP information, and the WAN IP address can be set by the downloading device as the IP address of the downloading device in the subsequent operation steps.
  • the ARP information is static ARP information.
  • the purpose of setting the ARP information of the downstream device in the CPE is to prepare for the subsequent judgment steps to determine whether the information of the downstream device that sends the ARP request matches the information of the downstream device set in the CPE.
  • the CPE sends the WAN IP address, mask, and gateway IP address to the connected device for use according to the DHCP request.
  • the CPE After the CPE records the MAC address of the downstream device on the CPE and sets the ARP information of the downstream device, it can send the WAN IP address, mask, and gateway IP address to the downstream device for use according to the DHCP request. After the receiving device receives the WAN IP address, it can set the WAN IP address as the IP address of the connecting device itself. When setting the WAN IP address as its own WAN IP address, it needs to use the received mask for setting , And the gateway IP address received by the downstream device is used to send the MAC address of the downstream device to the CPE.
  • the receiving device sends an ARP request to the CPE.
  • a downlink device When a downlink device needs to send data to a device on the WAN network, it first sends an ARP request to the CPE, requesting the CPE to send the MAC address of the gateway to the downlink device.
  • the ARP request message includes a source MAC address, a source IP address, a destination IP address, and a destination MAC address.
  • the source MAC address, source IP address, and destination IP address are filled with the corresponding address information.
  • the source MAC address is filled with the MAC address information of the connected device.
  • the source IP address is filled with the WAN IP address information.
  • the destination IP address is filled with the gateway IP address information, and the destination MAC address is empty.
  • the receiving device requests the CPE to send the MAC address of the gateway to the receiving device.
  • the CPE determines that the ARP request includes the WAN IP address and the gateway IP address according to the preset ARP learning rules, the CPE sends an ARP response to the downstream device;
  • the CPE After receiving the ARP request sent by the downstream device, the CPE can determine whether the ARP request contains the WAN IP address and the gateway IP address according to the ARP learning rules. If the CPE determines that the ARP request contains the WAN IP address (the WAN IP address has been set to the IP address of the downstream device) and the gateway IP address, the CPE sends an ARP response to the downstream device.
  • the ARP response includes the MAC address of the CPE, and the MAC address of the CPE is used by the downstream device to the WAN. Network equipment sends business data.
  • the equipment of the WAN network includes IP multimedia subsystem (IMS), domain name system (DNS) server, session initialization protocol (SIP) server, Baidu server, WeChat server Wait.
  • IMS IP multimedia subsystem
  • DNS domain name system
  • SIP session initialization protocol
  • the CPE can determine whether the WAN IP address and gateway IP address in the ARP request and the WAN in the ARP information of the downstream device set in the CPE according to the ARP learning rules.
  • the IP address (used as the IP address of the downstream device) and the gateway IP address match. If they match, the CPE sends the MAC address of the CPE to the downstream device via the gateway IP address through the ARP response, so that the downstream device can use the CPE.
  • the MAC address forwards business data to the devices on the WAN network, enabling the downstream device to communicate with the devices on the WAN network.
  • the CPE sets an ARP learning rule, sets the WAN IP address allocated by the core network and the calculated gateway IP address on the CPE as the ARP information of the connected device, and sends the DHCP request through the connected device.
  • the downstream device sets the WAN IP address to the WAN IP address of the downstream device, and uses the mask to set the gateway IP address to the gateway IP of the downstream device. Address.
  • the CPE determines whether the ARP information of the downstream device set in the CPE matches the WAN IP and gateway IP information in the ARP request according to the set ARP learning rules.
  • the CPE sends the MAC address of the CPE to the downstream device through the gateway IP address, so that the downstream device sends the business data to the CPE through the MAC address of the CPE, and the CPE sends the business data to the device on the WAN network without any processing.
  • the downstream device can forward the business data to the device on the WAN through the MAC address of the CPE, thereby overcoming the gateway ’s IP address caused by the CPE ’s access to the downstream device.
  • Preparation impossible to perform normal communication devices and the WAN gateway IP address has the same IP address, thereby improving the success rate of the device connected to communicate with each other device in the WAN.
  • FIG. 3 describes the embodiment in FIG. 3 as an example of a scenario where a device sends service data to a device on a WAN network via a CPE.
  • FIG. 3 is a schematic diagram of another embodiment of a network access method according to an embodiment of the present application. It should be noted that steps 301 to 308 in the embodiment shown in FIG. 3 are similar to steps 201 to 208 in the embodiment shown in FIG. 2, and details are not described herein again.
  • the CPE obtains the WAN IP address of the WAN network from the core network.
  • the CPE calculates the mask of the WAN IP address and the gateway IP address according to the WAN IP address.
  • the CPE sets an ARP learning rule.
  • the receiving device sends a DHCP request to the CPE.
  • the CPE sets the ARP information of the connected device on the CPE.
  • the CPE sends the WAN IP address, mask, and gateway IP address to the connected device for use according to the DHCP request.
  • the receiving device sends an ARP request to the CPE.
  • the CPE determines that the ARP request includes the WAN IP address and the gateway IP address according to the ARP learning rule, the CPE sends an ARP response to the downstream device;
  • the downlink device sends service data to the CPE.
  • the downlink device after receiving the MAC address of the CPE, the downlink device mistakenly believes that the MAC address of the CPE is the MAC address of the gateway, so the downlink device sends service data to the CPE through the MAC address of the CPE.
  • the MAC address of the CPE is set in the ARP response message.
  • the CPE does not fill any data before filling the data.
  • the downstream device can get the MAC address of the CPE through the message, but what the downstream device originally wanted was Gateway MAC address. Therefore, the downstream device incorrectly believes that the MAC address of the CPE filled in the destination MAC address is the gateway MAC address. Therefore, the downstream device attempts to send service data to the CPE through the MAC address of the CPE.
  • the CPE sends service data to a device on the WAN network.
  • the CPE After receiving the service data sent by the downstream device, the CPE does not perform any processing on the service data, but forwards the service data to the devices on the WAN network, and the devices on the WAN network process the service data. In this way, the downstream device can forward service data to the device on the WAN network through the CPE.
  • the WAN network device sends service data to the CPE.
  • a device on the WAN network may also send service data to the downstream device.
  • the CPE sends service data to the downstream device.
  • the CPE After receiving the message sent by the downstream device, the CPE can send service data to the downstream device by using the MAC address of the downstream device recorded in the CPE.
  • the CPE when the receiving device sends an ARP request to the CPE, the CPE may determine the information of the receiving device that sends the ARP request according to the ARP learning rule preset in the CPE, that is, the source IP in the ARP request message.
  • the CPE can masquerade as a gateway and use the CPE's own MAC.
  • the address is sent to the downstream device.
  • the downstream device sends the business data to the CPE through the MAC address of the CPE, and then the CPE forwards the business data to the device on the WAN network.
  • the device on the WAN network can also forward the packet to the device through the CPE.
  • the downlink device can forward the business data to the device on the WAN through the MAC address of the CPE, thereby overcoming that the gateway device cannot occupy the gateway IP address due to the CPE occupying the gateway IP address and the gateway device cannot have the same IP address as the gateway.
  • the problem of normal communication between devices on the WAN network with the same IP address thereby improving the success rate of communication between the downstream device and the devices on the WAN network.
  • the network access method in the embodiment of the present application has been described above.
  • the wireless terminal access device in the embodiment of the present application is described below. Please refer to FIG.
  • a first receiving unit 401 is configured to receive an ARP request sent by a receiving device, where the ARP request is used to request a media access control MAC address of a gateway, and the ARP request includes an Internet Internet Protocol IP address and a gateway IP address of a wide area network WAN.
  • the WAN IP address is an IP address set by the downlink device for the downlink device itself;
  • the first sending unit 402 is configured to: when the determining unit 403 determines that the ARP request includes a WAN IP address and a gateway IP address according to a preset ARP learning rule, send an ARP response to the downstream device through the gateway IP address.
  • the ARP response includes The MAC address of the CPE.
  • the MAC address of the CPE is used by the downstream device to send service data to the device on the WAN network.
  • the ARP learning rule includes that when the first receiving unit 401 receives an ARP request from a connected device, if the determining unit 403 determines that the source IP address in the ARP request is a WAN IP address and the destination IP address is a gateway IP address, the first sending unit 402 sends an ARP response to the downstream device.
  • the first sending unit 402 is specifically configured to: when the CPE determines that the source IP address in the ARP request is the WAN IP address in the ARP information and the destination IP address is the gateway IP address according to a preset ARP learning rule, The CPE sends an ARP response to the downstream device.
  • the CPE further includes:
  • a second receiving unit 404 configured to receive service data sent by a downlink device
  • the second sending unit 405 is configured to send service data to a device on the WAN network.
  • the first sending Unit 402 will send an ARP response to the downstream device.
  • the ARP response contains the MAC address of the CPE, but the ARP request actually wants to request the MAC address of the gateway. Therefore, when the receiving device receives the MAC address of the CPE, it will The CPE's MAC address is mistakenly considered to be the MAC address of the gateway, so the second receiving unit 404 can receive the service data sent by the downstream device through the CPE's MAC address, and the second sending unit 405 sends the business data to the WAN network device. This improves the success rate of communication between the downstream device and the WAN network device through the MAC address of the CPE.
  • FIG. 5 is a schematic diagram of another embodiment of a CPE in the embodiment of the present application.
  • the CPE500 may have a large difference due to different configurations or performance, and may include one or more central processing units (CPUs) 501 (for example, one or more processors) and a memory 505.
  • the memory 505 Stores one or more applications or data.
  • the memory 505 may be volatile storage or persistent storage.
  • the program stored in the memory 505 may include one or more modules, and each module may include a series of instruction operations in the server.
  • the central processing unit 501 may be configured to communicate with the memory 505, and execute a series of instruction operations in the memory 505 on the CPE 500.
  • CPE500 may also include one or more power sources 502, one or more wired or wireless network interfaces 503, one or more transceivers 504, and / or, one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM , LinuxTM, FreeBSDTM, and more.
  • operating systems such as Windows ServerTM, Mac OS XTM, UnixTM , LinuxTM, FreeBSDTM, and more.
  • the process performed by the central processing unit 501 in the CPE 500 in this embodiment is similar to the method process described in the foregoing embodiments shown in FIG. 2 and FIG. 3, and details are not described herein again.
  • An embodiment of the present application further provides a computer storage medium for storing computer software instructions used by the aforementioned CPE, which includes a program for executing a program designed for the CPE.
  • the embodiment of the present application further provides a computer program product, the computer program product includes computer software instructions, and the computer software instructions can be loaded by a processor to implement the method flow in the embodiments shown in FIG. 2 and FIG. 3.
  • FIG. 6 is a schematic diagram of an embodiment of a downlink device according to an embodiment of the present application.
  • a first sending unit 601 is configured to send an ARP request to a CPE, where the ARP request is used to request a media access control MAC address of a gateway, and the ARP request includes an Internet Internet IP address and a gateway IP address of a wide area network WAN, the WAN
  • the IP address is an IP address set by the downlink device for the downlink device itself;
  • a receiving unit 602 configured to receive an ARP response sent by a CPE through a gateway IP address, where the ARP response includes a CPE MAC address;
  • the second sending unit 603 is configured to send service data to the CPE through the CPE MAC address.
  • the receiving unit 602 is specifically configured to receive a large ARP response sent by the CPE through the gateway IP address.
  • the first sending unit 601 sends an ARP request to the CPE, requesting the gateway MAC address, and then the receiving unit 602 can receive the ARP response sent by the CPE.
  • the ARP response includes the MAC address of the CPE, and the second sending unit 603 will
  • the service data is sent to the CPE through the MAC address of the CPE, so that the download device can successfully forward the service data to the device on the WAN network through the CPE, thereby overcoming the failure of the download device and the
  • the devices on the WAN network with the same IP address as the gateway IP address perform normal communication, thereby improving the success rate of communication between the device connected to the WAN network and the devices on the WAN network.
  • FIG. 7 is a schematic diagram of another embodiment of a downlink device according to an embodiment of the present application.
  • the downlink device 700 may have a relatively large difference due to different configurations or performance, and may include one or more central processing units (CPUs) 701 (for example, one or more processors) and a memory 705.
  • the memory 705 stores one or more application programs or data.
  • the memory 705 may be volatile storage or persistent storage.
  • the program stored in the memory 705 may include one or more modules, and each module may include a series of instruction operations on the server.
  • the central processing unit 701 may be configured to communicate with the memory 705, and execute a series of instruction operations in the memory 705 on the access device 700.
  • the downlink device 700 may also include one or more power sources 702, one or more wired or wireless network interfaces 703, one or more transceivers 704, and / or, one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • operating systems such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and more.
  • the process performed by the central processing unit 701 in the access device 700 in this embodiment is similar to the method process described in the foregoing embodiments shown in FIG. 2 and FIG. 3, and details are not described herein again.
  • An embodiment of the present application further provides a computer storage medium, which is used to store computer software instructions used by the aforementioned access device, and includes a program for executing the program designed for the access device.
  • An embodiment of the present application further provides a computer program product, the computer program product includes computer software instructions, and the computer software instructions can be loaded by a processor to implement the method flow in the embodiment shown in FIG. 2 and FIG. 3.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated unit When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium. , Including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention porte, selon des modes de réalisation, sur un procédé d'accès au réseau, sur un équipement de locaux d'abonné sans fil (CPE) et sur un dispositif d'accès, utilisé pour transmettre une adresse de contrôle d'accès au support (MAC) de l'équipement CPE à un dispositif d'accès selon une règle d'apprentissage de protocole ARP configurée par l'équipement CPE, permettant au dispositif d'accès de communiquer avec un dispositif d'un réseau étendu (WAN) par le biais de l'adresse de contrôle MAC de l'équipement CPE. Le procédé selon un mode de réalisation de la présente invention comprend les opérations suivantes : un équipement CPE reçoit une requête de protocole ARP transmise par un dispositif d'accès, la requête de protocole ARP étant utilisée pour demander une adresse de contrôle MAC d'une passerelle, la requête de protocole ARP comprenant une adresse de protocole Internet (IP) de réseau WAN et une adresse IP de passerelle et l'adresse IP de réseau WAN étant une adresse IP configurée par le dispositif d'accès pour lui-même ; lors de la détermination, selon une règle d'apprentissage de protocole ARP préconfigurée, que la requête de protocole ARP comprend l'adresse IP de réseau WAN et l'adresse IP de passerelle, l'équipement CPE transmet une réponse de protocole ARP au dispositif d'accès par le biais de l'adresse IP de passerelle, la réponse de protocole ARP comprenant une adresse de contrôle MAC de l'équipement CPE et l'adresse de contrôle MAC de l'équipement CPE étant utilisée par le dispositif d'accès pour transmettre des données de service à un dispositif d'un réseau WAN.
PCT/CN2019/101350 2018-08-20 2019-08-19 Procédé d'accès au réseau, équipement de locaux d'abonné sans fil et dispositif d'accès WO2020038325A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810951425.9A CN110855804A (zh) 2018-08-20 2018-08-20 网络接入方法、无线终端接入设备以及下接设备
CN201810951425.9 2018-08-20

Publications (1)

Publication Number Publication Date
WO2020038325A1 true WO2020038325A1 (fr) 2020-02-27

Family

ID=69592259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/101350 WO2020038325A1 (fr) 2018-08-20 2019-08-19 Procédé d'accès au réseau, équipement de locaux d'abonné sans fil et dispositif d'accès

Country Status (2)

Country Link
CN (1) CN110855804A (fr)
WO (1) WO2020038325A1 (fr)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261165A (zh) * 2020-09-10 2021-01-22 深圳市广和通无线股份有限公司 通信方法、系统、装置、计算机设备和存储介质
CN112714027A (zh) * 2021-01-26 2021-04-27 浙江简捷物联科技有限公司 物联网终端设备接入网关的方法和系统
CN113132993A (zh) * 2021-04-23 2021-07-16 杭州网银互联科技股份有限公司 应用在无线局域网中的数据窃取识别系统及其使用方法
CN113783976A (zh) * 2021-09-24 2021-12-10 阿里巴巴达摩院(杭州)科技有限公司 地址分配方法、直播终端的地址分配方法及设备
CN114285522A (zh) * 2021-12-23 2022-04-05 中国电信股份有限公司 本地服务区的访问控制方法、系统和介质
CN115150363A (zh) * 2022-06-27 2022-10-04 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197763A (zh) * 2006-12-08 2008-06-11 昂达博思公司 利用减少的地址头通过空中接口发送数据的系统和方法
WO2009098530A1 (fr) * 2008-02-05 2009-08-13 Telefonaktiebolaget Lm Ericsson (Publ) Combinaison de dispositifs à adresse locale et de dispositifs à adresse de réseau étendu (wan) sur un seul réseau
CN103227787A (zh) * 2013-04-09 2013-07-31 清华大学 一种基于ARP代理的4over6隧道自动建立方法
CN103458067A (zh) * 2013-09-27 2013-12-18 武汉虹信通信技术有限责任公司 一种wlan mac地址伪装方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9577797B1 (en) * 2014-02-28 2017-02-21 CSC Holdings, LLC System and method for the detection and remediation of non-responsive customer premises equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197763A (zh) * 2006-12-08 2008-06-11 昂达博思公司 利用减少的地址头通过空中接口发送数据的系统和方法
WO2009098530A1 (fr) * 2008-02-05 2009-08-13 Telefonaktiebolaget Lm Ericsson (Publ) Combinaison de dispositifs à adresse locale et de dispositifs à adresse de réseau étendu (wan) sur un seul réseau
CN103227787A (zh) * 2013-04-09 2013-07-31 清华大学 一种基于ARP代理的4over6隧道自动建立方法
CN103458067A (zh) * 2013-09-27 2013-12-18 武汉虹信通信技术有限责任公司 一种wlan mac地址伪装方法及系统

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261165A (zh) * 2020-09-10 2021-01-22 深圳市广和通无线股份有限公司 通信方法、系统、装置、计算机设备和存储介质
CN112261165B (zh) * 2020-09-10 2023-05-05 深圳市广和通无线股份有限公司 通信方法、系统、装置、计算机设备和存储介质
CN112714027A (zh) * 2021-01-26 2021-04-27 浙江简捷物联科技有限公司 物联网终端设备接入网关的方法和系统
CN113132993A (zh) * 2021-04-23 2021-07-16 杭州网银互联科技股份有限公司 应用在无线局域网中的数据窃取识别系统及其使用方法
CN113132993B (zh) * 2021-04-23 2023-03-24 杭州网银互联科技股份有限公司 应用在无线局域网中的数据窃取识别系统及其使用方法
CN113783976A (zh) * 2021-09-24 2021-12-10 阿里巴巴达摩院(杭州)科技有限公司 地址分配方法、直播终端的地址分配方法及设备
CN113783976B (zh) * 2021-09-24 2024-05-03 杭州阿里云飞天信息技术有限公司 地址分配方法、直播终端的地址分配方法及设备
CN114285522A (zh) * 2021-12-23 2022-04-05 中国电信股份有限公司 本地服务区的访问控制方法、系统和介质
CN114285522B (zh) * 2021-12-23 2024-04-30 中国电信股份有限公司 本地服务区的访问控制方法、系统和介质
CN115150363A (zh) * 2022-06-27 2022-10-04 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质
CN115150363B (zh) * 2022-06-27 2024-05-10 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质

Also Published As

Publication number Publication date
CN110855804A (zh) 2020-02-28

Similar Documents

Publication Publication Date Title
WO2020038325A1 (fr) Procédé d'accès au réseau, équipement de locaux d'abonné sans fil et dispositif d'accès
US10855654B2 (en) Session identifier for a communication session
WO2019085803A1 (fr) Procédé, dispositif et système de communication de l'internet des objets
WO2018059284A1 (fr) Procédé de transmission de données et équipement de réseau
US8706908B2 (en) System, method and apparatus for media access control (MAC) address proxying
WO2019205952A1 (fr) Procédé et appareil de traitement d'informations
US20200119941A1 (en) BRAS System-Based Packet Encapsulation Method and Apparatus
US10574477B2 (en) Priority tagging based solutions in fc sans independent of target priority tagging capability
US10348624B2 (en) Virtual machine data flow management method and system
US20130058256A1 (en) Port mapping method and apparatus, and communication system
US8543706B2 (en) Communication module for connecting application program to virtual private network
US7421506B2 (en) Load balancer for multiprocessor platforms
US20140105067A1 (en) Method, Device and System for Starting Routing Function and Transmitting Data
CN108259632B (zh) 一种cgn实现方法及装置
WO2020253631A1 (fr) Procédé, dispositif et système de configuration d'adresse ip
US20050232273A1 (en) Communications system and a gateway device
CN110012118B (zh) 一种提供网络地址转换nat服务的方法及控制器
EP2466796A1 (fr) Procédé d'accès utilisateur, système et serveur d'accès, dispositif d'accès
JP6665190B2 (ja) ネットワーク共有実施方法及び装置
JP2023530190A (ja) IPv6ネットワーク通信方法、装置、及びシステム
EP3823255B1 (fr) Appareil d'accès et procédé réalisé par l'appareil d'accès pour connecter un dispositif utilisateur au réseau
US11005706B2 (en) Method for configuring forwarding table for user equipment, apparatus, and system
WO2016034006A1 (fr) Procédé d'émission de paquets et dispositif d'accès
WO2017166038A1 (fr) Procédé et terminal de communication
EP3796602B1 (fr) Système de réseau, centre de fonctionnement de réseau, dispositif de réseau et programme

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

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

Country of ref document: EP

Kind code of ref document: A1