CN106027396A - Route control method, device and system - Google Patents

Route control method, device and system Download PDF

Info

Publication number
CN106027396A
CN106027396A CN201610282080.3A CN201610282080A CN106027396A CN 106027396 A CN106027396 A CN 106027396A CN 201610282080 A CN201610282080 A CN 201610282080A CN 106027396 A CN106027396 A CN 106027396A
Authority
CN
China
Prior art keywords
tenant
information
gateway
route
network identity
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
CN201610282080.3A
Other languages
Chinese (zh)
Other versions
CN106027396B (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 CN201610282080.3A priority Critical patent/CN106027396B/en
Publication of CN106027396A publication Critical patent/CN106027396A/en
Application granted granted Critical
Publication of CN106027396B publication Critical patent/CN106027396B/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/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • 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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Landscapes

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

Abstract

The embodiment of the invention provides a route control method, device and system. The method comprises the steps of: acquiring first tenant information corresponding to a first gateway and second tenant information corresponding to a second gateway; and notifying the first gateway of not sending preset route information to the second gateway when the first tenant information and the second tenant information meet a preset condition. Through adoption of the method, the device and the system provided by the invention, unnecessary route information transmission between the gateways can be reduced, so that link bandwidth and waste of CPU resources during analyzing and processing the route information can be reduced.

Description

A kind of route control method, device and system
Technical field
The application relates to communication technical field, particularly relates to a kind of route control method, device and system.
Background technology
VxLAN (Virtual Extensible Local Area Network, virtual expansible LAN) technology Can be used for extended network virtualization so that multiple VM in same VxLAN (virtual machine, Virtual machine) can communicate across three-layer network.In VxLAN technology, the corresponding void of each tenant Intending overlay network (virtual overlay network), each virtual overlay network is considered as a VxLAN net Section (segment) and (VxLAN network identifier virtual expands by the VNI of 24 Exhibition local net network identifier) mark, therefore 24 powers that segment maximum quantity is 2, it is roughly equal to 16M Individual, effectively breach the restriction of the 4K tenant of tradition VLAN, but, VxLAN cannot realize net Load balancing in network.
The problem that cannot realize load balancing in order to solve VxLAN, EVPN (Ethernet Virtual Private Network, ether Virtual Private Network) network architecture arises at the historic moment.It is flat that EVPN introduces control The concept that face separates with datum plane, uses BGP (Border Gateway Protocol, borde gateway Agreement) distribute the flow controlling plane, datum plane uses the tunnel encapsulation mode of VxLAN with full Foot VDC (Virtual Data Center, Visualized data centre) service application demand.It is currently based on The implementation of EVPN+VxLAN is the most progressively reached common understanding.
Summary of the invention
The embodiment of the present application provides a kind of route control method, device and system, with in EVPN network Route issue and be controlled, such that it is able to reduce link bandwidth and the waste of cpu resource.
In order to solve the problems referred to above, the embodiment of the present application discloses a kind of route control method, including:
Obtain first tenant's information that the first gateway is corresponding, and second tenant's letter that the second gateway is corresponding Breath;
When described first tenant's information and described second tenant's information meet prerequisite, notify described the One gateway does not sends preset routing iinformation to described second gateway.
According to further aspect of the application, the embodiment of the present application discloses a kind of route control device, bag Include:
Data obtaining module, for obtaining first tenant's information that the first gateway is corresponding, and the second gateway Second corresponding tenant's information;
Notification module, for meeting prerequisite in described first tenant's information and described second tenant's information Time, notify that described first gateway does not sends preset routing iinformation to described second gateway.
According to the another aspect of the application, the embodiment of the present application discloses a kind of route control system, bag Include: the first gateway, the second gateway and route control device;Wherein, described route control device include as Route control device according to any one of claim 6-10;
Wherein, described route control device is used for obtaining first tenant's information that the first gateway is corresponding, and Second tenant's information that second gateway is corresponding;Further, described first tenant's information and described second tenant When information meets prerequisite, described route control device is used for notifying that described first gateway is not to described Two gateways send preset routing iinformation.
The embodiment of the present application includes advantages below:
The embodiment of the present application for the first gateway and the second gateway, obtain that the first gateway is corresponding respectively One tenant's information, and second tenant's information that the second gateway is corresponding;Owing to the embodiment of the present application is determining When described first tenant's information and described second tenant's information meet prerequisite, described first can be notified Gateway does not sends preset routing iinformation to described second gateway, therefore, it can reduce between gateway and transmits not Necessary routing iinformation, such that it is able to reduce link bandwidth, and reduces these routing iinformations of dissection process Time waste to cpu resource.
Accompanying drawing explanation
Fig. 1 shows the flow chart of steps of a kind of route control method of one of them embodiment of the application;
Fig. 2 shows the flow chart of steps of a kind of route control method of another embodiment of the application;
Fig. 3 shows the flow chart of steps of a kind of route control method of the another embodiment of the application;
Fig. 4 shows the structural representation of a kind of EVPN network of one of them embodiment of the application;
Fig. 5 shows the structured flowchart of a kind of route control device of one of them embodiment of the application;
Fig. 6 shows the structured flowchart of a kind of route control system of one of them embodiment of the application.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from With detailed description of the invention, the application is described in further detail.
A kind of in order to realize the method communicated between tenant under different gateway, need manual in each gateway joining Put tenant's information, such as IP (Internet Protocol, the agreement of interconnection between network) the address letter of VM Breath, the configuration information etc. of EVPN, in addition it is also necessary to the BGP EVPN neighbor information between manual configuration gateway Deng;So, when there is a large amount of gateway and tenant in EVPN network, configuration workload is huge, thus Cause communication efficiency relatively low.
Additionally, in EVPN network, gateway can issue oneself all of bgp routing information to opposite end; Owing to there is the route the most unrelated with receiving terminal in these bgp routing informations, therefore, it is right to cause The waste of link bandwidth, and waste to cpu resource when causing these routes of dissection process.
With reference to Fig. 1, it is shown that the step stream of a kind of route control method of one of them embodiment of the application Cheng Tu, the method can be applicable to the server in EVPN network, and (described server can be arbitrary form Can provide calculate service equipment), specifically may include steps of:
Step 101, obtain first tenant's information that the first gateway is corresponding, and the second gateway corresponding Two tenant's information;
Step 102, when described first tenant's information and described second tenant's information meet prerequisite, Notify that described first gateway does not sends preset routing iinformation to described second gateway.
In the embodiment of the present application, described first gateway and the second gateway are specifically as follows VxLAN network In edge device, and BGP EVPN neighborhood between the first gateway and the second gateway, can be set up. Described prerequisite can be can not be across the condition of tenant's communication, and concrete, described prerequisite can be Network identity does not mates and/or Route Distinguisher does not mates, namely first tenant's information and described second tenant When information meets prerequisite, it is believed that can not realize between the first tenant and the second tenant entering across tenant Row communication, therefore, it can notify that described first gateway does not sends preset routing iinformation to described second gateway, Take with minimizing link bandwidth and cpu resource.
In the embodiment of the present application, described preset routing iinformation is particularly used in and represents issue between gateway Bgp routing information.Described preset routing iinformation specifically can include appointing in 1 class to 5 class routing iinformations Anticipate one or more.Wherein, 2 class routing iinformations, 3 class routing iinformations and 5 class routing iinformations are at EVPN Network use more universal, therefore, main with 2 class routing iinformations, 3 class roads in the embodiment of the present application Illustrated by as a example by information and 5 class routing iinformations, to 1 class routing iinformation and the control of 4 class routing iinformations Process processed is identical with the control process of 2 class routing iinformations, 3 class routing iinformations and 5 class routing iinformations, phase Reference mutually.
In EVPN network, when setting up after neighborhood between gateway, gateway can be to neighbours' gateway Send substantial amounts of 2 class routing iinformations or 3 class routing iinformations.When tenant introduces external routes, net Close and can send substantial amounts of 5 class routing iinformations to neighbours' gateway.And the embodiment of the present application is in EVPN network, Obtain first tenant's information that the first gateway is corresponding, and second tenant's information that the second gateway is corresponding, as Fruit determines that first tenant's information and second tenant's information meet prerequisite, then notify that the first gateway is not to the Two gateways send preset routing iinformation (such as 2 classes or 3 classes or 5 class routing iinformations), can subtract The transmission of few unnecessary routing iinformation.Therefore, the embodiment of the present application can have in EVPN network 2 class routing iinformations, 3 class routing iinformations and 5 class routing iinformations etc. that effect controls between gateway are preset The issue of routing iinformation.
In a kind of alternative embodiment of the application, described first tenant's letter can be determined as follows Breath and second tenant's information meet prerequisite:
Step S11, the network identity obtained in described first tenant's information and described second tenant's letter Network identity in breath;
Step S12, network identity in described first tenant's information with in described second tenant's information When network identity does not mates, determine that described first tenant's information and described second tenant's information meet preset bar Part.
Wherein, described network identity specifically can include three-layer network mark or double layer network mark. When described network identity is three-layer network mark, the embodiment of the present application can be used for controlling EVPN network In the issue of 5 class routing iinformations, when described network identity is double layer network mark, the application implements Example can be used for controlling 2 class routing iinformations in EVPN network or the issue of 3 class routing iinformations.
In EVPN network based on VxLAN, can be that each tenant distributes a three-layer network mark Know, be designated as L3VNI, L3VNI and can be used for identifying a tenant.Unmatched for L3VNI two Tenant, it is impossible to carry out communicating across tenant, then issue 5 class routes between the gateway that these two tenants are corresponding Information, also easily causes the waste of link bandwidth and cpu resource, and therefore, the embodiment of the present application is really When L3VNI in fixed first tenant's information and the L3VNI in second tenant's information does not mates, can be true Fixed described first tenant's information meets prerequisite with second tenant's information, then can notify described first net Described in Guan Buxiang, the second gateway sends preset routing iinformation (such as 5 class routing iinformations), to reduce link band The wide waste with cpu resource.
In implementing, control 2 class routing iinformations and the issue of 3 class routing iinformations, and control 5 classes The process of routing iinformation is similar to, and difference is that 2 class routing iinformations and 3 class routing iinformations are for double layer network In, therefore, when determining prerequisite, can compare in first tenant's information double layer network mark with Double layer network in second tenant's information identifies whether coupling.Wherein, described double layer network mark specifically may be used Think that VxLAN ID, VxLAN ID is VNI (the VxLAN Network in VxLAN network Identifier, VxLAN network identifier).Specifically, the VxLAN ID in first tenant's information When not mating with the VxLAN ID in second tenant's information, it may be determined that first tenant's information is rented with second Family information meets prerequisite.
In actual applications, step 102 can be by the server in EVPN network under the first gateway Send out the first labelling.Wherein, described first labelling can be used for notifying that the first gateway does not sends in advance to the second gateway Putting routing iinformation, described server can be any form of equipment that can provide the service of calculating, this Shen The concrete form of server please be any limitation as embodiment.Be appreciated that the embodiment of the present application for Notify that the concrete mode that the first gateway does not sends preset routing iinformation to the second gateway is not any limitation as.
In sum, the embodiment of the present application, for the first gateway and the second gateway, obtains the first net respectively Close first corresponding tenant's information, and second tenant's information that the second gateway is corresponding;Owing to the application is real Execute example when determining that described first tenant's information and described second tenant's information meet prerequisite, Ke Yitong Know that described first gateway does not sends preset routing iinformation to described second gateway, therefore, it can reduce gateway Between transmit unnecessary routing iinformation, such that it is able to reduce link bandwidth, and reduce dissection process this Waste to cpu resource during a little routing iinformation.
In another embodiment of the application, the network identity in first tenant's information and the second tenant letter During network identification match in breath, it is also possible to judge that whether the Route Distinguisher in first tenant's information is with second In tenant's information Route Distinguisher coupling, such as, it is judged that the extraction Route Distinguisher in first tenant's information with Introducing Route Distinguisher in second tenant's information whether mate (or, it is judged that the introducing of first tenant's information Whether the extraction Route Distinguisher in Route Distinguisher and second group of family information mates).Due to the embodiment of the present application In the case of network identity in first tenant's information and the network identification match in second tenant's information, Route Distinguisher in Route Distinguisher in first tenant's information and second tenant's information can also be done into one Step coupling, to determine whether to notify that described first gateway does not sends preset route letter to described second gateway Breath, therefore, it can reduce further the unnecessary routing iinformation of output between gateway.
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of route control method of another embodiment of the application, Specifically may include steps of:
Step 201, obtain first tenant's information that the first gateway is corresponding, and the second gateway corresponding Two tenant's information;Wherein, described first gateway and described second gateway are neighborhood;
Step 202, when described first tenant's information and described second tenant's information meet prerequisite, Notify that described first gateway does not sends preset routing iinformation to described second gateway;
Step 203, network identity in described first tenant's information with in described second tenant's information During network identification match, obtain the Route Distinguisher in described first tenant's information, and described second tenant Route Distinguisher in information;
Step 204, Route Distinguisher in described first tenant's information with in described second tenant's information When Route Distinguisher does not mates, notify that described first gateway does not sends preset route letter to described second gateway Breath.
In embodiments of the present invention, the Route Distinguisher in first tenant's information and the road in second tenant's information By identifying whether coupling, specifically can be by judging the extraction Route Distinguisher and second in first tenant's information Whether the introducing Route Distinguisher in tenant's information mates to determine.Or, by judging first tenant's information The extraction Route Distinguisher introduced in Route Distinguisher and second group of family information whether mate to determine.
With reference to table 1, it is shown that a kind of first tenant's information of the application and the signal of second tenant's information.
Table 1
Tenant's name RD ERT IRT L3VNI
First tenant 1:1 1:1 1:2 100
Second tenant 2:2 2:1 2:2 100
In table 1, RD is the Route Distinguisher in EVPN network, is used for identifying routing device (gateway) Corresponding unique tenant;ERT is export route-target (extraction Route Distinguisher), at gateway to outgoing Need to carry ERT, IRT during cloth route is import route-target (introducing Route Distinguisher), if gateway The ERT carried in the routing iinformation received mates with the IRT of self, then receive this routing iinformation, Otherwise abandon this routing iinformation;L3VNI, for one tenant of mark, configures identical two tenants During L3VNI, could realize communicating across tenant.
With reference to table 1, due in the L3VNI in first tenant's information of acquiring and second tenant's information L3VNI be 100, the two coupling, then proceed comparison, obtain in described first tenant's information Extraction Route Distinguisher ERT, and the introducing Route Distinguisher IRT in second tenant's information, specifically, ERT in first tenant's information is 1:1, and the IRT in second tenant's information is 2:2, and the two is not Join, even if illustrating that the second gateway receives the 2 class routing iinformations from the first gateway or 3 classes route Information or 5 class routing iinformations, also can abandon.Therefore, it can notify described first gateway not 2 class routing iinformations or 3 class routing iinformations or 5 class routing iinformations are sent to described second gateway, To reduce link bandwidth and the waste of cpu resource.
In a kind of alternative embodiment of the application, described method can also comprise the steps:
Step 205, Route Distinguisher in described first tenant's information with in described second tenant's information During Route Distinguisher coupling, notify described first gateway to allow to described second gateway and send preset route letter Breath.
In a particular application, the network identity in first tenant's information and the network in second tenant's information Mark coupling, and the introducing drawn in Route Distinguisher and the second tenant's information route in first tenant's information When mark is also mated, it is believed that leading between tenant can be realized between the first tenant and the second tenant Letter, therefore, it is allowed to the first gateway sends preset routing iinformation to the second gateway.Specifically, can pass through Server in EVPN network issues the second labelling to the first gateway.Wherein, described second labelling can be used Preset routing iinformation is sent in notifying the first gateway to allow to the second gateway.
In the another kind of application example of the application, it is assumed that the first tenant's information acquired and second is rented Family information is as shown in table 2.
Table 2
Tenant's name RD ERT IRT L3VNI
First tenant 1:1 1:1 1:2 100
Second tenant 2:2 2:1 1:1 100
With reference to table 2, due in the L3VNI in first tenant's information of acquiring and second tenant's information L3VNI be 100, the two coupling, then obtain further the ERT in described first tenant's information, And the IRT that second in tenant's information, both at 1:1, also mate, therefore, it can notify first Gateway allows to send 2 class routing iinformations or 3 class routing iinformations or 5 classes route to the second gateway Information, can realize between the first tenant with the second tenant communicating.
In sum, the embodiment of the present application network identity in first tenant's information and second tenant's information In network identification match time, it is also possible to determine whether the Route Distinguisher and second in first tenant's information Whether the Route Distinguisher in tenant's information mates, and then determines whether to notify that described first gateway is not to described Second gateway sends preset routing iinformation, such that it is able to filter routing iinformation further, to enter one Step reduces the transmission of unnecessary routing iinformation.
In the another embodiment of the application, the rent in EVPN network can be pre-set in the server Neighbours' configuration information between family configuration information and gateway, and by server by tenant's information and neighbour The information that occupies is issued to the gateway of correspondence automatically.Additionally, the embodiment of the present application can also realize EVPN net Route in network automatically configures, as automatically distributed gateway and the IP address of subnet, to reduce EVPN The static manual configuration operation of network, such that it is able to improve the efficiency of the routing configuration of EVPN network, with And alleviate the configuration workload of network manager.
With reference to Fig. 3, it is shown that the flow chart of steps of a kind of route control method of the another embodiment of the application, Specifically may include steps of:
Step 301, issue described first tenant's information to described first gateway;
Step 302, issue described second tenant's information to described second gateway;
Step 303, issue neighbor information to described first gateway and described second gateway;
Step 304, obtain first tenant's information that described first gateway is corresponding, and described second gateway Second corresponding tenant's information;Wherein, described first gateway and described second gateway are neighborhood;
Step 305, when described first tenant's information and described second tenant's information meet prerequisite, Notify that described first gateway does not sends preset routing iinformation to described second gateway.
In EVPN network, when there is relatively multiple gateway and tenant, if to each gateway manual configuration Corresponding tenant's information and neighbor information, can extreme influence communication efficiency.Therefore, the embodiment of the present application The neighbour between tenant's configuration information and the gateway in EVPN network can be pre-set on the server Occupy configuration information, and automatically issue tenant's information and neighbor information to gateway, to carry by server High allocative efficiency and communication efficiency.
In a kind of alternative embodiment of the application, first tenant's letter that described acquisition the first gateway is corresponding Breath, and second tenant's information that the second gateway is corresponding, specifically may include that
According to the tenant's configuration information pre-set, obtain first tenant's letter that described first gateway is corresponding Breath, and second tenant's information that described second gateway is corresponding.
In a particular application, network manager can pre-set the rent in EVPN network in the server Family configuration information, described tenant's configuration information specifically can include tenant's information that each gateway is corresponding, and lead to Cross this server and issue tenant's configuration information, further, server to the gateway being connected with this server Tenant's configuration information that server issues to gateway can be recorded, and then from the information of record, obtain first First tenant's information that gateway is corresponding, and second tenant's information that the second gateway is corresponding, to judge whether The first gateway is allowed to send preset routing iinformation to the second gateway.It is appreciated that described server is all right By obtaining tenant's information that gateway is corresponding with the communication between gateway, such as, described server is permissible By the communication between the first gateway, obtain first tenant's information that the first gateway is corresponding;Or pass through And the communication between the second gateway, obtains second tenant's information that the second gateway is corresponding.In a word, the present invention Embodiment is not any limitation as the concrete mode obtaining tenant's information.
Additionally, tenant's information realization can also be issued by server automatically, such as, pre-set described in Tenant's configuration information includes: first tenant's information that the first gateway is corresponding, wraps in this first tenant information Include the information such as the first tenant corresponding RD, ERT, IRT, L3VNI, and the second gateway corresponding Two tenant's information, this second tenant information includes RD, ERT, IRT, L3VNI that the second tenant is corresponding Etc. information.Then server can issue first tenant's letter according to described tenant's configuration information to the first gateway Breath, and issue second tenant's information to the second gateway.Such that it is able to realize automatically configuring of tenant's information, Relative to prior art needing each tenant's information is carried out manual configuration, tenant's information configuration can be improved Efficiency.
In the another kind of alternative embodiment of the application, described first gateway can be determined as follows It is neighborhood with described second gateway:
According to the neighbours' configuration information pre-set, obtain the neighbour between described first gateway and the second gateway Occupy information.The most described method can also comprise the steps:
The neighbor information between described first gateway and the second gateway is issued to described the first/bis-gateway.
Same, the neighbours that network manager can also pre-set in EVPN network in the server join Confidence ceases, and issues the neighbor information of correspondence to gateway according to this neighbours' configuration information.Further, server The neighbours' configuration information pre-set described in can passing through, it is judged that between the first gateway and the second gateway whether For neighborhood, when the first gateway and the second gateway are neighborhood, the first gateway just can be to the second net Close and send preset routing iinformation, then further determine whether to allow the first gateway to send preset to the second gateway Routing iinformation.
Additionally, due to server can issue between the first gateway and the second gateway from trend the first/bis-gateway Neighbor information so that the first gateway and the second gateway can set up neighborhood according to this neighbor information, It is thereby achieved that the automatically configuring of neighborhood, such that it is able to improve the efficiency of configuration neighborhood. In another alternative embodiment of the application, it is also possible to be in EVPN network automatically by server Gateway and gateway corresponding subnet configuration routing iinformation, the most described method can also comprise the steps:
The link topology information between each gateway is collected according to Link Layer Discovery Protocol;
According to described link topology information, for the subnet configuration that described each gateway and described each gateway are corresponding Routing iinformation.
Specifically, server can pass through LLDP (Link Layer Discovery Protocol, link layer Find agreement) collect the link information between gateway, and obtain the interface between link, according to network The configuration documentation that manager plans in the server, to the interface configuration of IP address of link between gateway, And be the subnet distribution IP address of tenant.
With reference to Fig. 4, it is shown that the structural representation of a kind of EVPN network of one of them embodiment of the application Figure.In the network, VRF_A1 and VRF_B1 is two tenants, and the first gateway GW1 is tenant The gateway of VRF_A1, the second gateway GW2 is the gateway of tenant VRF_B1, under tenant VRF_A1 Multiple VM can be there is, constitute a subnet SN_A1, multiple VM under VRF_B1, can also be there is, Constitute a subnet SN_B1, in EVPN network based on VxLAN, can be that each tenant divides Join a three-layer network mark, be designated as L3VNI.Between first gateway GW1 and the second gateway GW2 BGP EVPN neighborhood can be set up.
In a kind of application example of the application, server can according to the configuration documentation planned, IP address is distributed, by under the second Quality Initiative road direction GW1 by the subnet of the first Quality Initiative road direction tenant Send out first tenant's information of tenant VRF_A1, issue second tenant's letter of tenant VRF_B1 to GW2 Breath, wherein, described tenant's information specifically may include that RD, ERT, IRT, L3VNI etc.;And Issue the double layer network information of EVPN to GW1 and GW2, as VxLAN ID and corresponding RD, ERT, IRT etc.;And to GW1 and GW2 configure gateway ip address, for GW1 and GW2 it Between the interface assignment interface IP address of link;And the configuration information of BGP is issued to GW1 and GW2, The interface IP address specifying opposite end is BGP EVPN neighbor address.Further, server-assignment tenant subnet The IP address of IP address and tenant's gateway is the same network segment.Thus, complete by server automatically under Send out the process of neighbours' configuration information between routing configuration information and the gateway of EVPN network, thus can To reduce the static manual configuration operation of EVPN network, and then the route that can improve EVPN network is joined The efficiency put, and alleviate the configuration workload of network manager.
In conjunction with above-described embodiment, described route is controlled by the another embodiment of the application by a concrete example Method processed is described in detail.Still illustrate as a example by the EVPN schematic network structure shown in Fig. 4, In the embodiment of the present application, server automatically issue between tenant's information and the gateway of EVPN network Neighbor information, it is assumed that server to the first gateway GW1 issue tenant VRF_A1 first tenant letter Breath and to issue second tenant's information of tenant VRF_B1 to the second gateway GW2 as shown in table 3:
Table 3
Tenant's name RD ERT IRT L3VNI
VRF_A1 1:1 1:1 1:2 100
VRF_B1 2:2 2:1 2:2 200
In a particular application, due to can automatically be issued by server tenant's information of EVPN network with And the neighbor information between gateway, therefore, i.e. be would know that by server and which tenant's information is handed down to The information such as BGP EVPN neighbours are established, as by clothes between which gateway, and any two gateways Business device is appreciated that tenant's information of VRF_A1 to issue and gives GW1, and the rent of VRF_B1 Family information issues to give and establishes BGP EVPN neighbours between GW2, and GW1 and GW2.
In the embodiment of the present application, by server, the route of EVPN network is being automatically configured it After, can be by enabling the EVPN INFORMATION DISCOVERY computing function on server, it is achieved to EVPN network In route issue be controlled.First, server acquisition is handed down to the tenant VRF_A1's of GW1 First tenant's information, and be handed down to second tenant's information of the tenant VRF_B1 of GW2, by than L3VNI in relatively first tenant's information and second tenant's information, it is judged that whether be configured with on GW2 with The L3VNI that GW1 is identical, if L3VNI differs, then can continue to compare RT, but Directly issued the labelling not sending 5 classes routes to GW2 to GW1 by server so that GW1 not to GW2 sends 5 class routing iinformations.If L3VNI is identical, then continue to compare in first tenant's information IRT in ERT and second tenant's information, if the ERT in first tenant's information and second tenant's information In IRT do not mate, then by server to GW1 issue to GW2 do not send 5 classes route labelling, GW1 is made not send 5 class routing iinformations to GW2.If the ERT in first tenant's information and IRT coupling in two tenant's information, then issued permission by server to GW1 and send 5 classes to GW2 The labelling of routing iinformation, GW1 can send 5 class routing iinformations to GW2.
In a particular application, when needing to increase gateway device due to the extension of the network planning or business, can To be adjusted configuration documentation by network manager according to demand, as increased new tenant's information, the new rent of increase Family information can be issued automatically by server.Such as, server issues to the 3rd gateway GW3 3rd tenant's information of newly-increased tenant VRF_C1 is as shown in table 4, and server issues to GW2 Newly-increased IRT and L3VNI information is as shown in table 5.
Table 4
Tenant's name RD ERT IRT L3VNI
VRF_C1 3:3 3:1 3:2 300
Table 5
At server after GW2 issues newly-increased IRT and L3VNI information automatically, can be by newly-increased IRT and L3VNI compares with other existing tenant's information, due in first tenant's information L3VNI 100 is identical with the newly-increased L3VNI 100 in second tenant's information, and in first tenant's information Newly-increased IRT 1:1 in ERT 1:1 and second tenant's information is the most identical, then server can be under GW1 Send out the labelling allowing to send 5 class routes to GW2, trigger GW1 and send 5 class routing iinformations to GW2, Such that it is able to the communication realized between VRF_B1 and VRF_A1.
For 2 class routing iinformations and the control process of 3 class routing iinformations, with the control of 5 class routing iinformations Process is similar to, and difference is only in the comparison procedure of the first step, to 2 classes, the control of 3 class routing iinformations, That needs compare is VXLAN ID, and other process is identical, at this with the control process of 5 class routing iinformations No longer repeat.
To sum up, by the embodiment of the present application, when tenant exists all plurality of subnets route or introduces external routes Time, can effectively control the issue of EVPN route (1 class, 2 classes, 3 classes, 4 classes, 5 class routes), Reduce link bandwidth and the waste of cpu resource, improve network stabilization.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described The restriction of sequence of movement because according to the embodiment of the present application, some step can use other orders or Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 5, it is shown that the structural frames of a kind of route control device of one of them embodiment of the application Figure.In the embodiment of the present application, described device specifically may include that
Data obtaining module 501, for obtaining first tenant's information that the first gateway is corresponding, and second Second tenant's information that gateway is corresponding;
Notification module 502, for meeting preset in described first tenant's information with described second tenant's information During condition, notify that described first gateway does not sends preset routing iinformation to described second gateway.
In a kind of alternative embodiment of the application, described prerequisite specifically may include that
Network identity in described first tenant's information is with the network identity in described second tenant's information not Coupling;And/or
Route Distinguisher in described first tenant's information is with the Route Distinguisher in described second tenant's information not Coupling.
In the another kind of alternative embodiment of the application, described device can also include:
Condition criterion module, is used for determining that described first tenant's information and second tenant's information meet preset bar Part;Identifier acquisition module, for obtaining the network identity in described first tenant's information and described the Network identity in two tenant's information;
Mark contrast module, for the network identity in described first tenant's information and described second tenant When network identity in information does not mates, determine described first tenant's information and described second tenant's information symbol Close prerequisite.
In another alternative embodiment of the application, described identifier acquisition module, it is additionally operable to described When the network identity in one tenant's information and the network identification match in described second tenant's information, obtain institute State the Route Distinguisher in the Route Distinguisher in first tenant's information, and described second tenant's information;
Described notification module, the Route Distinguisher being additionally operable in described first tenant's information is rented with described second When Route Distinguisher in the information of family does not mates, notify that described first gateway does not sends pre-to described second gateway Put routing iinformation.
In another alternative embodiment of the application, described data obtaining module 501, specifically can wrap Include:
Acquisition of information submodule, for according to the tenant's configuration information pre-set, obtaining described first net Close first corresponding tenant's information, and second tenant's information that described second gateway is corresponding;
Described device can also include:
First issues module, for issuing described first tenant's information to described first gateway;
Second issues module, for issuing described second tenant's information to described second gateway.
In another alternative embodiment of the application, described device can also include:
Link discovery module, for collecting the link topology letter between each gateway according to Link Layer Discovery Protocol Breath;
Routing configuration module, for according to described link topology information, for described each gateway and described respectively The subnet configuration routing iinformation that gateway is corresponding.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
With reference to Fig. 6, it is shown that the structural frames of a kind of route control system of one of them embodiment of the application Figure, specifically may include that the first gateway the 601, second gateway 602 and route control device 603.Its In, described route control device 603 can include the route test dress described in one of them embodiment above-mentioned Put.Described route control device 603 is used for obtaining first tenant's information of the first gateway 601 correspondence, with And the second second tenant's information of gateway 602 correspondence;Further, in described first tenant's information and described the When two tenant's information meet prerequisite, described route control device 603 is used for notifying described first gateway 601 do not send preset routing iinformation to described second gateway 602.
Route control system described in the embodiment of the present application has described in one of them embodiment above-mentioned All features of route control device, therefore, the route control system described in the embodiment of the present application has above-mentioned All beneficial effects in one of them embodiment, another embodiment, the embodiment of the present application is the most superfluous at this State.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, dress Put or computer program.Therefore, the embodiment of the present application can use complete hardware embodiment, completely Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present application Can use and can be situated between with storage at one or more computers wherein including computer usable program code The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of sequence product.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal unit (system) and meter The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer, The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce One machine so that performed by the processor of computer or other programmable data processing terminal equipment Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art being once Know basic creative concept, then these embodiments can be made other change and amendment.So, Claims are intended to be construed to include preferred embodiment and fall into the institute of the embodiment of the present application scope There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Process, method, article or terminal unit including a series of key elements not only include those key elements, and Also include other key elements being not expressly set out, or also include for this process, method, article or The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end End equipment there is also other identical element.
Above to a kind of route control method, device and system provided herein, carry out detailed Jie Continuing, principle and the embodiment of the application are set forth by specific case used herein, above reality Execute the explanation of example to be only intended to help and understand the present processes and core concept thereof;Simultaneously for ability The those skilled in the art in territory, according to the thought of the application, the most all can Change part, and in sum, this specification content should not be construed as the restriction to the application.

Claims (11)

1. a route control method, it is characterised in that described method includes:
Obtain first tenant's information that the first gateway is corresponding, and second tenant's letter that the second gateway is corresponding Breath;
When described first tenant's information and described second tenant's information meet prerequisite, notify described the One gateway does not sends preset routing iinformation to described second gateway.
Method the most according to claim 1, it is characterised in that described prerequisite includes:
Network identity in described first tenant's information is with the network identity in described second tenant's information not Coupling;And/or
Route Distinguisher in described first tenant's information is with the Route Distinguisher in described second tenant's information not Coupling.
Method the most according to claim 2, it is characterised in that determine described as follows First tenant's information and second tenant's information meet prerequisite:
Obtain the network identity in described first tenant's information and the network in described second tenant's information Mark;
Network identity in described first tenant's information and the network identity in described second tenant's information When not mating, determine that described first tenant's information and described second tenant's information meet prerequisite.
Method the most according to claim 2, it is characterised in that described method also includes:
Network identity in described first tenant's information and the network identity in described second tenant's information During coupling, obtain in the Route Distinguisher in described first tenant's information, and described second tenant's information Route Distinguisher;
Route Distinguisher in described first tenant's information and the Route Distinguisher in described second tenant's information When not mating, notify that described first gateway does not sends preset routing iinformation to described second gateway.
Method the most according to claim 1, it is characterised in that described acquisition the first gateway is corresponding First tenant's information, and second tenant's information that the second gateway is corresponding, including:
According to the tenant's configuration information pre-set, obtain first tenant's letter that described first gateway is corresponding Breath, and second tenant's information that described second gateway is corresponding;
Described method also includes:
Described first tenant's information is issued to described first gateway;
Described second tenant's information is issued to described second gateway.
6. a route control device, it is characterised in that described device includes:
Data obtaining module, for obtaining first tenant's information that the first gateway is corresponding, and the second gateway Second corresponding tenant's information;
Notification module, for meeting prerequisite in described first tenant's information and described second tenant's information Time, notify that described first gateway does not sends preset routing iinformation to described second gateway.
Device the most according to claim 6, it is characterised in that described prerequisite includes:
Network identity in described first tenant's information is with the network identity in described second tenant's information not Coupling;And/or
Route Distinguisher in described first tenant's information is with the Route Distinguisher in described second tenant's information not Coupling.
Device the most according to claim 7, it is characterised in that described device also includes:
Condition criterion module, is used for determining that described first tenant's information and second tenant's information meet preset bar Part;
Identifier acquisition module, for obtaining the network identity in described first tenant's information and described the Network identity in two tenant's information;
Mark contrast module, for the network identity in described first tenant's information and described second tenant When network identity in information does not mates, determine described first tenant's information and described second tenant's information symbol Close prerequisite.
Device the most according to claim 8, it is characterised in that described identifier acquisition module, also Network identity in the network identity in described first tenant's information with described second tenant's information During coupling, obtain in the Route Distinguisher in described first tenant's information, and described second tenant's information Route Distinguisher;
Described notification module, the Route Distinguisher being additionally operable in described first tenant's information is rented with described second When Route Distinguisher in the information of family does not mates, notify that described first gateway does not sends pre-to described second gateway Put routing iinformation.
Device the most according to claim 7, it is characterised in that described data obtaining module, bag Include:
Acquisition of information submodule, for according to the tenant's configuration information pre-set, obtaining described first net Close first corresponding tenant's information, and second tenant's information that described second gateway is corresponding;
Described device also includes:
First issues module, for issuing described first tenant's information to described first gateway;
Second issues module, for issuing described second tenant's information to described second gateway.
11. 1 kinds of route control systems, it is characterised in that including: the first gateway, the second gateway and road By controlling device;Wherein, described route control device includes as according to any one of claim 6-10 Route control device;
Wherein, described route control device is used for obtaining first tenant's information that the first gateway is corresponding, and Second tenant's information that second gateway is corresponding;Further, described first tenant's information and described second tenant When information meets prerequisite, described route control device is used for notifying that described first gateway is not to described Two gateways send preset routing iinformation.
CN201610282080.3A 2016-04-29 2016-04-29 A kind of route control method, device and system Active CN106027396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610282080.3A CN106027396B (en) 2016-04-29 2016-04-29 A kind of route control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610282080.3A CN106027396B (en) 2016-04-29 2016-04-29 A kind of route control method, device and system

Publications (2)

Publication Number Publication Date
CN106027396A true CN106027396A (en) 2016-10-12
CN106027396B CN106027396B (en) 2019-09-06

Family

ID=57081419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610282080.3A Active CN106027396B (en) 2016-04-29 2016-04-29 A kind of route control method, device and system

Country Status (1)

Country Link
CN (1) CN106027396B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566265A (en) * 2017-10-16 2018-01-09 中国联合网络通信有限公司广东省分公司 A kind of EVPN VXLAN gateway ESI redundancy cut-in methods under symmetrical forwarding model
CN108259356A (en) * 2017-04-25 2018-07-06 新华三技术有限公司 Route control method and device
CN108696415A (en) * 2017-04-06 2018-10-23 中国移动通信有限公司研究院 A kind of method and apparatus sent and received information
CN111865803A (en) * 2020-06-01 2020-10-30 锐捷网络股份有限公司 Route processing method and device based on EVPN

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263548A1 (en) * 2006-05-15 2007-11-15 Fujitsu Limited Communication control system
CN101895477A (en) * 2010-08-05 2010-11-24 杭州华三通信技术有限公司 Route notification method and equipment
CN102611632A (en) * 2012-04-12 2012-07-25 福建星网锐捷网络有限公司 VPLS (Virtual Private LAN Service) output route filtering method and device based on BGP (Border Gateway Protocol)
CN104350714A (en) * 2014-05-29 2015-02-11 华为技术有限公司 Packet forwarding method and VxLAN gateway
CN104753794A (en) * 2013-12-26 2015-07-01 中国移动通信集团辽宁有限公司 Routing information transmitting method and system and route reflector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263548A1 (en) * 2006-05-15 2007-11-15 Fujitsu Limited Communication control system
CN101895477A (en) * 2010-08-05 2010-11-24 杭州华三通信技术有限公司 Route notification method and equipment
CN102611632A (en) * 2012-04-12 2012-07-25 福建星网锐捷网络有限公司 VPLS (Virtual Private LAN Service) output route filtering method and device based on BGP (Border Gateway Protocol)
CN104753794A (en) * 2013-12-26 2015-07-01 中国移动通信集团辽宁有限公司 Routing information transmitting method and system and route reflector
CN104350714A (en) * 2014-05-29 2015-02-11 华为技术有限公司 Packet forwarding method and VxLAN gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
解云鹏 等: "《面向VDC组网的VXLAN控制面互通方案探讨》", 《互联网天地》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696415A (en) * 2017-04-06 2018-10-23 中国移动通信有限公司研究院 A kind of method and apparatus sent and received information
CN108696415B (en) * 2017-04-06 2021-09-10 中国移动通信有限公司研究院 Method and equipment for sending and receiving information
CN108259356A (en) * 2017-04-25 2018-07-06 新华三技术有限公司 Route control method and device
CN108259356B (en) * 2017-04-25 2020-08-04 新华三技术有限公司 Routing control method and device
US11451466B2 (en) 2017-04-25 2022-09-20 New H3C Technologies Co., Ltd. Controlling route
CN107566265A (en) * 2017-10-16 2018-01-09 中国联合网络通信有限公司广东省分公司 A kind of EVPN VXLAN gateway ESI redundancy cut-in methods under symmetrical forwarding model
CN107566265B (en) * 2017-10-16 2018-08-21 中国联合网络通信有限公司广东省分公司 A kind of EVPN VXLAN gateway ESI redundancy cut-in methods under symmetrical forwarding model
CN111865803A (en) * 2020-06-01 2020-10-30 锐捷网络股份有限公司 Route processing method and device based on EVPN
CN111865803B (en) * 2020-06-01 2022-08-16 锐捷网络股份有限公司 Route processing method and device based on EVPN

Also Published As

Publication number Publication date
CN106027396B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN107135134B (en) Private network cut-in method and system based on virtual switch and SDN technology
CN102882758B (en) Method, network side equipment and the data center apparatus of virtual private cloud access network
CN105162704B (en) The method and device of multicast replication in Overlay network
CN104780088A (en) Service message transmission method and equipment
CN105323136A (en) Information processing method and device
CN105721306A (en) Configuration information transmission method and device
CN108616386A (en) A kind of construction method and SDN virtual network environments of SDN virtual network environments
CN103795623A (en) Method and device for realizing traffic interflow between virtual devices
CN107306215B (en) Data processing method, system and node
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN106027396A (en) Route control method, device and system
CN105099950A (en) Resource allocation method, message communication method and devices
CN109417492A (en) A kind of network function NF management method and NF management equipment
CN106850379A (en) Method and system for realizing subnet intercommunication
US11038889B2 (en) System and method for migrating existing access control list policies to intent based policies and vice versa
CN108574613B (en) Two-layer intercommunication method and device for SDN data center
CN113923092A (en) Processing method and controller for appointed forwarder and provider edge device
US11716250B2 (en) Network scale emulator
US20220350637A1 (en) Virtual machine deployment method and related apparatus
CN108234270B (en) Method and system for realizing multi-domain coexistence of virtual extensible local area network
CN104144143A (en) Network establishment method and control device
US10979394B2 (en) Network system, control apparatus, method for constructing a virtual network, and program
CN108512811A (en) A kind of virtual network partition method and SDN controllers based on SDN
CN112333711B (en) Wireless network providing method, device and storage medium
US20180198708A1 (en) Data center linking system and method therefor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant