CN106059922A - Route injection method and device - Google Patents

Route injection method and device Download PDF

Info

Publication number
CN106059922A
CN106059922A CN201610357534.9A CN201610357534A CN106059922A CN 106059922 A CN106059922 A CN 106059922A CN 201610357534 A CN201610357534 A CN 201610357534A CN 106059922 A CN106059922 A CN 106059922A
Authority
CN
China
Prior art keywords
equipment
bgp
routing iinformation
purpose routing
core
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
CN201610357534.9A
Other languages
Chinese (zh)
Other versions
CN106059922B (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 CN201610357534.9A priority Critical patent/CN106059922B/en
Publication of CN106059922A publication Critical patent/CN106059922A/en
Application granted granted Critical
Publication of CN106059922B publication Critical patent/CN106059922B/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/36Backward learning

Landscapes

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

Abstract

The invention provides a route injection method and device. The method comprises the following steps: receiving a network configuration Netconf message which is sent by a Controller and carries destination route information and equipment identification information corresponding to the destination route information which is obtained through route computation by the Controller according to an external route learned through an IBGP neighbor, and sending the destination route information to core equipment or R equipment according to the equipment identification information corresponding to the destination route information. Through an application of the route injection method and device, equipment in a user network can prevent upgrading operation, the number of equipment capable of being accessed is increased, and forwarding performance is improved.

Description

Route method for implanting and device
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of route method for implanting and device.
Background technology
SDN (Software Defined Network, software defined network) is a kind of novel network architecture, is network Virtualized a kind of implementation, its core concept is network device control plane to be separated with datum plane, thus real The flexible control of existing network traffics, makes network become more intelligent as pipeline.
Using Netconf (a kind of based on XML (Extensible Markup Language, extensible markup language) Network configuration) agreement and BGP-LS (Border Gateway Protocol with Link State, the limit of Link State Boundary's gateway protocol) agreement SDN in, core equipment (user kernel equipment) and ISP (Internet Service Provider, ISP) set up between equipment EBGP (External Border Gateway Protocol, External BGP) neighbours, set up between core equipment Yu controller (controller, i.e. SDN controller) IBGP (Internal Border Gateway Protocol, Internal BGP) neighbours.Controller passes through BGP Neighbor learning to all of external routes, and according to study to external routes carry out router-level topology after, can route letter Cease and be injected on all devices (including core equipment and other switching equipment) of user network by Netconf agreement.
But practice finds, in above-mentioned route injecting scheme, injecting to realize route, all in user network set Standby being required to supports Netconf agreement;Additionally, due to Controller general interface quantity is little, therefore, when passing through When route is injected into all devices of user network by Controller, it is possible to the number of devices of access can be fewer, meanwhile, by Poor in Controller transfer capability, the most easily reach performance bottleneck.
Summary of the invention
The present invention provides a kind of route method for implanting and device, to solve in existing route injecting scheme as realizing route note Enter to need the problem that all devices in user network all supports Netconf agreement and forwarding performance easily to reach bottleneck.
First aspect according to embodiments of the present invention, it is provided that a kind of route method for implanting, be applied to include Controller, Core equipment and the SDN of R equipment, set up ebgp neighbor between described core equipment and ISP equipment, described Set up IBGP neighbours between Controller and described core equipment, described SDN also includes BGP RR equipment, described BGP RR equipment sets up IBGP neighbours with described core equipment and R equipment respectively, and the method is applied to described BGP RR equipment, should Method includes:
Receive the network configuration Netconf message that Controller sends, described Netconf message carries purpose road By information, and the identification information of equipment corresponding to purpose routing iinformation;Wherein, described purpose routing iinformation is by described Controller according to by IBGP neighbor learning to external routes carry out what router-level topology obtained;
According to the identification information of equipment corresponding to described purpose routing iinformation, described purpose routing iinformation is sent to core Equipment or R equipment.
Second aspect according to embodiments of the present invention, it is provided that a kind of route method for implanting, be applied to include Controller, Core equipment and the SDN of R equipment, set up ebgp neighbor between described core equipment and ISP equipment, described Set up IBGP neighbours between Controller and described core equipment, described SDN also includes BGP RR equipment, described BGP RR equipment sets up IBGP neighbours with the core equipment in described SDN or R equipment respectively, and the method is applied to described Controller, the method includes:
By IBGP neighbor learning external routes, and according to described external routes carry out router-level topology obtain purpose route letter Breath, and determine the identification information of equipment that described purpose routing iinformation is corresponding;
Sending network configuration Netconf message to BGP RR equipment, described Netconf message carries purpose routing iinformation And the identification information of equipment corresponding to purpose routing iinformation so that described BGP RR equipment according to described identification information by described Purpose routing iinformation is sent to core equipment or R equipment.
The third aspect according to embodiments of the present invention, it is provided that a kind of route injection device, be applied to include Controller, BGP RR equipment in the SDN of core equipment, R equipment and BGP RR equipment, between described core equipment and ISP equipment Setting up ebgp neighbor, set up IBGP neighbours between described Controller and described core equipment, described BGP RR equipment is respectively Setting up IBGP neighbours with described core equipment and R equipment, described device includes:
Receive unit, for receiving the network configuration Netconf message that Controller sends, described Netconf message In carry purpose routing iinformation, and the identification information of equipment corresponding to purpose routing iinformation;Wherein, described purpose route letter Breath be by described Controller according to by bgp neighbor learn to external routes carry out router-level topology and obtain;
Transmitting element, for the identification information of the equipment corresponding according to described purpose routing iinformation, route described purpose Information is sent to core equipment or R equipment.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of route injection device, be applied to include Controller, Controller in the SDN of core equipment, R equipment and BGP RR equipment, between described core equipment and ISP equipment Setting up ebgp neighbor, set up IBGP neighbours between described Controller and described core equipment, described BGP RR equipment is respectively Setting up IBGP neighbours with described core equipment and R equipment, described device includes:
Route learning unit, is used for by IBGP neighbor learning external routes, and route according to described external routes Calculate, to obtain the purpose routing iinformation of correspondence, and determine the identification information of equipment that described purpose routing iinformation is corresponding;
Transmitting element, for sending network configuration Netconf message to BGP RR equipment, described Netconf message carries There are purpose routing iinformation and the identification information of equipment corresponding to purpose routing iinformation, so that described BGP RR equipment is according to described Described purpose routing iinformation is sent to core equipment or R equipment by identification information.
The application embodiment of the present invention, by disposing the BGP RR equipment supporting Netconf agreement in SDN, when Controller by IBGP neighbor learning to external routes, walking along the street of going forward side by side by being calculated corresponding purpose routing iinformation, and After determining the identification information of the equipment that purpose routing iinformation is corresponding, by Netconf message by purpose routing iinformation and purpose The identification information of the equipment that routing iinformation is corresponding is sent to BGP RR equipment, BGP RR equipment take according in Netconf message Corresponding purpose routing iinformation is sent to core equipment or R equipment, with existing route injection side by the identification information of the equipment of band Being injected, by Controller all devices in user network, the realization routeing in case to compare, the equipment in user network can not With supporting Netconf agreement, it is to avoid the equipment in user network carries out updating operation;Additionally, carried out by BGP RR equipment Routing forwarding, it is to avoid the equipment that has access to caused less due to interface on Controller is few, and Controller turns Send out the forwarding performance bottleneck that ability causes, add the quantity of the equipment having access to, improve forwarding performance.
Accompanying drawing explanation
Fig. 1 is a kind of network architecture schematic diagram routeing injection that the embodiment of the present invention provides;
Fig. 2 is a kind of schematic flow sheet routeing method for implanting that the embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow sheet routeing method for implanting that the embodiment of the present invention provides;
Fig. 4 is the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides;
Fig. 5 is a kind of structural representation routeing injection device that the embodiment of the present invention provides;
Fig. 6 is a kind of structural representation routeing injection device that the embodiment of the present invention provides.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make the present invention real Execute the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention Case is described in further detail.
The network architecture being the most first suitable for the embodiment of the present invention is described.
Refer to a kind of network architecture schematic diagram routeing injection that Fig. 1, Fig. 1 provide for the embodiment of the present invention, such as Fig. 1 institute Showing, this network architecture supports BGP RR (Route Reflector, the route of Netconf agreement by disposing in SDN Reflector) equipment, i.e. this network architecture includes Controller, core equipment, R equipment (a kind of switching equipment) and BGP RR equipment (is set up ebgp neighbor, is set up IBGP adjacent between Controller and core equipment between core equipment and ISP equipment Occupy), and in BGP RR equipment and SDN, set up bgp neighbor between core equipment and R equipment respectively.Work as Controller By IBGP neighbor learning to external routes, and it is calculated corresponding purpose routing iinformation according to this external routes, and determines After the identification information of the equipment that purpose routing iinformation is corresponding, this purpose routing iinformation can be sent by Netconf message To BGP RR equipment, wherein, this Netconf message also includes the identification information of equipment that each purpose routing iinformation is corresponding.BGP After RR equipment receives this Netconf message, can be according to the identification information of the equipment carried in this Netconf message by correspondence Purpose routing iinformation be sent to core equipment or R equipment;Wherein, this purpose routing iinformation can include address race information, road By prefix, route mask and route next jump information etc..
Based on the network architecture shown in Fig. 1, a kind of route method for implanting that the embodiment of the present invention provides, refer to Fig. 2, for A kind of schematic flow sheet routeing method for implanting that the embodiment of the present invention provides, as in figure 2 it is shown, the method can include following step Rapid:
It should be noted that the executive agent of step 201~step 202 can be in the network architecture shown in Fig. 1 The processor of Controller or Controller, such as CPU (Center Process Unit, CPU), for ease of Illustrate, be described as a example by the executive agent of step 201~step 202 is as Controller below.
Step 201, by IBGP neighbor learning external routes, and carry out router-level topology according to external routes and obtain purpose road By information, and determine the identification information of equipment that described purpose routing iinformation is corresponding.
In the embodiment of the present invention, core equipment can by the ebgp neighbor study external routes set up with ISP equipment, and By study to external routes be sent to Controller by the IBGP neighbours set up with Controller.Controller connects When receiving the external routes that core equipment sends, router-level topology can be carried out according to this external routes and obtain purpose routing iinformation, And determine the identification information of equipment that purpose routing iinformation is corresponding.
Wherein, Controller carries out being calculated purpose routing iinformation according to external routes, and determines purpose route letter Can carry out according to service logic set in advance (can be by User Defined) when ceasing the identification information of corresponding equipment.
As an example it is assumed that service logic set in advance is the IP1 that core equipment is able to access that external network, R equipment It is able to access that the IP2 of external network;Then Controller learns after external routes, can according to study to external routes divide It is not calculated the core equipment purpose routing iinformation (equipment that this purpose routing iinformation is corresponding is core equipment) to IP1, And R equipment is to the purpose routing iinformation (equipment that this purpose routing iinformation is corresponding is R equipment) of IP2;Wherein, this purpose road Address race information, route prefix, route mask and route next jump information etc. can be included but not limited to by information.
Wherein, the identification information of equipment can be core equipment or the title of R equipment, MAC (media interviews control) address, EIC equipment identification code etc. can uniquely identify the information of this equipment in user network.
Preferably, the identification information of this equipment can be to set up IBGP neighbour on BGP RR equipment with core equipment or R equipment Occupy the interface IP address connected.
Step 202, to BGP RR equipment send Netconf message, this Netconf message carry purpose routing iinformation with And the identification information of equipment corresponding to purpose routing iinformation so that BGP RR equipment according to this identification information by this purpose route letter Breath is sent to core equipment or R equipment.
In the embodiment of the present invention, after Controller obtains purpose routing iinformation by router-level topology, can't be direct Purpose routing iinformation is injected into all devices of user network, but this purpose routing iinformation can be injected into BGP RR and set Standby, BGP RR equipment purpose routing iinformation is handed down to core equipment or R equipment.
Concrete, in embodiments of the present invention, after Controller obtains purpose routing iinformation by router-level topology, can To send the Netconf message carrying this purpose routing iinformation to BGP RR equipment, wherein, this Netconf message is except taking Outside band purpose routing iinformation, in addition it is also necessary to carry the identification information of equipment corresponding to each purpose routing iinformation, the mark of this equipment Information needs to be handed down to which equipment (core equipment or R equipment) for the purpose routing iinformation identifying correspondence.Such as, with above-mentioned In step 201 as a example by examples cited, for the purpose routing iinformation of core equipment to IP1, Netconf message also needs to carry The identification information of core equipment;For the purpose routing iinformation of equipment R to IP2, Netconf message also needs to Portable device R Identification information.
In the embodiment of the present invention, after BGP RR equipment receives the Netconf message that Controller sends, Ke Yigen According to the identification information of equipment corresponding to the purpose routing iinformation carried in this Netconf message, by corresponding purpose routing iinformation Being sent to core equipment or R equipment, it implements the associated description that may refer in method flow shown in Fig. 3, and the present invention is real Execute example not repeat them here.
Based on the network architecture shown in Fig. 1, a kind of route method for implanting that the embodiment of the present invention provides, refer to Fig. 3, for A kind of schematic flow sheet routeing method for implanting that the embodiment of the present invention provides, as it is shown on figure 3, the method can include following step Rapid:
It should be noted that the executive agent of step 301~step 302 can be for the BGP in the network architecture shown in Fig. 1 RR equipment or the processor of BGP RR equipment, such as CPU, for purposes of illustration only, following with step 301~the executive agent of step 302 For being described as a example by BGP RR equipment.
The Netconf message that step 301, reception Controller send, carries purpose route in this Netconf message Information, and the identification information of equipment corresponding to purpose routing iinformation.
In the embodiment of the present invention, Controller sends to BGP RR equipment and carries purpose routing iinformation and purpose road The associated description that may refer in above-mentioned steps 201~step 202 is implemented by the identification information of equipment corresponding to information, The embodiment of the present invention does not repeats them here.
Step 302, identification information according to equipment corresponding to purpose routing iinformation, send corresponding purpose routing iinformation To core equipment or R equipment.
In the embodiment of the present invention, after BGP RR equipment receives the Netconf message that Controller sends, can obtain Take the purpose routing iinformation carried in this Netconf message, and the identification information of equipment corresponding to purpose routing iinformation, and root According to the identification information of this equipment, this purpose routing iinformation is sent to core equipment or R equipment.
As the optional embodiment of one, in embodiments of the present invention, according to equipment corresponding to purpose routing iinformation Identification information, is sent to purpose routing iinformation core equipment or R equipment, may include that
According to the identification information of equipment corresponding to purpose routing iinformation, send BGP UPDATE to core equipment or R equipment (renewal) message;BGP UPDATE message carries purpose routing iinformation.
In this embodiment, BGP RR equipment gets the purpose routing iinformation carried in Netconf message, and mesh Equipment corresponding to routing iinformation identification information after, this purpose routing iinformation can be carried at BGP UPDATE message In, and according to the identification information of equipment corresponding to purpose routing iinformation, this is carried the BGP UPDATE of purpose routing iinformation Message is sent to core equipment or R equipment, so that after core equipment or R equipment receive this BGP UPDATE message, parsing Purpose routing iinformation, and be issued to purpose routing iinformation in forwarding-table item instruct forwarding.
Such as, the purpose routing iinformation corresponding with the identification information of core equipment can be carried at BGP by BGP RR equipment UPDATE message is sent to core equipment, and the purpose routing iinformation corresponding with the identification information of R equipment is carried at BGP UPDATE message is sent to R equipment.
Visible, in method flow shown in Fig. 1 or Fig. 2, by disposing the BGP supporting Netconf agreement in SDN RR equipment, when Controller is by IBGP neighbor learning to external routes, and walking along the street of going forward side by side is by the purpose road being calculated correspondence By information, and after determining the identification information of equipment that purpose routing iinformation is corresponding, entered to BGP RR equipment by Netconf agreement Walking along the street by injecting, by BGP RR equipment respectively by the IBGP neighbours that set up with core equipment or R equipment by corresponding purpose road By information be sent in core equipment or R equipment, with existing route injecting scheme by Controller in user network all Equipment injects the realization of route and compares, and the equipment in user network can support Netconf agreement, it is to avoid user network In equipment carry out updating operation;Additionally, carry out routing forwarding by BGP RR equipment, it is to avoid owing to connecing on Controller The equipment having access to that mouth causes less is few, and the forwarding performance bottleneck that Controller transfer capability difference causes, and adds The quantity of the equipment having access to, improves forwarding performance.
In order to make those skilled in the art be more fully understood that the technical scheme that the embodiment of the present invention provides, below in conjunction with specifically Application scenarios technical scheme that the embodiment of the present invention is provided be described.
Refer to the configuration diagram of a kind of concrete application scenarios that Fig. 4, Fig. 4 provide for the embodiment of the present invention, such as Fig. 4 institute Showing, this scene can include Controller, BGP RR equipment, R equipment, core equipment and ISP equipment;Wherein, core sets Setting up ebgp neighbor between standby and ISP equipment, set up IBGP neighbours between Controller equipment and core equipment, BGP RR sets Back-up is not and core equipment and R equipment set up IBGP neighbours.
Based on the application scenarios shown in Fig. 4, the handling process that route is injected is as follows:
1, core equipment by ebgp neighbor send over two route 1.1.1.1/32 of study ISP equipment and 2.2.2.2/32;
2, core equipment is routed through IBGP neighbours by these two and is sent to Controller;
3, Controller learns to these two routes of 1.1.1.1/32 and 2.2.2.2/32;
4, Controller according to study to external routes carry out router-level topology (Controller carry out router-level topology Carry out according to user-defined service logic, in this embodiment it is assumed that user-defined service logic is core Equipment is able to access that the 2.2.2.2/32 of external network, equipment R are able to access that the 1.1.1.1/32 of external network), and determine mesh The identification information of equipment corresponding to routing iinformation.
Wherein, above-mentioned steps 1~step 4 implement and in existing route injecting scheme Controller study outside Route, and according to study to external routes carry out router-level topology realize identical, and in existing route injecting scheme, After Controller obtains purpose routing iinformation by router-level topology, need by Controller directly by Netconf to All devices in the network of family carries out route and injects.And in embodiments of the present invention, Controller is by being calculated purpose Route after routing iinformation is injected flow process and be can be such that
5, Controller injects route 2.2.2.2/32 by Netconf agreement to BGP RR equipment;
Concrete, Controller can send to BGP RR equipment carry purpose route corresponding for 2.2.2.2/32 with And the Netconf message of the identification information of the equipment of purpose route correspondence, wherein, purpose routing iinformation can include 2.2.2.2/32 routing iinformation (including address race information (IPv4 or IPv6) of route, route prefix and route mask) with And route next jump information;The identification information of the equipment that purpose routing iinformation is corresponding is that this purpose routing iinformation needs issue to set Standby identification information.
In this embodiment, in purpose routing iinformation corresponding for 2.2.2.2/32, route prefix is 2.2.2.2, route mask Being 32, route next jump information is the address that core equipment leads to exterior I SP, the mark letter of the equipment that purpose routing iinformation is corresponding The interface IP address that breath is connected for setting up IBGP neighbours on BGP RR equipment with core equipment (can be used in Netconf message Target (target)-IP identifies).
6, after BGP RR equipment receives the Netconf message that Controller sends, purpose routing iinformation is parsed, And parse the identification information of equipment;
7, the purpose routing iinformation parsed is passed through standard according to the identification information of the equipment parsed by BGP RR equipment BGP UPDATE message be sent to core equipment;
8, after core equipment receives BGP UPDATE message, parse purpose routing iinformation, be issued to forward List item instructs and forwards;
9, Controller injects route 1.1.1.1/32 by Netconf agreement to BGP RR equipment;
Concrete, Controller can send to BGP RR equipment and carry purpose route letter corresponding for 1.1.1.1/32 The Netconf message of the identification information of breath and equipment corresponding to purpose routing iinformation, wherein, purpose routing iinformation can include Routing iinformation and route next jump information to 1.1.1.1/32;The identification information of the equipment that purpose routing iinformation is corresponding is for being somebody's turn to do Purpose routing iinformation needs the identification information of the equipment issued.
In this embodiment, in purpose routing iinformation corresponding for 1.1.1.1/32, route prefix is 1.1.1.1, route mask Being 32, route next jump information is the address that equipment R leads to core equipment, the identification information of the equipment that purpose routing iinformation is corresponding The interface IP address being connected for setting up IBGP neighbours on BGP RR equipment with R equipment (can use Target-in Netconf message IP identifies).
10, after BGP RR equipment receives the Netconf message that Controller sends, purpose route letter is parsed Breath, and parse the identification information of equipment;
11, the purpose routing iinformation parsed is passed through standard according to the identification information of the equipment parsed by BGP RR equipment BGP UPDATE message be sent to equipment R;
12, after equipment R receives BGP UPDATE message, parse purpose routing iinformation, be issued to forward table Instruct in Xiang and forward.
By above description it can be seen that the embodiment of the present invention provide technical scheme in, by the middle part of SDN Administration supports the BGP RR equipment of Netconf agreement, when Controller is learnt to external routes, walking along the street of going forward side by side by bgp neighbor After being calculated corresponding purpose routing iinformation, by Netconf message by purpose routing iinformation and purpose routing iinformation The identification information of corresponding equipment is sent to BGP RR equipment, by BGP RR equipment according to the equipment carried in Netconf message Identification information corresponding purpose routing iinformation is sent in core equipment or R equipment, with existing route injecting scheme by Controller all devices in user network injects the realization of route and compares, and the equipment in user network can be supported Netconf agreement, it is to avoid the equipment in user network carries out updating operation;Turn additionally, carry out route by BGP RR equipment Send out, it is to avoid the equipment having access to caused less due to interface on Controller is few, and Controller transfer capability The forwarding performance bottleneck that difference causes, adds the quantity of the equipment having access to, improves forwarding performance.
Refer to Fig. 5, a kind of structural representation routeing injection device provided for the embodiment of the present invention, wherein, described Device can apply to the BGP RR equipment in the network architecture shown in Fig. 1, as it is shown in figure 5, this route injection device may include that
Receiving unit 510, for receiving the network configuration Netconf message that Controller sends, described Netconf reports Literary composition carries purpose routing iinformation, and the identification information of equipment corresponding to purpose routing iinformation;Wherein, described purpose route Information be by described Controller according to by bgp neighbor learn to external routes carry out router-level topology and obtain;
Transmitting element 520, for the identification information of the equipment corresponding according to described purpose routing iinformation, by described purpose road It is sent to core equipment or R equipment by information.
In an alternative embodiment, described transmitting element 520, can be specifically for corresponding according to described purpose routing iinformation The identification information of equipment, sends bgp update UPDATE message to core equipment or R equipment;Described BGP UPDATE message carries Described purpose routing iinformation, described purpose routing iinformation is had to include under address race information, route prefix, route mask and route One hop-information.
In an alternative embodiment, the identification information of described equipment is to set up with core equipment or R equipment on BGP RR equipment The interface IP address that IBGP neighbours connect.
Refer to Fig. 6, a kind of structural representation routeing injection device provided for the embodiment of the present invention, wherein, described Device can apply to the Controller in the network architecture shown in Fig. 1, and as shown in Figure 6, this route injection device may include that
Route learning unit 610, is used for by IBGP neighbor learning external routes, and carries out road according to described external routes By being calculated purpose routing iinformation, and determine the identification information of equipment that described purpose routing iinformation is corresponding;
Transmitting element 620, for sending network configuration Netconf message to BGP RR equipment, described Netconf message is taken With the identification information of equipment corresponding to purpose routing iinformation and purpose routing iinformation, so that described BGP RR equipment is according to institute State purpose routing iinformation described in identification information and be sent to core equipment or R equipment.
In an alternative embodiment, the identification information of described equipment is to set up with core equipment or R equipment on BGP RR equipment The interface IP address that IBGP neighbours connect.
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
As seen from the above-described embodiment, by disposing the BGP RR equipment supporting Netconf agreement in SDN, when Controller is by IBGP neighbor learning to external routes, and walking along the street of going forward side by side is by being calculated correspondence purpose routing iinformation, and really After determining the identification information of equipment corresponding to purpose routing iinformation, by Netconf message by purpose routing iinformation and purpose road It is sent to BGP RR equipment by the identification information of equipment corresponding to information, BGP RR equipment carries according in Netconf message The identification information of equipment corresponding purpose routing iinformation is sent to core equipment or R equipment, with existing route injecting scheme In by Controller in user network all devices inject route realization compare, the equipment in user network can Support Netconf agreement, it is to avoid the equipment in user network carries out updating operation;Additionally, carry out road by BGP RR equipment By forwarding, it is to avoid the equipment that has access to caused less due to interface on Controller is few, and Controller forwards The forwarding performance bottleneck that ability causes, adds the quantity of the equipment having access to, improves forwarding performance.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or Person's adaptations is followed the general principle of the present invention and includes the undocumented common knowledge in the art of the present invention Or conventional techniques means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a route method for implanting, is applied to include controller Controller, user kernel equipment core equipment and friendship The software defined network SDN of exchange device R equipment, builds between described core equipment and ISP's ISP equipment Vertical External BGP ebgp neighbor, sets up Internal Border Gateway association between described Controller and described core equipment View IBGP neighbours, it is characterised in that also include Border Gateway Protocol (BGP) Router Reflector RR equipment in described SDN, described BGP RR equipment sets up IBGP neighbours with described core equipment and R equipment respectively, and the method is applied to described BGP RR equipment, institute The method of stating includes:
Receive the network configuration Netconf message that Controller sends, described Netconf message carries purpose route letter Breath, and the identification information of equipment corresponding to purpose routing iinformation;Wherein, described purpose routing iinformation is by described Controller according to by IBGP neighbor learning to external routes carry out what router-level topology obtained;
According to the identification information of equipment corresponding to described purpose routing iinformation, described purpose routing iinformation is sent to core equipment Or R equipment.
Method the most according to claim 1, it is characterised in that the described equipment corresponding according to described purpose routing iinformation Identification information, is sent to core equipment or R equipment by described purpose routing iinformation, including:
According to the identification information of equipment corresponding to described purpose routing iinformation, send bgp update to core equipment or R equipment UPDATE message;Described BGP UPDATE message carries described purpose routing iinformation, and described purpose routing iinformation includes address race Information, route prefix, route mask and route next jump information.
Method the most according to claim 1 and 2, it is characterised in that the identification information of described equipment is on BGP RR equipment The interface IP address that IBGP neighbours are connected is set up with core equipment or R equipment.
4. a route method for implanting, is applied to include controller Controller, user kernel equipment core equipment and friendship The software defined network SDN of exchange device R equipment, builds between described core equipment and ISP's ISP equipment Vertical External BGP ebgp neighbor, sets up Internal Border Gateway association between described Controller and described core equipment View IBGP neighbours, it is characterised in that also include Border Gateway Protocol (BGP) Router Reflector RR equipment in described SDN, described BGP RR equipment sets up IBGP neighbours with described core equipment and R equipment respectively, and the method is applied to described Controller, institute The method of stating includes:
By IBGP neighbor learning external routes, and carry out router-level topology according to described external routes and obtain purpose routing iinformation, And determine the identification information of equipment that described purpose routing iinformation is corresponding;
To BGP RR equipment send network configuration Netconf message, described Netconf message carry purpose routing iinformation and The identification information of the equipment that purpose routing iinformation is corresponding so that described BGP RR equipment according to described identification information by described purpose Routing iinformation is sent to core equipment or R equipment.
Method the most according to claim 4, it is characterised in that the identification information of described equipment be on BGP RR equipment with Core equipment or R equipment set up the interface IP address that IBGP neighbours connect.
6. a route injection device, it is characterised in that be applied to include controller Controller, user kernel equipment core Equipment, switching equipment R equipment and the software self-defined network SDN of Border Gateway Protocol (BGP) route emitter RR equipment In BGP RR equipment, set up External BGP between described core equipment and ISP's ISP equipment Ebgp neighbor, sets up Internal BGP IBGP neighbours, described BGP between described Controller and described core equipment RR equipment sets up IBGP neighbours with described core equipment and R equipment respectively, and described device includes:
Receive unit, for receiving the network configuration Netconf message that Controller sends, described Netconf message is taken With purpose routing iinformation, and the identification information of equipment corresponding to purpose routing iinformation;Wherein, described purpose routing iinformation is By described Controller according to by IBGP neighbor learning to external routes carry out what router-level topology obtained;
Transmitting element, for the identification information of the equipment corresponding according to described purpose routing iinformation, by described purpose routing iinformation It is sent to core equipment or R equipment.
Device the most according to claim 6, it is characterised in that
Described transmitting element, specifically for the identification information of the equipment corresponding according to described purpose routing iinformation, to core equipment Or R equipment sends bgp update UPDATE message;Described BGP UPDATE message carries described purpose routing iinformation, described mesh Routing iinformation include address race information, route prefix, route mask and route next jump information.
8. according to the device described in claim 6 or 7, it is characterised in that the identification information of described equipment is on BGP RR equipment The interface IP address that IBGP neighbours are connected is set up with core equipment or R equipment.
9. a route injection device, it is characterised in that be applied to include controller Controller, user kernel equipment core Equipment, switching equipment R equipment and the software self-defined network SDN of Border Gateway Protocol (BGP) route emitter RR equipment In Controller, set up External BGP between described core equipment and ISP's ISP equipment Ebgp neighbor, sets up Internal BGP IBGP neighbours, described BGP between described Controller and described core equipment RR equipment sets up IBGP neighbours with described core equipment and R equipment respectively, and described device includes:
Route learning unit, is used for by IBGP neighbor learning external routes, and carries out router-level topology according to described external routes Obtain purpose routing iinformation, and determine the identification information of equipment that described purpose routing iinformation is corresponding;
Transmitting element, for sending network configuration Netconf message to BGP RR equipment, described Netconf message carries mesh Routing iinformation and the identification information of equipment corresponding to purpose routing iinformation so that described BGP RR equipment is according to described mark Described purpose routing iinformation is sent to core equipment or R equipment by information.
Device the most according to claim 9, it is characterised in that the identification information of described equipment be on BGP RR equipment with Core equipment or R equipment set up the interface IP address that IBGP neighbours connect.
CN201610357534.9A 2016-05-26 2016-05-26 Route method for implanting and device Active CN106059922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610357534.9A CN106059922B (en) 2016-05-26 2016-05-26 Route method for implanting and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357534.9A CN106059922B (en) 2016-05-26 2016-05-26 Route method for implanting and device

Publications (2)

Publication Number Publication Date
CN106059922A true CN106059922A (en) 2016-10-26
CN106059922B CN106059922B (en) 2019-08-06

Family

ID=57175221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610357534.9A Active CN106059922B (en) 2016-05-26 2016-05-26 Route method for implanting and device

Country Status (1)

Country Link
CN (1) CN106059922B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137373A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Data configuration method and data configuration apparatus
CN109150715A (en) * 2017-06-16 2019-01-04 中兴通讯股份有限公司 A kind of method and device promoting SDN controller routing capabilities
WO2020073908A1 (en) * 2018-10-12 2020-04-16 华为技术有限公司 Method and device for sending routing information
CN112804144A (en) * 2019-11-14 2021-05-14 中国移动通信有限公司研究院 Information configuration method and network equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312438A (en) * 2007-05-24 2008-11-26 华为技术有限公司 Router and route updating method thereof
US20100142532A1 (en) * 2006-10-13 2010-06-10 At&T Intellectual Preperty I, L.P. System and method for routing packet traffic
CN103441936A (en) * 2013-08-22 2013-12-11 华为技术有限公司 Issuing method of forwarding adjacent link
CN104601475A (en) * 2015-01-29 2015-05-06 杭州华三通信技术有限公司 Router port based packet transmitting method and device
KR20150050447A (en) * 2013-10-29 2015-05-08 주식회사 케이티 Method of failover for bgp routing
CN105007224B (en) * 2015-07-28 2018-06-15 清华大学 A kind of SDN network and IP network interconnected communication system, communication means

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100142532A1 (en) * 2006-10-13 2010-06-10 At&T Intellectual Preperty I, L.P. System and method for routing packet traffic
CN101312438A (en) * 2007-05-24 2008-11-26 华为技术有限公司 Router and route updating method thereof
CN103441936A (en) * 2013-08-22 2013-12-11 华为技术有限公司 Issuing method of forwarding adjacent link
KR20150050447A (en) * 2013-10-29 2015-05-08 주식회사 케이티 Method of failover for bgp routing
CN104601475A (en) * 2015-01-29 2015-05-06 杭州华三通信技术有限公司 Router port based packet transmitting method and device
CN105007224B (en) * 2015-07-28 2018-06-15 清华大学 A kind of SDN network and IP network interconnected communication system, communication means

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐宏: "基于SDN的大型IP网络BGP路由优化方案", 《电信科学信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137373A1 (en) * 2017-01-26 2018-08-02 华为技术有限公司 Data configuration method and data configuration apparatus
US11163553B2 (en) 2017-01-26 2021-11-02 Huawei Technologies Co., Ltd. Data configuration method and data configuration apparatus
CN109150715A (en) * 2017-06-16 2019-01-04 中兴通讯股份有限公司 A kind of method and device promoting SDN controller routing capabilities
WO2020073908A1 (en) * 2018-10-12 2020-04-16 华为技术有限公司 Method and device for sending routing information
US11374860B2 (en) 2018-10-12 2022-06-28 Huawei Technologies Co., Ltd. Method and apparatus for sending routing information for network nodes
US11863438B2 (en) 2018-10-12 2024-01-02 Huawei Technologies Co., Ltd. Method and apparatus for sending routing information for network nodes
CN112804144A (en) * 2019-11-14 2021-05-14 中国移动通信有限公司研究院 Information configuration method and network equipment
CN112804144B (en) * 2019-11-14 2022-10-21 中国移动通信有限公司研究院 Information configuration method and network equipment

Also Published As

Publication number Publication date
CN106059922B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
RU2643475C2 (en) Multi-domain relaying with routing from source based on interacting network controllers
CN105791457B (en) A kind of data processing method and device
US9769072B2 (en) Method and apparatus for scalable content routing and mobility in named data networks
EP1787435B1 (en) Routing protocol support for half duplex virtual routing and forwarding instance
US8503416B2 (en) Method and system for efficient homeless MPLS micro-mobility
US9705704B2 (en) Method and system of forming a mobile virtual network
JP2001298475A (en) Path-setting device in label switching network and method
CN105264493A (en) Dynamic virtual machines migration over information centric networks
CN105247822A (en) Chaining service zones by way of route re-origination
CN106059922A (en) Route injection method and device
WO2013160785A1 (en) Efficient control packet replication in data plane
CN102405628A (en) Handover in core-edge separation technology in wireless communications
CN103634214B (en) A kind of routing iinformation generation method and device
US20180077047A1 (en) Seamless host mobility
CN105874756B (en) The transmission method and equipment of control signaling
CN102752205A (en) Route iteration method and device
WO2017177794A1 (en) Service path establishment method, apparatus and system
CN105637806B (en) Network topology determines method and apparatus, centralized network status information storage equipment
CN101902391A (en) Intelligent static route based method and equipment for forwarding messages
CN102780701A (en) Access control method and equipment
US10091056B1 (en) Distribution of modular router configuration
CN109309619A (en) The implementation method and device of two-dimentional Routing Protocol between a kind of domain
CN108243104B (en) Multi-layer LSP control method and device
CN104639417A (en) Method and device for binding public network link for ADVPN (auto discovery virtual private network) tunnel
US20090041044A1 (en) method or apparatus for distributing routing information in networks

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant