CN106411735A - Routing configuration method and device - Google Patents

Routing configuration method and device Download PDF

Info

Publication number
CN106411735A
CN106411735A CN201610907493.6A CN201610907493A CN106411735A CN 106411735 A CN106411735 A CN 106411735A CN 201610907493 A CN201610907493 A CN 201610907493A CN 106411735 A CN106411735 A CN 106411735A
Authority
CN
China
Prior art keywords
attribute
tenant
vpn instance
outer net
route
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.)
Granted
Application number
CN201610907493.6A
Other languages
Chinese (zh)
Other versions
CN106411735B (en
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610907493.6A priority Critical patent/CN106411735B/en
Publication of CN106411735A publication Critical patent/CN106411735A/en
Application granted granted Critical
Publication of CN106411735B publication Critical patent/CN106411735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/38Flow based 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/02Topology update or discovery
    • 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

Abstract

The invention provides a routing configuration method and device, applied to a controller in an SDN. The method comprises the following steps: RT attributes of a VPN example of a tenant and a routing strategy of a VPN example of an external network are configured through the controller, so that gateway equipment sets RT attributes for routing from different external network equipment according to the routing strategy, matches the RT attributes of the routing with the RT attributes of the VPN example of the tenant, adds the routing into the VPN example of the tenant after successfully matching, and guides the flow of the tenant to be forwarded to the external network. By means of the routing configuration method and device, dynamic updating of the routing on the gateway equipment can be realized.

Description

A kind of method for configuring route and device
Technical field
The present invention relates to network communication technology field, more particularly, to a kind of method for configuring route and device.
Background technology
SDN (Software Defined Network, software defined network) is a kind of new transmission via net framework, leads to Cross control plane data planar separation, realize the flexible control of network traffics.
Existing SDN cloud outlet is generally focused on a cloud gateway, goes out outer net flow and passes through default gateway, static road By mode point to the IP (InternetProtocol, abbreviation IP) of outer net equipment.
In general, tenant is sent to the flow of outer net by mating the static routing on gateway device to outer net forwarding.By Equipment outside cloud gateway is uncontrollable, if the next-hop of this static routing is unreachable, flow cannot forward to outer net.
Content of the invention
It is an object of the invention to provide a kind of method for configuring route and device, in order to realize the dynamic of route on gateway device State configures, and guides tenant's flow to forward to outer net.
For achieving the above object, the invention provides technical scheme:
The present invention provides a kind of method for configuring route, is applied to the controller in SDN, methods described includes:
The routing policy of configuration outer net VPN (Virtual Private Network, Virtual Private Network) example, described outer The routing policy of net VPN instance is used for making gateway device arrange RT (Router to the route from different outer net equipment Target, route target) attribute;
The RT attribute of configuration tenant's VPN instance;
The RT attribute of the routing policy of described outer net VPN instance and described tenant's VPN instance is handed down to gateway device, So that described gateway device arranges RT attribute according to the routing policy of described outer net VPN instance to the route receiving from outer net equipment Afterwards, judge the RT attribute whether RT attributes match with described tenant's VPN instance of described route, and determine RT attributes match Afterwards, the route receiving is added in described tenant's VPN instance, guides tenant's flow to forward to outer net.
The present invention also provides a kind of routing configuration device, is applied to the controller in SDN, and described device includes:
Tactful dispensing unit, for configuring the routing policy of outer net virtual private network example, described outer net VPN instance Routing policy be used for make gateway device to from different outer net equipment route arrange route target RT attribute;
Attribute configuration unit, for configuring the RT attribute of tenant's VPN instance;
Configuration distributing unit, for belonging to the RT of the routing policy of described outer net VPN instance and described tenant's VPN instance Property is handed down to gateway device, so that described gateway device connects to from outer net equipment according to the routing policy of described outer net VPN instance After the route setting RT attribute received, judge the RT attribute whether RT attributes match with described tenant's VPN instance of described route, and After determining RT attributes match, the route receiving is added in described tenant's VPN instance, guides tenant's flow to turn to outer net Send out.
By above description as can be seen that the present invention configures the RT attribute of tenant's VPN instance by controller, meanwhile, configuration The routing policy (arranging RT attribute to the route from different outer net equipment) of outer net VPN instance, so that gateway device is according to road By strategy to the route setting RT attribute receiving, and the RT attribute of route is mated with the RT attribute of tenant's VPN instance, After being made into work(, route is added in the VPN instance of tenant, guides tenant's flow to forward to outer net.Net be can achieve by the present invention The dynamic renewal of route on the equipment of pass.
Brief description
Fig. 1 is the method for configuring route flow chart shown in the embodiment of the present invention;
Fig. 2 is the schematic diagram of the SDN shown in the embodiment of the present invention;
Fig. 3 is the structural representation of the SDN internal controller shown in the embodiment of the present invention;
Fig. 4 is the structural representation of the routing configuration device shown in the embodiment of the present invention.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and be not intended to be limiting the present invention. " a kind of ", " described " and " being somebody's turn to do " of singulative used in the present invention and appended claims is also intended to including most Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated any or all possible combination listing project.
It will be appreciated that though various information may be described using term first, second, third, etc. in the present invention, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The embodiment of the present invention proposes a kind of method for configuring route, and the method configures the RT of tenant's VPN instance by controller Attribute, meanwhile, the routing policy (RT attribute is arranged to the route from different outer net equipment) of configuration outer net VPN instance, so that Gateway device arranges RT attribute, and the RT by the RT attribute of route and tenant's VPN instance according to routing policy to the route receiving Attribute is mated, and is added to route in the VPN instance of tenant after the match is successful, guides tenant's flow to forward to outer net.
Referring to Fig. 1, it is an embodiment flow chart of method for configuring route of the present invention, this embodiment is from SDN controller side Route configuration process is described.
Step 101, the routing policy of configuration outer net VPN instance.
VPN is a kind of virtual private network technology, and VPN instance (VPN- is passed through in the route isolation between different VPN Instance) realize.Each VPN instance has relatively independent routing table and LFIB (Label Forwarding Information Base, tag forwarding information base) it is ensured that the independence of VPN data and safety.
Information in VPN instance can include:Interface and VPN instance that LFIB, IP route table are associated with VPN instance Management information in any one or multiple.The management information of VPN instance can include RD (Route Distinguisher, Route Distinguisher, for distinguishing the identical address prefix of different VPN), VPN Target (also known as Route Target, abbreviation RT, for controlling the issue of VPN routing iinformation) attribute, in route filtering strategy any one or Multiple.
In the present invention, SDN controller is configured with outer net VPN instance on gateway device, and this outer net VPN instance configures in net Pass equipment connects on the outgoing interface of outer net equipment (for example, PE equipment).Gateway device passes through this outer net VPN instance and outer net equipment Set up VPN instance neighbours, be that the route that receipt of subsequent outer net equipment is issued is prepared.
In this step, SDN controller configures routing policy for outer net VPN instance, and the routing policy of this outer net VPN instance is used In making gateway device, RT attribute is arranged to the route from different outer net equipment.For example, the route from outer net equipment PE1 is set Putting RT attribute is 1:1, it is 2 to the route setting RT attribute from outer net equipment PE2:2.
Step 102, the RT attribute of configuration tenant's VPN instance.
SDN controller is configured with corresponding VPN instance, abbreviation tenant's VPN instance for each tenant on gateway device.
In this step, SDN controller can configure one or more RT attributes for tenant's VPN instance.
Step 103, the RT attribute of the routing policy of described outer net VPN instance and described tenant's VPN instance is handed down to Gateway device.
The configuration information of step 101 and step 102 is handed down to gateway device by SDN controller.
Gateway device, after outer net VPN instance sets up neighborhood with outer net equipment, receives the road that outer net equipment is issued By, and RT attribute is arranged to the route receiving according to the routing policy of outer net VPN instance.Then, judge that the RT attribute routeing is The no RT attributes match with tenant's VPN instance, after determining RT attributes match, the route receiving is added to tenant VPN real In example, tenant's flow is guided to forward to outer net according to the route in tenant's VPN instance.
Optionally, in another embodiment of the invention, SDN controller can configure the route of tenant's VPN instance further Strategy, the routing policy of this tenant's VPN instance is excellent according to the RT attribute setting of route to the route being added in tenant's VPN instance First level.For example, when SDN controller selects active and standby mechanism, it is that tenant selects PE based on PE1, PE2 is from PE, then this tenant VPN The routing policy of example can be:Setting RT attribute 1:1 route (from route of PE1) is high priority, arranges RT attribute 2:2 route (from route of PE2) is low priority.
The routing policy of tenant's VPN instance of configuration is handed down to gateway device by SDN controller.Gateway device is according to tenant The routing policy of VPN instance arranges priority to the route being added in tenant's VPN instance, then in this tenant's flow of subsequent boots When, coupling high priority route and forwards to outer net.When high priority route respective links are unreachable, gateway device ceases to be in force automatically This high priority route, and the second highest priority route that comes into force is by guide tenant's flow is according to the routing forwarding newly coming into force, i.e. achieve The active and standby mechanism of a plurality of route.
If SDN controller does not configure routing priority, gateway device using a plurality of route in tenant's VPN instance as etc. Valency route, and realizes load balancing.It is not emphasis of the present invention that concrete tenant's flow how to mate equal-cost route to forward, and here is no longer superfluous State.
Additionally, the RT attribute that SDN controller can exclusively enjoy for the configuration of tenant's VPN instance, for example, by RT attribute 1:1 configuration To tenant 1, then the route being derived from PE1 only can be added in the VPN instance of tenant 1, and that is, tenant 1 exclusively enjoys PE1 and carries out outer net flow Forward.
It should be added that, SDN controller configures the RT attribute of tenant's VPN instance, specifically may include:Determine gateway The state of the outgoing interface being connected with outer net equipment on equipment;The outgoing interface that state pair according to outgoing interface is connected with outer net equipment enters Row sequence, according to the RT attribute of the outer net equipment selecting to be connected with outgoing interface that puts in order of outgoing interface, configures tenant's VPN instance RT attribute.That is, selecting the outgoing interface of state optimization to forward tenant's flow.Wherein, outgoing interface state can be according to going out to connect The bandwidth rates of up (enabling)/down (disabling) state of mouth and outgoing interface determine.For example, when outgoing interface is in UP state, It is ranked up from large to small according to remaining bandwidth speed;Select outgoing interface up and the maximum outgoing interface (state of remaining bandwidth speed Optimum outgoing interface) the RT attribute of outer net equipment that connects, the RT attribute of configuration tenant's VPN instance.
SDN controller monitor in real time outgoing interface state, when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down During state, delete the RT attribute of this tenant's VPN instance, retriggered configures the RT attribute of tenant's VPN instance, i.e. so that tenant is flowed Amount is mated more excellent route all the time and is forwarded to outer net.Specifically, retriggered configures the RT attribute of tenant's VPN instance, still adopts The method of above-mentioned offer, that is,:The state of the outgoing interface being connected with outer net equipment is determined on gateway device;State according to outgoing interface The outgoing interface being connected with outer net equipment is ranked up, selects the outer net being connected with outgoing interface to set according to putting in order of outgoing interface Standby RT attribute, the RT attribute of configuration tenant's VPN instance.More specifically, can carry out from large to small according to remaining bandwidth speed Sequence;Select outgoing interface up and the RT attribute of the maximum outer net equipment of outgoing interface connection of remaining bandwidth speed, configure tenant VPN The RT attribute of example.
It can be seen from the above description that the present invention is configured to the VPN instance on gateway device by SDN controller, Realize the dynamic interpolation of route on gateway device, provide a plurality of optional path to forward for tenant's flow.
Now taking SDN shown in Fig. 2 as a example, introduce routing configuration process.Diagram SDN includes virtual machine VM1~VM4 (Virtual Machine, abbreviation VM), virtual swap device OVS1 and OVS2 (Open vSwitch, abbreviation OVS), SDN control Device, gateway device GW (Gateway, abbreviation GW), outer net equipment PE1~PE4 (Provider Edge, abbreviation PE).Gateway device BGP (Border Gateway Protocol, Border Gateway Protocol) agreement is run on GW.
It is assumed that having created outer net VPN instance on GW, be designated as ExtVPN, and under this ExtVPN respectively with PE1~PE4 Set up neighborhood.SDN controller can configure routing policy for different neighbours, enables the route receiving from different PE Different RT are set.For example:SDN controller configures routing policy for ExtVPN, is designated as Policy1, this Policy1 is specially right Route setting RT attribute from PE1 is 1:1;It is 2 to the route setting RT attribute from PE2:2;Route from PE3 is set Putting RT attribute is 3:3;It is 4 to the route setting RT attribute from PE4:4.SDN controller is issued by netconf agreement The Policy1 of ExtVPN is to GW.
When tenant User1 (renting VM1) newly-increased in SDN, the VPN that SDN controller creates User1 on GW is real Example, is designated as UserVPN1, and configures the RT attribute of UserVPN1.It is assumed that the RT attribute of configuration is 1:1 and 2:2, pass through Netconf agreement issues the RT attribute of UserVPN1 to GW.
When GW receives route (being designated as R1) from PE1, the RT that the routing policy Policy1 according to ExtVPN arranges R1 belongs to Property be 1:RT attribute 1 in 1, R1 RT attribute and UserVPN1:1 coupling, therefore, R1 is added in UserVPN1.In the same manner, The route (being designated as R2) that GW receives from PE2, the RT attribute that the routing policy Policy1 according to ExtVPN arranges R2 is 2:2, R2 RT attribute and UserVPN1 in RT attribute 2:2 couplings, therefore, R2 are added in UserVPN1.So far, in UserVPN1 There are two route R1 and R2.GW can route, using this two, the flow guiding User1 as equal-cost route and forward to outer net.
Certainly, also can be using above-mentioned two routes as main standby route.Specifically can configure UserVPN1's by SDN controller Routing policy Policy2, this Policy2 are specially excellent according to the RT attribute setting of route to the route being added in UserVPN1 First level, for example, setting RT attribute is 1:The priority of 1 route is high priority;RT attribute is 2:The priority of 2 route is Default priority, i.e. low priority.
Optionally, when arranging priority, can be configured by numeral, the high numeral of such as priority is big, priority Low numeral is little, and then can determine the priority of route by comparing Digital size.
SDN controller issues the routing policy Policy2 of UserVPN1 to GW by netconf agreement.Then GW to When UserVPN1 adds route R1, the priority that the Policy2 according to UserVPN1 arranges R1 is 7;When adding route R2, according to The priority that the Policy2 of UserVPN1 arranges R2 is default priority 0.In GW, high priority route R1 comes into force, low priority Route R2 lost efficacy, and flow matches R1 of User1 forward to outer net.When the next-hop of R1 is unreachable, R1 lost efficacy, and R2 comes into force, The flow of User1 can be forwarded to outer net by R2, plays the purpose of main standby route.
It should be noted that the priority of R1 is 7 and the default priority of R2 0, therein digital 7 and digital 0 only It is to illustrate, should not be as restriction.
It should be added that, SDN controller can dynamic configuration UserVPN1 RT attribute.Specifically, SDN controller Can being connected by the Openflow between GW, the outgoing interface being connected with PE equipment being obtained on GW (it is assumed that being connected with PE1~PE4 Outgoing interface be respectively Interface1~Interface4) state, including UP/DOWN state, interface bandwidth speed etc..When Outgoing interface is in up state, and remaining bandwidth is more than predetermined threshold value, and when that is, remaining bandwidth is more, the state of this outgoing interface is more excellent. It is ranked up according to outgoing interface state, select state preferably RT attribute configuration UserVPN1 of PE equipment of outgoing interface connection RT attribute.It is assumed that outgoing interface state from excellent to bad put in order for Interface1, Interface2, Interface3, Interface4, SDN controller is intended to be UserVPN1 and configures two RT attributes, then by the RT of the PE1 being connected with Interface1 Attribute 1:The RT attribute 2 of 1 PE2 being connected with Interface2:2 are allocated to UserVPN1, provide high-quality turn for User1 Send out path.
It is assumed that SDN monitoring control devices Interface1 is in down state, then can actively delete the RT attribute of UserVPN1 1:1, reselect the RT attribute that state preferably outgoing interface configures UserVPN1, for example, according to outgoing interface state sequencing selection The RT attribute 3 of the PE3 being connected with Interface3:The RT attribute of 3 configuration UserVPN1, now, the two of configuration in UserVPN1 Individual RT attribute is 2:2 and 3:3, to ensure the transfer quality of the flow of User1.
Corresponding with the embodiment of aforementioned method for configuring route, present invention also offers the embodiment of routing configuration device.
The embodiment of routing configuration device of the present invention can be applied on SDN controller.Device embodiment can be passed through soft Part is realized it is also possible to be realized by way of hardware or software and hardware combining.As a example implemented in software, as a logical meaning On device, be to be formed by corresponding computer program instructions in the processor run memory of its place equipment.From hard For part aspect, as shown in figure 3, being a kind of hardware structure diagram of routing configuration device place of the present invention equipment, except shown in Fig. 3 Processor and nonvolatile memory outside, in embodiment device be located equipment generally according to this equipment actual work( Can, other hardware can also be included, this is repeated no more.
Refer to Fig. 4, be the structural representation of the routing configuration device in one embodiment of the invention.This routing configuration fills Put including tactful dispensing unit 401, attribute configuration unit 402 and configuration distributing unit 403, wherein:
Tactful dispensing unit 401, for configuring the routing policy of outer net virtual private network example, described outer net VPN is real The routing policy of example is used for making gateway device arrange route target RT attribute to the route from different outer net equipment;
Attribute configuration unit 402, for configuring the RT attribute of tenant's VPN instance;
Configuration distributing unit 403, for by the routing policy of described outer net VPN instance and described tenant's VPN instance RT attribute is handed down to gateway device, so that described gateway device sets to from outer net according to the routing policy of described outer net VPN instance After the standby route setting RT attribute receiving, judge the RT attribute whether RT attribute with described tenant's VPN instance of described route Join, and determine RT attributes match after, the route receiving is added in described tenant's VPN instance, guide tenant's flow to Outer net forwards.
Further,
Described strategy dispensing unit 401, is additionally operable to configure the routing policy of described tenant's VPN instance, and described tenant VPN is real The routing policy of example is used for arranging priority to the route being added in described tenant's VPN instance according to the RT attribute of route;
Described configuration distributing unit 403, is additionally operable to for the routing policy of described tenant's VPN instance to be handed down to described gateway and sets Standby so that described gateway device according to the routing policy of described tenant's VPN instance to the road being added in described tenant's VPN instance By setting priority, guide tenant's flow to route using the high priority matching and forward to outer net.
Further, described attribute configuration unit 402, including:
State determining module, for determining the state of the outgoing interface being connected on described gateway device with outer net equipment;
Interface order module, for be connected with outer net equipment according to the up/down state of outgoing interface and bandwidth rates pair Outgoing interface is ranked up;
Attribute selection module, the RT for the outer net equipment selecting to be connected with outgoing interface that puts in order according to outgoing interface is belonged to Property, the RT attribute of configuration tenant's VPN instance.
Further,
Described interface order module, specifically for as outgoing interface up, being arranged from large to small according to remaining bandwidth speed Sequence;
Described attribute selection module, the outgoing interface specifically for selecting outgoing interface up and remaining bandwidth speed maximum connects The RT attribute of outer net equipment, the RT attribute of configuration tenant's VPN instance.
Further, described attribute configuration unit 402, also includes:
Attribute removing module, for when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down state, deleting The RT attribute of described tenant's VPN instance, retriggered configures the RT attribute of tenant's VPN instance.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method Realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation The part applying example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrating can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to actual Need to select the purpose to realize the present invention program for some or all of module therein.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and to implement.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.

Claims (10)

1. a kind of method for configuring route, is applied to controller in software defined network SDN it is characterised in that methods described bag Include:
The routing policy of configuration outer net virtual private network example, the routing policy of described outer net VPN instance is used for making gateway set For to the route from different outer net equipment, route target RT attribute is set;
The RT attribute of configuration tenant's VPN instance;
The RT attribute of the routing policy of described outer net VPN instance and described tenant's VPN instance is handed down to gateway device, so that Described gateway device according to the routing policy of described outer net VPN instance to after the route setting RT attribute that outer net equipment receives, Judge the RT attribute whether RT attributes match with described tenant's VPN instance of described route, and after determining RT attributes match, will The route receiving is added in described tenant's VPN instance, guides tenant's flow to forward to outer net.
2. the method for claim 1 is it is characterised in that methods described also includes:
Configure the routing policy of described tenant's VPN instance, the routing policy of described tenant's VPN instance is used for being added to described rent Route in the VPN instance of family is according to the RT attribute setting priority of route;
The routing policy of described tenant's VPN instance is handed down to described gateway device, so that described gateway device is according to described rent The routing policy of family VPN instance, to the route setting priority being added in described tenant's VPN instance, guides tenant's flow to adopt The high priority matching route and forwards to outer net.
3. the method for claim 1 is it is characterised in that the RT attribute of described configuration tenant's VPN instance, including:
The state of the outgoing interface being connected with outer net equipment is determined on described gateway device;
The outgoing interface that up/down state and bandwidth rates pair according to outgoing interface are connected with outer net equipment is ranked up;
According to the RT attribute of the outer net equipment selecting to be connected with outgoing interface that puts in order of outgoing interface, configuration tenant's VPN instance RT attribute.
4. method as claimed in claim 3 is it is characterised in that the described up/down state according to outgoing interface and bandwidth rates The outgoing interface being connected with outer net equipment is ranked up, including:
As outgoing interface up, it is ranked up from large to small according to remaining bandwidth speed;
The RT attribute of the described outer net equipment selecting to be connected with outgoing interface that puts in order according to outgoing interface, configuration tenant VPN is real The RT attribute of example, including:
Select outgoing interface up and the RT attribute of the maximum outer net equipment of outgoing interface connection of remaining bandwidth speed, configure tenant VPN The RT attribute of example.
5. method as claimed in claim 3 is it is characterised in that the corresponding outgoing interface of RT attribute working as tenant's VPN instance is in During down state, delete the RT attribute of described tenant's VPN instance, retriggered configures the RT attribute of tenant's VPN instance.
6. a kind of routing configuration device, is applied to controller in software defined network SDN it is characterised in that described device bag Include:
Tactful dispensing unit, for configuring the routing policy of outer net virtual private network example, the road of described outer net VPN instance By strategy for making gateway device arrange route target RT attribute to the route from different outer net equipment;
Attribute configuration unit, for configuring the RT attribute of tenant's VPN instance;
Configuration distributing unit, for by under the RT attribute of the routing policy of described outer net VPN instance and described tenant's VPN instance Issue gateway device so that described gateway device according to the routing policy of described outer net VPN instance to receiving from outer net equipment After route setting RT attribute, judge the RT attribute whether RT attributes match with described tenant's VPN instance of described route, and true After determining RT attributes match, the route receiving is added in described tenant's VPN instance, guides tenant's flow to forward to outer net.
7. device as claimed in claim 6 it is characterised in that:
Described strategy dispensing unit, is additionally operable to configure the routing policy of described tenant's VPN instance, the road of described tenant's VPN instance By strategy for priority is arranged according to the RT attribute of route to the route being added in described tenant's VPN instance;
Described configuration distributing unit, is additionally operable to for the routing policy of described tenant's VPN instance to be handed down to described gateway device, so that Described gateway device is arranged to the route being added in described tenant's VPN instance according to the routing policy of described tenant's VPN instance Priority, is guided tenant's flow to be route using the high priority matching and forwards to outer net.
8. device as claimed in claim 6 is it is characterised in that described attribute configuration unit, including:
State determining module, for determining the state of the outgoing interface being connected on described gateway device with outer net equipment;
Interface order module, goes out to connect for be connected with outer net equipment according to the up/down state of outgoing interface and bandwidth rates pair Mouth is ranked up;
Attribute selection module, for the RT attribute of the outer net equipment selecting to be connected with outgoing interface that puts in order according to outgoing interface, The RT attribute of configuration tenant's VPN instance.
9. device as claimed in claim 8 it is characterised in that:
Described interface order module, specifically for as outgoing interface up, being ranked up from large to small according to remaining bandwidth speed;
Described attribute selection module, specifically for selecting the outer net of outgoing interface up and the maximum outgoing interface connection of remaining bandwidth speed The RT attribute of equipment, the RT attribute of configuration tenant's VPN instance.
10. device as claimed in claim 8, it is characterised in that described attribute configuration unit, also includes:
Attribute removing module, described for when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down state, deleting The RT attribute of tenant's VPN instance, retriggered configures the RT attribute of tenant's VPN instance.
CN201610907493.6A 2016-10-18 2016-10-18 A kind of method for configuring route and device Active CN106411735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610907493.6A CN106411735B (en) 2016-10-18 2016-10-18 A kind of method for configuring route and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610907493.6A CN106411735B (en) 2016-10-18 2016-10-18 A kind of method for configuring route and device

Publications (2)

Publication Number Publication Date
CN106411735A true CN106411735A (en) 2017-02-15
CN106411735B CN106411735B (en) 2019-10-11

Family

ID=58012748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610907493.6A Active CN106411735B (en) 2016-10-18 2016-10-18 A kind of method for configuring route and device

Country Status (1)

Country Link
CN (1) CN106411735B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194578A (en) * 2018-10-29 2019-01-11 中国联合网络通信集团有限公司 A kind of activating method and device of private line service
CN109474506A (en) * 2018-11-15 2019-03-15 中国联合网络通信集团有限公司 Establish the method and device of Virtual Private Network vpn service
CN111049721A (en) * 2019-12-12 2020-04-21 广州鲁邦通物联网科技有限公司 OpenVPN cluster, construction method thereof, communication method and system
CN111092816A (en) * 2019-11-26 2020-05-01 金蝶软件(中国)有限公司 Gateway dynamic routing method, gateway dynamic routing device, computer equipment and storage medium
CN111327531A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 VDC-based routing configuration method, device, equipment and readable storage medium
CN116170443A (en) * 2023-04-20 2023-05-26 安超云软件有限公司 Cluster load balancing realization method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219531A (en) * 2007-03-06 2008-09-18 Kddi Corp System and program setting and managing virtual closed-area network as one layer-3 switch
CN101599901A (en) * 2009-07-15 2009-12-09 杭州华三通信技术有限公司 The method of remotely accessing MPLS VPN, system and gateway
CN103607349A (en) * 2013-11-14 2014-02-26 华为技术有限公司 Method for determining route in virtual network and provider edge equipment
CN104113460A (en) * 2014-02-20 2014-10-22 西安未来国际信息股份有限公司 Design of tenant exclusive VPN under cloud computation
CN104734929A (en) * 2013-12-18 2015-06-24 华为技术有限公司 Method and device for routing diffusion
WO2015180120A1 (en) * 2014-05-30 2015-12-03 华为技术有限公司 Packet forwarding method, forwarding entry delivery method, and network device
CN105337865A (en) * 2014-06-03 2016-02-17 华为技术有限公司 Method, apparatus and system for establishing forwarding table item

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008219531A (en) * 2007-03-06 2008-09-18 Kddi Corp System and program setting and managing virtual closed-area network as one layer-3 switch
CN101599901A (en) * 2009-07-15 2009-12-09 杭州华三通信技术有限公司 The method of remotely accessing MPLS VPN, system and gateway
CN103607349A (en) * 2013-11-14 2014-02-26 华为技术有限公司 Method for determining route in virtual network and provider edge equipment
CN104734929A (en) * 2013-12-18 2015-06-24 华为技术有限公司 Method and device for routing diffusion
CN104113460A (en) * 2014-02-20 2014-10-22 西安未来国际信息股份有限公司 Design of tenant exclusive VPN under cloud computation
WO2015180120A1 (en) * 2014-05-30 2015-12-03 华为技术有限公司 Packet forwarding method, forwarding entry delivery method, and network device
CN105337865A (en) * 2014-06-03 2016-02-17 华为技术有限公司 Method, apparatus and system for establishing forwarding table item

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194578A (en) * 2018-10-29 2019-01-11 中国联合网络通信集团有限公司 A kind of activating method and device of private line service
CN109194578B (en) * 2018-10-29 2020-12-15 中国联合网络通信集团有限公司 Method and device for opening private line service
CN109474506A (en) * 2018-11-15 2019-03-15 中国联合网络通信集团有限公司 Establish the method and device of Virtual Private Network vpn service
CN111327531A (en) * 2018-12-17 2020-06-23 中兴通讯股份有限公司 VDC-based routing configuration method, device, equipment and readable storage medium
WO2020125320A1 (en) * 2018-12-17 2020-06-25 中兴通讯股份有限公司 Vdc-based route configuration method and apparatus, and device and readable storage medium
CN111327531B (en) * 2018-12-17 2022-08-02 中兴通讯股份有限公司 VDC-based routing configuration method, device, equipment and readable storage medium
CN111092816A (en) * 2019-11-26 2020-05-01 金蝶软件(中国)有限公司 Gateway dynamic routing method, gateway dynamic routing device, computer equipment and storage medium
CN111049721A (en) * 2019-12-12 2020-04-21 广州鲁邦通物联网科技有限公司 OpenVPN cluster, construction method thereof, communication method and system
CN111049721B (en) * 2019-12-12 2021-06-29 广州鲁邦通物联网科技有限公司 OpenVPN cluster, construction method thereof, communication method and system
CN116170443A (en) * 2023-04-20 2023-05-26 安超云软件有限公司 Cluster load balancing realization method and system
CN116170443B (en) * 2023-04-20 2023-08-22 安超云软件有限公司 Cluster load balancing realization method and system

Also Published As

Publication number Publication date
CN106411735B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
US11804988B2 (en) Method and system of overlay flow control
CN106411735A (en) Routing configuration method and device
JP7290732B2 (en) Data transfer method and related equipment
US11323292B2 (en) Connecting to multiple cloud instances in a telecommunications network
US10361956B2 (en) Traffic flow forwarding path redirection method and apparatus, and traffic flow forwarding system
EP2806601B1 (en) Tunnels between virtual machines
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
EP2701342A1 (en) Method and system for implementing elastic network interface and interconnection
EP2945330B1 (en) Route management method, route method, network controller and router
US20180077048A1 (en) Controller, control method and program
CN111200549B (en) Method and device for acquiring routing information
CN113395212B (en) Network device, method of operating the same, and non-transitory computer readable medium
WO2018090210A1 (en) Service packet transmission method, and node apparatus
CN106982162B (en) Method, device and system for forwarding service flow
CN112583689B (en) Mapping services to tunnels for forwarding packets using network devices
CN109962846A (en) The processing method and processing device of routing protocol packet
US20220247598A1 (en) Packet Detection Method, Connectivity Negotiation Relationship Establishment Method, and Related Device
US10015074B1 (en) Abstract stack ports to enable platform-independent stacking
CN108471374A (en) The retransmission method and device of data message
CN111464443B (en) Message forwarding method, device, equipment and storage medium based on service function chain
CN115118544B (en) Communication method, device and system
CN108600072A (en) A kind of DF electoral machinery and device
WO2023231438A1 (en) Message sending method, network device and system
CN114374642B (en) Maintenance method and device for route information
WO2018158615A1 (en) Method and apparatus for enabling the creation of a point-to-multipoint label switched path multicast distribution tree for a given ip multicast stream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant