CN106411735B - A kind of method for configuring route and device - Google Patents

A kind of method for configuring route and device Download PDF

Info

Publication number
CN106411735B
CN106411735B CN201610907493.6A CN201610907493A CN106411735B CN 106411735 B CN106411735 B CN 106411735B CN 201610907493 A CN201610907493 A CN 201610907493A CN 106411735 B CN106411735 B CN 106411735B
Authority
CN
China
Prior art keywords
attribute
tenant
vpn instance
routing
outer net
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.)
Active
Application number
CN201610907493.6A
Other languages
Chinese (zh)
Other versions
CN106411735A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New 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

Landscapes

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

Abstract

The present invention provides a kind of method for configuring route and device, applied to the controller in SDN, this method configures the RT attribute of tenant's VPN instance and the routing policy of outer net VPN instance by controller, so that RT attribute is arranged to the routing from different outer net equipment according to routing policy in gateway, and the RT attribute of routing is matched with the RT attribute of tenant's VPN instance, routing is added in the VPN instance of tenant after successful match, tenant's flow is guided to forward to outer net.It can realize that the dynamic routed in gateway updates through the invention.

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 technique
SDN (Software Defined Network, software defined network) is a kind of novel transmission via net framework, is led to Plane and data planar separation will be controlled by crossing, and realize the flexible control of network flow.
Existing SDN network cloud outlet is generally focused on a cloud gateway, and outer net flow passes through default gateway, static road out By mode be directed toward the IP (InternetProtocol, abbreviation IP) of outer net equipment.
In general, the flow that tenant is sent to outer net is forwarded by the static routing in matching gateway to outer net.By Equipment except cloud gateway is uncontrollable, if the next-hop of the static routing is unreachable, flow can not be forwarded to outer net.
Summary of the invention
The purpose of the present invention is to provide a kind of method for configuring route and devices, to realize that is routed in gateway moves State configuration, guides tenant's flow to forward to outer net.
For achieving the above object, the present invention provides technical solutions:
The present invention provides a kind of method for configuring route, applied to the controller in SDN, which comprises
The routing policy of outer net VPN (Virtual Private Network, Virtual Private Network) example is configured, it is described outer The routing policy of net VPN instance is used to make gateway that RT (Router be arranged to the routing from different outer net equipment Target, route target) attribute;
Configure the RT attribute of tenant's VPN instance;
The RT attribute of the routing policy of the outer net VPN instance and tenant's VPN instance is handed down to gateway, So that RT attribute is arranged to from the received routing of outer net equipment according to the routing policy of the outer net VPN instance in the gateway Afterwards, judge the routing RT attribute whether the RT attributes match with tenant's VPN instance, and determining RT attributes match Afterwards, the routing received is added in tenant's VPN instance, tenant's flow is guided to forward to outer net.
The present invention also provides a kind of routing configuration devices, and applied to the controller in SDN, described device includes:
Tactful configuration unit, for configuring the routing policy of outer net virtual private network example, the outer net VPN instance Routing policy be used for make gateway to from different outer net equipment routing be arranged 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 the outer net VPN instance and tenant's VPN instance Property is handed down to gateway, so that the gateway connects according to the routing policy of the outer net VPN instance to from outer net equipment Receipts routing setting RT attribute after, judge the routing RT attribute whether the RT attributes match with tenant's VPN instance, and After determining RT attributes match, the routing received is added in tenant's VPN instance, tenant's flow is guided to turn to outer net Hair.
The present invention configures the RT attribute of tenant's VPN instance by controller it can be seen from above description, meanwhile, configuration The routing policy (RT attribute is arranged to the routing from different outer net equipment) of outer net VPN instance, so that gateway is according to road RT attribute is arranged to received routing by strategy, and the RT attribute of routing is matched with the RT attribute of tenant's VPN instance, With routing is added in the VPN instance of tenant after success, tenant's flow is guided to forward to outer net.Net can be realized through the invention The dynamic routed in equipment is closed to update.
Detailed description of the invention
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 network shown in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the SDN network internal controller shown in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the routing configuration device shown in the embodiment of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention. It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where 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 context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The embodiment of the present invention proposes a kind of method for configuring route, and this method configures the RT of tenant's VPN instance by controller Attribute, meanwhile, the routing policy (RT attribute is arranged to the routing from different outer net equipment) of outer net VPN instance is configured, so that RT attribute is arranged to received routing according to routing policy in gateway, and by the RT of the RT attribute of routing and tenant's VPN instance Attribute is matched, and routing is added in the VPN instance of tenant after successful match, and tenant's flow is guided to forward to outer net.
It is one embodiment flow chart of method for configuring route of the present invention referring to Fig. 1, the embodiment is from SDN controller side Routing configuration process is described.
Step 101, the routing policy of outer net VPN instance is configured.
VPN is a kind of virtual private network technology, and the routing isolation between different VPN passes through VPN instance (VPN- Instance it) realizes.Each VPN instance has relatively independent routing table and LFIB (Label Forwarding Information Base, tag forwarding information base), it is ensured that the independence and safety of VPN data.
Information in VPN instance may include: LFIB, IP route table and the associated interface of VPN instance and VPN instance Management information in any one or it is multiple.The management information of VPN instance may 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 publication of VPN routing iinformation) attribute, in route filtering strategy any one or It is multiple.
In the present invention, SDN controller is configured with outer net VPN instance in gateway, which configures in net On the outgoing interface for closing equipment connection outer net equipment (for example, PE equipment).Gateway passes through the outer net VPN instance and outer net equipment VPN instance neighbours are established, the routing for the publication of receipt of subsequent outer net equipment is prepared.
In this step, SDN controller is that outer net VPN instance configures routing policy, and the routing policy of the outer net VPN instance is used In make gateway to from different outer net equipment routing be arranged RT attribute.For example, being set to the routing from outer net equipment PE1 Setting RT attribute is 1:1, is 2:2 to the routing setting RT attribute from outer net equipment PE2.
Step 102, the RT attribute of tenant's VPN instance is configured.
SDN controller is configured with corresponding VPN instance, abbreviation tenant's VPN instance in gateway for each tenant.
In this step, SDN controller can configure one or more RT attribute for tenant's VPN instance.
Step 103, the RT attribute of the routing policy of the outer net VPN instance and tenant's VPN instance is handed down to Gateway.
The configuration information of step 101 and step 102 is handed down to gateway by SDN controller.
After gateway establishes neighborhood by outer net VPN instance and outer net equipment, the road of outer net equipment publication is received By, and RT attribute is arranged to received routing according to the routing policy of outer net VPN instance.Then, judging the RT attribute of routing is It is real to be added to tenant VPN after determining RT attributes match by the no RT attributes match with tenant's VPN instance for the routing received In example, tenant's flow is guided to forward according to the routing in tenant's VPN instance to outer net.
Optionally, in another embodiment of the invention, the routing of tenant's VPN instance can be further configured in SDN controller Strategy, the routing policy of tenant's VPN instance the routing being added in tenant's VPN instance are arranged according to the RT attribute of routing excellent First grade.For example, be that tenant selects PE1 for main PE when SDN controller selects active and standby mechanism, PE2 is from PE, then the tenant VPN The routing policy of example can be with are as follows: the routing (routing from PE1) of setting RT attribute 1:1 is high priority, and RT attribute is arranged The routing (routing from PE2) of 2:2 is low priority.
The routing policy of tenant's VPN instance of configuration is handed down to gateway by SDN controller.Gateway is according to tenant Priority is arranged to the routing being added in tenant's VPN instance in the routing policy of VPN instance, then in subsequent boots tenant's flow When, matching high priority is routed to be forwarded to outer net.When high priority routing respective links are unreachable, gateway ceases to be in force automatically High priority routing, come into force time high priority routing, guides tenant's flow according to the routing forwarding newly to come into force, that is, to realize The active and standby mechanism of a plurality of routing.
If SDN controller is not configured routing priority, gateway using a plurality of routing in tenant's VPN instance as etc. Valence routing, realizes load balancing.It is not emphasis of the present invention that how specific tenant's flow, which matches equivalent route forwarding, no longer superfluous herein It states.
In addition, SDN controller can configure the RT attribute exclusively enjoyed for tenant's VPN instance, for example, RT attribute 1:1 is only configured To tenant 1, then the routing from PE1 can only be added in the VPN instance of tenant 1, i.e., tenant 1 exclusively enjoys PE1 and carries out outer net flow Forwarding.
It should be added that the RT attribute of SDN controller configuration tenant's VPN instance, specifically can include: determine gateway The state for the outgoing interface being connect in equipment with outer net equipment;The outgoing interface being connect with outer net equipment according to the state pair of outgoing interface into Row sequence configures tenant's VPN instance according to the RT attribute for the outer net equipment that the selection that puts in order of outgoing interface is connect with outgoing interface RT attribute.That is, the outgoing interface of selection state optimization forwards tenant's flow.Wherein, outgoing interface state can according to go out connect Up (enabling)/down (disabling) state of mouth and the bandwidth rates of outgoing interface determine.For example, when outgoing interface is in UP state, It is ranked up from large to small according to remaining bandwidth rate;Select outgoing interface up and the maximum outgoing interface (state of remaining bandwidth rate Optimal outgoing interface) connection outer net equipment RT attribute, configure tenant's VPN instance RT attribute.
SDN controller monitors outgoing interface state in real time, when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down When state, the RT attribute of tenant's VPN instance is deleted, retriggered configures the RT attribute of tenant's VPN instance, that is, flows tenant Amount matches more excellent route always and forwards to outer net.Specifically, the RT attribute of retriggered configuration tenant's VPN instance, still uses The method of above-mentioned offer, it may be assumed that determine the state for the outgoing interface connecting in gateway with outer net equipment;According to the state of outgoing interface The outgoing interface connecting with outer net equipment is ranked up, is set according to the outer net that selection is connect with outgoing interface that puts in order of outgoing interface Standby RT attribute configures the RT attribute of tenant's VPN instance.More specifically, it can be carried out from large to small according to remaining bandwidth rate Sequence;The RT attribute for selecting outgoing interface up and the outer net equipment of the maximum outgoing interface connection of remaining bandwidth rate, configures tenant VPN The RT attribute of example.
It can be seen from the above description that the present invention configures the VPN instance in gateway by SDN controller, It realizes the dynamic addition routed in gateway, provides a plurality of optional path forwarding for tenant's flow.
Now for SDN network, routing configuration process is introduced shown in Fig. 2.Illustrating SDN network includes virtual machine VM1~VM4 (Virtual Machine, abbreviation VM), virtual swap device OVS1 and OVS2 (Open vSwitch, abbreviation OVS), SDN control Device, gateway GW (Gateway, abbreviation GW), outer net equipment PE1~PE4 (Provider Edge, abbreviation PE).Gateway 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 denoted as ExtVPN, and at the ExtVPN respectively with PE1~PE4 Establish neighborhood.SDN controller can configure routing policy, the enabled routing received from different PE for different neighbours Different RT is set.Such as: SDN controller is that ExtVPN configures routing policy, is denoted as Policy1, which is specially pair Routing setting RT attribute from PE1 is 1:1;It is 2:2 to the routing setting RT attribute from PE2;Routing from PE3 is set Setting RT attribute is 3:3;It is 4:4 to the routing setting RT attribute from PE4.SDN controller is issued by netconf agreement The Policy1 of ExtVPN is to GW.
When increasing tenant User1 (renting VM1) in SDN network newly, the VPN that SDN controller creates User1 on GW is real Example, is denoted as UserVPN1, and configure 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 routing (being denoted as R1) from PE1, belonged to according to the RT that R1 is arranged in the routing policy Policy1 of ExtVPN Property is 1:1, and the RT attribute of R1 is matched with the RT attribute 1:1 in UserVPN1, and therefore, R1 is added in UserVPN1.Similarly, The routing (being denoted as R2) that GW is received from PE2 is 2:2, R2 according to the RT attribute that R2 is arranged in the routing policy Policy1 of ExtVPN RT attribute matched with the RT attribute 2:2 in UserVPN1, therefore, R2 is added in UserVPN1.So far, in UserVPN1 There are two routing R1 and R2.This two routings can be guided the flow of User1 to forward to outer net by GW as equivalent route.
Certainly, above-mentioned two routings can also be regard as main standby route.Specifically it can configure UserVPN1's by SDN controller Routing policy Policy2, the Policy2 are specially excellent according to the setting of the RT attribute of routing to the routing being added in UserVPN1 First grade, for example, the priority for the routing that setting RT attribute is 1:1 is high priority;The priority for the routing that RT attribute is 2:2 is Default priority, i.e. low priority.
Optionally, it when priority is arranged, can be configured by number, such as digital big, the priority that priority is high Low number is small, and then the priority of routing can be determined by comparing Digital size.
SDN controller issues the routing policy Policy2 of UserVPN1 to GW by netconf agreement.Then GW to It is 7 according to the priority that R1 is arranged in the Policy2 of UserVPN1 when UserVPN1 addition routing R1;When addition routing R2, according to The priority of the Policy2 setting R2 of UserVPN1 is default priority 0.High priority routing R1 comes into force in GW, low priority R2 failure is routed, the flow matches R1 of User1 is forwarded to outer net.When the next-hop of R1 is unreachable, R1 failure, R2 comes into force, The flow of User1 can be forwarded by R2 to outer net, and the purpose of main standby route is played.
It should be noted that the priority of R1 is the default priority 0 of 7 and R2, therein digital 7 and digital 0 only It is for example, should not be as limitation.
It should be added that the RT attribute of the dynamically configurable UserVPN1 of SDN controller.Specifically, SDN controller It can be connect by the Openflow between GW, obtain the outgoing interface connecting on GW with PE equipment (it is assumed that connecting with PE1~PE4 Outgoing interface be respectively Interface1~Interface4) state, including UP/DOWN state, interface bandwidth rate etc..When Outgoing interface is in up state, and remaining bandwidth is greater than preset threshold, i.e., when remaining bandwidth is more, the state of the outgoing interface is more excellent. It is ranked up according to outgoing interface state, selects the state preferably RT attribute configuration UserVPN1's of the 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 are intended to be UserVPN1 and configure two RT attributes, then by the RT for the PE1 connecting with Interface1 Attribute 1:1, the PE2 being connect with Interface2 RT attribute 2:2 be allocated to UserVPN1, for User1 provide high quality turn Send out path.
It is assumed that SDN monitoring control devices Interface1 is in down state, then the RT attribute of UserVPN1 can be actively deleted 1:1 reselects the state preferably RT attribute of outgoing interface configuration UserVPN1, for example, according to outgoing interface state sequencing selection The RT attribute of the RT attribute 3:3 configuration UserVPN1 for the PE3 being connect with Interface3, at this point, configured in UserVPN1 two A RT attribute is 2:2 and 3:3, to guarantee the transfer quality of the flow of User1.
Corresponding with the embodiment of aforementioned method for configuring route, the present invention also provides the embodiments of routing configuration device.
The embodiment of routing configuration device of the present invention can be applied on SDN controller.Installation practice can be by soft Part is realized, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as a logical meaning On device, be that corresponding computer program instructions are formed in the processor run memory by equipment where it.From hard For part level, as shown in figure 3, for a kind of hardware structure diagram of equipment where routing configuration device of the present invention, in addition to shown in Fig. 3 Processor and nonvolatile memory except, the practical function of equipment in embodiment where device generally according to the equipment Can, it can also include other hardware, this is repeated no more.
Referring to FIG. 4, for the structural schematic diagram of the routing configuration device in one embodiment of the invention.Routing configuration dress It sets including tactful configuration unit 401, attribute configuration unit 402 and configuration distributing unit 403, in which:
Tactful configuration unit 401, for configuring the routing policy of outer net virtual private network example, the outer net VPN is real The routing policy of example is used to make gateway that route target RT attribute be arranged to the routing 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 the outer net VPN instance and tenant's VPN instance RT attribute is handed down to gateway, so that the gateway is set according to the routing policy of the outer net VPN instance to from outer net After RT attribute is arranged in standby received routing, judge the routing RT attribute whether the RT attribute with tenant's VPN instance Match, and after determining RT attributes match, the routing received be added in tenant's VPN instance, guide tenant's flow to Outer net forwarding.
Further,
The strategy configuration unit 401, is also used to configure the routing policy of tenant's VPN instance, and the tenant VPN is real The routing policy of example is used to that priority to be arranged according to the RT attribute of routing to the routing being added in tenant's VPN instance;
The configuration distributing unit 403, is also used to the routing policy of tenant's VPN instance being handed down to the gateway and sets It is standby, so that the gateway is according to the routing policy of tenant's VPN instance to the road being added in tenant's VPN instance By setting priority, guides tenant's flow to route using the high priority being matched to outer net and forward.
Further, the attribute configuration unit 402, comprising:
State determining module, for determining the state for the outgoing interface connecting in the gateway with outer net equipment;
Interface sorting module, for according to outgoing interface up/down state and bandwidth rates pair connect with outer net equipment Outgoing interface is ranked up;
Attribute selection module, the RT category for the outer net equipment that the selection that puts in order according to outgoing interface is connect with outgoing interface Property, configure the RT attribute of tenant's VPN instance.
Further,
The interface sorting module is specifically used for as outgoing interface up, is arranged from large to small according to remaining bandwidth rate Sequence;
The attribute selection module, specifically for selection outgoing interface up and the maximum outgoing interface connection of remaining bandwidth rate The RT attribute of outer net equipment configures the RT attribute of tenant's VPN instance.
Further, the attribute configuration unit 402, further includes:
Attribute removing module, for deleting when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down state The RT attribute of tenant's VPN instance, retriggered configure the RT attribute of tenant's VPN instance.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of method for configuring route, applied to the controller in software defined network SDN, which is characterized in that the method packet It includes:
The routing policy of outer net virtual private network example is configured, the routing policy of the outer net VPN instance is for setting gateway It is standby that route target RT attribute is arranged to the routing from different outer net equipment;
Configure the RT attribute of tenant's VPN instance;
The RT attribute of the routing policy of the outer net VPN instance and tenant's VPN instance is handed down to gateway, so that The gateway according to the routing policy of the outer net VPN instance to after the received routing setting RT attribute of outer net equipment, Judge the received routing RT attribute whether the RT attributes match with tenant's VPN instance, and determining RT attribute After matching, the routing received is added in tenant's VPN instance, tenant's flow is guided to forward to outer net.
2. the method as described in claim 1, which is characterized in that the method also includes:
Configure the routing policy of tenant's VPN instance, the routing policy of tenant's VPN instance is used for being added to the rent Priority is arranged according to the RT attribute of routing in routing in the VPN instance of family;
The routing policy of tenant's VPN instance is handed down to the gateway, so that the gateway is according to the rent Priority is arranged to the routing being added in tenant's VPN instance in the routing policy of family VPN instance, and tenant's flow is guided to use The high priority being matched to is routed to be forwarded to outer net.
3. the method as described in claim 1, which is characterized in that the RT attribute of configuration tenant's VPN instance, comprising:
Determine the state for the outgoing interface connecting in the gateway with outer net equipment;
It is ranked up according to the outgoing interface that the up/down state and bandwidth rates pair of outgoing interface are connect with outer net equipment;
According to the RT attribute for the outer net equipment that the selection that puts in order of outgoing interface is connect with outgoing interface, tenant's VPN instance is configured RT attribute.
4. method as claimed in claim 3, which is characterized in that the up/down state and bandwidth rates according to outgoing interface The outgoing interface connecting with outer net equipment is ranked up, comprising:
As outgoing interface up, it is ranked up from large to small according to remaining bandwidth rate;
The RT attribute for the outer net equipment that the selection that puts in order according to outgoing interface is connect with outgoing interface, configuration tenant VPN are real The RT attribute of example, comprising:
The RT attribute for selecting outgoing interface up and the outer net equipment of the maximum outgoing interface connection of remaining bandwidth rate, configures tenant VPN The RT attribute of example.
5. method as claimed in claim 3, which is characterized in that when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in When down state, the RT attribute of tenant's VPN instance is deleted, retriggered configures the RT attribute of tenant's VPN instance.
6. a kind of routing configuration device, applied to the controller in software defined network SDN, which is characterized in that described device packet It includes:
Tactful configuration unit, for configuring the routing policy of outer net virtual private network example, the road of the outer net VPN instance By strategy for making gateway that route target RT attribute be arranged to the routing from different outer net equipment;
Attribute configuration unit, for configuring the RT attribute of tenant's VPN instance;
Configuration distributing unit, for will be under the RT attribute of the routing policy of the outer net VPN instance and tenant's VPN instance Gateway is issued, so that the gateway is according to the routing policy of the outer net VPN instance to received from outer net equipment Routing setting RT attribute after, judge the received routing RT attribute whether the RT attributes match with tenant's VPN instance, And after determining RT attributes match, the routing received is added in tenant's VPN instance, guides tenant's flow to outer net Forwarding.
7. device as claimed in claim 6, it is characterised in that:
The strategy configuration unit, is also used to configure the routing policy of tenant's VPN instance, the road of tenant's VPN instance By strategy for priority to be arranged according to the RT attribute of routing to the routing being added in tenant's VPN instance;
The configuration distributing unit is also used to the routing policy of tenant's VPN instance being handed down to the gateway, so that The gateway is arranged the routing being added in tenant's VPN instance according to the routing policy of tenant's VPN instance Priority is guided tenant's flow to be routed using the high priority being matched to outer net and forwarded.
8. device as claimed in claim 6, which is characterized in that the attribute configuration unit, comprising:
State determining module, for determining the state for the outgoing interface connecting in the gateway with outer net equipment;
Interface sorting module, for according to outgoing interface up/down state and bandwidth rates pair connect with outer net equipment go out connect Mouth is ranked up;
Attribute selection module, for the RT attribute for the outer net equipment that the selection that puts in order according to outgoing interface is connect with outgoing interface, Configure the RT attribute of tenant's VPN instance.
9. device as claimed in claim 8, it is characterised in that:
The interface sorting module is specifically used for as outgoing interface up, is ranked up from large to small according to remaining bandwidth rate;
The attribute selection module, specifically for selection outgoing interface up and the outer net of the maximum outgoing interface connection of remaining bandwidth rate The RT attribute of equipment configures the RT attribute of tenant's VPN instance.
10. device as claimed in claim 8, which is characterized in that the attribute configuration unit, further includes:
Attribute removing module, for when the corresponding outgoing interface of RT attribute of tenant's VPN instance is in down state, described in deletion The RT attribute of tenant's VPN instance, retriggered configure 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 CN106411735A (en) 2017-02-15
CN106411735B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111327531B (en) * 2018-12-17 2022-08-02 中兴通讯股份有限公司 VDC-based routing configuration method, device, equipment and readable storage medium
CN111092816B (en) * 2019-11-26 2022-02-15 金蝶软件(中国)有限公司 Gateway dynamic routing method, gateway dynamic routing device, computer equipment and storage medium
CN111049721B (en) * 2019-12-12 2021-06-29 广州鲁邦通物联网科技有限公司 OpenVPN cluster, construction method thereof, communication method and system
CN116170443B (en) * 2023-04-20 2023-08-22 安超云软件有限公司 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

Also Published As

Publication number Publication date
CN106411735A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106411735B (en) A kind of method for configuring route and device
US11323292B2 (en) Connecting to multiple cloud instances in a telecommunications network
US11425055B2 (en) Method and apparatus for implementing and managing virtual switches
US11050588B2 (en) Method and system of overlay flow control
JP7417825B2 (en) slice-based routing
US10250529B2 (en) Systems and methods for performing logical network forwarding using a controller
US9077640B2 (en) Method and system of congestion control in a mobile virtual network
US9485172B2 (en) Data transmitting device, data transmitting method and non-transitory computer-readable storage medium
WO2016107418A1 (en) Allocation method, apparatus and system for cloud network communication path
KR101473783B1 (en) Method and apparatus for control of dynamic service chaining by using tunneling
US10587494B2 (en) Network control method and apparatus
US7590074B1 (en) Method and apparatus for obtaining routing information on demand in a virtual private network
US9705704B2 (en) Method and system of forming a mobile virtual network
US20180077048A1 (en) Controller, control method and program
CN106059915A (en) System and method for implementing limitation of north-south traffic of tenants based on SDN controller
US9270580B1 (en) Method and system for traffic isolation in a network
CN109587286A (en) A kind of equipment connection control method and device
CN111953661A (en) SDN-based east-west flow security protection method and system
US20170331725A1 (en) Method to establish a non-disruptive communications path between multiple devices
CN110636059B (en) Network attack defense system, method, SDN controller, router, device and medium
US10015074B1 (en) Abstract stack ports to enable platform-independent stacking
Šeremet et al. Evolving IP/MPLS network in order to meet 5G requirements
CN108259203A (en) The update method and the network equipment of the network equipment
US12009947B2 (en) Connecting to multiple cloud instances in a telecommunications network
US20180109472A1 (en) Controller, control method and program

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