CN114844830A - SD-WAN-based site traffic forwarding method, device and storage medium - Google Patents

SD-WAN-based site traffic forwarding method, device and storage medium Download PDF

Info

Publication number
CN114844830A
CN114844830A CN202210781496.5A CN202210781496A CN114844830A CN 114844830 A CN114844830 A CN 114844830A CN 202210781496 A CN202210781496 A CN 202210781496A CN 114844830 A CN114844830 A CN 114844830A
Authority
CN
China
Prior art keywords
site
address
wan
sites
site number
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
CN202210781496.5A
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.)
Nanling Technology Co ltd
Original Assignee
Nanling 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 Nanling Technology Co ltd filed Critical Nanling Technology Co ltd
Priority to CN202210781496.5A priority Critical patent/CN114844830A/en
Publication of CN114844830A publication Critical patent/CN114844830A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Abstract

The invention relates to the technical field of site interconnection, and discloses a site traffic forwarding method, a site traffic forwarding device and a storage medium based on an SD-WAN (secure digital-Wide area network), wherein the method comprises the following steps: packaging the IP address to be issued of each site and the corresponding site number to a target routing protocol to obtain routing data issued to other sites; other sites establish a mapping relation between a preset IP address and a site number according to the routing data; each site determines a corresponding IP address according to the flow of the message to be forwarded; inquiring the site number corresponding to the IP address through a mapping relation between the preset IP address and the site number; forwarding the message flow to be forwarded according to the site number and a configured site-based strategy; by the method, the serial numbers of the sites are packaged, and then the message flow is forwarded through the configured strategy based on the sites, so that the flow forwarding efficiency can be effectively improved, and the problem of corresponding strategy adjustment caused by the change of the IP addresses of the sites is solved.

Description

SD-WAN-based site traffic forwarding method, device and storage medium
Technical Field
The invention relates to the technical field of site interconnection, in particular to a site traffic forwarding method, a site traffic forwarding device, site traffic forwarding equipment and a storage medium based on an SD-WAN (secure digital-Wide area network).
Background
The SD-WAN system brings unprecedented convenience to an enterprise, for example, the SD-WAN system can solve the problem of interconnection of sites, but in practical application, a policy for configuring traffic between sites is often required, and a currently common policy configuration mode is implemented by matching a five-tuple, where the five-tuple includes a source IP, a destination IP, a source port, a destination port, and a protocol, but the policy configuration mode has a disadvantage that an operation and maintenance person must know an IP allocation condition of each site in advance, but in practical situations, a site does not know an IP address in advance, and once an IP address of a site changes, a configured corresponding policy is also adjusted continuously, which brings great inconvenience to the operation and maintenance of the SD-WAN and causes low efficiency of forwarding traffic between sites.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a site traffic forwarding method, a site traffic forwarding device and a storage medium based on an SD-WAN (secure digital-to-WAN), and aims to solve the technical problem that the efficiency of forwarding traffic between sites is low due to the fact that a strategy needs to be adjusted continuously due to the change of IP (Internet protocol) addresses of the sites.
In order to achieve the above object, the present invention provides a site traffic forwarding method based on SD-WAN, which includes the following steps:
packaging the IP address to be issued of each site and the corresponding site number to a target routing protocol to obtain routing data issued to other sites;
other sites establish a mapping relation between a preset IP address and a site number according to the routing data;
each station determines a corresponding IP address according to the flow of the message to be forwarded;
inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number;
and forwarding the message flow to be forwarded according to the site number and the configured strategy based on the site.
Optionally, before the encapsulating the to-be-published IP address of each site and the corresponding site number to the target routing protocol to obtain the routing data published to other sites, the method further includes:
acquiring IP addresses to be issued of all the sites;
and automatically learning the site number corresponding to the IP address to be issued through a control plane of a target routing protocol.
Optionally, the establishing, by the other station, a mapping relationship between a preset IP address and a station number according to the routing data includes:
when each site of the SD-WAN system carries out route release, the route data is sent to other sites;
when the other sites receive the routing data, extracting the published IP addresses and the site numbers in the routing data;
and establishing a mapping relation between a preset IP address and a site number according to the issued IP address and the site number.
Optionally, the querying, according to the mapping relationship between the preset IP address and the site number, the site number corresponding to the IP address includes:
obtaining a corresponding IP address set according to a mapping relation between a preset IP address and a site number;
and when the IP address exists in the IP address set, inquiring the IP address through the mapping relation between the preset IP address and the site number on a forwarding plane to obtain the corresponding site number.
Optionally, the forwarding the packet traffic to be forwarded according to the site number and the configured site-based policy includes:
judging whether the station has a configured strategy based on the station according to the station number;
and when the site has the configured site-based strategy, forwarding the message traffic to be forwarded to the corresponding site through the configured site-based strategy.
In addition, in order to achieve the above object, the present invention further provides a site traffic forwarding apparatus based on SD-WAN, including:
the packaging module is used for packaging the IP address to be published of each site and the corresponding site number to a target routing protocol to obtain routing data published to other sites;
the establishing module is used for establishing a mapping relation between a preset IP address and a site number by other sites according to the routing data;
the determining module is used for determining corresponding IP addresses according to the flow of the messages to be forwarded by each station;
the query module is used for querying the site number corresponding to the IP address through the mapping relation between the preset IP address and the site number;
and the forwarding module is used for forwarding the message flow to be forwarded according to the site number and the configured site-based strategy.
In addition, in order to achieve the above object, the present invention further provides a site traffic forwarding device based on SD-WAN, including: a memory, a processor, and a SD-WAN based site traffic forwarding program stored on the memory and executable on the processor, the SD-WAN based site traffic forwarding program configured to implement the SD-WAN based site traffic forwarding method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium, where the storage medium stores an SD-WAN based site traffic forwarding program, and the SD-WAN based site traffic forwarding program, when executed by a processor, implements the SD-WAN based site traffic forwarding method as described above.
According to the SD-WAN-based site traffic forwarding method, the IP addresses to be issued of all sites and the corresponding site numbers are encapsulated to a target routing protocol, so that routing data issued to other sites are obtained; other sites establish a mapping relation between a preset IP address and a site number according to the routing data; each station determines a corresponding IP address according to the flow of the message to be forwarded; inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number; forwarding the message flow to be forwarded according to the site number and a configured site-based strategy; by the method, each site number is encapsulated to the target routing protocol, and then the message flow is forwarded through the configured strategy based on the site, so that the flow forwarding efficiency can be effectively improved, and the problem of corresponding strategy adjustment caused by the change of the IP address of the site is solved.
Drawings
Fig. 1 is a schematic structural diagram of an SD-WAN based site traffic forwarding device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a site traffic forwarding method based on SD-WAN according to a first embodiment of the present invention;
fig. 3 is a BGP protocol encapsulation diagram of an embodiment of the SD-WAN based site traffic forwarding method of the present invention;
fig. 4 is a schematic diagram of an automatic learning station number according to an embodiment of the SD-WAN-based station traffic forwarding method of the present invention;
fig. 5 is a schematic diagram illustrating an IP address-site number establishment according to an embodiment of the SD-WAN-based site traffic forwarding method of the present invention;
fig. 6 is a schematic diagram illustrating a site route distribution according to an embodiment of the SD-WAN-based site traffic forwarding method of the present invention;
fig. 7 is a schematic diagram of a site-based policy configuration according to an embodiment of the SD-WAN-based site traffic forwarding method of the present invention;
fig. 8 is a flowchart illustrating a second embodiment of the SD-WAN based site traffic forwarding method according to the present invention;
fig. 9 is a functional module schematic diagram of a site traffic forwarding apparatus based on SD-WAN according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an SD-WAN based site traffic forwarding device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the SD-WAN based site traffic forwarding apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the architecture shown in fig. 1 does not constitute a limitation of SD-WAN based site traffic forwarding devices and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an SD-WAN based site traffic forwarding program therein.
In the SD-WAN based station traffic forwarding apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with the network integration platform workstation; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the SD-WAN based site traffic forwarding device of the present invention may be disposed in the SD-WAN based site traffic forwarding device, and the SD-WAN based site traffic forwarding device calls the SD-WAN based site traffic forwarding program stored in the memory 1005 through the processor 1001, and executes the SD-WAN based site traffic forwarding method provided in the embodiment of the present invention.
Based on the hardware structure, the invention provides the site traffic forwarding method embodiment based on the SD-WAN.
Referring to fig. 2, fig. 2 is a schematic flowchart of a site traffic forwarding method based on SD-WAN according to a first embodiment of the present invention.
In a first embodiment, the SD-WAN based site traffic forwarding method includes the following steps:
step S10, packaging the IP address to be issued of each site and the corresponding site number to the target routing protocol to obtain the routing data issued to other sites.
It should be noted that, an execution subject of the embodiment is a site traffic forwarding device based on SD-WAN, and may also be other devices that can implement the same or similar functions, such as an SD-WAN system, and the like.
It should be understood that the IP address to be forwarded refers to the IP address of the local route under each site, for example, there are two site CPEs, the number of the first site is 3000, the number of the second site is 3001, and the IP address of the local route under the first site includes, but is not limited to, 192.168.4.0/24 and 192.168.3.0/24, while the IP address of the local route under the second site includes, but is not limited to, 192.168.1.0/24 and 192.168.0.0/24, and at this time, 192.168.1.0/24, 192.168.0.0/24, 192.168.1.0/24 and 192.168.0.0/24 are the IP addresses to be issued of the respective sites, and in this embodiment, the site numbers and the IP addresses are in a one-to-many relationship.
It can be understood that the target routing Protocol refers to a Protocol adopted by each site when performing routing publishing, and the target routing Protocol includes a Border Gateway Protocol (BGP), a link state routing Protocol (OSPF), and other routing protocols, in this embodiment, the BGP Protocol is taken as an example for explanation, refer to fig. 3, and fig. 3 is a BGP Protocol encapsulation schematic diagram, which specifically is: the Site number uses Extended Communities Attribute (ECA) in BGP protocol, Type field is Type field, Site information is Site information, refer to section 5 in ietf rfc4360, that is, the value of the Type field high-order octet is 0x00 (IANA-accessible Type, transitive access ASes), and the value of the Type field low-order octet is 0x03(Route Origin Community), that is, the original BGP protocol is modified, specifically, the last 4 bytes of the BGP protocol are used to store the Site number, and encapsulation in the above manner can support 65536 sites.
Further, before step S10, the method further includes: acquiring IP addresses to be issued of all the sites; and automatically learning the site number corresponding to the IP address to be issued through a control plane of a target routing protocol.
It should be understood that after the to-be-published IP address of each site is obtained, each site device in the SD-WAN system automatically learns a site number corresponding to the to-be-published IP address through a routing protocol control plane, referring to fig. 4, where fig. 4 is a schematic diagram of automatically learning a site number, specifically: site: site1 and Site: site2 is each local route under site CPE, and the site number automatically learned by the IP address of the local route under the first site is 3000, and the site number automatically learned by the IP address of the local route under the second site is 3001.
And step S20, the other sites establish the mapping relation between the preset IP address and the site number according to the routing data.
It can be understood that the routing data refers to data issued by each site to other sites when performing routing issue, where the routing data includes an original issued IP address and an encapsulated site number, and with reference to fig. 5, fig. 5 is a schematic diagram established by an IP address-site number, specifically: the site CPE has two sites, namely a site with a site number of 3000 and a site with a site number of 3001, and the site with the site number of 3001 constructs a mapping relationship between the issued IP address and the site number of the site with the site number of 3000, that is, the mapping relationship of the site with the site number of 3000 is as follows: IP address 192.168.1.0/24, site number 3001; the IP address 192.168.0.0/24, the site number 3001, and the site number 3000 construct a mapping relationship between the published IP address and the site number of the site number 3001, that is, the mapping relationship of the site number 3001 is as follows: the IP address is 192.168.4.0/24, and the site number is 3000; the IP address is 192.168.3.0/24, site number 3000.
Further, step S20 includes: when each site of the SD-WAN system carries out route release, the route data is sent to other sites; when the other sites receive the routing data, extracting the published IP addresses and the site numbers in the routing data; and establishing a mapping relation between a preset IP address and a site number according to the issued IP address and the site number.
It should be understood that, when each site issues a route, it issues its own route data to other sites, and referring to fig. 6, fig. 6 is a schematic diagram of a site route issuing, specifically: the routing data issued by the site with the site number of 3000 is 192.168.4.0/24 and 192.168.3.0/24, the routing data issued by the site with the site number of 3001 is 192.168.1.0/24 and 192.168.0/24, the other sites refer to the sites except for the site, the site numbers of the routing data are extracted after the other sites receive the routing data, and then the mapping relation between the preset IP address and the site numbers is established by combining the original IP address.
And step S30, each station determines the corresponding IP address according to the message flow to be forwarded.
It should be understood that the packet traffic to be forwarded refers to the packet traffic that needs to be forwarded by each station, and the IP address refers to an IP address corresponding to the packet traffic to be forwarded.
And step S40, inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number.
It can be understood that, after the IP address corresponding to the packet traffic to be forwarded is determined, the site number corresponding to the IP address is queried through the mapping relationship between the preset IP address and the site number.
And step S50, forwarding the message traffic to be forwarded according to the site number and the configured strategy based on the site.
It should be understood that the site-based policy refers to a policy for forwarding packet traffic to be forwarded, the site-based policy is configured at each site, the site-based policy may be a UDP traffic policy for prohibiting to a site, a TCP traffic speed limit 10M policy for a site, and a WAN1 policy for TCP traffic optimization to a site, and referring to fig. 7, fig. 7 is a schematic diagram of the site-based policy configuration, specifically: the controller is a controller, the Site id is a Site number, and the Site-based policy configured at a Site with the Site number of 3000 is as follows: a site with a site number 3001, and a UDP traffic policy (UDP, drop) prohibited to the site; a site with the site number of 3001 and a TCP traffic speed limit 10M strategy (TCP, 10M) to the site; the site with the site number 3001 and the TCP traffic to the site prefer the WAN1 policy (routing special line), and the site-based policy configured at the site with the site number 3001 is as follows: and after determining the configured strategy based on the sites, forwarding the message traffic to be forwarded to the corresponding sites through the strategy based on the sites.
Further, step S50 includes: judging whether the station has a configured strategy based on the station according to the station number; and when the site has the configured site-based strategy, forwarding the message traffic to be forwarded to the corresponding site through the configured site-based strategy.
It can be understood that the site-based policy is configured at the control plane, that is, after the site number is obtained, it is determined whether the configured site-based policy exists, and if so, the site-based policy is applied, that is, the packet traffic to be forwarded is forwarded through the site-based policy.
In the embodiment, the IP address to be issued of each site and the corresponding site number are encapsulated to the target routing protocol, so that routing data issued to other sites are obtained; other sites establish a mapping relation between a preset IP address and a site number according to the routing data; each station determines a corresponding IP address according to the flow of the message to be forwarded; inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number; forwarding the message flow to be forwarded according to the site number and a configured site-based strategy; by the method, each site number is encapsulated to the target routing protocol, and then the message flow is forwarded through the configured strategy based on the site, so that the flow forwarding efficiency can be effectively improved, and the problem of corresponding strategy adjustment caused by the change of the IP address of the site is solved.
In an embodiment, as shown in fig. 8, the second embodiment of the site traffic forwarding method based on SD-WAN according to the present invention is proposed based on the first embodiment, and the step S20 includes:
step S201, obtaining a corresponding IP address set according to a mapping relationship between a preset IP address and a site number.
It should be understood that the IP address set refers to a set formed by each IP address in the mapping relationship between the preset IP address and the site number, and specifically, the IP address is extracted from the mapping relationship between the preset IP address and the site number, and then the IP address set is constructed by each IP address.
Step S202, when the IP address exists in the IP address set, the IP address is inquired on a forwarding plane through the mapping relation between the preset IP address and the site number, and the corresponding site number is obtained.
It can be understood that after the IP address set is obtained, whether the IP address set has an IP address corresponding to the packet traffic to be forwarded is determined, if yes, it indicates that a corresponding site number exists in the mapping relationship between the preset IP address and the site number, and then a destination IP query is performed on the IP address through the mapping relationship between the preset IP address and the site number on the forwarding plane, so as to obtain the site number corresponding to the IP address.
In this embodiment, a corresponding IP address set is obtained according to a mapping relationship between a preset IP address and a site number; when the IP address exists in the IP address set, inquiring the IP address through the mapping relation between the preset IP address and the site number on a forwarding plane to obtain the corresponding site number; by the method, the IP address set is obtained according to the mapping relation between the preset IP address and the site number, whether the IP address corresponding to the message flow to be forwarded exists in the IP address set is judged, if yes, the IP address is inquired on the forwarding plane, and the site number corresponding to the IP address is obtained, so that the accuracy of obtaining the site number can be effectively improved.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a site traffic forwarding program based on an SD-WAN, and the site traffic forwarding program based on the SD-WAN, when executed by a processor, implements the steps of the site traffic forwarding method based on the SD-WAN as described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, referring to fig. 9, an embodiment of the present invention further provides an SD-WAN based site traffic forwarding apparatus, where the SD-WAN based site traffic forwarding apparatus includes:
and the encapsulation module 10 is configured to determine a corresponding IP address according to the flow of the message to be forwarded at the source station.
The query module 20 is configured to query a site number corresponding to the IP address through a mapping relationship between a preset IP address and the site number.
And the determining module 30 is configured to encapsulate the site number to a target routing protocol, and determine a destination site according to the encapsulated target routing protocol.
And the forwarding module 40 is configured to forward the packet traffic to be forwarded according to the site number and the configured site-based policy.
In the embodiment, the IP address to be issued of each site and the corresponding site number are encapsulated to the target routing protocol, so that routing data issued to other sites are obtained; other sites establish a mapping relation between a preset IP address and a site number according to the routing data; each station determines a corresponding IP address according to the flow of the message to be forwarded; inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number; forwarding the message flow to be forwarded according to the site number and a configured site-based strategy; by the method, each site number is encapsulated to the target routing protocol, and then the message flow is forwarded through the configured strategy based on the site, so that the flow forwarding efficiency can be effectively improved, and the problem of corresponding strategy adjustment caused by the change of the IP address of the site is solved.
It should be noted that the above-mentioned work flows are only illustrative and do not limit the scope of the present invention, and in practical applications, those skilled in the art may select some or all of them according to actual needs to implement the purpose of the solution of the present embodiment, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the site traffic forwarding method based on SD-WAN provided in any embodiment of the present invention, and are not described herein again.
In an embodiment, the encapsulating module 10 is further configured to obtain an IP address to be issued of each website; and automatically learning the site number corresponding to the IP address to be issued through a control plane of a target routing protocol.
In an embodiment, the establishing module 20 is further configured to send the routing data to other sites when each site of the SD-WAN system performs routing distribution; when the other sites receive the routing data, extracting the published IP addresses and the site numbers in the routing data; and establishing a mapping relation between a preset IP address and a site number according to the issued IP address and the site number.
In an embodiment, the query module 40 is further configured to obtain a corresponding IP address set according to a mapping relationship between a preset IP address and a site number; and when the IP address exists in the IP address set, inquiring the IP address through the mapping relation between the preset IP address and the site number on a forwarding plane to obtain the corresponding site number.
In an embodiment, the forwarding module 50 is further configured to determine, according to the station number, whether a configured station-based policy exists in the station; and when the site has the configured site-based strategy, forwarding the message traffic to be forwarded to the corresponding site through the configured site-based strategy.
Other embodiments or methods of implementing the site traffic forwarding device based on SD-WAN according to the present invention can refer to the above embodiments of the method, which are not redundant here.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g., a mobile phone, a computer, an all-in-one platform workstation, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A site traffic forwarding method based on SD-WAN is characterized by comprising the following steps:
packaging the IP address to be issued of each site and the corresponding site number to a target routing protocol to obtain routing data issued to other sites;
other sites establish a mapping relation between a preset IP address and a site number according to the routing data;
each station determines a corresponding IP address according to the flow of the message to be forwarded;
inquiring the site number corresponding to the IP address according to the mapping relation between the preset IP address and the site number;
and forwarding the message flow to be forwarded according to the site number and the configured strategy based on the site.
2. The SD-WAN-based site traffic forwarding method according to claim 1, wherein before encapsulating the to-be-issued IP address and the corresponding site number of each site to the target routing protocol to obtain the routing data issued to other sites, the method further comprises:
acquiring IP addresses to be issued of all the sites;
and automatically learning the site number corresponding to the IP address to be issued through a control plane of a target routing protocol.
3. The SD-WAN-based site traffic forwarding method of claim 1, wherein the other sites establish a mapping relationship between a preset IP address and a site number according to the routing data, and the method comprises:
when each site of the SD-WAN system carries out route release, the route data is sent to other sites;
when the other sites receive the routing data, extracting the published IP addresses and the site numbers in the routing data;
and establishing a mapping relation between a preset IP address and a site number according to the issued IP address and the site number.
4. The SD-WAN-based site traffic forwarding method according to claim 1, wherein the querying a site number corresponding to the IP address through a mapping relationship between the preset IP address and the site number comprises:
obtaining a corresponding IP address set according to a mapping relation between a preset IP address and a site number;
and when the IP address exists in the IP address set, inquiring the IP address through the mapping relation between the preset IP address and the site number on a forwarding plane to obtain the corresponding site number.
5. The SD-WAN based site traffic forwarding method according to any one of claims 1 to 4, wherein the forwarding the packet traffic to be forwarded according to the site number and the configured site-based policy comprises:
judging whether a configured strategy based on the site exists according to the site number;
and when the configured strategy based on the site exists, forwarding the message flow to be forwarded through the configured strategy based on the site.
6. An SD-WAN-based site traffic forwarding apparatus, comprising:
the packaging module is used for packaging the IP address to be published of each site and the corresponding site number to a target routing protocol to obtain routing data published to other sites;
the establishing module is used for establishing a mapping relation between a preset IP address and a site number by other sites according to the routing data;
the determining module is used for determining corresponding IP addresses according to the flow of the messages to be forwarded by each station;
the query module is used for querying the site number corresponding to the IP address through the mapping relation between the preset IP address and the site number;
and the forwarding module is used for forwarding the message flow to be forwarded according to the site number and the configured site-based strategy.
7. An SD-WAN-based site traffic forwarding device, characterized in that the SD-WAN-based site traffic forwarding device comprises: a memory, a processor, and a SD-WAN based site traffic forwarding program stored on the memory and executable on the processor, the SD-WAN based site traffic forwarding program configured to implement the SD-WAN based site traffic forwarding method of any one of claims 1 to 5.
8. A storage medium, wherein the storage medium stores thereon an SD-WAN based site traffic forwarding program, and the SD-WAN based site traffic forwarding program, when executed by a processor, implements the SD-WAN based site traffic forwarding method according to any one of claims 1 to 5.
CN202210781496.5A 2022-07-05 2022-07-05 SD-WAN-based site traffic forwarding method, device and storage medium Pending CN114844830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210781496.5A CN114844830A (en) 2022-07-05 2022-07-05 SD-WAN-based site traffic forwarding method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210781496.5A CN114844830A (en) 2022-07-05 2022-07-05 SD-WAN-based site traffic forwarding method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114844830A true CN114844830A (en) 2022-08-02

Family

ID=82573793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210781496.5A Pending CN114844830A (en) 2022-07-05 2022-07-05 SD-WAN-based site traffic forwarding method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114844830A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114944A1 (en) * 2004-05-21 2005-12-01 Huawei Technologies Co., Ltd. A method for implementing ipv4 and ipv6 mixing sites virtual private network
CN104022954A (en) * 2013-03-01 2014-09-03 杭州华三通信技术有限公司 Message forwarding method and device
CN112291151A (en) * 2020-11-18 2021-01-29 迈普通信技术股份有限公司 Message forwarding method, device, network equipment and storage medium
CN112449751A (en) * 2019-06-28 2021-03-05 华为技术有限公司 Data transmission method, switch and station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005114944A1 (en) * 2004-05-21 2005-12-01 Huawei Technologies Co., Ltd. A method for implementing ipv4 and ipv6 mixing sites virtual private network
CN104022954A (en) * 2013-03-01 2014-09-03 杭州华三通信技术有限公司 Message forwarding method and device
CN112449751A (en) * 2019-06-28 2021-03-05 华为技术有限公司 Data transmission method, switch and station
CN112291151A (en) * 2020-11-18 2021-01-29 迈普通信技术股份有限公司 Message forwarding method, device, network equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110266592B (en) Communication method and device for SRV6 network and IP MPLS network
EP3240247B1 (en) Egress peer engineering using ipv4-mapped ipv6 addresses
EP3110081B1 (en) Methods for controlling service chain of service flow
EP3179679B1 (en) Method and device for link state information announcement
WO2021012601A1 (en) Message processing method and device, apparatus, and readable storage medium
CN114679350B (en) SD-WAN-based link selection method, device and storage medium
JP2017517220A (en) OpenFlow communication method and system, control unit, and service gateway
JP2019519146A (en) Routing establishment, packet transmission
CN114025000B (en) Method, device, equipment and storage medium for establishing network access relationship
CN107659930A (en) A kind of AP connection control methods and device
US20210281507A1 (en) Parameter notification and obtaining methods and devices, and storage medium
CN114389886A (en) Access method, device, equipment and storage medium of virtual private cloud service
CN105429884A (en) Method and system of managing routers in different networks through terminal
CN104519038A (en) Conversation setup method, device and system
CN102780584B (en) Method and device for quickly accessing network management system of Ethernet equipment
CN113364660A (en) Data packet processing method and device in LVS load balancing
CN114844830A (en) SD-WAN-based site traffic forwarding method, device and storage medium
CN107465770B (en) SDN network and non-SDN network communication method and device
WO2023273957A1 (en) Computing power release method and apparatus, and computing power update method and apparatus
CN110601989A (en) Network traffic balancing method and device
CN116582287A (en) Safety transmission method and device for IPv6 flow in cloud network
WO2022089169A1 (en) Method and apparatus for sending computing routing information, device, and storage medium
CN115022165A (en) BGP stream specification effective interface optimization method, device, equipment and storage medium
CN112039989B (en) Data drilling method, proxy server, service calling system and medium
CN105516121B (en) The method and system that AC is communicated with AP in WLAN

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220802