CN102368724A - Message forwarding method and apparatus thereof - Google Patents

Message forwarding method and apparatus thereof Download PDF

Info

Publication number
CN102368724A
CN102368724A CN2011102658676A CN201110265867A CN102368724A CN 102368724 A CN102368724 A CN 102368724A CN 2011102658676 A CN2011102658676 A CN 2011102658676A CN 201110265867 A CN201110265867 A CN 201110265867A CN 102368724 A CN102368724 A CN 102368724A
Authority
CN
China
Prior art keywords
message
address
management server
neighbours
network
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.)
Pending
Application number
CN2011102658676A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2011102658676A priority Critical patent/CN102368724A/en
Publication of CN102368724A publication Critical patent/CN102368724A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a message forwarding method and an apparatus thereof. The method comprises the following steps that: when a non-unicast message is sent to neighbor provider edge devices (PE) in a network, IP addresses of all the neighbor PEs are obtained according to a preserved neighbor list; the IP addresses of all the neighbor PEs are utilized as destination addressees of the non-unicast message and 6To4 packaging is carried out, so that the non-unicast message is forwarded to all the neighbor PEs. In addition, the apparatus comprises an obtaining module and a forwarding module. According to the embodiment of the invention, a reserved multicast and multimessage transmission function based on a 6To4 tunnel is realized; an internal gateway protocol (IGP) can be supported; and it is convenient for network capacity expanding and dynamic management.

Description

Message forwarding method and device
Technical field
The embodiment of the invention relates to the communication technology, relates in particular to a kind of message forwarding method and device.
Background technology
Internet protocol (Internet Protocol; Hereinafter to be referred as: IP) agreement since eighties of last century is suggested the seventies, with its be simple and easy to, be easy to advantages such as deployment, become the main flow framework agreement of global network.In long-term application process, the some shortcomings part of IP agreement appears gradually, and, fail safe aspect unfixing like the shortage of IP address, IP length considered less.In order to address the aforementioned drawbacks IPV 6 (Internet Protocol Version 6; Hereinafter to be referred as: IPV6) agreement is arisen at the historic moment, and it expands to 128 bits with address space, provides than the 4th edition (Internet Protocol Version 4 of Internet protocol; Hereinafter to be referred as IPV4) more address, and simplified the packet parsing logic through fixing IPV6 head length degree.Therefore; The IPV6 agreement substitutes the IPV4 agreement becomes trend of the times; But because equipment cost and factor such as professional stable; The process that old IP network upgrades to the IPV6 network is a progressive process, and usually according to by edge device to nucleus equipment, advance by the step of New-deployed Network to existing network.So the existing IPV4 network and the compatible intercommunication of IPV6 agreement are the significant problems that needs solve.In the early stage of evolution process, because the agreement that edge device and New-deployed Network are supported at first is replaced by IPV6, exist the IPV6 isolated island to pass through the problem that the IPV4 network is exchanged visits, wherein, the IPV6 isolated island is the LAN that IPV4 backbone network edge uses the IPV6 agreement.
6To4 tunnel (Tunnel) is by Request for Comment (Request For Comments; Hereinafter to be referred as: RFC) 3056 propose; It is a kind of automatic tunnel technology of present main flow; Be used for auxiliary IPV6 isolated island and pass through the IPV4 backbone network and exchange visits, through according to the rule of 6To4 map addresses destination address, i.e. 6To4 address the IPV6 message; Automatically be mapped as the IPV4 address, as the destination address of 6To4 tunnel encapsulation.Wherein, backbone network such as carrier network, is used to carry most flow and transmits, and is a notion with respect to subnet or local area network (LAN).Because the 6To4 map addresses must be directed against the 6To4 address; Can't shine upon the IPV6 address of other non-6To4 addresses; Therefore; The 6To4 tunnel can't directly be used in IPV6 reality network, need utilize the 6To4 relaying to realize, the IPV6 reality network here is meant the network of the IPV6 address of using global unicast address.Fig. 1 is the application scenarios sketch map that the 6To4 tunneling technique is applied to IPV6 reality network in the prior art, and is as shown in Figure 1, supposes provider edge equipment (Provider Edge device; Hereinafter to be referred as: PE) the IPV6 reality network of 1 needs visit PE 2-PE N; Then must have following IPV6 route on its equipment: subnet 1: :/64 2002:PE 2::xx ..., subnet n: :/642002:PE N::xx; Wherein, " subnet 1:: " is the prefix of route, and it is 64 that the mask of this route is represented in " 64 ", and " 2002:PE 2::xx " represents the next hop information of this route.These routes perhaps through the tunnel, are set up a Border Gateway Protocol (Border Gateway Protocol usually through static configuration between two equipment; Hereinafter to be referred as: BGP) peer-to-peer (peer) generates the 6To4 transistroute, is the route of the flow of global unicast address through 6To4 relaying introducing 6To4 tunnel with destination address.
Yet 6To4 tunneling technique of the prior art belongs to strict clean culture Tunnel, does not support the multicast message transmission, can't support Interior Gateway Protocol (Internal Gateway Protocol; Hereinafter to be referred as: IGP), make the deployment of 6To4 network depend on static routing or bgp protocol, be unfavorable for the network capacity extension and dynamic management.
Summary of the invention
The embodiment of the invention is to provide a kind of message forwarding method and device, realizes the multicast message transfer function based on the 6To4 tunnel, can support I GP agreement, is convenient to the network capacity extension and dynamic management.
To achieve these goals, the embodiment of the invention provides a kind of message forwarding method, comprising:
When the neighbours' provider edge equipment PE in network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving;
With the IP address of said each neighbours PE destination address, carry out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE as said non-unicast message.
The embodiment of the invention provides a kind of apparatus for forwarding message, comprising:
Acquisition module is used for when the neighbours' provider edge equipment PE to network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving;
Forwarding module is used for the IP address of said each the neighbours PE destination address as said non-unicast message is carried out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE.
A kind of message forwarding method and device that the embodiment of the invention provides; The IP address that the neighbor list of upward preserving through PE obtains each neighbours PE; With the destination address of each IP address as non-unicast message, carry out the encapsulation of 6To4, then can realize non-unicast message is transmitted to each neighbours PE; Present embodiment has been realized the multicast message transfer function based on the 6To4 tunnel, and neighbours' message discovery mode of IGP agreement is for keeping the multicast group mode, so present embodiment can support the IGP agreement, is convenient to the network capacity extension and dynamic management.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is applied to the application scenarios sketch map of IPV6 reality network for 6To4 tunneling technique in the prior art;
Fig. 2 is the flow chart of message forwarding method embodiment of the present invention;
Fig. 3 is the flow chart of message forwarding method embodiment application scenarios of the present invention;
Fig. 4 is the application scenarios sketch map among the message forwarding method embodiment of the present invention;
Fig. 5 is the state variation sketch map of PE among the message forwarding method embodiment of the present invention;
Fig. 6 is the structure chart of apparatus for forwarding message embodiment one of the present invention;
Fig. 7 is the structure chart of apparatus for forwarding message embodiment two of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 2 is the flow chart of message forwarding method embodiment one of the present invention, and as shown in Figure 2, present embodiment provides a kind of message forwarding method, can specifically comprise the steps:
Step 201, when the neighbours' provider edge equipment PE in network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving.
Network topology model based on the IGP agreement of radio network is a mesh topology.Radio network is the network that link layer is supported the broadcast type agreement, for example Ethernet (Ethernet).This network topology has determined the neighbours of IGP agreement to be found to be broadcast mode; And because the rule of 6To4 map addresses can only be shone upon unicast address; And what mapping obtained also is an IPV4 unicast address; Therefore the 6To4 tunnel is a strict clean culture tunnel, makes the IGP agreement can't operate on the 6To4 network.In the present embodiment; In order to solve the problem of operation IGP agreement on the 6To4 network, each PE sends logon message to management server, and management server is transmitted IP address each PE in network of each PE; Make each PE all can know the neighbours PE that exists in the network; And get access to the information of neighbours PE, thus in network, setting up neighborhood between each PE, each PE preserves a neighbor list respectively.Neighbours PE in the present embodiment is meant other PE except that PE self in the consolidated network.When a PE when its neighbours PE sends non-unicast message, the IP address that this PE obtains each neighbours PE according to the neighbor list of preserving, the IP address here can be specially the IPV4 address.Optional, because in 6to4, the IPV6 address is corresponding with the IPV4 address, the IP address here also can be the IPV6 address.Wherein, Non-unicast message in the present embodiment can comprise the non-IP message that keeps multicast group IPV6 message and need between 6To4 PE, broadcast; Wherein, Reservation multicast group message based on radio network is that broadcasting is transmitted, and the non-IP message here for example can be Routing Protocol (the Intermediate System to Intermediate System Routing Protocol based on Intermediate System-to-Intermediate System; Hereinafter to be referred as: message IS-IS).The neighbor list of the last preservation of PE can get access to through the mode of dynamic learning and/or the mode of static configuration.In the neighbor list of on PE, preserving, record the IP address of each neighbours PE, PE can get access to the corresponding list item of each neighbours PE from this neighbor list, and the IP address that from the corresponding list item of each neighbours PE, obtains each neighbours PE.
Further; In the message forwarding method that present embodiment provides; PE can obtain neighbor list through the mode of dynamic learning; Be specially: when a PE reached the standard grade, this PE sent the logon message of 6to4 encapsulation to pre-configured management server, in said logon message, carries this PE its own IP address; PE receives the notification packet of the 6To4 encapsulation of said management server transmission, the IP address of carrying each PE in the network in the said notification packet; PE sets up neighbor list according to the IP address of said each PE.Particularly; Management server can send notification packet to each PE with periodic mode; Also can send notification packet to each PE with acyclic mode; After for example receiving the logon message of the IP address of carrying PE, send notification packet to each PE, above-mentioned notification packet comprises the IP address in this logon message.
Further, the message forwarding method that present embodiment provides can also comprise the steps: that after receiving said notification packet PE can return announce response to said management server.For the situation that management server periodically sends notification packet, PE can return announce response after receiving this notification packet, so that management server can be known the state of PE; When management server does not receive the announce response of certain PE in the preset time period, show then that this PE is current to have rolled off the production line or the network of this PE connects and goes wrong that management server delete the information of this PE correspondence from neighbor list.
In the present embodiment, management server can be a PE in the network, also can be the intermediate equipment between IPV6 isolated island and the IPV4 backbone network, when management server is an intermediate equipment, this intermediate equipment need can with all PE intercommunications.
Further; The message forwarding method that present embodiment provides can also comprise the steps: when a PE rolls off the production line; This PE that rolls off the production line sends the deletion message by the 6To4 encapsulation to said management server; So that said management server is deleted this corresponding information of PE that rolls off the production line in the neighbor list according to said deletion message, and roll off the production line to other each these PE that roll off the production line of PE announcement.Wherein, roll off the production line to other each these PE that roll off the production line of PE announcement, can send notification packet to each PE, above-mentioned notification packet comprises the roll off the production line IP address of each PE in the network of back of this PE that rolls off the production line, and upgrades neighbor list separately to indicate each PE according to this notification packet; Perhaps also can send the deletion message to each PE, the IP address of carrying this PE that rolls off the production line in the above-mentioned deletion message is deleted the corresponding information of PE that rolls off the production line to indicate each PE according to this notification packet from neighbor list separately.
In the message forwarding method that present embodiment provides; PE also can obtain neighbor list through the mode of static configuration; The i.e. neighborhood of other neighbours PE in manual static configuration self and the network on PE, and the neighborhood of static configuration is kept in the neighbor list of this PE.
Step 202 with the IP address of said each the neighbours PE destination address as said non-unicast message, is carried out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE.
This step is specially the IP address of said each the neighbours PE destination address as said non-unicast message; Can copy as non-unicast message a plurality of according to the quantity of neighbours PE; Outside each non-unicast message, carry out one deck IPV4 encapsulation; Promptly before each non-unicast message, increase the IP heading of an IPV4; Comprise fields such as source address and destination address in this IP heading, with the IP address of each neighbours PE respectively as the destination address in the IP heading of each non-unicast message, thereby each non-unicast message is encapsulated as the 6To4 message.PE can send to each neighbours PE respectively through the 6To4 tunnel with message, and this 6To4 message of neighbours PE decapsulation just can get access to non-unicast message.
Present embodiment provides a kind of message forwarding method; The IP address that the neighbor list of upward preserving through PE obtains each neighbours PE; With the destination address of each IP address as non-unicast message, carry out the encapsulation of 6To4, then can realize non-unicast message is transmitted to each neighbours PE; Present embodiment has been realized the reservation multicast group message transmissions function based on the 6To4 tunnel, and neighbours' message discovery mode of IGP agreement is for keeping the multicast group mode, so present embodiment can support the IGP agreement, is convenient to the network capacity extension and dynamic management.
Fig. 3 is the flow chart of message forwarding method embodiment application scenarios of the present invention, and as shown in Figure 3, present embodiment provides a kind of message forwarding method, can specifically comprise the steps:
Step 301, each PE is through the mode of static configuration, and disposing one of them PE is management server.
In the present embodiment, before the establishment of carrying out neighbor list and safeguarding, set a management server earlier.This PE who sentences in the network is that example describes as management server, can in network, carry out static configuration on each PE, and as will be as the IP address configuration of the PE of management server to each PE, each PE can send logon message to this IP address.Fig. 4 is the application scenarios sketch map among the message forwarding method embodiment of the present invention; As shown in Figure 4; Suppose PE1, PE2, the last 6To4 Tunnel that all disposed of PE3, PE1, PE2, PE3 all support 6To4 tunnel agreement, wherein; Appointment PE2 is a management server, and on PE1 and PE3 the IP address of static configuration PE2 as the address of management server.The main effect of management server is that dynamic management safeguards the IP address of 6To4 Tunnel PE in the present embodiment, the information of all other neighbours PE of PE announcement in same network.
Step 302, when PE reached the standard grade, this PE sent the logon message of 6To4 encapsulation, the IP address of in this logon message, carrying this PE to management server.
When a PE reaches the standard grade in the network, i.e. when the 6To4 Tunnel of the last configuration of this PE became upstate, this PE sent the clean culture logon message of 6To4 encapsulation, the IP address of carrying this PE in this logon message to pre-configured management server.Wherein, can adopt UDP (User Datagram Protocol between management server and each PE; Hereinafter to be referred as UDP) message interaction, identify the type of this message through specific destination slogan.The IP address here can be specially the IPV4 address, and is optional, because in 6to4, the IPV6 address is corresponding with the IPV4 address, the IP address here also can be the IPV6 address.
Step 303, management server sends the notification packet of 6To4 encapsulation, the IP address of carrying each PE in this notification packet to registered PE.
Management server writes down the IP address of this PE behind the logon message that receives a PE, and sends notification packet, the IP address of in this notification packet, carrying each PE that preserves on the management server to this PE clean culture.Management server is after getting access to the IP address of a PE; Registered PE sends the notification packet of 6To4 encapsulation in consolidated network; Each PE carries the IP address of each PE that preserves on IP address or the management server of this PE in this notification packet, so that all can obtain the information of its all neighbours PE.Wherein, management server can be periodically or aperiodicity ground send notification packet to each PE.
Alternatively, after PE receives notification packet, return announce response to management server.
PE returns an announce response to this management server behind the notification packet that receives the management server transmission, show that this PE is online.Management server is judged the situation of each PE through the announce response of each PE; When management server does not receive the response message of PE in the preset time period; Then management server thinks that this PE does not exist; Send the deletion message to every other PE, with the corresponding IP address of this PE in the deletion neighbor list.
Step 304, PE sets up neighbor list according to the IP address of each PE.
PE sets up the neighborhood of 6To4 according to the IP address of each PE behind the IP address that gets access to each PE the network from management server, and preserves with the form of neighbor list.When management server periodically when PE sends notification packet, PE can dynamically update the IP address of corresponding neighbours PE according to the IP address of neighbours PE in the notification packet.
Step 305, when PE rolled off the production line, this PE that rolls off the production line sent the deletion message of 6To4 encapsulation to management server.
After a PE rolls off the production line in the network; Promptly when the 6To4 Tunnel of the local configuration of this PE of deletion or this 6To4 Tunnel become down state; This PE that rolls off the production line sends the deletion message of a 6To4 encapsulation, the IP address that in this deletion message, can carry this PE that rolls off the production line to management server.
Step 306, management server is according to this corresponding information of PE that rolls off the production line in the deletion message deletion neighbor list.
Management server after receiving the deletion message of this PE that rolls off the production line, the IP address of this PE that rolls off the production line that carries in the message according to deletion, this PE corresponding information that rolls off the production line in the deletion neighbor list.
Step 307, management server sends tunnel deletion message to each PE, so that this corresponding information of PE that rolls off the production line that other PE deletions are preserved.
Management server rolls off the production line in the neighbor list that deletion is preserved after the corresponding information of PE; Also send tunnel deletion message to other each PE; The IP address that in this tunnel deletion message, can carry this PE that rolls off the production line is so that other PE are according to this corresponding information of PE that rolls off the production line in the neighbor list of this tunnel deletion message deletion preservation.Perhaps; This step also can be deleted the corresponding information of PE that rolls off the production line for management server from the neighbor list of preserving; And the neighbor list after will upgrading is carried at the PE of each in network transmission in the notification packet, corresponding information of PE so that this of other PE deletion preservations rolls off the production line.
In the present embodiment; The IP address of each PE that management server will obtain is kept in the neighbor list; Every PE goes up the copy that the neighbor list of preserving is actually the neighbor list on the management server, and therefore, the IP address of each PE in the present embodiment all derives from management server.In order correctly to safeguard this neighbor list, so that each PE correctly safeguards the neighbor list of preservation, management server is safeguarded the state of each PE.Fig. 5 is the state variation sketch map of PE among the message forwarding method embodiment of the present invention; As shown in Figure 5, the state of PE comprises login state (register), normal condition (normal) and three states of idle condition (idle), wherein; The register state shows that PE is to management server announcement self information; The normal state shows that the PE operation is normal, and the idle state can be used as the init state of PE, also can be used as management server and detects the disarmed state after this PE rolls off the production line.As can be seen from Figure 5, when a PE was in idle condition, management server received the logon message of this PE, and then management server transfers the state of this PE to login state; When PE was in login state, management server received the announce response that this PE returns, and then management server transfers the state of this PE to normal condition; When PE was in login state, management server did not receive the announce response that this PE returns, and then management server transfers the state of this PE to idle condition; When PE was in login state, management server sent notice message to each PE, but when not receiving the announce response of this PE, management server transfers the state of this PE to idle condition.Present embodiment is through the dynamic system maintenance neighbor list, makes that whole net neighbor list is unified, configuration amount is few, can the adaptive network change in topology; But can increase the mutual message of a part, and higher for the equipment requirements of PE with respect to simple static configuration, therefore be applicable to the situation that PE quantity is more or change in topology is comparatively frequent in the network.
In the present embodiment, can also carry out administering and maintaining of neighbor list, promptly in static neighborhood of specifying between the several 6To4 PE of this PE and other certain or certain on the PE through the mode of static configuration.In the present embodiment, the shared neighbor list of the neighborhood of static configuration and the neighborhood of dynamic-configuration, both do not have conflict relationship, and the two is consistent on the message pass-through mode.When passing through the neighborhood in the static configuration neighbor list in the present embodiment; Need not additional apparatus and message interaction; But configuration amount is bigger when network size is big; Variation that can't the dynamically adapting network topology, therefore PE quantity is less in network, and comparatively suitable under the not frequent situation of network topology change.
Step 308, when PE send to keep the multicast group message at the neighbours PE in network, the IP address that obtains each neighbours PE according to the neighbor list of preserving.
Step 309, PE as the destination address that keeps the multicast group message, carries out the encapsulation of 6To4 with the IP address of each neighbours PE, is forwarded to each neighbours PE will keep the multicast group message.
Behind the IP address that gets access to the neighbours PE that needs the non-unicast message of transmission; PE with the IP address of each neighbours PE respectively as the destination address of this non-unicast message; Respectively non-unicast message is encapsulated as the 6To4 message, non-unicast message is forwarded to each neighbours PE respectively.When the neighbor list of preserving is sky, then abandon this non-unicast message.
Present embodiment provides a kind of message forwarding method; Obtain the IP address of each neighbours PE of its dynamic management and maintenance through management server; The IP address of each neighbours PE is kept in the neighbor list, and the IP address that PE obtains each neighbours PE through neighbor list is with the destination address of each IP address as non-unicast message; Carry out the encapsulation of 6To4, then can realize non-unicast message is transmitted to each neighbours PE; Present embodiment has been realized the reservation multicast group message transmissions function based on the 6To4 tunnel; Between 6To4 PE, broadcast through the 6To4 tunnel through realizing non-unicast message; And neighbours' message discovery mode of IGP agreement is for keeping the multicast group mode; Therefore present embodiment can be supported the IGP agreement, and then has made things convenient for the large scale deployment and the dilatation of 6To4 reality isolated island, is convenient to the network capacity extension and dynamic management.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 6 is the structure chart of apparatus for forwarding message embodiment one of the present invention, and as shown in Figure 6, present embodiment provides a kind of apparatus for forwarding message.The apparatus for forwarding message that present embodiment provides can specifically can like PE equipment, be realized by the network equipment of supporting the 6To4 tunnel.The network equipment in this support 6To4 tunnel can comprise forwarding engine, CPU (Central Processing Unit at least; Hereinafter to be referred as: CPU), power supply.Apparatus for forwarding message in the present embodiment comprises acquisition module 601 and forwarding module 602.Wherein, acquisition module 601 is used for when the neighbours' provider edge equipment PE to network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving.In the neighbor list of on PE, preserving, record the IP address of each neighbours PE, acquisition module 601 can get access to the corresponding list item of each neighbours PE from this neighbor list, and the IP address that therefrom obtains each neighbours PE.Forwarding module 602 is used for the IP address of said each the neighbours PE destination address as said non-unicast message is carried out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE.Forwarding module 602 can be specially the IP address of each the neighbours PE destination address as non-unicast message; Can copy as non-unicast message a plurality of according to the quantity of neighbours PE; Outside each non-unicast message, carry out one deck IPV4 encapsulation; Promptly before each non-unicast message, increase the IP heading of an IPV4; Comprise critical fielies such as source address and destination address in this IP heading, with the IP address of each neighbours PE respectively as the destination address in the IP heading of each non-unicast message, thereby each non-unicast message is encapsulated as the 6To4 message.PE can send to each neighbours PE respectively through the 6To4 tunnel with the 6To4 message after the encapsulation, and neighbours PE just can get access to non-unicast message through this 6To4 message of decapsulation.
Fig. 7 is the structure chart of apparatus for forwarding message embodiment two of the present invention, and as shown in Figure 7, present embodiment provides a kind of apparatus for forwarding message, can specifically carry out each step among the said method embodiment two, repeats no more here.The apparatus for forwarding message that present embodiment provides can also comprise Registering modules 603, receiver module 604 and set up module 605 on above-mentioned basis shown in Figure 6.Wherein, Registering modules 603 is used for sending to pre-configured management server the logon message of 6To4 encapsulation, in said logon message, carries this PE its own IP address.When a PE reaches the standard grade in the network, i.e. when the 6To4 Tunnel of the last configuration of this PE became upstate, the Registering modules 603 among this PE sent the clean culture logon message of 6To4 encapsulation, the IP address of carrying this PE in this logon message to pre-configured management server.Receiver module 604 is used to receive the notification packet of the 6To4 encapsulation that said management server sends, the IP address of carrying each PE in the network in the said notification packet.Management server writes down the IP address of this PE behind the logon message that receives a PE, and sends notification packet, the IP address of in this notification packet, carrying each PE that preserves on the management server to this PE clean culture.Setting up module 605 is used for setting up neighbor list according to all neighbours' tunnel informations of IP address of said each PE.PE is behind the IP address that gets access to each PE from management server, and the module 605 of setting up among this PE is set up the neighborhood of 6To4 according to the IP address of each PE, and preserves with the form of neighbor list.
Further, can also comprise respond module 606 in the apparatus for forwarding message that present embodiment provides, respond module 606 is used for after receiving said notification packet, returning announce response to said management server.PE is behind the notification packet that receives the management server transmission, and the respond module 606 among this PE is returned an announce response to this management server, shows that this PE is online.Management server is judged the situation of each PE through the announce response of each PE; When management server does not receive the response message of PE in the preset time period; Then management server thinks that this PE does not exist; Send the deletion message to every other PE, with the corresponding IP address of this PE in the deletion neighbor list.
Further; Can also comprise removing module 607 in the apparatus for forwarding message that present embodiment provides; Removing module 607 is used for sending to said management server the deletion message of 6To4 encapsulation; So that said management server is deleted the corresponding information of PE that rolls off the production line in the neighbor list according to said deletion message, and to the corresponding information of PE that rolls off the production line described in other all PE announcement deletion neighbor lists.After a PE rolls off the production line in the network; Promptly after the 6To4 Tunnel that deletes the local configuration of this PE or this 6To4 Tunnel become down state; Removing module 607 among this PE that rolls off the production line sends the deletion message of a 6To4 encapsulation, the IP address that in this deletion message, can carry this PE that rolls off the production line to management server.
Present embodiment provides a kind of apparatus for forwarding message; Obtain the IP address of each neighbours PE through management server; The IP address of each neighbours PE is kept in the neighbor list, and the IP address that PE obtains each neighbours PE through neighbor list is with the destination address of each IP address as non-unicast message; Carry out the encapsulation of 6To4, then can realize non-unicast message is transmitted to each neighbours PE; Present embodiment has been realized the reservation multicast group message transmissions function based on the 6To4 tunnel; Between 6To4PE, broadcast through the 6To4 tunnel through realizing non-unicast message; And neighbours' message discovery mode of IGP agreement is for keeping the multicast group mode; Therefore present embodiment can be supported the IGP agreement, and then has made things convenient for the network capacity extension and dynamic management.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging embodiment of the invention technical scheme of relevant art scheme.

Claims (8)

1. a message forwarding method is characterized in that, comprising:
When the neighbours' provider edge equipment PE in network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving;
With the IP address of said each neighbours PE destination address, carry out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE as said non-unicast message.
2. method according to claim 1 is characterized in that, also comprises:
Send the logon message of 6To4 encapsulation to pre-configured management server, in said logon message, carry its own IP address;
Receive the notification packet of the 6To4 encapsulation of said management server transmission, the IP address of carrying each PE in the network in the said notification packet;
Neighbor list is set up in IP address according to said each PE.
3. method according to claim 2 is characterized in that, also comprises:
After receiving said notification packet, return announce response to said management server.
4. according to each described method among the claim 1-3, it is characterized in that, also comprise:
Send the deletion message of 6To4 encapsulation to management server, so that said management server is deleted the corresponding information of PE that rolls off the production line in the neighbor list according to said deletion message, and to the corresponding information of PE that rolls off the production line described in other all PE announcement deletion neighbor lists.
5. an apparatus for forwarding message is characterized in that, comprising:
Acquisition module is used for when the neighbours' provider edge equipment PE to network sends non-unicast message, the IP address that obtains each neighbours PE according to the neighbor list of preserving;
Forwarding module is used for the IP address of said each the neighbours PE destination address as said non-unicast message is carried out the encapsulation of 6To4, said non-unicast message is forwarded to said each neighbours PE.
6. device according to claim 5 is characterized in that, also comprises:
Registering modules is used for sending the logon message that 6To4 encapsulates to pre-configured management server, in said logon message, carries its own IP address;
Receiver module is used to receive the notification packet of the 6To4 encapsulation that said management server sends, the IP address of carrying each PE in the network in the said notification packet;
Set up module, be used for setting up neighbor list according to the IP address of said each PE.
7. device according to claim 6 is characterized in that, also comprises:
Respond module is used for after receiving said notification packet, returning announce response to said management server.
8. according to each described device among the claim 5-7, it is characterized in that, also comprise:
Removing module; Be used for sending the deletion message of 6To4 encapsulation to management server; So that said management server is deleted the corresponding information of PE that rolls off the production line in the neighbor list according to said deletion message, and to the corresponding information of PE that rolls off the production line described in other all PE announcement deletion neighbor lists.
CN2011102658676A 2011-09-08 2011-09-08 Message forwarding method and apparatus thereof Pending CN102368724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102658676A CN102368724A (en) 2011-09-08 2011-09-08 Message forwarding method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102658676A CN102368724A (en) 2011-09-08 2011-09-08 Message forwarding method and apparatus thereof

Publications (1)

Publication Number Publication Date
CN102368724A true CN102368724A (en) 2012-03-07

Family

ID=45761274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102658676A Pending CN102368724A (en) 2011-09-08 2011-09-08 Message forwarding method and apparatus thereof

Country Status (1)

Country Link
CN (1) CN102368724A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986650A (en) * 2013-02-07 2014-08-13 杭州华三通信技术有限公司 Nickname conflict processing method and device in TRILL network
CN111917577A (en) * 2020-07-29 2020-11-10 云南诺寻科科技有限公司 BGP routing information acquisition method, BGP routing information acquisition device, computer equipment and storage medium
CN112134735A (en) * 2020-09-16 2020-12-25 苏州浪潮智能科技有限公司 Method and device for automatically expanding system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1747446A (en) * 2005-10-21 2006-03-15 清华大学 Application layer group broadcasting method with integrated type and distributed type combination
US7246175B1 (en) * 2001-12-07 2007-07-17 Cisco Technology, Inc. IPv6 over MPLS IPv4 core
CN101094155A (en) * 2007-08-02 2007-12-26 杭州华三通信技术有限公司 Method for establishing IPv6 tunnel, IPv6 tunnel communication method, and Ipv4 periphery devices
CN101217446A (en) * 2008-01-16 2008-07-09 杭州华三通信技术有限公司 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246175B1 (en) * 2001-12-07 2007-07-17 Cisco Technology, Inc. IPv6 over MPLS IPv4 core
CN1747446A (en) * 2005-10-21 2006-03-15 清华大学 Application layer group broadcasting method with integrated type and distributed type combination
CN101094155A (en) * 2007-08-02 2007-12-26 杭州华三通信技术有限公司 Method for establishing IPv6 tunnel, IPv6 tunnel communication method, and Ipv4 periphery devices
CN101217446A (en) * 2008-01-16 2008-07-09 杭州华三通信技术有限公司 A method and system to realize the automatic learning of IPv6 route of edge device in the tunnel

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986650A (en) * 2013-02-07 2014-08-13 杭州华三通信技术有限公司 Nickname conflict processing method and device in TRILL network
CN103986650B (en) * 2013-02-07 2017-08-11 新华三技术有限公司 The treating method and apparatus that nickname conflicts in a kind of TRILL network
CN111917577A (en) * 2020-07-29 2020-11-10 云南诺寻科科技有限公司 BGP routing information acquisition method, BGP routing information acquisition device, computer equipment and storage medium
CN111917577B (en) * 2020-07-29 2024-03-05 云南诺寻科科技有限公司 BGP route information acquisition method, device, computer equipment and storage medium
CN112134735A (en) * 2020-09-16 2020-12-25 苏州浪潮智能科技有限公司 Method and device for automatically expanding system
CN112134735B (en) * 2020-09-16 2022-12-20 苏州浪潮智能科技有限公司 Method and device for automatically expanding system

Similar Documents

Publication Publication Date Title
US10708856B2 (en) Gateway advertisement in a wireless mesh
CN103179228B (en) Internet Protocol address analytic method and fringe node
CN107733793B (en) Forwarding table item maintenance method and device
CN100550841C (en) Autonomous System Boundary Router, AS Boundary Router route issuing method and Autonomous System Boundary Router, AS Boundary Router
US8385230B2 (en) Automatic network address assignment in a wireless mesh
US9014056B2 (en) Bridging network devices in a hybrid communication network
CN103259725B (en) Messaging method and network equipment
US10255621B2 (en) Services advertisement in a wireless mesh
CN102137024B (en) Message processing method, exit routing device and border routing device
CN103841037B (en) The method and apparatus of multicast message forwarding
CN104168184A (en) Message forwarding method and device
CN104158718A (en) A message processing method and device
CN102932499A (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN106453120A (en) Dynamic clustering method and dynamic clustering system
CN103763750B (en) Method for fast achieving packet forwarding in wireless ad hoc network of TDMA protocol
CN102572008A (en) Communication service processing method and system and gateway equipment
CN103326915A (en) Method, device and system for achieving three-layer VPN
US20190199633A1 (en) Method and apparatus for forwarding in information centric networking
CN108322376B (en) Route synchronization method, device and machine-readable storage medium
CN102368724A (en) Message forwarding method and apparatus thereof
CN104618525B (en) The method of seamless connection based on layering route cross-heterogeneous-network
CN102598635A (en) Network address allocation method
CN105763439A (en) Data center interconnection (DCI) method and device in transparent interconnection of lots of links (TRILL) network
CN105188104A (en) Wireless network communication implementation method
CN101924698B (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120307