CN104683236B - Position and the routing iinformation learning method in mark separated protocol network and device - Google Patents
Position and the routing iinformation learning method in mark separated protocol network and device Download PDFInfo
- Publication number
- CN104683236B CN104683236B CN201510139848.7A CN201510139848A CN104683236B CN 104683236 B CN104683236 B CN 104683236B CN 201510139848 A CN201510139848 A CN 201510139848A CN 104683236 B CN104683236 B CN 104683236B
- Authority
- CN
- China
- Prior art keywords
- tunnel router
- eid
- addresses
- mapping
- virtual machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiment of the present invention proposes position and identifies the routing iinformation learning method and device in separated protocol (LISP) network.This method is applied to the first tunnel router to virtual machine transmitted traffic, and the virtual machine moves into third tunnel router from the second tunnel router, and moves back to the second tunnel router from third tunnel router, and this method includes:Receive the transmission of third tunnel router implores mapping request (SMR) message;Address terminal identifier (EID) of virtual machine is extracted from SMR messages, and is deleted the accurate matching addresses EID and be directed toward the routing iinformation of third tunnel router;The mapping request for carrying the addresses EID is sent to mapping server, and is learnt to match the addresses EID and be directed toward the routing iinformation of the second tunnel router.
Description
Technical field
The present invention relates to position and mark separated protocol (Locator Identity Separation Protocol,
LISP) technical field, especially a kind of position and the routing iinformation learning method in mark separated protocol network and device.
Background technology
LISP is a kind of agreement of position and mark and separation.LISP networks are by core network and edge network two parts group
At.Wherein, carry out identifier router using route location (Routing Locator, RLOC) in core network, and in edge network
Using terminal identifier (Endpoint Identifiers, EID) identifies terminal.
LISP passes through entrance tunnels router (Ingress Tunnel Router, ITR) and exit tunnel router
(Egress Tunnel Router, ETR) realize core network and edge network separation, and by mapped system realize from
The Mapping Resolution of EID to RLOC.XTR is the general designation of ITR and ETR, indicates that tunnel router is provided simultaneously with ITR and ETR abilities.
LISP realizes routing and forwarding in core net by the encapsulation and decapsulation mechanism of IP-in-IP.
In the prior art, under the scene that virtual machine cross-network segment migrates and moves back, the source xTR of flow is sent out to virtual machine
In persistently preserve and be directed toward virtual machine and once moved to the routing iinformation of xTR.However, since virtual machine has been moved back to, the routing iinformation
Actually invalid information preserves the routing iinformation in the xTR of source and wastes system resource.
Moreover, if the flow of source xTR to virtual machine is non-continuous flow, since the xTR that virtual machine is moved back to is not long-term
It updates in the log-on message of virtual machine and source xTR and persistently preserves the routing iinformation that the direction virtual machine once moved to xTR, cause this
Flow can only be sent to the xTR that virtual machine once moved to and can not be sent to the xTR that virtual machine has been moved back to, so as to cause in flow
It is disconnected.
Invention content
In view of this, the present invention proposes a kind of position and the routing iinformation learning method in mark separated protocol network and dress
It sets, to save system resource.
The technical solution of embodiment of the present invention is as follows:
According to the one side of embodiment of the present invention, the routing iinformation learning method in a kind of LISP networks, the party are proposed
Method is applied to the first tunnel router to virtual machine transmitted traffic, and the virtual machine moves into third tunnel from the second tunnel router
Road router, and the second tunnel router is moved back to from third tunnel router, this method includes:
Receive the transmission of third tunnel router implores mapping request (Solicit-Map-Request, SMR) message;
Extract the addresses EID of the virtual machine from the SMR messages, and delete accurately match the addresses EID and
It is directed toward the routing iinformation of third tunnel router;
The mapping request for carrying the addresses EID is sent to mapping server, and learns to match the addresses EID and direction
The routing iinformation of second tunnel router.
Preferably, the study matches the addresses EID and the routing iinformation of the second tunnel router of direction includes:
The mapping request is sent to the second tunnel router by mapping server;
First tunnel router receives the mapping response corresponding to the mapping request that the second tunnel router is sent;
First tunnel router is based on mapping response study and matches the addresses EID and be directed toward the second tunnel router
Routing iinformation.
Preferably, the routing iinformation of the study matching addresses EID and the second tunnel router of direction includes:
First tunnel router matches the addresses EID from mapping server study and is directed toward the road of the second tunnel router
By information.
Preferably, this method further includes:
Routing iinformation of first tunnel router based on the matching addresses EID and the second tunnel router of direction,
The flow is sent to the second tunnel router, and the flow is forwarded to the virtual machine by the second tunnel router.
Preferably, the flow is non-continuous flow.
Embodiment of the present invention also proposed the routing iinformation learning device in a kind of LISP networks, the device be applied to
First tunnel router of virtual machine transmitted traffic, the virtual machine move into third tunnel router from the second tunnel router,
And the second tunnel router is moved back to from third tunnel router, which includes:
Receiving module, for receive third tunnel router transmission implore mapping request (SMR) message;
It is route removing module, the addresses EID for extracting virtual machine from the SMR messages, and deletes accurate matching
The addresses EID and the routing iinformation for being directed toward third tunnel router;
Route learning module for sending the mapping request for carrying the addresses EID to mapping server, and learns to match
The addresses EID and the routing iinformation for being directed toward the second tunnel router.
Preferably, route learning module, for receives the second tunnel router transmission corresponding to the mapping request
Response is mapped, wherein the mapping request is sent to the second tunnel router by the mapping server;And it is based on the mapping
Response study matches the addresses EID and is directed toward the routing iinformation of the second tunnel router.
Preferably, route learning module, for matching the addresses EID from mapping server study and being directed toward the second tunnel
The routing iinformation of router.
Preferably, further include:
Flow forwarding module will for the routing iinformation based on the matching addresses EID and the second tunnel router of direction
Flow is sent to the second tunnel router, and the flow is forwarded to the virtual machine by the second tunnel router.
Preferably, the flow is non-continuous flow.
In embodiments of the present invention, the SMR messages that third tunnel router is sent are received;It is extracted from SMR messages
The addresses EID of virtual machine, and delete the accurate matching addresses EID and be directed toward the routing iinformation of third tunnel router;It is taken to mapping
Business device sends the mapping request for carrying the addresses EID, and the routing for learning the matching addresses EID and the second tunnel router of direction is believed
Breath.It is stored in the first tunnel router, the accurate matching addresses EID it can be seen that the present invention deletes and is directed toward third tunnel
The invalid routing iinformation of road router, to save system resource.
Moreover, when embodiment of the present invention efficiently solves virtual machine cross-network segment migration in LISP networks, non-continuous stream
The problem of amount scene down-off can not switch.
Description of the drawings
Fig. 1 is according to virtual machine (vm) migration in the LISP networks of the prior art and the exemplary schematic representation moved back;
Fig. 2 is according to the routing iinformation learning method flow chart in embodiment of the present invention LISP networks;
Fig. 3 is according to virtual machine (vm) migration in embodiment of the present invention LISP networks and the exemplary schematic representation moved back;
Fig. 4 is according to the routing iinformation learning device structure chart in embodiment of the present invention LISP networks.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with the accompanying drawings further
Detailed description.
Fig. 1 is according to virtual machine (vm) migration in the LISP networks of the prior art and the exemplary schematic representation moved back.
As shown in Figure 1, the LISP networks include data center 1, data center 2, data center 3 and mapping server.Number
Include xTR1 according to center 1, data center 2 includes xTR2, and data center 3 includes xTR3.Specifically, mapping server includes concentrating
The mapping relay unit (Map Reslover, MP) and mapping services unit (Map Server, MS) of formula or distributed arrangement.
The spaces EID of data center 1:10.17.1.0/24;The spaces EID of data center 2:10.18.1.0/24;Data
The addresses RLOC at center 1:192.168.1.1/24;The addresses RLOC of data center 2:192.168.2.1/24.XTR1 is to mapping
Server registration is directed toward the addresses EID of xTR1:10.17.1.0/24;XTR2 is with registering the EID for being directed toward xTR2 to mapping server
Location:10.18.1.0/24.The addresses EID of virtual machine (VM) A and VMB, wherein VMB are hung under xTR1:10.17.1.65/32.
Step (1):VMB reaches the standard grade from xTR1, and VMB and xTR1 is in the same network segment and upper line interface is not enabled on extension
(extend) pattern, therefore xTR1 does not execute VMB and moves into detection, i.e. xTR1 does not register the addresses EID of VMB to mapping server:
10.17.1.65/32.VMB is after the xTR2 that the xTR1 of data center 1 moves to data center 2, and VMB is to data center 2
XTR2 sends datagram;
Step (2):The xTR2 of data center 2 receives the data message that VMB is sent, and detects that VMB is moved into.
Step (3):After xTR2 detects that VMB is moved into, 32 local routings for reaching VMB are generated, and to mapping server
The addresses EID of VMB are moved into registration:10.17.1.65/32.
Step (4):Mapping server receives the addresses EID of the VMB of xTR2 registrations:After 10.17.1.65/32, sent out to xTR1
Mapping notice (Map Notify) message is sent, to notify xTR1VMB to move out.After xTR1 confirms that VMB moves out, local generate is closed
In the addresses EID:10.17.1.65/32 NULL0 routing.
Step (5):The flow that xTR3 is sent out to VMB walks flow old road diameter (xTR3->XTR1 xTR1) is reached.
Step (6):XTR1 is matched to the addresses EID:10.17.1.65/32 NULL0 routings implore mapping to xTR3 transmissions
(SMR) message is asked, to notify xTR3 re-requests to mapped cache (Map Cache) list item of VMB.
Step (7):After xTR3 receives SMR messages, is sent to mapping server and carry the addresses EID:10.17.1.65/32
Mapping request (Map Request) message, with re-request reach VMB Map Cache.
Step (8):Mapping server receives the Map Request messages that xTR3 is sent, which is turned
Issue xTR2.
Step (9):XTR2 receives Map Request, and mapping response (Map Reply) is directly replied to xTR3;
Step (10):XTR3 receives Map Reply, generates the new Map Cache list items for reaching VMB, that is, with generating EID
Location:10.17.1.65/32 it is directed toward the routing of xTR2.Then, the flow that xTR3 is sent out to VMB will match the routing, and through overcurrent
Measure new route (xTR3->XTR2 it) is sent to xTR2, which is sent to the virtual machine VMB moved by xTR2 again.
Step (11):XTR3 stops the flow for being sent to VMB.Moreover, VMB moves back to xTR1 from xTR2.VMB moves out simultaneously from xTR1
After moving back to xTR1, need to be restored to states of the VMB when xTR1 reaches the standard grade.VMB need not be executed when xTR1 reaches the standard grade and be moved into inspection
It surveys, i.e. xTR1 does not register the addresses EID of VMB to mapping server:10.17.1.65/32.Therefore, it is reduction routing amount and mapping
The addresses EID for the virtual machine registered on server are measured, and xTR1 is after predetermined time (such as 5 minutes) timer expiry, aging VMB
Move back to generated local routing 10.17.1.65/32.Moreover, after local routing aging, xTR1 is not longer notified about mapping server
The more addresses new registration EID:10.17.1.65/32 therefore the addresses EID registered by xTR1 on mapping server:
10.17.1.65/32 by aging.
Step (12):When the addresses EID registered by xTR1 on mapping server:10.17.1.65/32 after aging, xTR3 is again
The secondary flow initiated to VMB.The flow is locally matched to the addresses EID in xTR3:10.17.1.65/32 it is directed toward the routing of xTR2,
And it is addressed to xTR2.After xTR2 receives the flow, the roads NULL0 for the 10.17.1.0/24 being generated in advance in matching migration configuration
By, and send SMR messages to xTR3.After xTR3 receives SMR messages, Map Request messages are retransmitted to mapping server
To relearn the Map Cache list items for reaching VMB.However, due to the addresses registration EID:10.17.1.65/32 it is weathered,
There was only the addresses EID of xTR1 registrations on mapping server at this time:10.17.1.0/24, therefore xTR3 can only learn to the addresses EID:
10.17.1.0/24 the Map Cache list items of xTR1 are directed toward.XTR3 is upper, and there are two routings:One routing is the addresses EID:
10.17.1.65/32 it is directed toward xTR2 (VMB has moved back to xTR1 at this time);Another routing is the addresses EID:10.17.1.0/24 refer to
To xTR1.Since routed path selection is to be based on longest match principle, the addresses flow final choice EID of VMB are reached:
10.17.1.65/32 being directed toward the routing of xTR2, this results in the flow interrupt for being sent to VMB.
Applicant carries out detailed analysis to above-mentioned flow, finds:In the prior art, in (the addresses EID VMB:
10.17.1.65/32) cross-network segment moves to xTR2 from xTR1 and moves back under the scene of xTR1, is persistently preserved in xTR3
The addresses EID:10.17.1.65/32 direction xTR2 routing iinformation.However, since virtual machine has moved back to xTR1, the routing
Information is actually invalid information, preserves the routing iinformation and wastes system resource.
Applicant further found that:If xTR3 persistently has the flow to VMB, xTR3 to receive in entire transition process
When the SMR of xTR2, by the addresses EID of xTR1 registrations on mapping server:10.17.1.65/32 still without aging.Therefore,
XTR3 can relearn the addresses EID:10.17.1.65/32 direction xTR1 routing iinformation, and this is relearned
Routing iinformation can cover the old routing iinformation (addresses EID acquired before:10.17.1.65/32 it is directed toward xTR2), therefore flow
Amount can correct switch time xTR1.
However, if the flow of xTR3 to VMB is non-continuous flow, since the xTR1 that virtual machine is moved back to does not update for a long time
The addresses EID are persistently preserved in the log-on message and xTR3 of VMB:10.17.1.65/32 direction xTR2 routing iinformation, cause
The flow can only be sent to the xTR (i.e. xTR2) that VMB was once moved to, and so as to cause flow interrupt and can not be switched to correct purpose
Ground.
By above-mentioned analysis, it is found by the applicant that leading to flow interrupt and the key reason that can not switch is:VMB is returned from xTR2
It adjourns after xTR1, the addresses EID generated on xTR3:10.17.1.65/32 the routing iinformation for being directed toward xTR2 is unaged or deletes
It removes.Although xTR3 subsequently may learn the addresses EID:10.17.1.0/24 direction xTR1 routing, but routed path
Selection is matched based on longest, therefore flow can only walk to be directed toward old road diameter (the i.e. road of the direction xTR2 of 10.17.1.65/32 of xTR2
By), and the new route (i.e. the routing of the direction xTR1 of 10.17.1.0/24) for being directed toward xTR1 can not be chosen.
In order to solve this problem, it moves back from xTR2 to after xTR1 in VMB, xTR3 needs to delete the addresses EID:
10.17.1.65/32 it is directed toward the routing of xTR2.
Based on above-mentioned analysis, embodiment of the present invention proposes the routing iinformation learning method in a kind of LISP networks.The party
Method is applied to the first tunnel router to virtual machine transmitted traffic, and wherein virtual machine moves into third tunnel from the second tunnel router
Road router, and move back to the second tunnel router from third tunnel router.
Fig. 2 is according to the routing iinformation learning method flow chart in embodiment of the present invention LISP networks.
As shown in Fig. 2, this method includes:
Step 201:First tunnel router receives the SMR messages that third tunnel router is sent.
Step 202:First tunnel router extracts the addresses EID of virtual machine from SMR messages, and is locally deleting essence
The really routing iinformation of the matching addresses EID and direction third tunnel router.
Step 203:First tunnel router sends the mapping request for carrying the addresses EID, and study to mapping server
Routing iinformation with the addresses EID and the second tunnel router of direction.
First, the addresses EID are accurately matched and are directed toward the routing iinformation of third tunnel router on the first tunnel router
It is invalid information, the invalid information is deleted on the first tunnel router can save system resource.
In addition, the presence of the invalid routing iinformation, which also results in non-continuous flow, can not be sent to correct destination, therefore,
Embodiment of the present invention deletes the invalid information after the SMR messages for receiving the transmission of third tunnel router, may further
Ensure the smooth forwarding of non-continuous flow.
In one embodiment, mapping request is sent to the second tunnel router by mapping server;First tunnel road
The mapping response corresponding to mapping request that second tunnel router is sent is received by device;First tunnel router is based on mapping and answers
It answers the study matching addresses EID and is directed toward the routing iinformation of the second tunnel router.
In one embodiment, the first tunnel router matches the addresses EID and direction from mapping server study
The routing iinformation of second tunnel router.
In one embodiment, the first tunnel router based on the matching addresses EID and is directed toward the second tunnel router
Routing iinformation sends traffic to the second tunnel router, and forwards the traffic to virtual machine by the second tunnel router.
Based on above-mentioned detailed analysis, Fig. 3 is according to virtual machine (vm) migration in embodiment of the present invention LISP networks and moves back
Exemplary schematic representation.
As shown in figure 3, the LISP networks include data center 1, data center 2, data center 3 and mapping server.Number
Include xTR1 according to center 1, data center 2 includes xTR2, and data center 3 includes xTR3.Specifically, mapping server includes concentrating
The mapping relay unit (Map Reslover, MP) and mapping services unit (Map Server, MS) of formula or distributed arrangement.
The spaces EID of data center 1:10.17.1.0/24;The spaces EID of data center 2:10.18.1.0/24;Data
The addresses RLOC at center 1:192.168.1.1/24;The addresses RLOC of data center 2:192.168.2.1/24.XTR1 is to mapping
Server registration is directed toward the addresses EID of xTR1:10.17.1.0/24;XTR2 is with registering the EID for being directed toward xTR2 to mapping server
Location:10.18.1.0/24.The addresses EID of virtual machine (VM) A and VMB, wherein VMB are hung under xTR1:10.17.1.65/32.
Step (1):VMB reaches the standard grade from xTR1, and VMB and xTR1 is in the same network segment and upper line interface is not enabled on extension
(extend) pattern, therefore xTR1 does not execute VMB and moves into detection, i.e. xTR1 does not register the addresses EID of VMB to mapping server:
10.17.1.65/32.VMB is after the xTR2 that the xTR1 of data center 1 moves to data center 2, and VMB is to data center 2
XTR2 sends datagram;
Step (2):The xTR2 of data center 2 receives the data message of VMB, detects that VMB is moved into.
Step (3):After xTR2 detects that VMB is moved into, 32 local routings for reaching VMB are generated, and to mapping server
The addresses EID of VMB are moved into registration:10.17.1.65/32.
Step (4):Mapping server receives the addresses EID of the VMB of xTR2 registrations:After 10.17.1.65/32, sent out to xTR1
Mapping notice (Map Notify) message is sent, to notify xTR1VMB to move out.XTR1 is perceived after VMB moves out, local to generate
About the addresses EID:10.17.1.65/32 NULL0 routing.
Step (5):The flow that xTR3 is sent out to VMB walks flow old road diameter (xTR3->XTR1 xTR1) is reached.
Step (6):XTR1 is matched to the addresses EID:10.17.1.65/32 NULL0 routings implore mapping to xTR3 transmissions
(SMR) message is asked, to notify xTR3 re-requests to mapped cache (Map Cache) list item of VMB.
Step (7):After xTR3 receives SMR messages, is sent to mapping server and carry the addresses EID:10.17.1.65/32
Mapping request (Map Request) message, with re-request reach VMB Map Cache.
Step (8):Mapping server receives the Map Request messages that xTR3 is sent, which is turned
Issue xTR2.
Step (9):XTR2 receives Map Request, and mapping response (Map Reply) is directly replied to xTR3;
Step (10):XTR3 receives Map Reply, generates the new Map Cache list items for reaching VMB, that is, with generating EID
Location:10.17.1.65/32 it is directed toward the routing of xTR2.Then, the flow that xTR3 is sent out to VMB will match the routing, and through overcurrent
Measure new route (xTR3->XTR2 it) is sent to xTR2, which is sent to the virtual machine VMB moved by xTR2 again.
Step (11):XTR3 stops the flow for being sent to VMB.Moreover, VMB moves back to xTR1 from xTR2 again.VMB is moved from xTR1
After going out and moving back to xTR1, need to be restored to states of the VMB when xTR1 reaches the standard grade.VMB need not be executed and be moved into when xTR1 reaches the standard grade
Detection, i.e. xTR1 do not register the addresses EID of VMB to mapping server:10.17.1.65/32.Therefore, it routing amount and is reflected to reduce
The addresses the EID amount for the virtual machine registered on server is penetrated, xTR1 is after predetermined time (such as 5 minutes) timer expiry, aging
VMB moves back to generated routing 10.17.1.65/32.Moreover, after local routing aging, xTR1 is not longer notified about mapping server more
The addresses new registration EID:10.17.1.65/32 therefore the addresses EID registered by xTR1 on mapping server:10.17.1.65/
32 by aging.
Step (12):When the addresses EID registered by xTR1 on mapping server:10.17.1.65/32 after aging, xTR3 is again
The secondary flow initiated to VMB.The flow is locally matched to the addresses EID in xTR3:10.17.1.65/32 it is directed toward the routing of xTR2,
And it is addressed to xTR2.After xTR2 receives the flow, the roads NULL0 for the 10.17.1.0/24 being generated in advance in matching migration configuration
By, and send SMR messages to xTR3.
Step (13):After xTR3 receives SMR messages, the addresses EID of VMB are extracted from SMR messages:10.17.1.65 and
With 32 bitmasks local exact-match lookup 10.17.1.65/32 Map Cache list items.At this point it is possible in local lookup
To the addresses EID:10.17.1.65/32 the Map Cache list items of xTR2 are directed toward, and delete the Map Cache list items.Moreover,
XTR3 retransmits Map Request messages to relearn the Map Cache list items for reaching VMB to mapping server.Mapping
The Map Request messages are sent to xTR1 by server, and xTR1 directly replys Map Reply to xTR3, and then xTR3 is based on
The addresses Map Reply study EID:10.17.1.0/24 the Map Cache list items of xTR1 are directed toward.Therefore, xTR3 it is upper there are
Routing:The addresses EID:10.17.1.0/24 being directed toward xTR1.Moreover, because the addresses EID:10.17.1.65/32 it is directed toward the road of xTR2
By deleted, no longer there is the addresses EID on xTR3:10.17.1.65/32 it is directed toward the routing of xTR2, therefore flow can be just
Really it is transmitted to xTR1.
In the step 13 of above-mentioned flow, after xTR3 retransmits Map Request messages to mapping server, mapping
Map Request messages can not also be transmitted to xTR1 by server, but directly to xTR3 transmissions EID from mapping server
Location:10.17.1.0/24 it is directed toward the routing of xTR2.
As it can be seen that embodiment of the present invention, which efficiently solves virtual machine cross-network segment in LISP networks, migrates non-continuous flow field
The problem of scape down-off can not switch.
Based on above-mentioned detailed analysis, embodiment of the present invention also proposed the routing iinformation study dress in a kind of LISP networks
It sets.
Fig. 4 is according to the routing iinformation learning device structure chart in embodiment of the present invention LISP networks.
As shown in figure 4, the device 400 is applied to the first tunnel router to virtual machine transmitted traffic, virtual machine is from the
Two tunnel routers move into third tunnel router, and move back to the second tunnel router from third tunnel router, the device 400
Including:
Receiving module 401, for receive third tunnel router transmission implore mapping request SMR messages;
It is route removing module 402, the addresses EID for extracting virtual machine from SMR messages, and deletes accurate matching
The addresses EID and the routing iinformation for being directed toward third tunnel router;
Route learning module 403 for sending the mapping request for carrying the addresses EID to mapping server, and learns to match
The addresses EID and the routing iinformation for being directed toward the second tunnel router.
In one embodiment:
Route learning module 403, the mapping response corresponding to mapping request for receiving the transmission of the second tunnel router,
Wherein mapping request is sent to the second tunnel router by mapping server;And based on mapping response study matching the addresses EID and
It is directed toward the routing iinformation of the second tunnel router.
In one embodiment:
Route learning module 403, for matching the addresses EID from mapping server study longest and being directed toward the second tunnel
The routing iinformation of router.
In one embodiment, which further includes:
Flow forwarding module 404 will for the routing iinformation based on the matching addresses EID and the second tunnel router of direction
Flow is sent to the second tunnel router, and the flow is forwarded to the virtual machine by the second tunnel router.
In one embodiment, flow is non-continuous flow.
In conclusion in embodiments of the present invention, receiving the SMR messages that third tunnel router is sent;From SMR messages
In extract the addresses EID of virtual machine, and delete the accurate matching addresses EID and be directed toward the routing iinformation of third tunnel router;
The mapping request for carrying the addresses EID is sent to mapping server, and is learnt to match the addresses EID and be directed toward the second tunnel router
Routing iinformation.The addresses EID are accurately matched in the first tunnel router and are directed toward the routing of third tunnel it can be seen that the present invention deletes
The invalid routing iinformation of device, to save system resource.
Moreover, when embodiment of the present invention also efficiently solves virtual machine cross-network segment migration in LISP networks, non-continuous stream
The problem of amount scene down-off can not switch.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. the routing iinformation learning method in a kind of position and mark separated protocol LISP networks, which is characterized in that this method is answered
For the first tunnel router to virtual machine transmitted traffic, the virtual machine moves into third tunnel road from the second tunnel router
The second tunnel router is moved back to by device, and from third tunnel router, this method includes:
After on mapping server by the terminal identifier EID address agings of the virtual machine of the second tunnel router registration,
Initiate the flow of the virtual machine, and receive third tunnel router transmission implore mapping request SMR messages;
The addresses EID of the virtual machine are extracted from the SMR messages, and are deleted and accurately matched the addresses EID and direction
The routing iinformation of third tunnel router;
The mapping request for carrying the addresses EID is sent to mapping server, and is learnt to match the addresses EID and be directed toward second
The routing iinformation of tunnel router.
2. according to the method described in claim 1, it is characterized in that, the study matching addresses EID and the second tunnel road of direction
Include by the routing iinformation of device:
The mapping request is sent to the second tunnel router by mapping server;
First tunnel router receives the mapping response corresponding to the mapping request that the second tunnel router is sent;
First tunnel router matches the addresses EID based on the mapping response study and is directed toward the road of the second tunnel router
By information.
3. according to the method described in claim 1, it is characterized in that, the study matching addresses EID and the second tunnel road of direction
Include by the routing iinformation of device:
First tunnel router matches the addresses EID from mapping server study and is directed toward the routing letter of the second tunnel router
Breath.
4. according to the method described in claim 1, it is characterized in that, this method further includes:
Routing iinformation of first tunnel router based on the matching addresses EID and the second tunnel router of direction, by institute
It states flow and is sent to the second tunnel router, and the flow is forwarded to the virtual machine by the second tunnel router.
5. according to the method described in claim 1, it is characterized in that, the flow is non-continuous flow.
6. the routing iinformation learning device in a kind of position and mark separated protocol LISP networks, which is characterized in that the device is answered
For the first tunnel router to virtual machine transmitted traffic, the virtual machine moves into third tunnel road from the second tunnel router
The second tunnel router is moved back to by device, and from third tunnel router, which includes:
Receiving module, for the terminal identifier when the virtual machine registered by the second tunnel router on mapping server
After EID address agings, initiate to the virtual machine flow, and receive third tunnel router transmission implore mapping request
SMR messages;
It is route removing module, the addresses EID for extracting virtual machine from the SMR messages, and is deleted described in accurate matching
The addresses EID and the routing iinformation for being directed toward third tunnel router;
Route learning module for sending the mapping request for carrying the addresses EID to mapping server, and learns described in matching
The addresses EID and the routing iinformation for being directed toward the second tunnel router.
7. device according to claim 6, which is characterized in that
Route learning module, the mapping response corresponding to the mapping request for receiving the transmission of the second tunnel router,
Described in mapping server the mapping request is sent to the second tunnel router;And based on mapping response study matching
The addresses EID and the routing iinformation for being directed toward the second tunnel router.
8. device according to claim 6, which is characterized in that
Route learning module, for matching the addresses EID from mapping server study and being directed toward the road of the second tunnel router
By information.
9. device according to claim 6, which is characterized in that further include:
Flow forwarding module, for the routing iinformation based on the matching addresses EID and the second tunnel router of direction, by flow
It is sent to the second tunnel router, and the flow is forwarded to the virtual machine by the second tunnel router.
10. device according to claim 6, which is characterized in that the flow is non-continuous flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510139848.7A CN104683236B (en) | 2015-03-27 | 2015-03-27 | Position and the routing iinformation learning method in mark separated protocol network and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510139848.7A CN104683236B (en) | 2015-03-27 | 2015-03-27 | Position and the routing iinformation learning method in mark separated protocol network and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104683236A CN104683236A (en) | 2015-06-03 |
CN104683236B true CN104683236B (en) | 2018-11-09 |
Family
ID=53317855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510139848.7A Active CN104683236B (en) | 2015-03-27 | 2015-03-27 | Position and the routing iinformation learning method in mark separated protocol network and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683236B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591935B (en) * | 2015-08-26 | 2019-04-09 | 新华三技术有限公司 | The update method and device of EID-RLOC mapping relations after a kind of virtual machine (vm) migration |
CN105591921B (en) * | 2015-09-28 | 2019-01-18 | 新华三技术有限公司 | Determine the method and device of host migration state |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7808889B1 (en) * | 2004-11-24 | 2010-10-05 | Juniper Networks, Inc. | Silent failover from a primary control unit to a backup control unit of a network device |
CN102447618A (en) * | 2011-10-31 | 2012-05-09 | 杭州华三通信技术有限公司 | Route switching method in LISP network and apparatus thereof |
CN104012041A (en) * | 2011-05-24 | 2014-08-27 | 思杰***有限公司 | Systems and methods for analyzing network metrics |
-
2015
- 2015-03-27 CN CN201510139848.7A patent/CN104683236B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7808889B1 (en) * | 2004-11-24 | 2010-10-05 | Juniper Networks, Inc. | Silent failover from a primary control unit to a backup control unit of a network device |
CN104012041A (en) * | 2011-05-24 | 2014-08-27 | 思杰***有限公司 | Systems and methods for analyzing network metrics |
CN102447618A (en) * | 2011-10-31 | 2012-05-09 | 杭州华三通信技术有限公司 | Route switching method in LISP network and apparatus thereof |
Non-Patent Citations (1)
Title |
---|
The Locator/ID Separation Protocol (LISP) for Multicast Environments;Cisco Systems;《Request for Comments: 6831》;20130131;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104683236A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10044608B2 (en) | Virtual machine migration | |
US20160134526A1 (en) | Data center inbound routing optimization in the event of virtual machine mobility | |
CN101919277B (en) | Method for detecting duplicate address, mobile station, network element and communication system | |
CN102088390B (en) | Implementation method of user mobility | |
US20110307629A1 (en) | Enhancing DS-Lite with Private IPV4 Reachability | |
US11196702B2 (en) | In-vehicle communication device, and communication control method | |
US10313224B2 (en) | Seamless host mobility | |
KR20130087932A (en) | Method and apparatus for mapping locator and identifier of mobile host | |
US11323284B2 (en) | Communication apparatus, car integrated management system, and routing table update method | |
US20150341263A1 (en) | Associating internet protocol (ip) addresses with ethernet virtualisation interconnection (evi) links | |
CN102739502B (en) | A kind of realize network identity conversion method, Apparatus and system | |
CN102025658A (en) | Method and system for realizing intercommunication between identity network and internet | |
US20150271135A1 (en) | Session-aware network address translation traversal method | |
CN102148765A (en) | Method for realizing interconnection of integrated identification network and traditional IPv4 (Internet Protocol Version 4) internet | |
CN111953607B (en) | Method and device for updating route | |
CN104683236B (en) | Position and the routing iinformation learning method in mark separated protocol network and device | |
CN103686905B (en) | Mobile node switching method based on locator and identifier separation protocol | |
CN102957621A (en) | Communications network system based on separation of position and identity label and device of communications network system | |
CN116762320A (en) | Traffic flow based mapping cache flushing for supporting device and dynamic policy updating thereof | |
KR20160092645A (en) | Method and system for forwarding packet in id/locator separation envirionment | |
CN103108056B (en) | Device and method capable of achieving subscriber identifier and locator separation network | |
CN105591890B (en) | Update the method and device of the mapped cache of entrance tunnels router | |
CN102957755A (en) | Address resolution method, address resolution device and information transmission method | |
CN103167463B (en) | Update the processing method and system, mapping server and mobile node of message | |
CN104753888A (en) | Message handling method and device |
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: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |