CN101217446A - A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel - Google Patents

A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel Download PDF

Info

Publication number
CN101217446A
CN101217446A CNA2008100007749A CN200810000774A CN101217446A CN 101217446 A CN101217446 A CN 101217446A CN A2008100007749 A CNA2008100007749 A CN A2008100007749A CN 200810000774 A CN200810000774 A CN 200810000774A CN 101217446 A CN101217446 A CN 101217446A
Authority
CN
China
Prior art keywords
multicast
tunnel
edge device
route
ipv6
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100007749A
Other languages
Chinese (zh)
Other versions
CN101217446B (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
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008100007749A priority Critical patent/CN101217446B/en
Publication of CN101217446A publication Critical patent/CN101217446A/en
Application granted granted Critical
Publication of CN101217446B publication Critical patent/CN101217446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system which are used for automatically learning the routing information of a tunnel edge device IPv6. The method comprises that an interface of 6to4 tunnel source of the tunnel edge device joins the multicast group which is preset in IPv4 network and becomes a member of the multicast group; an interface of 6to4 tunnel source of the repeater equipment registers at the preset multicast group and becomes a multicast source; the multicast source seals the learned IPv6 routing information of the IPv6 network in the IPv4 multicast message and sends the message to the downriver members of the multicast group; after receiving the IPv4 multicast message, the tunnel edge device which belongs to the members of the multicast group lead the next hop going into IPv6 routing to point at the 6to4 address of the multicast source. The invention conveniently and flexibly realizes the learning from the tunnel edge device to IPv6 routing and keeps the flexibility and expansibility of 6to4 tunnel.

Description

Realize the tunnel IPv 6 route of edge device method and system of study automatically
Technical field
The present invention relates to IPv6 in IPv4 tunneling technique field, relate in particular to a kind of tunnel IPv 6 route of edge device method and system of study automatically of realizing.
Background technology
Tunneling technique can be crossed over the intercommunication that IPv4 (Internet Protocol Version 4, Internet protocol the 4th edition) network is realized IPv6 (Internet Protocol Version 6, Internet protocol the 6th edition) network.Wherein, therefore the 6to4 tunnel has autgmentability preferably, and disposes flexibly owing to need not specify the tunnel destination address.
One operative scenario in 6to4 tunnel is as shown in Figure 1: IPv6 main frame (being called for short the 6to4 main frame) 1A and another 6to4 main frame 1B that has at least one 6to4 address, realize communicating by letter by the 6to4 tunnel between tunnel edge device 2A and the 2B separately respectively.Wherein, the tunnel edge device is meant equipment such as the router that can support to stride between the 6to4 main frame IPv4 network routing or switch, between 6to4 main frame and IPv4 network; The 6to4 address is meant the IPv6 address of using the 6to4 prefix to generate, and the form of this 6to4 prefix is " 2002:a.b.c.d: :/48 ", and wherein a.b.c.d is the interface IP address that equipment inserts the IPv4 network, generally is expressed as V4ADDR.
Another operative scenario in 6to4 tunnel is as shown in Figure 2: suppose that 6to4 main frame 1A is by tunnel edge device 2A visit IPv6 network X and Y, need on tunnel edge device 2A, be configured to so among IPv6 network X and the Y each IPv6 address of using non-6to4 prefix to generate (with the 6to4 address comparatively speaking, this IPv6 address also can be described as pure IPv6 address) routing iinformation of main frame, and dispose each routing iinformation next jump 6to4 tunnel interface for trunking (Relay) 3A or trunking 3B.That is to say, need in the tunnel edge device, carry out static routing configuration, could pass through the 6to4 tunnel, carry out and the communicating by letter of IPv6 address main frame through trunking.Wherein, trunking is meant supports 6to4 main frame and IPv6 network host span IPv4 route exchange device network routing, that have the 6to4 address, as router, switch.
Obviously, the allocation plan of static routing shown in Figure 2 is only applicable to mininet, if the IPv6 network is huger, promptly comprising a large amount of IPv6 address main frame, border router just needs a lot of static routing of configuration just can reach intercommunication so, and this is very inconvenient enforcement.In order to address this problem, mainly utilize exterior routing protocol at present, as BGP4+ (Border Gateway Protocol, border Routing Protocol), announce the route of IPv6 network, to alleviate the workload of configuring static route.To utilize BGP4+ is example, its operation principle is: configuration BGP4+ is with the route in the declaration IPv6 network on Relay, simultaneously on tunnel edge device (as router two A and router two B), also dispose BGP4+, by being neighbours, make the tunnel edge device can know the route of each IPv6 network by the automatic study of BGP4+ with tunnel edge device and all Relay coreferences.
As can be seen, need to carry out neighbours' manual configuration in said process, promptly each tunnel edge device need be configured to neighbours with whole Relay of the tunnel other end; This manual configuration neighbours' mode advantage not only that the 6to4 tunnel is flexible and favorable expandability is obliterated fully, and simultaneously, along with the expansion of network, its enforcement will become unusual and bother.
Summary of the invention
Embodiments of the invention aim to provide can realize the tunnel IPv 6 route of edge device technical scheme of study automatically.
For achieving the above object, embodiments of the invention provide a kind of tunnel IPv 6 route of edge device method of study automatically that realizes, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and the IPv6 network is connected with this IPv4 network by its trunking, and the tunnel edge device is connected with this IPv4 network; May further comprise the steps:
The interface as the 6to4 tunnel source of tunnel edge device adds multicast group default in this IPv4 network, becomes a multicast member;
The interface as the 6to4 tunnel source of trunking is registered to this default multicast group, becomes a multicast source;
IPv6 routing iinformation in that multicast source will be learnt, the place IPv6 network is encapsulated in the IPv4 multicast message, and the multicast member to its downstream sends;
Receive this IPv4 multicast message, the tunnel edge device under the multicast member will arrive the 6to4 address of next this multicast source of jumping sensing of this IPv6 route.
Embodiments of the invention also provide a kind of tunnel IPv 6 route of edge device system of study automatically that realizes, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and the IPv6 network is connected with this IPv4 network by its trunking, and the tunnel edge device is connected with this IPv4 network; Comprise:
The multicast group maintenance unit is used to safeguard a multicast group of presetting in this IPv4 network;
Be arranged at the adding device in the tunnel edge device, be used for adding the interface message as the 6to4 tunnel source of affiliated tunnel edge device to this multicast group maintenance unit, make it to become a multicast member;
Be arranged at the registering unit in the trunking, be used for the interface message as the 6to4 tunnel source of affiliated trunking is registered to this multicast group maintenance unit, make it to become a multicast source;
Be arranged at the transmitting element in the trunking, be used for IPv6 routing iinformation that learn, its place IPv6 network is encapsulated in the IPv4 multicast message, the multicast member to its downstream sends;
Be arranged at the route learning unit in the tunnel edge device, be used for according to the IPv4 multicast message that receives, the 6to4 address of this multicast source is pointed in next jumping that will arrive this IPv6 route.
As shown from the above technical solution, embodiments of the invention pass to the tunnel edge device by the IPv4 multicast protocol with the IPv6 routing iinformation, have following beneficial effect:
1, realized of the study of tunnel edge device conveniently, flexibly to the IPv6 route;
2, the flexibility and the autgmentability that have kept the 6to4 tunnel have improved the extensibility of IP subnet.
With reference to the accompanying drawing description of a preferred embodiment, above-mentioned and other purpose of the present invention, feature and advantage will be more obvious by following.
Description of drawings
Fig. 1 is an operative scenario schematic diagram in 6to4 tunnel in the prior art;
Fig. 2 is another operative scenario schematic diagram in 6to4 tunnel in the prior art;
Fig. 3 is the realization provided by the invention tunnel IPv 6 route of edge device method one concrete schematic diagram of using of study automatically;
Fig. 4 is under the concrete application shown in Figure 3, realizes the tunnel IPv 6 route of edge device flow chart of method one embodiment of study automatically;
Fig. 5 is the schematic diagram of IPv4 multicast message form one embodiment;
Fig. 6 is realization provided by the invention tunnel IPv 6 route of edge device another concrete schematic diagram of using of method of study automatically;
Fig. 7 is under the concrete application shown in Figure 6, realizes the tunnel IPv 6 route of edge device flow chart of method one embodiment of study automatically;
Fig. 8 is the realization provided by the invention tunnel IPv 6 route of edge device block diagram of one embodiment of system of study automatically;
Fig. 9 is the realization provided by the invention tunnel IPv 6 route of edge device block diagram of another embodiment of system of study automatically.
Embodiment
To describe specific embodiments of the invention in detail below.Should be noted that the embodiments described herein only is used to illustrate, be not limited to the present invention.
At first, mandatory declaration is that the situation that the embodiment of the invention was suitable for is the situation that tunnel edge device and trunking pass through the 6to4 tunnel communication.Pass through the situation of 6to4 tunnel communication for tunnel edge device and tunnel edge device,, therefore do not belong to the scope that the embodiment of the invention is discussed owing to there is not manual configuration neighbours' problem; And,, therefore do not belong to the scope that the embodiment of the invention is discussed owing to be not suitable for the 6to4 tunnel for the situation that IPv6 network and IPv6 network are connected by the IPv4 network yet.
For tunnel edge device and trunking situation by the 6to4 tunnel communication, the design of the embodiment of the invention is: the tunnel edge device can be learnt the routing iinformation of the IPv6 network of each trunking connection automatically by the IPv4 multicast, promptly with the IPv6 route in the multicast transmission IPv6 network.
In order to realize this design, the embodiment of the invention provides a kind of tunnel IPv 6 route of edge device method of study automatically that realizes, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and this IPv6 network is connected with this IPv4 network by its trunking, and this tunnel edge device is connected with this IPv4 network; Wherein, for the IPv4 network, can have a plurality of 6to4 tunnel, tunnel edge device and trunking are by the 6to4 tunnel, and realization tunnel edge device is communicated by letter with the IPv6 network; Simultaneously, the embodiment of the invention is equally applicable to comprise the network of more than one IPv4 network, IPv6 network and tunnel edge device, and the sub-network that wherein is made of arbitrary IPv6 network, tunnel edge device and IPv4 network all is suitable for the automatic method of learning of realization tunnel IPv 6 route of edge device that the embodiment of the invention provides.
As shown in Figure 3, shown the realization provided by the invention tunnel IPv 6 route of edge device method one concrete schematic diagram of using of study automatically.Wherein, tunnel edge device 2A, 2B, 2C connect trunking 3A, 3B, 3C by the 6to4 tunnel of IPv4 network, trunking connects IPv6 network X, Y, Z again respectively, edge device 2B in tunnel also has been connected IPv6 main frame (or subnet) 1A and the 1B that uses the 6to4 address respectively with tunnel edge device 2C in addition, and the gateway of these main frames or subnet is respectively tunnel edge device 2B and the tunnel edge device 2C that links to each other with them.
In order to realize tunnel edge device 2A, 2B, the 2C automatic study for the routing iinformation of IPv6 network X, Y, Z, as shown in Figure 4, the method that the embodiment of the invention provides may further comprise the steps:
The interface as the 6to4 tunnel source of S11, tunnel edge device adds multicast group default in this IPv4 network, becomes a multicast member;
In general, when interface of tunnel edge device was quoted in the 6to4 tunnel, this interface just became the source interface in this 6to4 tunnel, and its IP address can add default multicast group automatically, becomes a multicast member; With scene shown in Figure 3 is example, and the 6to4 tunnel source interface of tunnel edge device 2A, 2B, 2C all is a multicast member;
The interface as the 6to4 tunnel source of S12, trunking is registered to this default multicast group, becomes a multicast source;
Based on prior art, when interface when relaying equipment was quoted in the 6to4 tunnel, this interface also became the source interface in this 6to4 tunnel.Because trunking can learn the IPv6 routing iinformation in the IPv6 network of place by dynamic routing, comprising IPv6 network segment information etc., and corresponding issue.Therefore, when relaying equipment need be issued the IPv6 routing iinformation, need carry out the registration of multicast source.
But the system resource waste that causes for fear of frequent registration, ageing time can be set, when relaying equipment need be issued the IPv6 routing iinformation, if in ageing time in multicast group, then directly issue the IPv6 routing iinformation, become multicast source otherwise re-execute registration; Because above-mentioned ageing process belongs to the mechanism of PIM-SM (Protocol Independent Multicast-Sparse Mode, sparse mode independent multicast agreement) itself, does not repeat them here.
With scene shown in Figure 3 is example, the interface of trunking 3A, 3B, 3C as the 6to4 tunnel source, and all when the routing iinformation that needs issue dynamic routing is learnt, its IP address registration is a multicast source.
For step S11 and step S12, there is not sequential relationship in it, but carries out at any time according to the needs of trunking information issue and the startup situation of tunnel edge device.
Further, in above-mentioned steps S11 and S12, this multicast group sets in advance, in the present embodiment to use IPv4 PIM-SM to be described as example.
At first, a multicast Rendezvous Point with definite multicast address (Rendezvous Point is called for short RP) need be set in the IPv4 network;
For example, can special setting 226.1.1.1 be multicast address, that all are quoted by the 6to4 tunnel, all become the member of this multicast address automatically as the tunnel edge device interface of tunnel source, all the trunking interfaces that need issue the IPv6 routing iinformation all become the multicast source of this multicast address automatically.
In order to allow the routing iinformation of multicast arrive each group membership smoothly, need IPv4 network support multicast to transmit, under this PIM-SM pattern, need set up a RP, with the tunnel edge device interface flag that adds is multicast member, will be multicast source to the trunking interface flag of its registration.Preferable, for fear of the frequent registration of multicast source, can ageing time be set for the multicast source of being registered, make multicast source before aging, be issued the IPv6 routing iinformation at any time.
IPv6 routing iinformation in that S2, multicast source will be learnt, the place IPv6 network is encapsulated in the IPv4 multicast message, and the multicast member to its downstream sends;
In this step S2, the IPv6 routing iinformation that multicast source is issued is that its trunking dynamic routing study obtains, and can issue at any time along with the variation of IPv6 network route, does not repeat them here.
Simultaneously, it is pointed out that multicast source sends in the process of IPv4 multicast message to multicast member, the first packet of its IPv4 multicast message must be issued by the RP multicast.But according to existing IPv4 network multicast technology, after multicast member receives first packet, just can recognize the address information of multicast source, therefore can carry out topology and calculate, obtain the less path of expense and continue to receive follow-up multicast packets.Because the packet of IPv4 multicast message is to issue by the RP multicast, still broadcasts cloth in follow-up phase by other group of paths, can not influence the technique effect of the embodiment of the invention, therefore repeats no more always.
Further need illustrate, be the form of IPv4 multicast message, as shown in Figure 5, is made of IPv4 multicast message head and IPv6 routing protocol packet.Wherein, IPv4 multicast message head as 226.1.1.1, is destination address with determined multicast address, and the IPv6 routing protocol packet is that (for example: the RIPng protocol massages), what wherein comprise is the IPv6 routing iinformation for the IPv6 routing protocol packet of multicast source operation.
What suppose to move on trunking and tunnel edge device is the RIPng agreement, and then in this step S2, trunking will send to tunnel, downstream edge device after will comprising that the RIPng routing protocol packet of IPv6 routing iinformation adopts the IPv4 heading to be encapsulated.
S3, receive this IPv4 multicast message, the tunnel edge device under the multicast member will arrive this IPv6 route next jump the 6to4 address of this multicast source of sensing.
Given an example with scene shown in Figure 3, by the execution of step S3, tunnel edge device 2A, 2B and 2C can be by the study of IPv4 multicast message, and the route that will arrive among IPv6 network X, Y, the Z is pointed to trunking 3A, 3B, 3C respectively.
Wherein, being example with the RIPng agreement is illustrated the concrete operations of this step S3:
The 6to4 termination point of a tunnel removes the encapsulation of multicast message head after receiving this IPv4 multicast message, and parses the protocol massages into RIPng, and the RIPng protocol stack that sends to the tunnel edge device is handled, and gets access to the IPv6 routing iinformation.
Further, the tunnel edge device will arrive next jumping of above-mentioned IP v6 route and point to the pairing 6to4 of multicast source address, promptly the next hop address from the tunnel edge device to above-mentioned IP v6 route is the address of trunking tunnel interface, and this address is a 6to4 IPv6 address format.
By above-mentioned steps S11~S3 as can be seen, method by the automatic study of realization tunnel IPv 6 route of edge device that the foregoing description provided, trunking passes to the tunnel edge device by IPv4 multicast mode with the IPv6 routing iinformation, the tunnel edge device is handled the study that can realize routing iinformation to the multicast message that receives, need not manually to specify the neighborhood of tunnel edge device and trunking, therefore, convenient, realize the study of IPv6 routing iinformation in the 6to4 tunnel edge device flexibly, and kept the flexibility and the autgmentability in 6to4 tunnel.
It is pointed out that the foregoing description is is that example is described with the RIPng agreement, but be not limited to RIPng itself, other IPv6 Routing Protocol is equally applicable to the present invention.
Embodiments of the invention have further solved the interconnected situation of IPv6 network, and its concrete application scenarios as shown in Figure 6.
Wherein, IPv6 network X links to each other with IPv6 network Y, and then IPv6 network X may learn the route of IPv6 network Y.Trunking 3A and trunking 3B pass to the routing iinformation that can comprise IPv6 network X and Y in the IPv6 routing iinformation of tunnel edge device 2A simultaneously by the multicast mode so.
The path cost of then learning IPv6 network Y on the suppose relay equipment 3A is CostYA, and the path cost of learning IPv6 network Y network on the trunking 3B is CostYB.The extra path expense that is sent to tunnel edge device 2A and needs from trunking 3A and trunking 3B is CostA and CostB, the total path expense of the IPv6 network Y that learns of tunnel edge device 2A is respectively (CostYA+CostA) and (CostYB+CostB) so, and then edge device 2A in tunnel can select smaller that of route cost.
This also just means, under the interconnected situation of IPv6 network, and corresponding preferred embodiment provided by the invention, step S3 promptly embodiment illustrated in fig. 4 can specifically comprise as shown in Figure 7:
S31, receive the IPv4 multicast message;
Whether S32, detect the IPv4 multicast message receive and exist from different multicast sources, but be packaged with the situation of identical IPv6 route, be execution in step S33 then, otherwise direct execution in step S34;
S33, selection are from the less multicast source of path cost;
S34, detecting and whether to have learnt corresponding IPv6 route, is execution in step S35 then, otherwise execution in step S37;
S35, more described route and the packaged route of this IPv4 multicast message learnt, if it is less to have learnt the path cost of route, execution in step S36 then, otherwise execution in step S37;
S36, keep original route constant;
S37, will arrive this IPv6 route next jump to point to the 6to4 IPv6 address of the multicast source of IPv4 multicast message.
As can be seen, by above-mentioned steps S31~S37, can under the interconnected situation of IPv6 network, realize the study of optimum routed path.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, and described program can be stored in the computer read/write memory medium; This program comprises the steps: when carrying out
The interface as the 6to4 tunnel source of described tunnel edge device adds multicast group default in the described IPv4 network, becomes a multicast member;
The interface as the 6to4 tunnel source of described trunking is registered to described default multicast group, becomes a multicast source;
IPv6 routing iinformation in that described multicast source will be learnt, the place IPv6 network is encapsulated in the IPv4 multicast message, and the multicast member to its downstream sends;
Receive described IPv4 multicast message, the tunnel edge device under the described multicast member will arrive the 6to4 address of the described multicast source of next jumping sensing of described IPv6 route.
Described storage medium comprises: ROM/RAM (Read Only Memory/Random-AccessMemory, read-only memory/random-access memory), magnetic disc or CD etc.
Accordingly, embodiments of the invention also provide a kind of tunnel IPv 6 route of edge device system 100 of study automatically that realizes, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and this IPv6 network is connected with this IPv4 network by its trunking (as the router of relaying, switch etc.), this tunnel edge device (as router, switch etc.) is connected with this IPv4 network, and its structure please refer to Fig. 3 and Fig. 6.Same, the embodiment of the invention is equally applicable to comprise the network of more than one IPv4 network, IPv6 network and tunnel edge device, and the sub-network that wherein is made of arbitrary IPv6 network, tunnel edge device and IPv4 network all is suitable for the automatic system of learning of realization tunnel IPv 6 route of edge device that the embodiment of the invention provides.
As shown in Figure 8, the system 100 of the automatic study of this realization tunnel IPv 6 route of edge device comprises:
Multicast group maintenance unit 101 is used to safeguard a multicast group of presetting in the IPv4 network, and as specific embodiment, this multicast group maintenance unit 101 can be a RP based on PIM-SM, and it has a multicast address of determining, as 226.1.1.1;
Be arranged at the adding device 102 in each tunnel edge device, be used for adding the interface message as the 6to4 tunnel source of affiliated tunnel edge device to multicast group maintenance unit 101, make this interface become a multicast member;
Be arranged at the registering unit 103 in the described trunking, be used for the interface message as the 6to4 tunnel source of affiliated trunking is registered to multicast group maintenance unit 101, make this trunking interface become a multicast source;
Be arranged at the transmitting element 104 in each trunking, be used for IPv6 routing iinformation that learn, its place IPv6 network is encapsulated in the IPv4 multicast message, the multicast member to its downstream sends;
Be arranged at the route learning unit 105 in each tunnel edge device, be used for according to the described IPv4 multicast message that receives, the 6to4 address of this multicast source is pointed in next jumping that will arrive this IPv6 route.
As can be seen, system 100 by the automatic study of realization tunnel IPv 6 route of edge device that the foregoing description provided, can the IPv6 routing iinformation be passed to the tunnel edge device by the IPv4 multicast protocol, thereby the tunnel edge device is made things convenient for and study flexibly to the routing iinformation of IPv6 network.
Further, in order to adapt to the interconnected situation of IPv6 network as shown in Figure 6, the present invention also provides and has realized the preferred embodiment of the system 100 of study automatically of tunnel IPv 6 route of edge device, and as shown in Figure 9, this system 100 also comprises:
Be arranged at the study selected cell 106 in the described tunnel edge device, be used to discern receive, from the IPv4 multicast message of different multicast sources, and be packaged with under the situation of identical IPv6 route at it, select from the less multicast source of path cost and trigger route learning unit 105.
As can be seen, by study selected cell 106, can avoid repetition learning and refresh being selected from IPv4 multicast message different multicast sources, that be packaged with identical IPv6 route.
Further, this system 100 can also comprise:
Be arranged at the route comparing unit 107 in the tunnel edge device, be connected, be used for, detect the tunnel edge device and whether learnt corresponding IPv6 route according to the IPv4 multicast message that receives with route learning unit 105; Be then to have learnt route and the packaged route of IPv4 multicast message more, under the less situation of packaged routed path expense, trigger route learning unit 105, make the tunnel edge device realize the study of optimum routed path; Otherwise directly trigger route learning unit 105.
Though described the present invention with reference to several exemplary embodiments, should be appreciated that used term is explanation and exemplary and nonrestrictive term.The spirit or the essence that do not break away from invention because the present invention can specifically implement in a variety of forms, so be to be understood that, the foregoing description is not limited to any aforesaid details, and should be in the spirit and scope that claim limited of enclosing explain widely, therefore fall into whole variations in claim or its equivalent scope and remodeling and all should be the claim of enclosing and contain.

Claims (10)

1. realize the tunnel IPv 6 route of edge device method of study automatically for one kind, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and described IPv6 network is connected with described IPv4 network by its trunking, and described tunnel edge device is connected with described IPv4 network; It is characterized in that, may further comprise the steps:
The interface as the 6to4 tunnel source of described tunnel edge device adds multicast group default in the described IPv4 network, becomes a multicast member;
The interface as the 6to4 tunnel source of described trunking is registered to described default multicast group, becomes a multicast source;
IPv6 routing iinformation in that described multicast source will be learnt, the place IPv6 network is encapsulated in the IPv4 multicast message, and the multicast member to its downstream sends;
Receive described IPv4 multicast message, the tunnel edge device under the described multicast member will arrive the 6to4 address of the described multicast source of next jumping sensing of described IPv6 route.
2. realization according to claim 1 tunnel IPv 6 route of edge device is the method for study automatically, it is characterized in that, if the IPv4 multicast message from different multicast sources that receives is packaged with identical IPv6 route, the tunnel edge device under the described multicast member will arrive the IPv6 route next also comprise before jumping the step of the 6to4 address of pointing to multicast source: the less multicast source of described tunnel edge device selection path cost.
3. realization according to claim 1 and 2 tunnel IPv 6 route of edge device is the method for study automatically, it is characterized in that next step of jumping the 6to4 address of sensing multicast source that the tunnel edge device under the described multicast member will arrive the IPv6 route comprises:
Detect the route of whether having learnt to have corresponding IPv6 network;
Be then, more described route and the packaged route of described IPv4 multicast message learnt, the 6to4 address of the less multicast source of path cost is pointed in next jumping that will arrive described IPv6 route;
Otherwise the 6to4 address of described multicast source is pointed in next jumping that directly will arrive described IPv6 route.
4. realization according to claim 1 tunnel IPv 6 route of edge device is the method for study automatically, it is characterized in that, also comprises the step that sets in advance multicast group in the described IPv4 network, is specially:
The one multicast Rendezvous Point with definite multicast address is set in described IPv4 network;
Described multicast Rendezvous Point is multicast member based on sparse mode independent multicast agreement with the tunnel edge device interface flag that adds;
Described multicast Rendezvous Point will be multicast source to the trunking interface flag of its registration based on sparse mode independent multicast agreement.
5. realization according to claim 4 tunnel IPv 6 route of edge device is the method for study automatically, it is characterized in that, described multicast source comprises to the step of the multicast member transmission IPv4 in its downstream multicast message: described multicast source sends the multicast member of described IPv4 multicast message to its downstream by described multicast Rendezvous Point.
6. realization according to claim 1 tunnel IPv 6 route of edge device is the method for study automatically, it is characterized in that, described IPv4 multicast message is made of IPv4 multicast message head and IPv6 routing protocol packet, and described IPv4 multicast message head is a destination address with described multicast group address.
7. realize the tunnel IPv 6 route of edge device system of study automatically for one kind, be applied to comprise the network of an IPv4 network, an IPv6 network and a tunnel edge device, and described IPv6 network is connected with described IPv4 network by its trunking, and described tunnel edge device is connected with described IPv4 network; It is characterized in that, comprising:
The multicast group maintenance unit is used to safeguard a multicast group of presetting in the described IPv4 network;
Be arranged at the adding device in the described tunnel edge device, be used for adding the interface message as the 6to4 tunnel source of affiliated tunnel edge device to described multicast group maintenance unit, make it to become a multicast member;
Be arranged at the registering unit in the described trunking, be used for the interface message as the 6to4 tunnel source of affiliated trunking is registered to described multicast group maintenance unit, make it to become a multicast source;
Be arranged at the transmitting element in the described trunking, be used for IPv6 routing iinformation that learn, its place IPv6 network is encapsulated in the IPv4 multicast message, the multicast member to its downstream sends;
Be arranged at the route learning unit in the described tunnel edge device, be used for according to the described IPv4 multicast message that receives, the 6to4 address of described multicast source is pointed in next jumping that will arrive described IPv6 route.
8. realization according to claim 7 tunnel IPv 6 route of edge device is the system of study automatically, it is characterized in that, also comprises:
Be arranged at the study selected cell in the described tunnel edge device, be used to discern receive, from the IPv4 multicast message of different multicast sources, and be packaged with under the situation of identical IPv6 route at it, select from the less multicast source of path cost and trigger described route learning unit.
9. according to the system of claim 7 or the automatic study of 8 described realization tunnel IPv 6 route of edge device, it is characterized in that, also comprise:
Be arranged at the route comparing unit in the described tunnel edge device, be connected, be used for detecting described tunnel edge device and whether having learnt corresponding IPv6 route according to the IPv4 multicast message that receives with described route learning unit; Be then more described route and the packaged route of described IPv4 multicast message learnt, under the less situation of packaged routed path expense, trigger described route learning unit; Otherwise directly trigger described route learning unit.
10. realization according to claim 7 tunnel IPv 6 route of edge device is the system of study automatically, it is characterized in that, described multicast group maintenance unit is one based on multicast Rendezvous Point sparse mode independent multicast agreement, that have definite multicast address.
CN2008100007749A 2008-01-16 2008-01-16 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel Active CN101217446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100007749A CN101217446B (en) 2008-01-16 2008-01-16 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100007749A CN101217446B (en) 2008-01-16 2008-01-16 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel

Publications (2)

Publication Number Publication Date
CN101217446A true CN101217446A (en) 2008-07-09
CN101217446B CN101217446B (en) 2010-10-27

Family

ID=39623809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100007749A Active CN101217446B (en) 2008-01-16 2008-01-16 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel

Country Status (1)

Country Link
CN (1) CN101217446B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291305A (en) * 2011-08-16 2011-12-21 神州数码网络(北京)有限公司 Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102368724A (en) * 2011-09-08 2012-03-07 华为技术有限公司 Message forwarding method and apparatus thereof
WO2013139234A1 (en) * 2012-03-21 2013-09-26 华为技术有限公司 Method, device and network system for multicast transmission

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291305A (en) * 2011-08-16 2011-12-21 神州数码网络(北京)有限公司 Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102291305B (en) * 2011-08-16 2014-12-31 神州数码网络(北京)有限公司 Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102368724A (en) * 2011-09-08 2012-03-07 华为技术有限公司 Message forwarding method and apparatus thereof
WO2013139234A1 (en) * 2012-03-21 2013-09-26 华为技术有限公司 Method, device and network system for multicast transmission

Also Published As

Publication number Publication date
CN101217446B (en) 2010-10-27

Similar Documents

Publication Publication Date Title
CN110784411B (en) Method, device and system for establishing BIER forwarding table item
CN112087386B (en) Message processing method, device and system
CN102571587B (en) Method and equipment for forwarding messages
CN111294281B (en) Communication method and device based on Service Function Chain (SFC)
US9350651B2 (en) Packet forwarding device and wireless communication system
CN103814554A (en) Communication method, device and system of virtual extensible local area network
CN104378292A (en) Method and device for forwarding MPLS data packages
CN107659484B (en) Method, device and system for accessing VXLAN network from VLAN network
CN110784407B (en) Interface configuration method, data transmission method and device and electronic equipment
CN109936490B (en) Virtual home network sharing method and system based on VXLAN and OpenFlow
WO2021143279A1 (en) Method and device for segment routing service processing, routing equipment, and storage medium
US20210211351A1 (en) Stacking-port configuration using zero-touch provisioning
CN104754070A (en) Method and device for learning address resolution protocol table entries and network device
CN107547665A (en) A kind of method, equipment and the system of dhcp address distribution
CN102291305B (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN103117930A (en) Method and device for detecting static route configuration
CN101217446B (en) A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel
CN101018234B (en) Routing information publishing method and network address conversion-protocol conversion gateway device
CN101729420B (en) Data processing method and data processing device
CN101222370B (en) Method and device for failure location using failure location packet
CN110120906B (en) Method and device for realizing dual active access TRILL park edge
US8923303B2 (en) Method, system and installation for forwarding data transmission frames
CN103051744A (en) Method and device for converting multicast address
CN104113513A (en) Host computer discovering method, device and system
CN105939262B (en) Label distribution method and device

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.