CN102118317B - Method, device and network device for selecting virtual link addresses - Google Patents

Method, device and network device for selecting virtual link addresses Download PDF

Info

Publication number
CN102118317B
CN102118317B CN2011100726113A CN201110072611A CN102118317B CN 102118317 B CN102118317 B CN 102118317B CN 2011100726113 A CN2011100726113 A CN 2011100726113A CN 201110072611 A CN201110072611 A CN 201110072611A CN 102118317 B CN102118317 B CN 102118317B
Authority
CN
China
Prior art keywords
address
interface
transmission region
virtual link
style
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
CN2011100726113A
Other languages
Chinese (zh)
Other versions
CN102118317A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2011100726113A priority Critical patent/CN102118317B/en
Publication of CN102118317A publication Critical patent/CN102118317A/en
Application granted granted Critical
Publication of CN102118317B publication Critical patent/CN102118317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, device and network device for selecting virtual link addresses. The method comprises the following steps: classifying and assigning each interface address which belongs to global unicast addresses in a routing device to set multiple address types, wherein the multiple address types at least comprise the following addresses from high priority to low priority: an interface address of transit areas, an interface address with the prefix length less than 128 bits of non-transit areas and an interface address with the prefix length equal to 128 bits of the non-transit areas; and when a virtual link is configured, selecting the interface addresses with highest address type priority from each address type with the interface address as the virtual link addresses. According to the invention, the problem that the virtual links can not be built due to free selection of existing virtual link addresses can be solved.

Description

System of selection, device and the network equipment of a kind of virtual link address
Technical field
The present invention relates to network communication field, relate in particular to system of selection, device and the network equipment of a kind of virtual link address.
Background technology
Open Shortest Path First (Open Shortest Path First, OSPF) all non-key districts of protocols limit will link to each other with the backbone district, but because the topological structure design; Sometimes can't guarantee each zone all with backbone district physical connection, for addressing this problem, ospf protocol has proposed the notion of virtual link; At two Area Border Routers (Area Border Router; ABR) dispose virtual link between, make its transmission region that passes through setting, set up a transmission channel in logic.The equipment at virtual link two ends is through the mutual neighbours' message information of unicast message, and these messages are finally sent to empty neighbor device through the device forwards of transmission region.
OSPF version 3 (OSPF v3) is for empty neighbours; Must obtain neighbours' global unicast address (a kind of address of globally unique expression single device) ability message transmission information; So OSPFv3 agreement (RFC5340) regulation; It is in 128 the prefix structure that OSPF v3 routing device is encapsulated into a mask-length with the interface IP address of virtual link; Through the transmission region announcement of intra-area-prefix-LSA to the virtual link place, the routing device of the same area just can calculate the main frame route that arrives this virtual link through route like this.But agreement does not have agreement how to select the address of virtual link; And the information encapsulation format of the information of expression virtual link and other link is as broad as long among the intra-area-prefix-LSA; Like this; In case selected virtual link address is not only announced in transmission region, and be communicated to other zones except transmission region as other regional physical interface addresses, other routing device possibly calculate many paths that arrive these routing devices so; And optimize other regional path except that transmission region, will cause virtual connections to set up so.
Describe with example shown in Figure 1 below:
Among Fig. 1; Area 0 is a backbone area, and Area 1 is a transmission region, and routing device A and routing device C, routing device C and routing device B set up neighbours in Area 0; Routing device A and routing device D, routing device D and routing device B set up neighbours in Area 1; Dispose virtual connections between routing device A and the routing device B, this virtual connections need be passed through transmission region Area 1, i.e. between the two actual will the carrying out alternately through routing device D of message.Routing device A and routing device B are as ABR equipment; Guarantee to link to each other with backbone area; If routing device A connects the interface E0 of Area 0 and link failure occurs; Then routing device A can guarantee and being connected of backbone area that the virtual link between routing device A and B can be used as its key backup of distinguishing physical link here through its virtual link.
The E0 interface configuration of routing device A global unicast address 2001:1::1/128,2001:2::1/64; The E0 interface configuration of routing device B global unicast address 2001:3::1/128,2001:4::1/64, routing device A is connected transmission region with routing device B E1 interface does not dispose any global unicast address.
On the one hand; Routing device B does not dispose global unicast address at transmission region (Area 1); So select first interface IP address 2001:3::1/128 as its virtual link address from interface E0, announce to Area 1 through prefix LSA (intra-area-prefix-LSA) in the zone; On the other hand; Because interface E0 has added the operation of OSPF v3 backbone area; So the IP address of its interface also need be announced to Area 0 through intra-area-prefix-LSA as the physical interface address of Area 0, at this moment also comprise address 2001:3::1/128 among the intra-area-prefix-LSA of announcement.So; Routing device A has learnt the main frame routing iinformation of expression interface IP address 2001:3::1/128 respectively from two regional Area 0 and Area 1; Go out to have two paths to arrive the 2001:3::1/128 interface of routing device B through this information calculations; If the tolerance of backbone area more excellent (being that the interface cost value is littler), then routing device A will preferentially select next jumping path as the 2001:3::1/128 route, the path (via routing device C) of backbone area.Its OSPFv3 message that mails to virtual link will transmit through backbone area, and routing device B can think invalid packet after backbone area receives virtual link OSPFv3 message, carry out discard processing.Virtual link will be set up failure between routing device A and the B like this.
Summary of the invention
The embodiment of the invention provides system of selection, device and the network equipment of a kind of virtual link address, the problem that possibly cause virtual link to set up in order to the randomness that solves existing virtual link address choice.
The system of selection of a kind of virtual link address that the embodiment of the invention provides is applied to comprise in the OSPF version 3:
With each interface IP address that belongs to global unicast address in the routing device, category attribution is in a plurality of address styles of setting; Said a plurality of interface IP address type comprises according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and interface IP address that prefix length equals 128 less than the prefix length of 128 interface IP address and non-transmission region;
When the configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address.
The device of a kind of selection virtual link address that the embodiment of the invention provides is applied to comprise in the OSPF version 3:
Sort module is used for routing device is belonged to each interface IP address of global unicast address, and category attribution is in a plurality of address styles of setting; Said a plurality of interface IP address type comprises according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and interface IP address that prefix length equals 128 less than the prefix length of 128 interface IP address and non-transmission region;
Select module, be used for when the configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address.
A kind of network equipment that the embodiment of the invention provides, this network equipment comprise the device of the above-mentioned selection virtual link address that the embodiment of the invention provides.
The beneficial effect of the embodiment of the invention comprises:
A kind of system and method that the embodiment of the invention provides, problem.
System of selection, device and the network equipment of the virtual link address that the embodiment of the invention provides; At first with each interface IP address that belongs to global unicast address in the routing device; Category attribution is in a plurality of address styles of setting, and a plurality of address styles comprise following three types from high to low at least according to priority: the interface IP address of transmission region, non-transmission region and prefix length less than 128 interface IP address and the interface IP address that equals 128 with the prefix length of non-transmission region; When needs configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address; The system of selection of the virtual link address that the embodiment of the invention provides has overcome the randomness of prior art virtual link address choice, and the interface IP address of preferentially selecting transmission region is the virtual link address; When not having the interface IP address of transmission region; Suboptimum selects other zone prefix length less than 128 interface IP address, like this, can guarantee after announcement virtual link address; The Route Selection of virtual link must be passed through transmission region, guarantees the successful foundation of virtual link; Can guarantee like this that when having the interface IP address of higher priority the assurance virtual link is set up successfully.Even under all non-existent situation of above-mentioned two kinds of interface IP addresses; The interface IP address that also can select other zone prefix length to equal 128 is accomplished the foundation (possibility that has the foundation of accomplishing virtual link) of virtual link; System of selection, device and the network equipment of the virtual link address that the embodiment of the invention provides, the problem that can avoid the randomness of existing virtual link address choice to cause virtual link to set up preferably.
Description of drawings
Fig. 1 connects sketch map for the network of a kind of virtual link instance that prior art provides;
The flow chart of the system of selection of the virtual link address that Fig. 2 provides for the embodiment of the invention;
The flow chart that in three chained lists, adds the step of interface IP address that Fig. 3 provides for the embodiment of the invention;
The interface IP address of the address style of the selection limit priority that Fig. 4 provides for the embodiment of the invention is as the flow chart of the step of virtual link address;
One of structural representation of the device of the selection virtual link address that Fig. 5 provides for the embodiment of the invention;
The structural representation of the sort module that Fig. 6 provides for the embodiment of the invention;
The structural representation of the selection module that Fig. 7 provides for the embodiment of the invention;
Two of the structural representation of the device of the selection virtual link address that Fig. 8 provides for the embodiment of the invention;
Three of the structural representation of the device of the selection virtual link address that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of system of selection, device and the network equipment of a kind of virtual link address that the embodiment of the invention is provided is at length explained.
The system of selection of a kind of virtual link address that the embodiment of the invention provides, as shown in Figure 2, comprise the steps:
S201, with each interface IP address that belongs to global unicast address in the routing device, category attribution is in a plurality of address styles of setting;
A plurality of address styles of setting comprise according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and prefix length less than 128 interface IP address and the interface IP address that equals 128 with the prefix length of non-transmission region;
S202, in configuration during virtual link, from each address style that has interface IP address, the interface IP address of address style of selecting limit priority is as the virtual link address.
At length explain in the face of above-mentioned each step down.
In above-mentioned steps S201, routing device is created the alternative database of a virtual link address in advance, in this database, comprises the corresponding data storage cell of a plurality of address styles, and each data storage cell is used to store the interface IP address that belongs to this address style.
To each interface IP address that belongs to global unicast address in the routing device,, be added into successively in the corresponding data storage cell according to the type under it.
Data storage cell can adopt the plurality of data structures form, be that example describes with the data link table in the embodiment of the invention, but the embodiment of the invention is not limited to this kind data structure.
Each chained list comprises according to priority from high to low at least:
Pairing first chained list of interface IP address that belongs to global unicast address in the transmission region;
Belong in the non-transmission region global unicast address and prefix length less than pairing second chained list of 128 interface IP address;
Belong to global unicast address in the non-transmission region and pairing the 3rd chained list of interface IP address that prefix length equals 128.
The priority of above-mentioned three chained lists is followed successively by first chained list, second chained list and the 3rd chained list from high to low.
Because the prefix length of expression virtual link interface must be 128 among the existing OSPFv3 agreement agreement intra-area-prefix-LSA; And the virtual link address choice has randomness; Possibly cause the prefix of virtual link interface possibly be used as other regional physical interface addresses and announced other zones to the transmission region, cause the uncertainty of link selection, the inventor finds in design; In order to get rid of this uncertainty, can be through following three kinds of modes:
1, the global unicast address of the physical interface of preferred transmission region is as the virtual link address; The prefix information of the physical interface of transmission region only can be communicated to this transmission region in this case; The route of the arrival virtual link that the routing device in the transmission region calculates only can be chosen as through this transmission region and arrive, and does not have uncertainty;
If there is not effective global unicast address in 2 transmission regions; Then from other regional interface IP address, choose prefix length less than 128 address; After selecting like this,, this interface IP address will be announced to transmission region with 128 prefix lengths according to OSPFv3 agreement agreement; Announcement then is the actual map network prefix information of physical interface in this physical interface region, and promptly one less than 128 prefix.After the announcement, if miscellaneous equipment calculates 2 routes simultaneously, then according to the mask longest match principle, the main frame route of the preferred transmission region of meeting is announced the virtual link message like this;
If 3 above-mentioned two kinds of global unicast address do not exist; The prefix length of then having to select for use non-transmission region is that 128 interface IP address is as the virtual link address; In this case; Can be through user's pre-configured to tolerance, the foundation of virtual link is selected through transmission region, can guarantee that like this virtual link sets up successfully.
Enforcement difficulty, technique effect from above-mentioned three kinds of modes; In order to get rid of the uncertainty of virtual link Route Selection as much as possible, be not difficult to draw above-mentioned three kinds of address styles (be belong to global unicast address in the interface IP address that belongs to global unicast address in the transmission region, the non-transmission region and prefix length less than belonging to global unicast address and interface IP address that prefix length equals 128 in 128 interface IP address and the non-transmission region) have priority from high to low.
With interface IP address according to corresponding classification; After being added in above-mentioned first chained list, second chained list and the 3rd chained list; When incidents such as interface IP address adds, deletion and change, in real time the content of three chained lists in the above-mentioned database is upgraded accordingly.
The concrete flow chart that in above-mentioned three chained lists, adds interface IP address is as shown in Figure 3:
S301, three chained lists of initialization;
S302, read first interface IP address of this routing device;
S303, judge whether interface IP address exists; If exist, carry out following step S304, if not, carry out following step S311;
S304, judge whether this interface IP address is link-local address or loop-back address (non-global unicast address); If then carry out following step S310; If not, then carry out following step S305;
S305, whether judge this interface IP address at transmission region, if execution in step S306; If not, execution in step S307;
S306, this interface IP address is joined first chained list; Turn to step S310 then;
S307, judge this interface IP address prefix length whether less than 128; If execution in step S308; If not, execution in step S309;
S308, this interface IP address is joined second chained list, turn to step S310 then;
S309, this interface IP address is joined the 3rd chained list, turn to step S310 then;
S310, get next interface IP address; Turn to step S303 then;
S311, process ends.
Accomplish first, second with the 3rd chained list in the interpolation flow process of interface IP address after; When the configuration virtual link; Above-mentioned steps S202 is from each address style that has interface IP address, and the interface IP address of the address style of selection limit priority is as the virtual link address, specifically; As shown in Figure 4, realize through following flow process:
S401, judge whether non-NULL of first chained list, if carry out following step S402; If not, carry out following step S403;
S402, with the interface IP address in first chained list as the virtual link address, turn to step S407 then;
S403, judge whether non-NULL of second chained list, if carry out following step S404; If not, carry out following step S405;
S404, with the interface IP address in second chained list as the virtual link address, turn to step S407 then;
S405, judge whether non-NULL of the 3rd chained list, if carry out following step S406; If not, carry out following step S407;
S406, with the interface IP address in the 3rd chained list as the virtual link address, turn to step S407 then;
S407, process ends.
The system of selection of above-mentioned virtual link address; If selected virtual link address is when belonging to global unicast address, non-transmission region and prefix length less than 128 interface IP address; Can know like aforementioned analysis; For fear of the uncertainty of virtual link Route Selection, also need carry out following step: selected interface IP address is filled 0 through a high position, and to be packaged in length be to announce in 128 the prefix structure.
The system of selection of above-mentioned virtual link address; If selected virtual link address is to belong to global unicast address, non-transmission region and prefix length when equaling 128 interface IP address; Can know like aforementioned analysis; For fear of the uncertainty of virtual link Route Selection, also need carry out following step:
The measure configuration of transmission region and non-transmission region is set, and the set transmission region and the measure configuration of non-transmission region guarantee that said virtual link is via said transmission region;
It is to announce in 128 the prefix structure that selected interface IP address is packaged in length.
Specifically when implementing, can be connected with the interface of transmission region and non-transmission region, with the metric of non-transmission region (configuration information a kind of; Sign is via this regional transmission cost) be provided with ground corresponding bigger; It is less relatively simultaneously the metric of transmission region to be provided with ground, like this, and when carrying out selection of transmission paths; According to the selection principle of optimal path, can preferential select transmission region as the virtual link path via the zone.
In order at length to illustrate the technique effect of the above-mentioned virtual link address choice method that the embodiment of the invention provides; Still describe with instance shown in Figure 1, in environment shown in Figure 1, suppose that routing device B carries out above-mentioned algorithm; Because there is not the transmission region address in it; So first chained list is empty, wherein interface IP address 2001:4::1/64 adds second chained list, and interface IP address 2001:3::1/128 adds the 3rd chained list; Like this routing device B will select 2001:4::1/64 as its in the virtual link address of Area 1 OSPFv3 agreement agreement, with the intra-area-prefix-LSA announcement of the prefix information that generates 2001:4::1/128 through zone 1.Be that routing device B will be at Area 0 announcement address 2001:4::1/64 (because interface E0 has added Area 0) and 2001:3::1/128, Area 1 announcement address 2001:4::1/128 (because 2001:4::1 is selected as the virtual link address).After A learns these information, will calculate 3 routes for routing device B, wherein 2001:4::1/64 and 2001:3::1/128 will select path, key district, and 2001:4::1/128 will select transmission region Area 1 path.The message that A mails to the virtual link opposite end is 2001:4::1/128 according to the mask Optimum Matching, so just can accomplish as long as there is more excellent available address, just can guarantee that virtual link sets up successfully, has overcome defective of the prior art.
Based on same inventive concept; The embodiment of the invention also provides the choice device and the network equipment of a kind of virtual link address; Because the choice device of virtual link address and the principle that the network equipment is dealt with problems are similar with the system of selection of aforementioned a kind of virtual link address; Therefore the enforcement of these devices and equipment can repeat part and repeat no more referring to the enforcement of preceding method.
A kind of device of selecting the virtual link address that the embodiment of the invention provides, as shown in Figure 5, comprising:
Sort module 501 is used for routing device is belonged to each interface IP address of global unicast address, and category attribution is in a plurality of address styles of setting; Said a plurality of interface IP address type comprises according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and interface IP address that prefix length equals 128 less than the prefix length of 128 interface IP address and non-transmission region;
Select module 502, be used for when the configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address.
Further, above-mentioned sort module 501, as shown in Figure 6, specifically comprise:
Submodule 5011 is set, is used to said a plurality of address style corresponding data storage cell is set respectively;
Add submodule 5012, be used for belonging to each interface IP address of global unicast address,, be added into successively in the corresponding data storage cell according to the type under it to routing device.
Further, above-mentioned selection module 502, as shown in Figure 7, specifically comprise:
Reading submodule 5021 is used for according to this each address type priority level highly to low order, reads each address style corresponding data memory cell successively; And judging submodule 5022 judged results when being, read wherein interface IP address as the virtual link address; Judging submodule 5022 judged results for not the time, reading the corresponding data storage cell of the address style of next priority until the intact all data storage cells of poll;
Judge submodule 5022, be used to judge whether non-NULL of data storage cell that reading submodule 5021 read.
Further; Be when belonging to global unicast address, non-transmission region and prefix length in the selected virtual link of said selection module address less than 128 interface IP address; The device of the selection virtual link address that the embodiment of the invention provides, as shown in Figure 8, can also comprise:
Package module 503, being used for that selected interface IP address is filled 0 through a high position, to be packaged in length be 128 prefix structure;
Announcement module 504 is used to announce the prefix that said package module encapsulates.
Further; Be to belong to global unicast address, non-transmission region and prefix length when equaling 128 interface IP address in the selected virtual link of said selection module address; The device of the selection virtual link address that the embodiment of the invention provides, as shown in Figure 9, can also comprise:
Module 503 is set, is used to be provided with the measure configuration of transmission region and non-transmission region, the measure configuration of said transmission region and non-transmission region guarantees that said virtual link is via said transmission region;
Package module 504, being used for selected interface IP address is packaged in length is 128 prefix structure;
Announcement module 505 is used to announce the prefix that said package module encapsulates.
The embodiment of the invention also provides a kind of network equipment, and the said network equipment comprises the device of the above-mentioned selection virtual link address that the embodiment of the invention provides.
System of selection, device and the network equipment of the virtual link address that the embodiment of the invention provides; At first with each interface IP address that belongs to global unicast address in the routing device; Category attribution is in a plurality of address styles of setting, and a plurality of address styles comprise following three types from high to low at least according to priority: the interface IP address of transmission region, non-transmission region and prefix length less than 128 interface IP address and the interface IP address that equals 128 with the prefix length of non-transmission region; When needs configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address; The system of selection of the virtual link address that the embodiment of the invention provides has overcome the randomness of prior art virtual link address choice, and the interface IP address of preferentially selecting transmission region is the virtual link address; When not having the interface IP address of transmission region; Suboptimum selects other zone prefix length less than 128 interface IP address, like this, can guarantee after announcement virtual link address; The Route Selection of virtual link must be passed through transmission region, guarantees the successful foundation of virtual link; Can guarantee like this that when having the interface IP address of higher priority the assurance virtual link is set up successfully.Even under all non-existent situation of above-mentioned two kinds of interface IP addresses, the interface IP address that also can select other zone prefix length to equal 128 is accomplished the foundation (possibility that has the foundation of accomplishing virtual link) of virtual link.
And; System of selection, device and the network equipment of the virtual link address that the embodiment of the invention provides; Only exist other zone prefix length to equal under 128 the situation of interface IP address; Can also make that the tolerance of transmission region is optimum through distributing rationally, can guarantee the successful foundation of virtual link equally what measure.The further perfect scheme of above-mentioned virtual link address choice has overcome the problem that virtual link address choice randomness causes virtual link to set up in the prior art.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the system of selection of a virtual link address is applied to it is characterized in that in the OSPF version 3, comprising:
With each interface IP address that belongs to global unicast address in the routing device, category attribution is in a plurality of address styles of setting; Said a plurality of address style comprises according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and interface IP address that prefix length equals 128 less than the prefix length of 128 interface IP address and non-transmission region;
When the configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address.
2. the method for claim 1 is characterized in that, will belong to each interface IP address of global unicast address, and category attribution specifically comprises in a plurality of address styles of setting:
For said a plurality of address styles are provided with corresponding data storage cell respectively;
To each interface IP address that belongs to global unicast address in the routing device,, be added into successively in the corresponding data storage cell according to the said address style under it.
3. the method for claim 1 is characterized in that, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority specifically comprises as the virtual link address:
High according to this each address type priority level to low order, read each address style corresponding data memory cell successively;
Judge whether non-NULL of the data storage cell read, if read wherein interface IP address as the virtual link address; If not, the corresponding data storage cell of address style that reads next priority finishes all data storage cells until poll.
4. like each described method of claim 1-3, it is characterized in that, is when belonging to global unicast address, non-transmission region and prefix length less than 128 interface IP address, also to comprise in selected virtual link address:
Selected interface IP address is filled 0 through a high position, and to be packaged in length be to announce in 128 the prefix structure.
5. like each described method of claim 1-3, it is characterized in that, is to belong to global unicast address, non-transmission region and prefix length when equaling 128 interface IP address in selected virtual link address, also comprises:
The measure configuration of transmission region and non-transmission region is set, and the measure configuration of said transmission region and non-transmission region guarantees that said virtual link is via said transmission region; Wherein, tolerance characterizes the transmission cost via said transmission region and non-transmission region, and the metric of the metric of said non-transmission region greater than said transmission region is set;
It is to announce in 128 the prefix structure that selected interface IP address is packaged in length.
6. a device of selecting the virtual link address is applied to it is characterized in that in the OSPF version 3, comprising:
Sort module is used for routing device is belonged to each interface IP address of global unicast address, and category attribution is in a plurality of address styles of setting; Said a plurality of address style comprises according to priority from high to low at least: the interface IP address of transmission region, non-transmission region and interface IP address that prefix length equals 128 less than the prefix length of 128 interface IP address and non-transmission region;
Select module, be used for when the configuration virtual link, from each address style that has interface IP address, the interface IP address of the address style of selection limit priority is as the virtual link address.
7. device as claimed in claim 6 is characterized in that, said sort module specifically comprises:
Submodule is set, is used to said a plurality of address style corresponding data storage cell is set respectively;
Add submodule, be used for belonging to each interface IP address of global unicast address,, be added into successively in the corresponding data storage cell according to the said address style under it to routing device.
8. device as claimed in claim 6 is characterized in that, said selection module specifically comprises:
Reading submodule is used for according to this each address type priority level highly to low order, reads each address style corresponding data memory cell successively; And judging the submodule judged result when being, read wherein interface IP address as the virtual link address; Judging the submodule judged result for not the time, reading the corresponding data storage cell of the address style of next priority until the intact all data storage cells of poll;
Judge submodule, be used to judge whether non-NULL of data storage cell that reading submodule reads.
9. like each described device of claim 6-8, it is characterized in that, is when belonging to global unicast address, non-transmission region and prefix length less than 128 interface IP address, also to comprise in the selected virtual link of said selection module address:
Package module, being used for that selected interface IP address is filled 0 through a high position, to be packaged in length be 128 prefix structure;
Announcement module is used to announce the prefix that said package module encapsulates.
10. like each described device of claim 6-8, it is characterized in that, is to belong to global unicast address, non-transmission region and prefix length when equaling 128 interface IP address in the selected virtual link of said selection module address, also comprises:
Module is set, is used to be provided with the measure configuration of transmission region and non-transmission region, the measure configuration of said transmission region and non-transmission region guarantees that said virtual link is via said transmission region; Wherein, tolerance characterizes the transmission cost via said transmission region and non-transmission region, and the metric of the metric of said non-transmission region greater than said transmission region is set;
Package module, being used for selected interface IP address is packaged in length is 128 prefix structure;
Announcement module is used to announce the prefix that said package module encapsulates.
11. a network equipment is characterized in that, the said network equipment comprises the device like each described selection virtual link address of claim 6-10.
CN2011100726113A 2011-03-24 2011-03-24 Method, device and network device for selecting virtual link addresses Active CN102118317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100726113A CN102118317B (en) 2011-03-24 2011-03-24 Method, device and network device for selecting virtual link addresses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100726113A CN102118317B (en) 2011-03-24 2011-03-24 Method, device and network device for selecting virtual link addresses

Publications (2)

Publication Number Publication Date
CN102118317A CN102118317A (en) 2011-07-06
CN102118317B true CN102118317B (en) 2012-11-21

Family

ID=44216919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100726113A Active CN102118317B (en) 2011-03-24 2011-03-24 Method, device and network device for selecting virtual link addresses

Country Status (1)

Country Link
CN (1) CN102118317B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047651A (en) * 2007-04-23 2007-10-03 杭州华为三康技术有限公司 Method, system and equipment for setting IP priority level
US7430205B2 (en) * 2004-03-22 2008-09-30 Hitachi Communication Technologies, Ltd. Packet transfer apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7515529B2 (en) * 2004-12-14 2009-04-07 Cisco Technology, Inc. Efficient mechanism for fast recovery in case of border router node failure in a computer network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430205B2 (en) * 2004-03-22 2008-09-30 Hitachi Communication Technologies, Ltd. Packet transfer apparatus
CN101047651A (en) * 2007-04-23 2007-10-03 杭州华为三康技术有限公司 Method, system and equipment for setting IP priority level

Also Published As

Publication number Publication date
CN102118317A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN100479465C (en) Method of implementing link aggregation of network equipment
US5687168A (en) Link state routing device in ATM communication system
CN102571587B (en) Method and equipment for forwarding messages
CN102859949B (en) For the method in fat tree network routing data grouping
CN101820395B (en) Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN102123091B (en) Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table
CN102150148A (en) Differentiated services for unicast multicast frames in layer 2 topologies
CN1645838B (en) Self network organized and distance concerned multi-routing method for complete route information
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN101394354B (en) Method for avoiding neighbourhood oscillation of intermediate system and an intermediate system
CN101651630A (en) Switching method and switching device based on link fault
CN102316019A (en) What be used for IPv6 cuts apart the multilink backbone transport through route
CN102164090A (en) Message forwarding method, system and equipment based on generic routing encapsulation tunnel
CN110401599A (en) The processing method and processing device of data packet, storage medium, electronic device
CN101710875A (en) Method and device for realizing rapid re-routing
CN102447686A (en) Routing protocol of AODV (Ad hoc On-Demand Distance Vector Routing) application
CN101686188B (en) Method for establishing route table, routing method and router in hierarchy sequential address packet network
JP2010074691A (en) Ad-hoc network wireless communication method
CN103139075A (en) Message transmission method and device
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN101729135B (en) Transmission method, communication device and communication system of wireless mesh networks
CN103220217A (en) Route generating method and equipment
CN102118317B (en) Method, device and network device for selecting virtual link addresses
CN101626341B (en) Method and device for synchronizing information under link-state protocol
CN102573000A (en) Wireless self-organizing network protection routing generation algorithm based on direct/indirect matrixes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant