CN104901835B - Position and mapping server configuration method and device in mark separated protocol network - Google Patents

Position and mapping server configuration method and device in mark separated protocol network Download PDF

Info

Publication number
CN104901835B
CN104901835B CN201510264865.3A CN201510264865A CN104901835B CN 104901835 B CN104901835 B CN 104901835B CN 201510264865 A CN201510264865 A CN 201510264865A CN 104901835 B CN104901835 B CN 104901835B
Authority
CN
China
Prior art keywords
synchronous
configuration
eid
deleted
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510264865.3A
Other languages
Chinese (zh)
Other versions
CN104901835A (en
Inventor
周倩
郭威
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201510264865.3A priority Critical patent/CN104901835B/en
Publication of CN104901835A publication Critical patent/CN104901835A/en
Application granted granted Critical
Publication of CN104901835B publication Critical patent/CN104901835B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Landscapes

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

Abstract

Embodiment of the present invention proposes a kind of position and mapping server (MS) configuration method and device in mark separated protocol (LISP) network.This method includes:The user configuration information of terminal identifier (EID) prefix of the tunnel router comprising the first MS connections is received, and determines the synchronization MS of the first MS;Generation includes the synchronization configuration information of the EID prefixes, and the synchronous configuration information is sent to the synchronous MS, so as to perform configuration based on the EID prefixes parsed from the synchronous configuration information by the synchronous MS.

Description

Position and mapping server configuration method and device in mark separated protocol network
Technical field
The present invention relates to position and mark separated protocol (Locator Identity Separation Protocol, LISP) technical field, mapping server configuration method and device in particularly a kind of LISP networks.
Background technology
LISP is the agreement of a kind of position and mark separation.LISP networks are by core network and edge network two parts group Into.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 The separation of network and edge network, and the mapping solution from EID to RLOC is realized by mapping server (Map-Server, MS) Analysis.XTR is the general designation of ITR and ETR, represents that tunnel router is provided simultaneously with ITR and ETR abilities.
ETR periodically by logon message (Map-Register) to mapping server register the EID of this website with Mapping relations between RLOC, MS receive logon message and record the mapping relations between the EID of the website and RLOC.
In the prior art, user needs manual configuration site and EID prefixes (prefix) information on every MS.It is aobvious So, if MS is more in network, configuration site and EID prefix informations can lead to very big workload on MS respectively by hand.
Moreover, if the network planning changes, in network the configuration of MS also to do corresponding configuration variation, undoubtedly increase again Add the workload of manual configuration, and also dumb.
Invention content
In view of this, the present invention proposes the mapping server configuration method and device in a kind of LISP networks, so as to reduce Configuration work amount.
The technical solution of embodiment of the present invention is as follows:
According to the one side of embodiment of the present invention, the MS configuration methods in a kind of LISP networks, this method application are proposed In the first MS, this method includes:
The user configuration information of the terminal identifier EID prefixes of the tunnel router comprising the first MS connections is received, And determine the synchronization MS of the first MS;
Generation includes the synchronization configuration information of the EID prefixes, and the synchronous configuration information is sent to the synchronous MS, So as to perform configuration based on the EID prefixes parsed from the synchronous configuration information by the synchronous MS.
Preferably, the site identity of website where the user configuration information further includes the tunnel router;The party Method further includes:The site identity is carried in the synchronous configuration information;
The synchronous MS performs configuration based on the EID prefixes parsed from the synchronous configuration information and includes:Institute Stating synchronous MS is associated the site identity and the EID prefixes, and based on associated site identity and the EID prefixes Generation configuration list item.
Preferably, it is described synchronous configuration information is sent to the synchronous MS to include:
The site identity is stored in LISP protocol message, and institute is further stored in the LISP protocol message State the EID prefixes of website;
The LISP protocol message is sent to the synchronous MS by substituting topological (ALT) network.
Preferably, this method further comprises:
The user configuration for receiving the EID prefixes to be deleted comprising the tunnel router deletes information;
Information is deleted in synchronous configuration of the generation comprising the EID prefixes to be deleted, and the synchronous configuration is deleted information hair The synchronous MS is sent to, so as to include the configuration list item of the EID prefixes to be deleted by the synchronous MS deletions.
Preferably, the user configuration deletes the site identity of website where information further includes the tunnel router; This method further includes:The site identity is carried in information is deleted in the synchronous configuration;
The synchronous MS deletes the configuration list item comprising EID prefixes to be deleted and includes:The synchronous MS is based on from described same Step configuration deletes the site identity that parses and the EID prefixes to be deleted in information and determines the website mark that composition is associated with pair Knowledge and EID prefixes, and delete the configuration list item for including the association pair.
Preferably, it is described by it is synchronous be configured to delete information and be sent to synchronous MS include:
The site identity is stored in LISP protocol message, and institute is further stored in the LISP protocol message State the EID prefixes that site identity corresponds to website;
The LISP protocol message is sent to by the synchronous MS by ALT networks.
Preferably, this method further comprises:
The user configuration for receiving the mark comprising website to be deleted deletes information;
Information is deleted in the synchronous configuration of mark of the generation comprising the website to be deleted, and the synchronous configuration is deleted information The synchronous MS is sent to, so as to delete all configuration list items of the website to be deleted by the synchronous MS.
Preferably, the synchronization MS for determining the first MS includes:To there is EID prefix intersections with the first MS MS is determined as the synchronous MS.
According to the another aspect of embodiment of the present invention, the MS configuration devices in a kind of LISP networks are proposed, which should For the first MS, which includes:
Receiving module is configured, before receiving the terminal identifier EID of the tunnel router comprising the first MS connections The user configuration information sewed, and determine the synchronization MS of the first MS;
Configuration information sending module, for generating the synchronization configuration information for including the EID prefixes, by the synchronous configuration Information is sent to the synchronous MS, thus by the synchronous MS based on the EID parsed from the synchronous configuration information Prefix performs configuration.
Preferably, the site identity of website where the user configuration information further includes the tunnel router;
Configuration information sending module is additionally operable to carry the site identity in the synchronous configuration information;
The synchronous MS performs configuration based on the EID prefixes parsed from the synchronous configuration information and includes:Institute Stating synchronous MS is associated the site identity and the EID prefixes, and based on associated site identity and the EID prefixes Generation configuration list item.
Preferably, configuration information sending module, for the site identity to be stored in LISP protocol message, and in institute It states and the EID prefixes that the site identity corresponds to website is further stored in LISP protocol message;By ALT networks by the LISP Protocol massages are sent to the synchronous MS.
Preferably, receiving module is configured, the user for being additionally operable to receive the EID prefixes to be deleted comprising the tunnel router matches Put deletion information;
Configuration information sending module is additionally operable to synchronous configuration of the generation comprising the EID prefixes to be deleted and deletes information, will The synchronous configuration deletes information and is sent to the synchronous MS, so as to be deleted by the synchronous MS comprising before the EID to be deleted The configuration list item sewed.
Preferably, the user configuration deletes the site identity of website where information further includes the tunnel router;
Configuration information sending module is additionally operable to carry the site identity in information is deleted in the synchronous configuration;
The synchronous MS deletes the configuration list item comprising EID prefixes to be deleted and includes:The synchronous MS is based on from described same Step configuration deletes the site identity that parses and the EID prefixes to be deleted in information and determines the website mark that composition is associated with pair Knowledge and the EID prefixes, and delete the configuration list item for including the association pair.
Preferably, configuration information sending module, for the site identity to be stored in LISP protocol message, and in institute It states and the EID prefixes that the site identity corresponds to website is further stored in LISP protocol message;By ALT networks by the LISP Protocol massages are sent to the synchronous MS.
Preferably, receiving module is configured, the user configuration for being additionally operable to receive the mark comprising website to be deleted deletes information;
Letter is deleted in configuration information sending module, the synchronous configuration for being additionally operable to mark of the generation comprising the website to be deleted The synchronous configuration is deleted information and is sent to the synchronous MS, so as to delete the website to be deleted by the synchronous MS by breath All configuration list items.
Preferably, receiving module is configured, it is described same for will be determined as with MSs of the first MS with EID prefix intersections Walk MS.
In embodiments of the present invention, its EID prefix for being safeguarded of manual configuration and synchronous MS is determined on the first MS, so Synchronous configuration information is sent to synchronous MS afterwards, synchronous MS can be held based on the EID prefixes parsed from synchronous configuration information Row configuration.As it can be seen that embodiment of the present invention is without manual configuration EID prefixes again in synchronous MS equipment, so as to significantly reduce Configuration work amount.
In addition, if the network planning changes, the configuration of synchronous MS can also respective synchronization variation, therefore further drop Low configuration work amount.
Description of the drawings
Fig. 1 is the MS configuration method flow charts in LISP networks of the present invention;
Fig. 2 is that the first schematic diagram is configured in the MS in embodiment of the present invention LISP networks;
Fig. 3 is MS configuration methods flow chart shown in Fig. 2;
Fig. 4 is that the second schematic diagram is configured in the MS in embodiment of the present invention LISP networks;
Fig. 5 is MS configuration methods flow chart shown in Fig. 4;
Fig. 6 is the MS configuration device structure charts in LISP networks of the present invention.
Specific embodiment
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.
In order to reduce the workload of manual configuration MS, embodiment of the present invention proposes MS configuration simultaneous techniques.In some MS Its EID prefix (preferably, also its website for being safeguarded of manual configuration) for being safeguarded of manual configuration, then passes through ALT in equipment Configuration information is synchronized to by network also needs other MS equipment for safeguarding EID prefixes.
Fig. 1 is the MS configuration method flow charts in LISP networks of the present invention, and this method is suitable for the first MS.
As shown in Figure 1, this method includes:
Step 101:First MS receives the user configuration letter of the EID prefixes of the tunnel router comprising the first MS connections Breath, and determine the synchronization MS of the first MS.
Herein, the user configuration information sent out by user is received on the first MS, user configuration information includes the first MS The EID prefixes of the tunnel router of connection.Moreover, by synchronous MS is determined as with the MS that the first MS has EID prefix intersections.
Preferably, when website has it is multiple when, website where the tunnel router is further included in user configuration information Site identity.At this point, site identity and EID prefixes are associated by the first MS, and based on associated site identity and EID before Sew the generation configuration list item on the first MS, so as to perform configuration for the first MS.
Step 102:First MS generates the synchronization configuration information for including EID prefixes, and synchronous configuration information is sent to synchronization MS, so as to perform configuration based on the EID prefixes parsed from synchronous configuration information by synchronous MS.
Herein, it in the synchronization configuration information of the first MS generations, can both have been received comprising the first MS in step 101 complete Portion's EID prefixes, the part EID prefixes that can also be only received comprising the first MS in step 101.
Herein, when the user configuration information in step 101 also includes the site identity of website where the tunnel router When, the first MS generates the synchronization configuration information for including EID prefixes, site identity is carried in synchronous configuration information, and will be same Step configuration information is sent to synchronous MS.
After synchronous MS receives synchronous configuration information, the site identity and EID prefixes in synchronous configuration information are parsed.Together The site identity parsed and EID prefixes are associated by step MS, and are based on associated site identity with EID prefixes in synchronous MS Local generation configuration list item, so as to perform configuration for synchronous MS.
In one embodiment, synchronous configuration information is sent to synchronous MS to include:
Site identity is stored in LISP protocol message, and in LISP protocol message further storage site EID Prefix;LISP protocol message is sent to synchronous MS by substituting topological (ALT) network.Above-mentioned LISP protocol message can be ordered Entitled MS-update messages, it is preferable that the type (TYPE) of the MS-update messages is 6.
A site identity is only deposited in one MS-update message, which has the site identity institute The EID prefix informations safeguarded under corresponding website.If there are multiple website needs to be configured on the first MS, then to need to same It walks MS and sends multiple MS-update messages.After synchronous MS receives MS-update messages, parsed from MS-update messages outbound The EID prefixes of website, site identity and EID prefixes are associated corresponding to point identification and the site identity, and based on associated Site identity configuration list item is generated on synchronous MS with EID prefixes.
In one embodiment, this method further includes:
The user configuration that first MS receives the EID prefixes to be deleted comprising the tunnel router deletes information;First MS gives birth to Information is deleted into the synchronous configuration comprising EID prefixes to be deleted, synchronous configuration is deleted information is sent to synchronous MS, so as to by same Step MS deletions include the configuration list item of EID prefixes to be deleted.
Preferably, user configuration deletes the site identity of website where information further includes the tunnel router;The party Method further includes:Site identity is carried and is configured in deletion information synchronous by the first MS.Synchronous MS receives synchronous configuration and deletes letter After breath, delete the site identity that is parsed in information and EID prefixes to be deleted based on from synchronous be configured and determine that composition is associated with pair Site identity and EID prefixes, and delete the configuration list item for including the association pair.
In one embodiment, synchronous configuration deletion information is sent to synchronous MS to include:
Site identity is stored in LISP protocol message by the first MS, and the further storage site in LISP protocol message The EID prefixes of the corresponding website of mark;LISP protocol message is sent to synchronous MS by the first MS by ALT networks.It can will be above-mentioned LISP protocol message is named as MS-remove messages, it is preferable that the type (TYPE) of the MS-remove messages is 7.
It is only stored there are one site identity in one MS-remove message, which to have the website mark Know the EID prefix informations safeguarded under corresponding website.If there are multiple websites to need to be deleted configuration in the first MS equipment List item, then need to send multiple MS-remove messages to synchronous MS.After synchronous MS receives MS-remove messages, from MS- Site identity and EID prefixes are parsed in remove messages, determines to correspond to the site identity parsed and EID prefixes from local And the site identity and EID prefixes of composition association pair, and delete the configuration list item for including association pair.
In one embodiment, this method further includes:The user that first MS receives the mark comprising website to be deleted matches Put deletion information;Information is deleted in the synchronous configuration of mark of the first MS generations comprising website to be deleted, and synchronous be configured is deleted letter Breath is sent to synchronous MS.After synchronous MS receives synchronous configuration deletion information, all EID prefixes of website to be deleted are deleted.At this point, MS-remove messages can only be stored with the site identity of website to be deleted, and no longer store any EID prefixes.When MS is received During the MS-remove messages, the site identity of website to be deleted is parsed from MS-remove messages, is belonged to from local retrieval The site identity corresponds to all configuration list items of website, and deletes the configuration list item retrieved.
The demonstrative structure of MS-update messages and MS-remove messages described in detail above, those skilled in the art It is to be appreciated that this description is only exemplary, it is not used to form restriction to embodiment of the present invention.
With reference to specific networking, embodiment of the present invention is illustrated.
Fig. 2 is that the first schematic diagram is configured in the MS in embodiment of the present invention LISP networks.
As shown in Fig. 2, MS1, MS2 and MS3 are connected respectively to ALT networks.MS1 connection XTR1 and XTR2;MS2 connections XTR1 And XTR2;MS3 connections XTR3.
The upper EID prefixes of XTR1 include:10.0.0.0/24 and 20.0.0.0/24, belong to website 1;The upper EID prefixes packets of XTR2 It includes:20.0.0.0/24 and 21.0.0.0/24, belong to website 1;The upper EID prefixes of XTR3 include:10.0.0./24 and 30.0.0.0/ 24;Wherein 10.0.0./24 belong to website 1, and 30.0.0.0/24 belongs to website n.
XTR1 is connected respectively to MS1 and MS2, therefore the EID prefixes hung under XTR1 will be safeguarded on MS1 and MS2.Similarly, XTR2 is connected respectively to MS1 and MS2, therefore the EID prefixes hung under XTR2 will be safeguarded on MS1 and MS2.Therefore, MS1 and MS2 On the EID prefixes to be configured include:10.0.0.0/24 20.0.0.0/24 and 21.0.0.0/24.XTR3 is connected to MS3, therefore The upper EID prefixes to be configured of MS3 include:10.0.0.0/24 with 30.0.0./24.It can be seen that the EID prefixes of MS3 and MS1 are handed over Collection is 10.0.0.0/24.
Fig. 3 is MS configuration methods flow chart shown in Fig. 2.
As shown in figure 3, this method includes:
Step 301:Manual configuration is performed in MS1, is specifically included:The tunnel router of MS1 connections is included in MS1 receptions The EID prefixes (i.e. 10.0.0./24,20.0.0.0/24 and 21.0.0.0/24) of (i.e. XTR1 and XTR2) and the website of website 1 The user configuration information of mark.MS1 is locally generated configuration list item based on the EID prefixes received and site identity, so as to really Determine website and the EID prefixes that MS1 needs are safeguarded.Moreover, because MS2 and MS1 has EID prefix intersection 20.0.0.0/24, because MS2 is determined as synchronous MS by this;Since MS3 and MS1 has EID prefix intersection 10.0.0.0/24, MS3 is also determined as Synchronous MS.All EID prefixes safeguarded in MS1 equipment can be all synchronized to MS2, by the website 1 safeguarded in MS1 equipment 10.0.0.0/24 EID prefixes are synchronized to MS3.
It specifically, can be as follows to be configured in MS1 equipment:
site 1
eid-prefix 10.0.0.0 24 alternative-ms ip-address of MS2
eid-prefix 20.0.0.0 24 alternative-ms ip-address of MS2
eid-prefix 21.0.0.0 24 alternative-ms ip-address of MS2
eid-prefix 10.0.0.0 24 alternative-ms ip-address of MS3
Wherein, using alternative-ms orders for every EID prefix, the IP as the synchronization MS that backs up is specified Location.
Step 302:MS1 sends MS-update messages to synchronous MS.
Specifically, MS-update messages use the basic format of LISP protocol message, and wherein Type is 6, MS-update Site identity (i.e. website 1) is stored in message, and the EID prefixes of website are also stored in MS-update messages.MS- The purpose IP address of update messages is the IP address that alternative-ms orders are configured.
Site identity (i.e. website 1) is stored with into the MS-update messages transmitted by MS2 in MS1.Moreover, MS- The EID prefixes stored in update messages include:10.0.0.0/24 20.0.0.0 24 and 21.0.0.0 24.The MS- The purpose IP address of update messages is the IP address of MS2.
Site identity (i.e. website 1) is stored with into the MS-update messages transmitted by MS3 in MS1.Moreover, MS- The EID prefixes of update packet storages include:10.0.0.0/24.The purpose IP address of the MS-update messages is the IP of MS3 Address.
Since ALT networks have the routing iinformation of all MS, as long as MS-update messages are transmitted to ALT nets by MS1 Message can be correctly transmitted to MS2 and MS3 respectively by network, ALT networks.
Step 303:Synchronous MS respectively performs configuration based on MS-update messages.
After MS2 receives MS-update messages, according to EID prefixes and site identity that MS-update messages carry, at this Machine generates the EID prefixes about website 1:10.0.0.0/24 the configuration list item of 20.0.0.0 24 and 21.0.0.0 24.As it can be seen that Since the EID prefixes on MS2 have all been synchronized by MS1, manual configuration, therefore significantly drop are no longer needed on MS2 The low configuration work amount of MS2.
After MS3 receives MS-update messages, according to EID prefixes and site identity that MS-update messages carry, at this Machine generates the EID prefixes about website 1:10.0.0.0/24 configuration list item.As it can be seen that due to the EID prefixes on MS3: 10.0.0.0/24 it is synchronized by MS1, therefore manual configuration EID prefixes is no longer needed on MS3:10.0.0.0/24, And only need manual configuration EID prefixes:30.0.0./24, therefore the configuration work amount of MS3 is significantly reduced.Moreover, MS3 is only tieed up The EID prefix informations of oneself connected website are protected, significantly mitigate this equipment pressure.
In addition, when MS1 breaks down, since MS2 still maintains the website of MS1 and EID prefixes, network still can Normal operation.For another example, when MS2 breaks down, since MS1 still maintains the website of MS2 and EID prefixes, network is still It so can normal operation.
When deleting configuration list item on MS1, other MS equipment can be synchronized to by controlling message MS-remove.
Step 304:MS1 sends MS-remove messages to synchronous MS.
For example, when deleting EID prefix 20.0.0.0/24 on MS1 by hand, message MS- will be controlled by ALT networks Remove messages are sent to MS2.Due to deleting EID prefix 20.0.0.0/24 by hand on MS1, MS3 is had no effect on, therefore not It needs to send MS-Remove messages to MS.
Specifically, MS-remove messages use the basic format of LISP protocol message, and wherein Type is 7, MS-remove Site identity (i.e. website 1) is stored in message.Moreover, the EID prefixes of website 1 are also stored in MS-remove messages (20.0.0.0/24)。
When MS-remove messages include site identity and EID prefixes, MS-remove messages are used to indicate synchronous MS Delete the configuration list item of the EID prefixes comprising website corresponding to the site identity.
When MS-remove messages include site identity and do not include EID prefixes, MS-remove messages are used to indicate together Step MS deletes all configuration list items of website corresponding to the site identity.
Step 305:Synchronous MS is based on MS-Remove messages and deletes configuration list item.
The MS-remove messages include site identity (i.e. website 1), and MS-remove messages also include EID prefixes: 20.0.0.0/24.After MS2 receives MS-remove messages, the site identity and EID prefixes in MS-remove messages are at this The configuration list item of 20.0.0.0/24 is deleted in equipment.
Fig. 4 is that the second schematic diagram is configured in the MS in embodiment of the present invention LISP networks.
As shown in figure 4, MS1, MS2 and MS3 are connected respectively to ALT networks.MS1 connections XTR1;MS2 connections XTR2;MS3 connects Meet XTR3.
The upper EID prefixes of XTR1 include:10.0.0.0/24 and 20.0.0.0/24, belong to website 1;The upper EID prefixes packets of XTR2 It includes:20.0.0.0/24 and 21.0.0.0/24, wherein 20.0.0.0/24 belong to website 1, and 21.0.0.0/24 belongs to website 2; The upper EID prefixes of XTR3 include:10.0.0./24 and 30.0.0.0/24;Wherein 10.0.0./24 belong to website 1,30.0.0.0/24 Belong to website n.
XTR1 is connected to MS1, therefore the EID prefixes hung under XTR1 are safeguarded on MS1:10.0.0.0/24 and 20.0.0.0/ 24.Similarly, XTR2 is connected to MS2, therefore the EID prefixes hung under XTR2 are safeguarded on MS2:20.0.0.0/24 and 21.0.0.0/ 24.Therefore, the EID prefixes (i.e. EID prefixes intersection) that will be configured on MS1 and MS2 include:20.0.0.0/24.XTR3 is connected to MS3, therefore the EID prefixes to be configured on MS3 include:10.0.0.0/24 with 30.0.0./24.It can be seen that MS3 and MS1 EID prefix intersections are 10.0.0.0/24.
Fig. 5 is MS configuration methods flow chart shown in Fig. 4.
As shown in figure 5, this method includes:
Step 501:Manual configuration is performed in MS1, is specifically included:The tunnel router of MS1 connections is included in MS1 receptions The user configuration information of the EID prefixes (i.e. 10.0.0./24,20.0.0.0/24) of (i.e. XTR1) and the site identity of website 1. MS1 is locally generated configuration list item based on the EID prefixes received and site identity, so that it is determined that the website that MS1 needs are safeguarded And EID prefixes.Moreover, because MS2 and MS1 has EID prefix intersection 20.0.0.0/24, therefore MS2 is determined as synchronizing MS;Since MS3 and MS1 has EID prefix intersection 10.0.0.0/24, MS3 is also determined as to synchronous MS.That is, it needs The EID prefixes 20.0.0.0/24 safeguarded in MS1 equipment is synchronized to MS2, by maintenance site 1 in MS1 equipment 10.0.0.0/24 EID prefixes are synchronized to MS3.
It specifically, can be as follows to be configured in MS1 equipment:
site 1
eid-prefix 20.0.0.0 24 alternative-ms ip-address of MS2
eid-prefix 10.0.0.0 24 alternative-ms ip-address of MS3
Wherein, using alternative-ms orders for every EID prefix, the IP as the synchronization MS that backs up is specified Location.
Step 502:MS1 sends MS-update messages to synchronous MS.
Specifically, MS-update messages use the basic format of LISP protocol message, and wherein Type is 6, MS-update Storage site identifies (i.e. website 1).Moreover, MS-update is also stored with the EID prefixes of website.The purpose of MS-update messages IP address is the IP address that alternative-ms orders are configured.
In MS1 into the MS-update messages transmitted by MS2, it is stored with site identity (i.e. website 1).Moreover, the MS- The EID prefixes of update packet storages include:20.0.0.0/24.The purpose IP address of the MS-update messages is the IP of MS2 Address.
In MS1 into the MS-update messages transmitted by MS3, it is stored with site identity (i.e. website 1).Moreover, the MS- The EID prefixes of update packet storages include:10.0.0.0/24.The purpose IP address of the MS-update messages is the IP of MS3 Address.
Since ALT networks have the routing iinformation of all MS, as long as MS-update messages are transmitted to ALT nets by MS1 Message can be correctly transmitted to MS2 and MS3 by network, ALT networks.
Step 503:Synchronous MS respectively performs configuration based on MS-update messages.
After MS2 receives MS-update messages, according to EID prefixes and site identity that MS-update messages carry, at this Machine generates the EID prefixes about website 1:20.0.0.0/24 configuration list item.As it can be seen that due to the EID prefixes on MS2: 20.0.0.0/24 it is synchronized by MS1, therefore manual configuration EID prefixes is no longer needed on MS2:20.0.0.0/24, And only need manual configuration EID prefixes:21.0.0./24, therefore the configuration work amount of MS2 is significantly reduced.
After MS3 receives MS-update messages, according to EID prefixes and site identity that MS-update messages carry, at this Machine generates the EID prefixes about website 1:10.0.0.0/24 configuration list item.As it can be seen that due to the EID prefixes on MS3: 10.0.0.0/24 it is synchronized by MS1, therefore manual configuration EID prefixes is no longer needed on MS3:10.0.0.0/24, And only need manual configuration EID prefixes:30.0.0./24, therefore significantly MS3 reduces configuration work amount.Moreover, MS3 is only maintained Oneself connect the EID prefix informations of website, significantly mitigate this equipment pressure.
When deleting configuration list item on MS1, other MS equipment can be synchronized to by controlling message MS-remove.
Step 504:MS1 sends MS-remove messages to synchronous MS.
For example, when deleting EID prefix 20.0.0.0/24 on MS1 by hand, message MS- will be controlled by ALT networks Remove messages are sent to MS2.Due to deleting EID prefix 20.0.0.0/24 by hand on MS1, MS3 is had no effect on, therefore not It needs to send MS-Remove messages to MS.
Specifically, MS-update messages use the basic format of LISP protocol message, and wherein Type is 7, MS-update Packet storage has site identity (i.e. website 1), and MS-update messages are also stored with the EID prefixes (20.0.0.0/ of website 1 24)。
When MS-update messages include site identity and EID prefixes, MS-remove messages are used to indicate synchronous MS and delete Except the configuration list item of the EID prefixes comprising website corresponding to the site identity.
When MS-update messages include site identity and do not include EID prefixes, MS-remove messages are used to indicate together Step MS deletes all configuration list items of website corresponding to the site identity.
Step 505:Synchronous MS is based on MS-remove messages and deletes configuration list item.
The MS-remove messages include site identity (i.e. website 1), and the MS-remove messages are also comprising before EID Sew:20.0.0.0/24.After MS2 receives MS-remove messages, site identity and EID prefixes in MS-remove messages The configuration list item of 20.0.0.0/24 is deleted in this equipment.
Based on foregoing description, the invention also provides a kind of MS configuration devices.
Fig. 6 is the structure chart of the MS configuration devices 600 in LISP networks of the present invention, which applies In the first MS.
As shown in fig. 6, the device 600 includes:
Receiving module 601 is configured, the user for receiving the EID prefixes of the tunnel router comprising the first MS connections matches Confidence ceases, and determines the synchronization MS of the first MS;
Configuration information sending module 602, for generating the synchronization configuration information for including EID prefixes, by synchronous configuration information Synchronous MS is sent to, so as to perform configuration based on the EID prefixes parsed from synchronous configuration information by synchronous MS.
In one embodiment, the website mark of website where user configuration information further includes the tunnel router Know;
Configuration information sending module 602 is additionally operable to carry site identity in synchronous configuration information;
The synchronous MS performs configuration based on the EID prefixes parsed from synchronous configuration information and includes:Synchronous MS will stand Point identification and the EID prefixes are associated, and based on associated site identity and EID prefixes generation configuration list item.
In one embodiment, configuration information sending module 602, for site identity to be stored in LISP protocol message In, and further storage site mark corresponds to the EID prefixes of website in LISP protocol message;LISP is assisted by ALT networks View message is sent to synchronous MS.
In one embodiment, receiving module 601 is configured, is additionally operable to receive to be deleted comprising the tunnel router The user configuration of EID prefixes deletes information;
Configuration information sending module is additionally operable to synchronous configuration of the generation comprising the EID prefixes to be deleted and deletes information, will Synchronous configuration deletes information and is sent to synchronous MS, so as to include the configuration list item of EID prefixes to be deleted by synchronous MS deletions.
In one embodiment, user configuration deletes the website of website where information further includes the tunnel router Mark;
Configuration information sending module 602 is additionally operable to carry the site identity in information is deleted in the synchronous configuration;
Synchronous MS deletes the configuration list item comprising EID prefixes to be deleted and includes:Synchronous MS is based on deleting letter from synchronous be configured The site identity parsed in breath and EID prefixes to be deleted determine the site identity and EID prefixes that composition is associated with pair, and delete packet Configuration list item containing association pair.
In one embodiment, configuration information sending module 602, for site identity to be stored in LISP protocol message In, and further storage site mark corresponds to the EID prefixes of website in LISP protocol message;LISP is assisted by ALT networks View message is sent to synchronous MS.
In one embodiment, receiving module 601 is configured, is additionally operable to user of the reception comprising site identity to be deleted and matches Put deletion information;
Configuration information sending module 602, the synchronous configuration for being additionally operable to mark of the generation comprising the website to be deleted are deleted The synchronous configuration is deleted information and is sent to the synchronous MS, so as to delete the station to be deleted by the synchronous MS by information All configuration list items of point.
In one embodiment, receiving module 601 is configured, for there will be the MS of EID prefix intersections true with the first MS It is set to synchronous MS.
In conclusion in embodiments of the present invention, its EID prefix for being safeguarded of manual configuration and determined on the first MS Then synchronous configuration information is sent to synchronous MS by synchronous MS, so as to be based on parsing from synchronous configuration information by synchronous MS EID prefixes perform configuration.As it can be seen that embodiment of the present invention is without manual configuration EID prefixes in synchronous MS equipment, so as to Significantly reduce configuration work amount.
In addition, if the network planning changes, the configuration of synchronous MS can also respective synchronization variation, therefore further drop Low configuration work amount.
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 (14)

  1. A kind of 1. mapping server MS configuration methods in position and mark separated protocol LISP networks, which is characterized in that the party Method is applied to the first MS, and this method includes:
    The user configuration information of the terminal identifier EID prefixes of the tunnel router comprising the first MS connections is received, and really The synchronization MS of fixed first MS;
    Generation includes the synchronization configuration information of the EID prefixes, and the synchronous configuration information is sent to the synchronous MS, so as to Configuration is performed based on the EID prefixes parsed from the synchronous configuration information by the synchronous MS;
    The synchronization MS for determining the first MS includes:It will be determined as institute with MSs of the first MS with EID prefix intersections State synchronous MS.
  2. 2. according to the method described in claim 1, it is characterized in that, the user configuration information further includes tunnel routing The site identity of website where device;This method further includes:The site identity is carried in the synchronous configuration information;
    The synchronous MS performs configuration based on the EID prefixes parsed from the synchronous configuration information and includes:It is described same The site identity and the EID prefixes are associated by step MS, and are generated based on associated site identity and the EID prefixes List item is configured.
  3. 3. according to the method described in claim 2, it is characterized in that, described be sent to the synchronous MS packets by synchronous configuration information It includes:
    The site identity is stored in LISP protocol message, and the station is further stored in the LISP protocol message The EID prefixes of point;
    The LISP protocol message is sent to the synchronous MS by substituting topology ALT networks.
  4. 4. according to the method described in claim 1, it is characterized in that, this method further comprises:
    The user configuration for receiving the EID prefixes to be deleted comprising the tunnel router deletes information;
    Information is deleted in synchronous configuration of the generation comprising the EID prefixes to be deleted, and the synchronous configuration is deleted information is sent to The synchronous MS, so as to include the configuration list item of the EID prefixes to be deleted by the synchronous MS deletions.
  5. 5. according to the method described in claim 4, it is characterized in that,
    The user configuration deletes the site identity of website where information further includes the tunnel router;This method is also wrapped It includes:The site identity is carried in information is deleted in the synchronous configuration;
    The synchronous MS deletes the configuration list item comprising EID prefixes to be deleted and includes:The synchronous MS is based on matching from the synchronization Put delete site identity that the site identity that parses and the EID prefixes to be deleted in information determine that composition be associated with pair with EID prefixes, and delete the configuration list item for including the association pair.
  6. 6. according to the method described in claim 5, it is characterized in that,
    It is described by it is synchronous be configured to delete information and be sent to synchronous MS include:
    The site identity is stored in LISP protocol message, and the station is further stored in the LISP protocol message Point identification corresponds to the EID prefixes of website;
    The LISP protocol message is sent to by the synchronous MS by ALT networks.
  7. 7. according to the method described in claim 1, it is characterized in that, this method further comprises:
    The user configuration for receiving the mark comprising website to be deleted deletes information;
    Information is deleted in the synchronous configuration of mark of the generation comprising the website to be deleted, and the synchronous configuration is deleted information sends To the synchronous MS, so as to delete all configuration list items of the website to be deleted by the synchronous MS.
  8. A kind of 8. mapping server MS configuration devices in position and mark separated protocol LISP networks, which is characterized in that the dress It puts applied to the first MS, which includes:
    Receiving module is configured, for receiving the terminal identifier EID prefixes of the tunnel router comprising the first MS connections User configuration information, and determine the synchronization MS of the first MS;
    Configuration information sending module, for generating the synchronization configuration information for including the EID prefixes, by the synchronous configuration information The synchronous MS is sent to, thus by the synchronous MS based on the EID prefixes parsed from the synchronous configuration information Perform configuration;
    The synchronization MS for determining the first MS includes:It will be determined as institute with MSs of the first MS with EID prefix intersections State synchronous MS.
  9. 9. device according to claim 8, which is characterized in that the user configuration information further includes tunnel routing The site identity of website where device;
    Configuration information sending module is additionally operable to carry the site identity in the synchronous configuration information;
    The synchronous MS performs configuration based on the EID prefixes parsed from the synchronous configuration information and includes:It is described same The site identity and the EID prefixes are associated by step MS, and are generated based on associated site identity and the EID prefixes List item is configured.
  10. 10. device according to claim 9, which is characterized in that
    Configuration information sending module, for the site identity to be stored in LISP protocol message, and in the LISP protocol The EID prefixes that the site identity corresponds to website are further stored in message;The LISP is assisted by substituting topology ALT networks View message is sent to the synchronous MS.
  11. 11. device according to claim 8, which is characterized in that
    Receiving module is configured, the user configuration for being additionally operable to receive the EID prefixes to be deleted comprising the tunnel router deletes information;
    Configuration information sending module is additionally operable to generate the synchronous configuration comprising the EID prefixes to be deleted and deletes information, by described in Synchronous configuration deletes information and is sent to the synchronous MS, so as to be deleted by the synchronous MS comprising the EID prefixes to be deleted List item is configured.
  12. 12. according to the devices described in claim 11, which is characterized in that the user configuration deletes information and further includes the tunnel The site identity of website where road router;
    Configuration information sending module is additionally operable to carry the site identity in information is deleted in the synchronous configuration;
    The synchronous MS deletes the configuration list item comprising EID prefixes to be deleted and includes:The synchronous MS is based on matching from the synchronization Put delete site identity that the site identity that parses and the EID prefixes to be deleted in information determine that composition be associated with pair with The EID prefixes, and delete the configuration list item for including the association pair.
  13. 13. device according to claim 12, which is characterized in that
    Configuration information sending module, for the site identity to be stored in LISP protocol message, and in the LISP protocol The EID prefixes that the site identity corresponds to website are further stored in message;The LISP protocol message is sent out by ALT networks It is sent to the synchronous MS.
  14. 14. device according to claim 8, which is characterized in that
    Receiving module is configured, the user configuration for being additionally operable to receive the mark comprising website to be deleted deletes information;
    Information is deleted in configuration information sending module, the synchronous configuration for being additionally operable to mark of the generation comprising the website to be deleted, will The synchronous configuration deletes information and is sent to the synchronous MS, so as to delete all of the website to be deleted by the synchronous MS List item is configured.
CN201510264865.3A 2015-05-22 2015-05-22 Position and mapping server configuration method and device in mark separated protocol network Active CN104901835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510264865.3A CN104901835B (en) 2015-05-22 2015-05-22 Position and mapping server configuration method and device in mark separated protocol network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510264865.3A CN104901835B (en) 2015-05-22 2015-05-22 Position and mapping server configuration method and device in mark separated protocol network

Publications (2)

Publication Number Publication Date
CN104901835A CN104901835A (en) 2015-09-09
CN104901835B true CN104901835B (en) 2018-06-15

Family

ID=54034239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510264865.3A Active CN104901835B (en) 2015-05-22 2015-05-22 Position and mapping server configuration method and device in mark separated protocol network

Country Status (1)

Country Link
CN (1) CN104901835B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095883B (en) * 2016-06-03 2021-01-15 腾讯科技(深圳)有限公司 Method and device for importing browser data
CN110650075B (en) * 2018-06-26 2022-02-18 华为技术有限公司 Group policy implementation method, network device and group policy implementation system based on VXLAN
CN110650076B (en) 2018-06-26 2021-12-24 华为技术有限公司 VXLAN implementation method, network equipment and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834914A (en) * 2010-04-23 2010-09-15 北京交通大学 Method for realizing mapping relation between identity and position
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof
CN102868618A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Detaching method, detaching device and mapping server
WO2013083034A1 (en) * 2011-12-09 2013-06-13 中兴通讯股份有限公司 Mobile node mapping information update triggering method, ms and mn

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834914A (en) * 2010-04-23 2010-09-15 北京交通大学 Method for realizing mapping relation between identity and position
CN102868618A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Detaching method, detaching device and mapping server
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof
WO2013083034A1 (en) * 2011-12-09 2013-06-13 中兴通讯股份有限公司 Mobile node mapping information update triggering method, ms and mn
CN103167464A (en) * 2011-12-09 2013-06-19 中兴通讯股份有限公司 Method for triggering and updating mobile node mapping information, mapping server (MS) and mobile node (MN)

Also Published As

Publication number Publication date
CN104901835A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN109756425B (en) Multicast forwarding method, device and BFR
CN104243318B (en) MAC address learning method and device in VXLAN networks
JP5991424B2 (en) Packet rewriting device, control device, communication system, packet transmission method and program
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
CN104506408B (en) The method and device of data transfer based on SDN
EP3313025B1 (en) Data packet forwarding
CN104320342B (en) Message forwarding method and device in a kind of transparent interconnection of lots of links internet
CN104243630B (en) MAC address learning method and device in VXLAN networks
CN105099922B (en) A kind of data message forwarding method and device across virtual expansible LAN
CN106844000A (en) Using the method and apparatus of browser access linux container cluster under a kind of multi-user environment
CN107181663A (en) A kind of message processing method, relevant device and computer-readable recording medium
CN105099921B (en) A kind of fastext processing method and device based on user
JP2019515608A (en) Access control
CN106899500B (en) Message processing method and device for cross-virtual extensible local area network
CN106535219B (en) A kind of user information earth-filling method and device
CN105634901B (en) Mac address information synchronous method and device based on CAS VXLAN
CN104901835B (en) Position and mapping server configuration method and device in mark separated protocol network
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN103262486A (en) Method and apparatus for applying client associated policies in forwarding engine
CN109088823B (en) Method and device for realizing terminal interconnection
EP2822238B1 (en) Method and device for establishing a pseudo wire
CN108141743A (en) The method of improved disposition, telecommunication network, user equipment, system, program and the computer program product exchanged at least one communication between telecommunication network and at least one user equipment
CN109412925A (en) Forwarding-table item update method and VTEP based on VTEP
CN105592490B (en) A kind of route switching method and equipment
CN103841026B (en) VPN route managing system and method of router IP protocol stack

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