CN115175244A - 5G router load sharing method and system - Google Patents

5G router load sharing method and system Download PDF

Info

Publication number
CN115175244A
CN115175244A CN202210712589.2A CN202210712589A CN115175244A CN 115175244 A CN115175244 A CN 115175244A CN 202210712589 A CN202210712589 A CN 202210712589A CN 115175244 A CN115175244 A CN 115175244A
Authority
CN
China
Prior art keywords
router
network
real
local area
virtual local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210712589.2A
Other languages
Chinese (zh)
Inventor
王斌
谭刘颗
黄林冰
王建国
谭兴章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Tianguan Electronic Information Technology Co ltd
Original Assignee
Hunan Tianguan Electronic Information Technology Co ltd
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 Hunan Tianguan Electronic Information Technology Co ltd filed Critical Hunan Tianguan Electronic Information Technology Co ltd
Priority to CN202210712589.2A priority Critical patent/CN115175244A/en
Publication of CN115175244A publication Critical patent/CN115175244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0925Management thereof using policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0958Management thereof based on metrics or performance parameters
    • H04W28/0967Quality of Service [QoS] parameters
    • H04W28/0975Quality of Service [QoS] parameters for reducing delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/14Backbone network devices

Landscapes

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

Abstract

The invention relates to the technical field of network communication, and discloses a 5G router load sharing method and a system, wherein the method isolates first real-time terminal equipment data from second real-time terminal equipment data in each virtual local area network through a 5G router, shares the first real-time terminal data to a 5G channel for forwarding, and shares the second real-time terminal data to a wired channel for forwarding, so that the load pressure of a 5G router product can be reduced, and the probability of time delay or packet loss is reduced.

Description

5G router load sharing method and system
Technical Field
The invention relates to the technical field of network communication, in particular to a method and a system for sharing a 5G router load.
Background
With the rapid development of network Communication Technology, the 5G (5 th Generation Mobile Communication Technology) products account for an increasing proportion of people's lives, and some 5G routing products in the industry have wired WAN uplink and can also uplink through a 5G cellular network, so that the device has two data channels connected with an external network. Most manufacturers do not have the simultaneous online of the wire and the 5G, do not transmit data flow simultaneously, and only have single-line transmission, that is, do not share load. Many 5G channels only have backup function, and only when a line fails, the 5G channel is switched to transmit data, and a short network interruption phenomenon occurs in the switching process. Therefore, the load pressure of the existing 5G routing product is large, and the situation of time delay or packet loss is easy to occur.
Disclosure of Invention
The invention provides a method and a system for sharing a load of a 5G router, which aim to solve the problems that the load pressure of the existing 5G router product is large, and delay or packet loss is easy to occur.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a method for sharing a load of a 5G router, which is applied to a networking, where the networking includes a terminal, a layer two switch and a 5G router, one end of the layer two switch is connected to the terminal, the other end of the layer two switch is connected to the 5G router, and a virtual local area network configuration of the 5G router is correspondingly consistent with a virtual local area network configuration of the layer two switch; the method comprises the following steps:
dividing each terminal into different virtual local area networks;
the 5G router establishes corresponding dhcp servers according to the number of virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the corresponding virtual local area networks of the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area networks;
the 5G router isolates the first real-time terminal equipment data and the second real-time terminal equipment data in each virtual local area network, shares the first real-time terminal data to a 5G channel for forwarding, shares the second real-time terminal data to a wired channel for forwarding, and the first real-time is higher than the second real-time.
Optionally, the method further comprises:
and under the condition that the line network fails, the 5G router modifies the corresponding network segment outlet to other normal lines until the failed line is recovered to be normal, and the 5G router modifies the corresponding network segment outlet back to the original line.
Optionally, the dividing the terminals into different virtual local area networks includes:
and dividing each terminal into different virtual local area networks according to the real-time degree of the terminal or the MAC address of the terminal.
Optionally, the sharing the first real-time terminal data to the 5G channel for forwarding, and the sharing the second real-time terminal data to the wired channel for forwarding include:
the 5G router adopts a strategy-establishing routing mode to share the first real-time terminal data to the 5G channel for forwarding, and share the second real-time terminal data to the wired channel for forwarding, or,
the 5G router shares the first real-time terminal data to the 5G channel for forwarding and shares the second real-time terminal data to the wired channel for forwarding by adopting a virtual route creating and forwarding mode.
Optionally, the policy routing method includes:
under the condition that the wired and 5G line networks are normal, the 5G router configures a route outlet as a 5G channel based on a source ip address as a B network segment address under a first virtual local area network by formulating a strategy, and forwards the address through the 5G cellular network 1, wherein the default route outlet is a wired interface, the A network segment is forwarded by a wired channel in a default mode, and the priority of the configured strategy route is greater than that of the default route;
and under the condition that other network segments exist and the devices have multiple 5G cards, forwarding the network segments to the corresponding 5G cellular network in a mode of adding strategies, wherein each strategy corresponds to one routing outlet.
Optionally, the virtual route forwarding method includes:
the 5G route creates virtual route instances a and b, and binds the wired network interface to the instance a and binds the 5G network interface to the instance b;
under the condition that the wired line network and the 5G line network are normal, an intranet interface 1 corresponding to a first virtual local area network is bound to an example a, an intranet interface 2 corresponding to a second virtual local area network is bound to an example b, and sharing forwarding is carried out based on interfaces corresponding to the examples;
and under the condition that other network segments exist and the devices have more than 5G cards, binding corresponding network interfaces for forwarding by adding virtual routing instances, wherein each virtual routing instance corresponds to one routing interface.
In a second aspect, the present application provides a 5G router load sharing system, which is applied to networking, where the networking includes a terminal, a two-layer switch and a 5G router, one end of the two-layer switch is connected to the terminal, the other end of the two-layer switch is connected to the 5G router, and the virtual local area network configuration of the 5G router is correspondingly consistent with that of the two-layer switch; the system comprises:
the dividing module is used for dividing each terminal into different virtual local area networks;
the 5G router is used for creating corresponding dhcp servers according to the number of virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the virtual local area network corresponding to the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area network;
the 5G router is further configured to isolate first real-time terminal device data from second real-time terminal device data in each virtual local area network, share the first real-time terminal device data to a 5G channel for forwarding, and share the second real-time terminal device data to a wired channel for forwarding, where the first real-time is higher than the second real-time.
In a third aspect, the present application provides a 5G router load sharing system, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the computer program.
Has the advantages that:
according to the load sharing method of the 5G router, the 5G router isolates the first real-time terminal equipment data from the second real-time terminal equipment data in each virtual local area network, shares the first real-time terminal equipment data to the 5G channel for forwarding, shares the second real-time terminal equipment data to the wired channel for forwarding, and can reduce the load pressure of a 5G router product and reduce the probability of time delay or packet loss.
Drawings
Fig. 1 is a flowchart of a method for load sharing of a 5G router according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of a networking model of a preferred embodiment of the present invention;
FIG. 3 is a flow chart of a method for creating a policy routing according to the preferred embodiment of the present invention;
fig. 4 is a flowchart of a method for creating a virtual route according to the preferred embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described clearly and completely below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.
It should be understood that the method for sharing the load of the 5G router provided by the present application can be applied to wired and 5G uplink, and also can be applied to dual 5G (such as mobile network and telecommunication network) uplink. This is by way of example only and not by way of limitation.
Referring to fig. 1, a method for sharing a load of a 5G router provided in the present application is applied to networking, where the networking includes a terminal, a second-layer switch and a 5G router, one end of the second-layer switch is connected to the terminal, the other end of the second-layer switch is connected to the 5G router, and a virtual local area network configuration of the 5G router is correspondingly consistent with a virtual local area network configuration of the second-layer switch; the method comprises the following steps:
dividing each terminal into different virtual local area networks;
the 5G router establishes corresponding dhcp servers according to the number of virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the corresponding virtual local area networks of the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area networks;
the 5G router isolates the first real-time terminal equipment data and the second real-time terminal equipment data in each virtual local area network, shares the first real-time terminal data to a 5G channel for forwarding, shares the second real-time terminal data to a wired channel for forwarding, and the first real-time is higher than the second real-time.
In this embodiment, a networking model is shown in fig. 2, and in fig. 2, the terminal device includes a video conference, an IP phone, a PC, and a wireless AP, where the video conference and the IP phone are high-real-time communication terminals, and the PC and the wireless AP are terminals with low real-time requirements. Each two-layer switch is connected with the 5G router through one network cable, or two network cables can be connected at two ports. If one network line is connected, the message sent to the 5G router by the two-layer switch needs to carry the 802.1Q frame header, and the VLAN information is carried to the 5G router. If two network lines and two ports are in butt joint, the ports connected with the two ends of the equipment are configured to be consistent by default VLAN, so that the port connected with the two-layer switch and the 5G router does not need to carry an 802.1Q frame header when sending messages.
According to the load sharing method of the 5G router, the 5G router isolates the first real-time terminal device data from the second real-time terminal device data in each virtual local area network, shares the first real-time terminal device data to the 5G channel for forwarding, shares the second real-time terminal device data to the wired channel for forwarding, and can reduce the load pressure of a 5G router product and reduce the probability of time delay or packet loss.
Optionally, the method further comprises:
and under the condition that the line network fails, the 5G router modifies the corresponding network segment outlet to other normal lines until the failed line is recovered to be normal, and the 5G router modifies the corresponding network segment outlet back to the original line.
Thus, the switching time delay is very low, and the backup purpose can be achieved.
Optionally, the dividing the terminals into different virtual local area networks includes:
and dividing each terminal into different virtual local area networks according to the real-time degree of the terminal or the MAC address of the terminal.
Optionally, the sharing the first real-time terminal data to a 5G channel for forwarding, and the sharing the second real-time terminal data to a wired channel for forwarding include:
the 5G router adopts a strategy-establishing routing mode to share the first real-time terminal data to the 5G channel for forwarding, and share the second real-time terminal data to the wired channel for forwarding, or,
the 5G router shares the first real-time terminal data to the 5G channel for forwarding and shares the second real-time terminal data to the wired channel for forwarding by adopting a virtual route creating and forwarding mode.
In this way, the traffic load is shared by the 5G routing product, that is, the wired and 5G routing products share part of data transmission at the same time. Therefore, the burden of the original wire transmission is reduced, the phenomenon of time delay or packet loss caused by the congestion of a single wire line is avoided, and meanwhile, the purpose of improving the transmission efficiency can be achieved due to the fact that the 5G network has the characteristics of high speed, low time delay and the like.
Optionally, the policy routing method includes:
under the condition that the wired and 5G line networks are normal, the 5G router configures a route outlet as a 5G channel based on a source ip address as a B network segment address under a first virtual local area network by formulating a strategy, and forwards the address through the 5G cellular network 1, wherein the default route outlet is a wired interface, the A network segment is forwarded by a wired channel in a default mode, and the priority of the configured strategy route is greater than that of the default route;
and under the condition that other network segments exist and the devices have multiple 5G cards, forwarding the network segments to the corresponding 5G cellular network in a mode of adding strategies, wherein each strategy corresponds to one routing outlet.
Specifically, in an example, please refer to fig. 3, the steps of transmitting in the policy routing manner specifically include:
it should be noted that the main reason why the 5G router needs to implement load sharing by adding policy is that the router has only one routing protocol stack and one routing table, and generally speaking, if it needs to go to the external network, it is directed to the external network interface (WAN port) of the router by configuring a default route. If there are several outer network interfaces, the destination IP address accessed by the terminal user can be reached from any outer network interface, and the default route next hop (which is the outer network interface gateway address) is fixed, so that only one fixed line is selected to be used for getting on the outer network, and other outer network lines are in idle state, resulting in underutilization of resources.
First, ports connected to high-real-time terminal devices are divided into the same VLAN at the switch, such as the conference tv and ip phone shown in fig. 2, and are divided into VLAN2. Other terminals with lower real-time requirements are divided into another VLAN, such as the PC computer and the wireless AP in fig. 1, and are divided into VLAN1. The method for dividing the VLAN can be divided based on the port and also based on the MAC address of the terminal equipment.
Each two-layer switch is connected with the 5G router through one network cable, or two network cables can be connected at two ports. If one network line is connected, the message sent to the 5G router by the two-layer switch needs to carry the 802.1Q frame header, and the VLAN information is carried to the 5G router. If two network lines and two ports are in butt joint, the ports connected with the two ends of the equipment are configured to be consistent by default VLAN, so that the port connected with the two-layer switch and the 5G router does not need to carry an 802.1Q frame header when sending messages. As shown in fig. 2, the 5G router also needs to configure corresponding VLAN1 and VLAN2, and must be consistent with the layer two switch VLAN configuration.
The 5G router creates a corresponding DHCP-server according to the created VLAN number, such as that the DHCP-server1 in figure 2 binds to VLAN1, and the DHCP-server2 binds to VLAN2. That is, all the devices of the terminal under VLAN1 are in the same network segment A, and the IP address is allocated by DHCP-server1, the IP address of the network side in VLAN1 of the 5G router and the terminal device are in the same network segment, and are used as the gateway of the terminal device under VLAN1. All the devices of the terminal under VLAN2 are in the same network segment B, and the IP addresses are distributed by DHCP-server2, the IP address of the network side in VLAN2 of the 5G router and the terminal device are in the same network segment, and are used as the gateway of the terminal device under VLAN2.
The above VLAN configuration is not limited to the configuration of only 2 VLANs, nor to the configuration of VLAN1 or VLAN2. The configuration of the dhcp-server is not limited to the configuration of only 2, nor to the configuration of the dhcp-server1 or the dhcp-server2. Can be flexibly configured according to the needs of users.
Further, the 5G router determines whether the message forwarding outlets of the terminal devices under VLAN1 and VLAN2 are wired or 5G by creating a policy routing. If the system detects that the networks of the wired line and the 5G line are normal, the 5G router sets a policy based on the source ip address as the address of the B network segment under the VLAN1, the routing outlet is a 5G interface, and the routing outlet is forwarded through the 5G cellular network 1. And if the default routing outlet of the system is a wired WAN interface, the A network segment defaults to a wired interface. The configuration policy route priority is greater than the default route. If other network segments exist and the device has multiple 5G cards, the device can be forwarded to the corresponding 5G cellular network by adding other strategies, such as forwarding by the 5G cellular network 2 in fig. 2, so that load sharing is realized, and smoothness and real-time performance of data traffic are ensured. If the 5G router system detects that a certain line network has a fault in the network using process, the 5G router automatically modifies the route outlet of the strategy route to other lines, so that the network segment network with the fault is recovered immediately. If the system detects that the original line is recovered, the 5G router will automatically switch the corresponding network segment back to the original line. Thus, the transmission is realized by adopting a policy routing mode. This is by way of example only and not by way of limitation.
Optionally, the virtual route forwarding method includes:
the 5G route creates virtual route instances a and b, and binds the wired network interface to the instance a and the 5G network interface to the instance b;
under the condition that the wired line network and the 5G line network are normal, an intranet interface 1 corresponding to a first virtual local area network is bound with an example a, an intranet interface 2 corresponding to a second virtual local area network is bound with an example b, and sharing forwarding is carried out based on interfaces corresponding to the examples;
and under the condition that other network segments exist and the devices have more than 5G cards, binding corresponding network interfaces for forwarding by adding virtual routing instances, wherein each virtual routing instance corresponds to one routing interface.
Specifically, in an example, referring to fig. 4, the step of transmitting in a virtual route (vrf) forwarding manner specifically includes:
notably, vrf differs from the policy routing sharing method in that vrf is virtually modeled as multiple routing protocol stacks on a 5G router, each having a corresponding IP routing table. The different protocol stacks and their accompanying routing tables are completely independent. Normally a router typically has only one routing protocol stack and one routing table.
First, ports connected to high-real-time terminal devices are divided into the same VLAN on the switch, such as a video conference, an ip phone, and the like shown in fig. 2, and are divided into VLAN2. Other terminals with lower real-time requirements are divided into another VLAN, such as the PC computer and the wireless AP in fig. 2, and are divided into VLAN1. The method for dividing the VLAN can be divided based on the port and also based on the MAC address of the terminal equipment.
Each two-layer switch is connected with the 5G router through one network cable, or two network cables can be connected at two ports. If one network line is connected, the message sent to the 5G router by the two-layer switch needs to carry the 802.1Q frame header, and the VLAN information is carried to the 5G router. If two network lines and two ports are in butt joint, the ports connected with the two ends of the equipment are configured to be consistent by default VLAN, so that the port connected with the two-layer switch and the 5G router does not need to carry an 802.1Q frame header when sending messages. As shown in fig. 2, the 5G router also needs to configure corresponding VLAN1 and VLAN2, and must be consistent with the layer two switch VLAN configuration.
The 5G router creates a corresponding DHCP-server according to the created VLAN number, such as that the DHCP-server1 in figure 2 binds to VLAN1, and the DHCP-server2 binds to VLAN2. That is, all the devices of the terminal under VLAN1 are in the same network segment A, and the IP address is allocated by DHCP-server1, the IP address of the network side in VLAN1 of the 5G router and the terminal device are in the same network segment, and are used as the gateway of the terminal device under VLAN1. All the devices of the terminal under VLAN2 are in the same network segment B, and the IP addresses are distributed by DHCP-server2, the IP address of the network side in VLAN2 of the 5G router and the terminal device are in the same network segment, and are used as the gateway of the terminal device under VLAN2.
The configuration of the above VLANs is not limited to the configuration of only 2 VLANs, nor to the configuration of VLAN1 or VLAN2. The configuration of the dhcp-server is not limited to the configuration of only 2, nor to the configuration of the dhcp-server1 or the dhcp-server2. Can be flexibly configured according to the needs of users.
Further, the 5G route creates vrf instances a and b, and binds the wired network WAN interface (i.e. the wired external network ip address) to instance a, and binds the 5G network interface (i.e. the ip address acquired by the 5G cellular network) to instance b. If the system detects that the networks of the two lines, namely the wired line and the 5G line, are normal, an intranet interface 1 corresponding to the VLAN1 (namely a gateway of the terminal device under the VLAN 1) is bound to an instance a, and an intranet interface 2 corresponding to the VLAN2 (namely a gateway of the terminal device under the VLAN 2) is bound to an instance b. If other network segments exist and the devices have more 5G cards, the corresponding network interfaces can be bound by adding other vrf instances, so as to forward to the corresponding 5G cellular network, such as the 5G cellular network 2 in fig. 2, thereby realizing load sharing and ensuring smoothness and real-time performance of data traffic. If the 5G router system detects that a network of a certain network fails in the using process of the network, the 5G router automatically binds the intranet interface to vrf instances of other normal lines, so that the network of the failed network segment is recovered immediately. If the system detects that the original line is recovered, the 5G router will automatically switch the corresponding network segment back to the original line. Thus, the transmission is realized by adopting a virtual route mode. This is by way of example only and not by way of limitation.
The application also provides a 5G router load sharing system, which is applied to networking, wherein the networking comprises a terminal, a two-layer switch and a 5G router, one end of the two-layer switch is connected with the terminal, the other end of the two-layer switch is connected with the 5G router, and the virtual local area network configuration of the 5G router is correspondingly consistent with the virtual local area network configuration of the two-layer switch; the system comprises:
the dividing module is used for dividing each terminal into different virtual local area networks;
the 5G router is used for creating corresponding dhcp servers according to the number of virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the virtual local area network corresponding to the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area network;
the 5G router is further configured to isolate the first real-time terminal device data from the second real-time terminal device data in each virtual local area network, share the first real-time terminal device data to a 5G channel for forwarding, and share the second real-time terminal device data to a wired channel for forwarding, where the first real-time is higher than the second real-time.
The 5G router load sharing system can implement the embodiments of the 5G router load sharing method, and can achieve the same beneficial effects, and details are not repeated here.
The application also provides a 5G router load sharing system, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program. The 5G router load sharing system can implement the embodiments of the 5G router load sharing method described above, and can achieve the same beneficial effects, and details are not repeated here.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.

Claims (8)

1. A5G router load sharing method is applied to networking, the networking comprises a terminal, a two-layer switch and a 5G router, one end of the two-layer switch is connected with the terminal, the other end of the two-layer switch is connected with the 5G router, and the virtual local area network configuration of the 5G router is correspondingly consistent with the virtual local area network configuration of the two-layer switch; characterized in that the method comprises:
dividing each terminal into different virtual local area networks;
the 5G router establishes corresponding dhcp servers according to the number of virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the corresponding virtual local area networks of the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area networks;
the 5G router isolates the first real-time terminal equipment data and the second real-time terminal equipment data in each virtual local area network, shares the first real-time terminal data to a 5G channel for forwarding, shares the second real-time terminal data to a wired channel for forwarding, and the first real-time is higher than the second real-time.
2. The 5G router load sharing method according to claim 1, wherein the method further comprises:
and under the condition that the line network fails, the 5G router modifies the corresponding network segment outlet to the rest normal lines until the failed line is recovered to be normal, and the 5G router modifies the corresponding network segment outlet back to the original line.
3. The method as claimed in claim 1, wherein the dividing the terminals into different virtual lans includes:
and dividing each terminal into different virtual local area networks according to the real-time degree of the terminal or the MAC address of the terminal.
4. The method as claimed in claim 1, wherein the step of sharing the first real-time terminal data to the 5G channel for forwarding and the step of sharing the second real-time terminal data to the wired channel for forwarding includes:
the 5G router adopts a strategy-establishing routing mode to share the first real-time terminal data to the 5G channel for forwarding, and share the second real-time terminal data to the wired channel for forwarding, or,
the 5G router shares the first real-time terminal data to the 5G channel for forwarding and shares the second real-time terminal data to the wired channel for forwarding by adopting a virtual route creating and forwarding mode.
5. The 5G router load sharing method according to claim 4, wherein the policy routing manner includes:
under the condition that the wired and 5G line networks are normal, the 5G router configures a route outlet as a 5G channel based on a source ip address as a B network segment address under a first virtual local area network by formulating a strategy, and forwards the address through the 5G cellular network 1, wherein the default route outlet is a wired interface, the A network segment is forwarded by a wired channel in a default mode, and the priority of the configured strategy route is greater than that of the default route;
and under the condition that other network segments exist and the devices have multiple 5G cards, forwarding the network segments to the corresponding 5G cellular network in a mode of adding strategies, wherein each strategy corresponds to one routing outlet.
6. The method as claimed in claim 4, wherein the virtual router forwarding scheme includes:
the 5G route creates virtual route instances a and b, and binds the wired network interface to the instance a and the 5G network interface to the instance b;
under the condition that the wired line network and the 5G line network are normal, an intranet interface 1 corresponding to a first virtual local area network is bound to an example a, an intranet interface 2 corresponding to a second virtual local area network is bound to an example b, and sharing forwarding is carried out based on interfaces corresponding to the examples;
and under the condition that other network segments exist and the devices have more than 5G cards, binding corresponding network interfaces for forwarding by adding virtual routing instances, wherein each virtual routing instance corresponds to one routing interface.
7. A5G router load sharing system is applied to networking, the networking comprises a terminal, a two-layer switch and a 5G router, one end of the two-layer switch is connected with the terminal, the other end of the two-layer switch is connected with the 5G router, and the virtual local area network configuration of the 5G router is correspondingly consistent with the virtual local area network configuration of the two-layer switch; characterized in that the system comprises:
the dividing module is used for dividing each terminal into different virtual local area networks;
the 5G router is used for creating corresponding dhcp servers according to the number of the virtual local area networks, wherein all terminals in the same virtual local area network are in the same network segment, the IP addresses of the terminals are distributed by the corresponding dhcp servers, and the network side IP addresses and the terminal equipment in the virtual local area networks corresponding to the 5G router are in the same network segment and are used as gateways of the terminal equipment under the virtual local area networks;
the 5G router is further configured to isolate first real-time terminal device data from second real-time terminal device data in each virtual local area network, share the first real-time terminal device data to a 5G channel for forwarding, and share the second real-time terminal device data to a wired channel for forwarding, where the first real-time is higher than the second real-time.
8. A 5G router load sharing system comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
CN202210712589.2A 2022-06-16 2022-06-16 5G router load sharing method and system Pending CN115175244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210712589.2A CN115175244A (en) 2022-06-16 2022-06-16 5G router load sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210712589.2A CN115175244A (en) 2022-06-16 2022-06-16 5G router load sharing method and system

Publications (1)

Publication Number Publication Date
CN115175244A true CN115175244A (en) 2022-10-11

Family

ID=83487892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210712589.2A Pending CN115175244A (en) 2022-06-16 2022-06-16 5G router load sharing method and system

Country Status (1)

Country Link
CN (1) CN115175244A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116914759A (en) * 2023-09-11 2023-10-20 新乡市诺一达网络科技有限公司 Power distribution power supply system for electric power

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116914759A (en) * 2023-09-11 2023-10-20 新乡市诺一达网络科技有限公司 Power distribution power supply system for electric power
CN116914759B (en) * 2023-09-11 2024-05-03 韶关市擎能设计有限公司 Power distribution power supply system for electric power

Similar Documents

Publication Publication Date Title
RU2530312C2 (en) Stable connection to networks supporting technology of gateway via routing protocol as to state of provider communication channel (plsb)
CN100583773C (en) Method and device for controlling data link layer elements with network layer elements
US9166807B2 (en) Transmission of layer two (L2) multicast traffic over multi-protocol label switching networks
EP2391071B1 (en) Reliability processing methods and systems in the networking of metro ethernet network providing multi-service
EP1816796B1 (en) Bi-directional forwarding in ethernet-based service domains over networks
EP2533475B1 (en) Method and system for host route reachability in packet transport network access ring
US7782856B1 (en) Forwarding data packets having tags conforming to different formats
EP4016932A1 (en) Evpn and vpls coexistence method, apparatus, and system
US8873431B1 (en) Communications system and method for maintaining topology in a VLAN environment
CN101374075A (en) Method, apparatus and system for protecting multicast source
CN109327318B (en) SDN management network architecture and method for establishing SDN management network
US10873527B2 (en) Link protection method in SDN, switching device, and network controller
US11546267B2 (en) Method for determining designated forwarder (DF) of multicast flow, device, and system
CN100461734C (en) Communication device and implementation method with the LAN/WAN port switching function
CN105490937A (en) Ethernet virtual network gateway switching method and service provider edge node equipment
US7385966B2 (en) Method for the automatic configuration of a IP telephony device and/or data, system and device implementing same
US20080186967A1 (en) Method for supporting source-specific multicast forwarding over ethernet and device thereof
CN115175244A (en) 5G router load sharing method and system
CN110199504B (en) Method and system for enhanced use of switching fabric within central office delivery point
CN112671650B (en) End-to-end SR control method, system and readable storage medium under SD-WAN scene
WO2021042674A1 (en) Method for configuring port state and network device
CN201204611Y (en) Control device for interconnect and intercommunication of telecom, China Union and CNC
CN115811499A (en) Method and equipment for designated forwarder DF election
Cisco Internetworking Design Basics
Cisco Internetworking Design Basics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination