CN102916894A - Network traffic forwarding method and source routing equipment - Google Patents

Network traffic forwarding method and source routing equipment Download PDF

Info

Publication number
CN102916894A
CN102916894A CN2012104438957A CN201210443895A CN102916894A CN 102916894 A CN102916894 A CN 102916894A CN 2012104438957 A CN2012104438957 A CN 2012104438957A CN 201210443895 A CN201210443895 A CN 201210443895A CN 102916894 A CN102916894 A CN 102916894A
Authority
CN
China
Prior art keywords
down hop
routing device
address
source routing
routing equipment
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
CN2012104438957A
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 CN2012104438957A priority Critical patent/CN102916894A/en
Publication of CN102916894A publication Critical patent/CN102916894A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network traffic forwarding method and source routing equipment, which can be used for accelerating the forwarding of network traffics and simultaneously reducing the discarding of the network traffics. The method comprises the following steps: during the neighbor establishment between the source routing equipment and next-hop routing equipment, the source routing equipment sends a protocol message which carries the MAC (Media Access Control) address of the source routing equipment to the next-hop routing equipment, so that the next-hop routing equipment can obtain information on a first address mapping relationship between the IP (Internet Protocol) address of the source routing equipment and the MAC address of the source routing equipment; the source routing equipment obtains information on a second address mapping relationship between the IP address of the next-hop routing equipment and the MAC address of the next-hop routing equipment; and then, after the neighbor establishment between the source routing equipment and next-hop routing equipment, the source routing equipment directly forwards the network traffics to the next-hop routing equipment. The network traffic forwarding method and the source routing equipment are applicable to the field of communications.

Description

Method and source routing equipment that a kind of network traffics are transmitted
Technical field
The present invention relates to the communications field, relate in particular to method and source routing equipment that a kind of network traffics are transmitted.
Background technology
Along with the develop rapidly of network technology, emerged in large numbers the multimedia application that many high bandwidths require on the Internet (the Internet).Therefore, the speed that network traffics are transmitted and reliability more and more become people's outline as important technical indicator in the network technology.
In the process that network traffics are transmitted, the situation that often situation of link or equipment fault can occur or need route heavily to transmit, need in time carry out link switching or carry out heavy-route this moment.But, under the scene of link switching or heavy-route, after neighbours' foundation is finished, when network traffics arrive each new routing device, because the relevant entries of not storing the down hop routing device, so that network traffics can not normally be transmitted, it is slower to cause network traffics to be transmitted, and network traffics abandon more.
Summary of the invention
Method and source routing equipment that embodiments of the invention provide a kind of network traffics to transmit can the accelerating network traffic forwardings, reduce abandoning of network traffics.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the method that provides a kind of network traffics to transmit, the method comprises:
Neighbours at source routing equipment and down hop routing device set up in the process, described source routing equipment sends MAC (the Media Access Control that carries described source routing equipment to described down hop routing device, medium access control) protocol massages of address, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of IP (Internet Protocol, the procotol) address of described source routing equipment and described source routing equipment;
Described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device;
After finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
In the possible implementation of the first, according to first aspect, the method also comprises:
Described source routing equipment and described down hop routing device are based on ISIS (IntermediateSystem-to-Intermediate System, Intermediate System-to-Intermediate System) agreement;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message;
Before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device, also comprise:
Described source routing equipment sends the first neighbours to described down hop routing device and sets up request message, described the first neighbours set up the IP address that carries described source routing equipment in the request message, so that described down hop routing device sends the first arp request message according to the IP address of described source routing equipment to described source routing equipment, ask the mac address information of described source routing equipment;
Described source routing equipment receives the first arp request message that described down hop routing device sends.
In the possible implementation of the second, according to first aspect or the possible implementation of the first, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement;
The second address mapping relation information that described source routing equipment obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that described source routing equipment receives described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device;
Described source routing equipment sends described the second arp request message according to the IP address of described down hop routing device to described down hop routing device;
Described source routing equipment receives the second address resolution protocol response message that described down hop routing device sends, described the second address resolution response message carries the MAC Address of described down hop routing device, so that described source routing equipment obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
In the third possible implementation, in conjunction with first aspect, the method also comprises:
Described source routing equipment and described down hop routing device are based on OSPF (OpenShortest Path First, ospf) agreement;
The second address mapping relation information that described source routing equipment obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment, send the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends.
In the 4th kind of possible implementation, according to first aspect or the third possible implementation, described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message, before described source routing equipment sends described the first arp request message to described down hop routing device, also comprises:
When described source routing equipment enters the ExStart attitude, send the database description packet Data Description (DD) packet to described down hop routing device, so that described down hop routing device sends the first arp request message to described source routing equipment;
Described source routing equipment receives the first arp request message that described down hop routing device sends.
In the 5th kind of possible implementation, according to first aspect or possible implementation or the 4th kind of possible implementation of the first, the method also comprises:
Neighbours at source routing equipment and down hop routing device set up in the process, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, and described source routing equipment determines whether to store in the described source routing equipment described the second address mapping relation information;
If store described the second address mapping relation information in the described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
In the 6th kind of possible implementation, in conjunction with the 5th kind of possible implementation, ARP (the AddressResolution Protocol that comprises described source routing equipment in described the first address resolution protocol response message, address resolution protocol) list item or ND (neighbor discovery, neighbours find) list item;
The ARP list item or the ND list item that comprise described down hop routing device in described the second address resolution protocol response message.
Second aspect provides a kind of source routing equipment, and described source routing equipment comprises transmitting element, acquiring unit;
Described transmitting element, be used for setting up process the neighbours of described source routing equipment and down hop routing device, send the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment;
Described acquiring unit is used for obtaining the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device;
Described transmitting element also is used for directly described network traffics being transmitted to described down hop routing device after finishing neighbours' foundation between described source routing equipment and the described down hop routing device.
In the possible implementation of the first, in conjunction with second aspect, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement, and described source routing equipment also comprises receiving element;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message;
Described transmitting element, also be used for before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device, the down hop routing device sends the first neighbours and sets up request message, described the first neighbours set up the IP address that carries described source routing equipment in the request message, so that described down hop routing device sends the first arp request message according to the IP address of described source routing equipment to described source routing equipment, ask the mac address information of described source routing equipment;
Described receiving element is used for receiving the first arp request message that described down hop routing device sends before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device.
In the possible implementation of the second, according to second aspect or the possible implementation of the first, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement;
The second address mapping relation information that described acquiring unit obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that receive described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device;
IP address according to described down hop routing device sends described the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends, described the second address resolution response message carries the MAC Address of described down hop routing device, so that described source routing equipment obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
In the third possible implementation, in conjunction with second aspect, described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The second address mapping relation information that described acquiring unit obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment, send the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends.
In the 4th kind of possible implementation, according to second aspect or the third possible implementation, described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message, and described source routing equipment sends to described down hop routing device before described the first address resolution protocol response message,
Described transmitting element, also be used for when described source routing equipment enters the ExStart state, send the database description packet Data Description (DD) packet to described down hop routing device, so that described down hop routing device sends the first arp request message to described source routing equipment;
Described receiving element also is used for receiving the first arp request message that described down hop routing device sends.
In the 5th kind of possible implementation, in conjunction with second aspect or possible implementation or the 4th kind of possible implementation of the first, described source routing equipment also comprises determining unit;
Described determining unit, be used for setting up process the neighbours of the router of source routing equipment and down hop, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, determines whether store described the second address mapping relation information in the described source routing equipment;
Described transmitting element, store described the second address mapping relation information if be used for described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, directly described network traffics are transmitted to described down hop routing device.
In the 6th kind of possible implementation, in conjunction with the 5th kind of possible implementation, comprise ARP list item or the ND list item of described source routing equipment in described the first address resolution protocol response message;
The ARP list item or the ND list item that comprise described down hop routing device in described the second address resolution protocol response message.
Method and source routing equipment that the embodiment of the invention provides a kind of network traffics to transmit, the method is set up in the process the neighbours of source routing equipment and down hop routing device, described source routing equipment sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment; And described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.After finishing neighbours' foundation between described like this source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
The method is set up the IP address that obtains in the process each other and the mapping relations information of MAC Address neighbours, so that after neighbours' foundation is finished, directly the transmission network flow is given described down hop routing device, thereby has accelerated the forwarding of network traffics, has reduced simultaneously abandoning of network traffics.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method that Fig. 1 transmits for a kind of network traffics that the embodiment of the invention provides;
The method that network traffics are transmitted in a kind of ISIS agreement that Fig. 2 provides for the embodiment of the invention;
The method that network traffics are transmitted in a kind of ospf protocol that Fig. 3 provides for the embodiment of the invention;
Fig. 4 is that a kind of network traffics are transmitted scene;
The structural representation of a kind of source routing equipment that Fig. 5 provides for the embodiment of the invention;
The structural representation of the another kind of source routing equipment that Fig. 6 provides for the embodiment of the invention;
The structural representation of another the source routing equipment that Fig. 7 provides for the embodiment of the invention;
The structural representation of the source routing equipment of a kind of entity that Fig. 8 provides for the embodiment of the invention;
The structural representation of the source routing equipment of the another kind of entity that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one,
The method that the embodiment of the invention provides a kind of network traffics to transmit, specifically as shown in Figure 1, the method comprises:
101, the neighbours at source routing equipment and down hop routing device set up in the process, described source routing equipment sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment.
Described source routing equipment is set up request message and is begun to set up process with the neighbours of described down hop routing device by sends the first neighbours to described down hop routing device.
Described neighbours set up, and refer to that source routing equipment carries out the process that route is calculated/restrained under link switching or the scene of the extensive again convergence of network.
Neighbours at source routing equipment and down hop routing device set up in the process, described source routing equipment sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, after thereby described down hop routing device receives described protocol massages, obtain the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment.
102, described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
Neighbours at source routing equipment and down hop routing device set up in the process, and described source routing equipment also needs to obtain the second address mapping relation information of the MAC Address of the IP address of down hop routing device and described down hop routing device.
Need to prove that 101 steps and 102 steps are not the sequencings of determining, the embodiment of the invention is intended to illustrate that described source routing equipment and described down hop routing device need to obtain address mapping relation information each other.So the method that the embodiment of the invention provides also can be to carry out first 102 steps, then carries out 101 steps.The embodiment of the invention is not done concrete restriction for the execution sequence of 101,102 steps.
For example, in Intermediate System-to-Intermediate System ISIS (the Intermediate System-to-Intermediate System) agreement, neighbours set up in the process, the down hop routing device can obtain first the first address mapping relation information of described source routing equipment, and then source routing equipment just obtains the second address mapping relation information.And in ospf OSPF (the OpenShortest Path First) agreement, source routing equipment enters ExStart state trigger source routing device and obtains first the IP address of down hop routing device and the second mapping relations of MAC Address.Then source routing equipment is when the ExStart state, described source routing equipment down hop routing device sends database description packet Data Description (DD) packet (Database Description Packet) makes the down hop routing device enter the ExStart state, triggers the first address mapping relation information that the down hop routing device obtains described source routing equipment.
103, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
After finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment can directly be transmitted to described down hop routing device according to described the second address mapping relation with described data traffic.And do not need in the picture prior art, after neighbours set up and finish, described source routing equipment was not stored the relevant entries of described down hop routing device, can't in time described network traffics be transmitted to described down hop routing device.
The method that the embodiment of the invention provides a kind of network traffics to transmit, the method is set up in the process the neighbours of source routing equipment and down hop routing device, described source routing equipment sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first mapping relations information of the MAC Address of the IP address of described source routing equipment and described source routing equipment; And described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.Finish between described like this source routing equipment and the described down hop routing device that neighbours set up and route alternately after, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
The method is set up the IP address that obtains in the process each other and the mapping relations information of MAC Address neighbours, so that after neighbours' foundation is finished, directly the transmission network flow is given described down hop routing device, thereby has accelerated the forwarding of network traffics, has reduced simultaneously abandoning of network traffics.
Embodiment two,
The method that the embodiment of the invention provides a kind of network traffics to transmit, present embodiment is set up process take the neighbours of ISIS agreement and is described as example, and specifically as shown in Figure 2, the method comprises:
201, source routing equipment down hop routing device sends the first neighbours and sets up request message, described the first neighbours set up the IP address that carries described source routing equipment in the request message, so that described down hop routing device sends an ARP request message according to the IP address of described source routing equipment to described source routing equipment, ask the mac address information of described source routing equipment.
Described neighbours set up, and refer to that source routing equipment carries out the process that route is calculated/restrained under link switching or the scene of the extensive again convergence of network.
In the ISIS agreement, described the first neighbours set up request message and are specifically as follows hello packet, have carried the IP address information of described source routing equipment in the described hello packet.In different agreements, the entrained information of hello packet is not identical, specifically carries which information and will decide according to agreement self.
After described down hop routing device receives the first neighbor request message of described source routing equipment transmission, the IP address information that can carry according to described the first neighbor request message, send an ARP request message to described source routing equipment, ask the mac address information of described source routing equipment.
202, described down hop routing device sends an ARP request message according to the IP address of described source routing equipment to described source routing equipment.
In the ISIS agreement, after described source routing equipment is set up request message to the first neighbours of the IP address that carries described source routing equipment that described down hop routing device sends, trigger described down hop routing device and send an ARP request message to described source routing equipment, obtain the mac address information of described source routing equipment.
For different protocol types, in conjunction with agreement itself, set up in the process neighbours and to trigger the mac address information that obtains described source routing equipment.
203, described source routing equipment sends the first arp reply message to described down hop routing device.
Described source routing equipment sends the first arp reply message to described down hop routing device after receiving an ARP request message of described down hop routing device transmission, has carried the mac address information of described source routing equipment in described the first arp reply message.
Certainly, can carry ARP list item or the ND list item of described source routing equipment in described the first arp reply message, described ARP list item or ND list item have been stored the IP address of described source routing equipment and the first address mapping relation information of MAC Address.
204, described down hop routing device is according to the IP address of the described source routing equipment of described the first arp reply Receive message and the first address mapping relation information of MAC Address.
After described down hop routing device receives the first arp reply message of described source routing equipment transmission, from described the first arp reply message, obtain the mac address information of described source routing equipment, thereby set up the IP address of described source routing equipment and the first address mapping relation of MAC Address.
205, described down hop routing device sends the second neighbours to described source routing equipment and sets up request message, described the second neighbours set up the IP address that carries described down hop routing device in the request message, so that described source routing equipment sends the 2nd ARP request message according to the IP address of described down hop routing device to described down hop routing device, ask the mac address information of described down hop routing device.
In the ISIS agreement, described the second neighbours set up request message also can be hello packet, and described hello packet has carried the IP address information of described down hop routing device.
After described source routing equipment receives the second neighbor request message of described down hop routing device transmission, the IP address information that can carry according to described the second neighbor request message, send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
206, described source routing equipment sends the 2nd ARP request message according to the IP address of described down hop routing device to described down hop routing device.
In the ISIS agreement, after described down hop routing device is set up request message to the second neighbours of the IP address that carries described down hop routing device that described source routing equipment sends, trigger described source routing equipment and send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
For different protocol types, in conjunction with agreement itself, set up in the process neighbours and to trigger the mac address information that obtains described down hop routing device.
207, described down hop routing device sends the second arp reply message to described source routing equipment.
Described down hop routing device sends the second arp reply message to described source routing equipment after receiving the 2nd ARP request message of described source routing equipment transmission, has carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
208, described source routing equipment is according to the IP address of the described down hop routing device of described the second arp reply Receive message and the second address mapping relation information of MAC Address.
After described source routing equipment receives the second arp reply message of described down hop routing device transmission, from described the second arp reply message, obtain the mac address information of described down hop routing device, thereby set up the IP address of described down hop routing device and the second address mapping relation of MAC Address.
209, described source routing equipment receives neighbours' foundation and finishes Indication message.
210, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
Before neighbours' foundation is finished, described source routing equipment and described down hop routing device all obtained each other the IP address and the address mapping relation of MAC Address, described like this source routing equipment can directly be transmitted to described network traffics described down hop routing device.And do not need in the picture prior art, after neighbours' foundation was finished, described source routing equipment was not stored the relevant entries of described down hop routing device, can't in time described network traffics be transmitted to described down hop routing device.
Certainly, in different protocol types, in the process that neighbours set up, IP address and the method for the address mapping relation of MAC Address obtained between source routing equipment and the down hop routing device each other are different, the embodiment of the invention also provides a kind of retransmission method of network traffics, the method describes as an example of ospf protocol example, and specifically as shown in Figure 3, the method comprises:
301, source routing equipment down hop routing device sends the first neighbours and sets up request message.
In ospf protocol, described the first neighbours set up request message can be hello packet, carried the IP address information of described source routing equipment in the described hello packet, in different agreements, the entrained information of hello packet is not identical, specifically carries which information and will decide according to agreement self.
302, described down hop routing device sends the first neighbours to described source routing equipment and sets up response message, and described the first neighbours set up the IP address information of having carried described down hop routing device in the response message.
Described down hop routing device receives the first neighbours that described source routing equipment sends to described down hop routing device set up request message after, send the first neighbours to described source routing equipment and set up response message, described the first neighbours set up the IP address information of having carried described down hop routing device in the response message.
303, described source routing equipment sends the 2nd ARP request message according to the IP address of described down hop routing device to described down hop routing device.
The first neighbours that described source routing equipment receives described down hop routing device transmission set up response message, after this enter first step e xStart state of setting up interaction mode with described down hop routing device.
In ospf protocol, described source routing equipment enters the ExStart state and triggers described source routing equipment and send the 2nd ARP request message to described down hop routing device, asks the mac address information of described down hop routing device.
So, after described source routing equipment enters the ExStart state, described source routing equipment is set up the IP address information of the entrained down hop routing device of response message according to described the first neighbours, send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
304, described down hop routing device sends the second arp reply message to described source routing equipment.
Described down hop routing device sends the second arp reply message to described source routing equipment after receiving the 2nd ARP request message of described source routing equipment transmission, has carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
305, described source routing equipment is according to the IP address of the described down hop routing device of described the second arp reply Receive message and the second address mapping relation information of MAC Address.
After described source routing equipment receives the second arp reply message of described down hop routing device transmission, from described the second arp reply message, obtain the mac address information of described source routing equipment, thereby set up the IP address of described down hop routing device and the second address mapping relation of MAC Address.
306, described source routing equipment sends the database description packet Data Description (DD) packet to described down hop routing device.
After described source routing equipment enters the ExStart state, send Data Description (DD) packet to described down hop routing device, after this described down hop routing device enters first step e xStart state of setting up interaction mode with described source routing equipment.
Need to prove that because step 303 all is to enter the action that triggers behind the ExStart state at source routing equipment with step 306, so the two does not have absolute sequencing, can send first Data Description (DD) packet, the embodiment of the invention is not done concrete restriction to this yet.
307, described down hop routing device sends an ARP request message according to the IP address of described source routing equipment to described source routing equipment.
In ospf protocol, described down hop routing device enters the ExStart state and triggers described down hop routing device and send an ARP request message to described source routing equipment, asks the mac address information of described source routing equipment.
So after described down hop routing device entered ExStart, described down hop routing device sent an ARP request message according to the IP address information of described source routing equipment to described source routing equipment, asks the mac address information of described source routing equipment.
308, described source routing equipment sends the first arp reply message to described down hop routing device.
Described source routing equipment sends the first arp reply message to described down hop routing device after receiving an ARP request message of described down hop routing device transmission, has carried the mac address information of described source routing equipment in described the first arp reply message.
Certainly, can carry ARP list item or the ND list item of described source routing equipment in described the first arp reply message, described ARP list item or ND list item have been stored the IP address of described source routing equipment and the first address mapping relation information of MAC Address.
309, described down hop routing device is according to the IP address of the described source routing equipment of described the first arp reply Receive message and the first address mapping relation information of MAC Address.
After described down hop routing device receives the first arp reply message of described source routing equipment transmission, from described the first arp reply message, obtain the mac address information of described source routing equipment, thereby set up the IP address of described source routing equipment and the first address mapping relation of MAC Address.
310, described source routing equipment receives neighbours' foundation and finishes Indication message.
311, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
Before neighbours' foundation is finished, described source routing equipment and described down hop routing device all obtained each other the IP address and the address mapping relation of MAC Address, so source routing equipment can directly be transmitted to described network traffics described down hop routing device.And do not need in the picture prior art, after neighbours set up and finish, described source routing equipment was not stored the relevant entries of described down hop routing device, can't in time described network traffics be transmitted to described down hop routing device.
Optionally, neighbours between source routing equipment and down hop routing device set up in the process, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, and the method also comprises:
Described source routing equipment at first determines whether store described the second address mapping relation information in the described source routing equipment, if store described the second address mapping relation information in the described source routing equipment, described source routing equipment and described down hop routing device finish that neighbours set up and route alternately after, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
Like this, when source routing equipment had been stored the second address mapping relation information of down hop routing device, source routing equipment did not need Reduplicated the second address mapping relation information of obtaining described down hop routing device.
Above-described embodiment has been described in ISIS agreement or ospf protocol, obtain the concrete scheme of address mapping relation each other between the routing device, because the difference of agreement itself, IP address and the information of the mapping relations of MAC Address obtained between source routing equipment and the down hop routing device each other there are differences in the concrete steps that the neighbours of ISIS agreement and ospf protocol set up in the process, but no matter be which kind of agreement, described source routing equipment and described down hop routing device all obtain address mapping relation each other before neighbours' foundation is finished.In order to embody the superiority of the method that network traffics of the present invention transmit, the process of IP multicast data message transmission among the present invention is described below in conjunction with Fig. 4:
Suppose among Fig. 4, link breaks down between RTB->RTC, A->RTA->RTB->RTC->RTD->the B link need to switch to A->RTA->RTE->RTF->RTC->RTD->B, this moment RTA->RTE, RTE->RTF, RTF->RTC does not also have storage ARP list item or ND list item each other, and then the process of data-message transmission is as follows on A->RTA->RTE->RTF->RTC->RTD->B link:
Source routing equipment RTA determines and need to set up neighborhood with down hop routing device RTE by the routing table of inquiry oneself.
RTA sets up in the process the neighbours with RTE, if source routing equipment RTA determines not store the address mapping relation of down hop routing device RTE, then RTA determines to obtain the IP address of down hop routing device RTE and the address mapping relation of MAC Address, and down hop routing device RTE determines to obtain the IP address of source routing equipment RTA and the address mapping relation of MAC Address simultaneously.
The process of setting up address mapping relation each other between described source routing equipment RTA and described down hop routing device RTE adopts in above-described embodiment source routing equipment and down hop routing device neighbours to set up process.
Before neighbours set up end, source routing equipment RTA had obtained the IP address of down hop routing device RTE and the address mapping relation of MAC Address, and down hop routing device RTE obtains the IP address of source routing equipment RTA and the address mapping relation of MAC Address simultaneously;
Because neighbours set up process and obtain each other the IP address and the address mapping relation concurrent process of MAC Address carry out, after neighbours set up end, the network traffics that source routing equipment RTA will arrive source routing equipment RTA directly are transmitted to down hop routing device RTE, thereby accelerated the network traffics forwarding, reduced simultaneously abandoning of network traffics.
Simultaneously after the neighbours of RTA and RTE set up end, RTE is as the routing table of source routing equipment query oneself, after determining to set up neighborhood with down hop routing device RTF, if source routing equipment RTE determines not store the IP address of down hop routing device RTF and the address mapping relation of MAC Address, source routing equipment RTE carries out the action identical with above-mentioned source routing equipment RTA, down hop routing device RTF carries out the action identical with down hop routing device RTE, until that RTE and RTF neighbours set up is complete, the network traffics that source routing equipment RTE will arrive source routing equipment RTE are transmitted to down hop routing device RTF.
RTF is in the situation of the address mapping relation of the IP address that does not have RTC and MAC Address, RTF carries out the action identical with above-mentioned source routing equipment RTA or source routing equipment RTE as source routing equipment, RTC carries out the action identical with down hop routing device RTE or down hop routing device RTF as the down hop routing device, is transmitted to down hop routing device RTC until source routing equipment RTF will arrive the network traffics of source routing equipment RTF.
Simultaneously source routing equipment RTF and down hop routing device RTC finish neighbours set up with route alternately after, the routing table of RTC inquiry oneself, determine to set up neighborhood with RTD, source routing equipment RTC is by the memory space of inquiry oneself, determine to store the address mapping relation of down hop routing device RTD, then after neighbours set up end, the network traffics that source routing equipment RTC will arrive source routing equipment RTC directly were transmitted to down hop routing device RTD.
Finish after neighbours set up at source routing equipment RTC and down hop routing device RTD simultaneously, the own routing table of RTD inquiry is determined the MAC Address of host B, and the switching of network traffics process RTD finally reaches host B, thereby finishes the process of network traffics forwarding.
We can find out from above-described embodiment, the method that the embodiment of the invention provides a kind of network traffics to transmit, the method is set up in the process the neighbours of source routing equipment and down hop routing device, described source routing equipment sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first mapping relations information of the MAC Address of the IP address of described source routing equipment and described source routing equipment; And described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.Finish between described like this source routing equipment and the described down hop routing device that neighbours set up and route alternately after, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
The method is set up the IP address that obtains in the process each other and the mapping relations information of MAC Address neighbours, so that after neighbours' foundation is finished, directly the transmission network flow is given described down hop routing device, thereby has accelerated the forwarding of network traffics, has reduced simultaneously abandoning of network traffics.
Embodiment three,
The embodiment of the invention provides a kind of source routing equipment 50, specifically as described in Figure 5, described source routing equipment 50 does not refer in particular to a certain routing device, carry out neighbours when setting up but show the way by equipment and routing device, at first initiate neighbours and set up the routing device of request, described source routing equipment 50 comprises: transmitting element 51 and acquiring unit 52.
Described transmitting element 51, be used for setting up process the neighbours of described source routing equipment 50 and down hop routing device, send the protocol massages of the MAC Address that carries described source routing equipment 50 to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the IP address of described source routing equipment 50 and described source routing equipment 50.
Described source routing equipment 50 is set up request message and is begun to set up process with the neighbours of down hop routing device by sends the first neighbours to described down hop routing device.
Described neighbours set up, and refer to that source routing equipment carries out the process that route is calculated/restrained under link switching or the scene of the extensive again convergence of network.
Neighbours with the down hop routing device set up in the process at source routing equipment 50, described transmitting element 51 sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, after thereby described down hop routing device receives described protocol massages, obtain the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment.
Described acquiring unit 52 is used for obtaining the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
Neighbours at source routing equipment 50 and down hop routing device set up in the process, and described acquiring unit 52 also needs to obtain the IP address of down hop routing device and the second address mapping relation information of MAC Address.
Need to prove, the first address mapping relation information that described acquiring unit 52 obtains the MAC Address of the second address mapping relation information of MAC Address of the IP address of described down hop routing device and described down hop routing device and IP address that described down hop routing device obtains described source routing equipment 50 and described source routing equipment 50 does not have the sequencing determined, and the embodiment of the invention is intended to illustrate that described source routing equipment 50 and described down hop routing device need to obtain address mapping relation information each other.
For example, in the ISIS agreement, neighbours set up in the process, and the down hop routing device can obtain first the first address mapping relation information of described source routing equipment 50, and then the acquiring unit 52 of source routing equipment 50 just obtains the second address mapping relation information.And in the ospf protocol, source routing equipment 50 enters ExStart state triggering acquiring unit 52 and obtains first the IP address of down hop routing device and the second address mapping relation of MAC Address, then source routing equipment 50 is when the ExStart state, described source routing equipment 50 down hop routing devices send Data Description (DD) packet makes the down hop routing device enter the ExStart state, triggers the first address mapping relation information that the down hop routing device obtains described source routing equipment 50.
Described transmitting element 51 also is used for directly described network traffics being transmitted to described down hop routing device after finishing neighbours' foundation between described source routing equipment 50 and the described down hop routing device.
After finishing neighbours' foundation between described source routing equipment 50 and the described down hop routing device, described transmitting element 51 can directly be transmitted to described down hop routing device according to described the second address mapping relation with described data traffic.And do not need in the picture prior art, after neighbours set up and finish, described source routing equipment was not stored the relevant entries of described down hop routing device, can't in time described network traffics be transmitted to described down hop routing device.
Optionally, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement, and as shown in Figure 6, described source routing equipment 50 also comprises receiving element 53.
The protocol massages that carries the MAC Address of described source routing equipment 50 is specially the first arp reply message.
Described transmitting element 51, also be used for before described source routing equipment 50 sends described the first address resolution protocol response message to described down hop routing device, send the first neighbours to described down hop routing device and set up request message, described the first neighbours set up the IP address that carries described source routing equipment 50 in the request message, so that described down hop routing device sends an ARP request message according to the IP address of described source routing equipment 50 to described source routing equipment 50, ask the mac address information of described source routing equipment 50.
In the ISIS agreement, described the first neighbours set up request message can be hello packet, has carried the IP address information of described source routing equipment 50 in the described hello packet.
After described transmitting element 51 is set up request message to the first neighbours of the IP address that carries described source routing equipment 50 that described down hop routing device sends, trigger described down hop routing device and send an ARP request message to described source routing equipment 50, ask the mac address information of described source routing equipment 50.
Described receiving element 53 is used for receiving the ARP request message that described down hop routing device sends before described source routing equipment 50 sends described the first arp reply message to described down hop routing device.
Described down hop routing device sends an ARP request message to described source routing equipment 50, described receiving element 53 receives the ARP request message that described down hop routing device sends, and then described source routing equipment 50 sends the first arp reply message to described down hop routing device.
Optionally, described source routing equipment and described down hop routing device be based on Intermediate System-to-Intermediate System ISIS agreement, and the second address mapping relation information that described acquiring unit 52 obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that receive described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device.
IP address according to described down hop routing device sends described the 2nd ARP request message to described down hop routing device.
Receive the second arp reply message that described down hop routing device sends, described the second arp reply message carries the MAC Address of described down hop routing device, so that described source routing equipment 50 obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
In the ISIS agreement, described the second neighbours set up request message also can be hello packet, and described hello packet has carried the IP address information of described down hop routing device.
After described down hop routing device is set up request message to the second neighbours of the IP address that carries described down hop routing device that described source routing equipment sends, trigger described source routing equipment and send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
After described down hop routing device receives the 2nd ARP request message of described source routing equipment transmission, send the second arp reply message to described source routing equipment 50, carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
Optionally, described source routing equipment 50 and described down hop routing device be during based on ospf protocol, and the second address mapping relation information that described acquiring unit 52 obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment 50, send the 2nd ARP request message to described down hop routing device;
Receive the second arp reply message that described down hop routing device sends.
Described transmitting element 51 sends the first neighbours to described down hop routing device and sets up request message, and after described down hop routing device was replied the first neighbours and set up response message, described source routing equipment 50 entered the ExStart state.
In ospf protocol, it is hello packet that described the first neighbours set up request message, has carried the IP address information of described source routing equipment in the described hello packet.
In ospf protocol, described source routing equipment enters the ExStart state and triggers the mac address information that described source routing equipment obtains described down hop routing device.
Then described source routing equipment 50 is set up the IP address information of the entrained down hop routing device of response message according to described the first neighbours, send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
Described down hop routing device sends the second arp reply message to described source routing equipment after receiving the 2nd ARP request message of described source routing equipment transmission, and described source routing equipment receives the second arp reply message that described down hop routing device sends.Carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
Optionally, described source routing equipment and described down hop routing device are based on the ospf ospf protocol, the protocol massages that carries the MAC Address of described source routing equipment 50 is specially the first arp reply message, described source routing equipment 50 sends before described the first arp reply message to described down hop routing device
Described transmitting element 51 also is used for sending Data Description (DD) packet to described down hop routing device when described source routing equipment 50 enters the ExStart state, so that described down hop routing device sends an ARP request message to described source routing equipment 50.
Described receiving element 53 also is used for receiving the ARP request message that described down hop routing device sends.
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment 50, described transmitting element 51 sends Data Description (DD) packet to described down hop routing device, described down hop routing device enters first step e xStart state of setting up interaction mode with described source routing equipment after receiving the Data Description (DD) packet of described transmitting element 51 transmissions.Because in ospf protocol, after described source routing equipment enters the ExStart state, send Data Description (DD) packet to described down hop routing device, make described down hop routing device enter the ExStart state, trigger the mac address information that described down hop routing device obtains described source routing equipment, institute asks the mac address information of described source routing equipment 50 so that described down hop routing device sends an ARP request message to described source routing equipment 50.
Optionally, as shown in Figure 7, described source routing equipment also comprises determining unit 54, the first address mapping relation information for fear of the described down hop routing device of described source routing equipment 50 repeated obtains, described determining unit 54, be used for setting up process the neighbours of the router of described source routing equipment and described down hop, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, determines whether store described the second address mapping relation information in the described source routing equipment.
Described transmitting element 51, store described the second address mapping relation information if be used for described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, directly described network traffics are transmitted to described down hop routing device.
Optionally, the ARP list item or the ND list item that comprise described source routing equipment in described the first arp reply message;
The ARP list item or the ND list item that comprise described down hop routing device in described the second arp reply message.
The embodiment of the invention provides a kind of source routing equipment, described source routing equipment comprises transmitting element, acquiring unit, wherein said transmitting element sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first mapping relations information of the MAC Address of the IP address of described source routing equipment and described source routing equipment; Described acquiring unit obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.After finishing neighbours' foundation between described like this source routing equipment and the described down hop routing device, described transmitting element directly is transmitted to described network traffics described down hop routing device.
This device is set up the IP address that obtains in the process each other and the mapping relations information of MAC Address neighbours, so that after neighbours' foundation is finished, directly the transmission network flow is given described down hop routing device, thereby has accelerated the forwarding of network traffics, has reduced simultaneously abandoning of network traffics.
Embodiment four,
The embodiment of the invention also provides a kind of source routing equipment 80, specifically as described in Figure 8, described source routing equipment 80 does not refer in particular to a certain routing device, carry out neighbours when setting up but show the way by equipment and routing device, at first initiate neighbours and set up the routing device of request, described source routing equipment 80 comprises: transmitter 81 and processor 82.
Described transmitter 81, be used for setting up process the neighbours of described source routing equipment 80 and down hop routing device, send the protocol massages of the MAC Address that carries described source routing equipment 80 to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the IP address of described source routing equipment 80 and described source routing equipment 80.
Described source routing equipment 80 is set up request message and is begun to set up process with the neighbours of down hop routing device by sends the first neighbours to described down hop routing device.
Described neighbours set up, and refer to that source routing equipment carries out the process that route is calculated/restrained under link switching or the scene of the extensive again convergence of network.
Neighbours with the down hop routing device set up in the process at source routing equipment 80, described transmitter 81 sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, after thereby described down hop routing device receives described protocol massages, obtain the first address mapping relation information of the MAC Address of the IP address of described source routing equipment and described source routing equipment.
Described processor 82 is used for obtaining the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
Neighbours at source routing equipment 80 and down hop routing device set up in the process, and described processor 82 also needs to obtain the IP address of down hop routing device and the second address mapping relation information of MAC Address.
Need to prove, the first address mapping relation information that described processor 82 obtains the MAC Address of the second address mapping relation information of MAC Address of the IP address of described down hop routing device and described down hop routing device and IP address that described down hop routing device obtains described source routing equipment 80 and described source routing equipment 80 does not have the sequencing determined, and the embodiment of the invention is intended to illustrate that described source routing equipment 80 and described down hop routing device need to obtain address mapping relation information each other.
For example, in the ISIS agreement, neighbours set up in the process, and the down hop routing device can obtain first the first address mapping relation information of described source routing equipment 80, and then the processor 82 of source routing equipment 80 just obtains the second address mapping relation information.And in the ospf protocol, source routing equipment 80 enters ExStart state triggering processor 82 and obtains first the IP address of down hop routing device and the second address mapping relation of MAC Address, then source routing equipment 80 is when the ExStart state, described source routing equipment 80 down hop routing devices send Data Description (DD) packet makes the down hop routing device enter the ExStart state, triggers the first address mapping relation information that the down hop routing device obtains described source routing equipment 80.
Described transmitter 81 also is used for directly described network traffics being transmitted to described down hop routing device after finishing neighbours' foundation between described source routing equipment 80 and the described down hop routing device.
After finishing neighbours' foundation between described source routing equipment 80 and the described down hop routing device, described transmitter 81 can directly be transmitted to described down hop routing device according to described the second address mapping relation with described data traffic.And do not need in the picture prior art, described source routing equipment is not stored the relevant entries of described down hop routing device, can't in time described network traffics be transmitted to described down hop routing device.
Optionally, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement, and as shown in Figure 9, described source routing equipment 80 also comprises receiver 83.
The protocol massages that carries the MAC Address of described source routing equipment 80 is specially the first arp reply message.
Described transmitter 81, also be used for before described source routing equipment 80 sends described the first address resolution protocol response message to described down hop routing device, the down hop routing device sends the first neighbours and sets up request message, described the first neighbours set up the IP address that carries described source routing equipment 80 in the request message, so that described down hop routing device sends an ARP request message according to the IP address of described source routing equipment 80 to described source routing equipment 80, ask the mac address information of described source routing equipment 80.
In the ISIS agreement, described the first neighbours set up request message can be hello packet, has carried the IP address information of described source routing equipment 80 in the described hello packet.
After described transmitter 81 is set up request message to the first neighbours of the IP address that carries described source routing equipment 80 that described down hop routing device sends, trigger described down hop routing device and send an ARP request message to described source routing equipment 80, ask the mac address information of described source routing equipment 80.
Described receiver 83 is used for receiving the ARP request message that described down hop routing device sends before described source routing equipment 80 sends described the first arp reply message to described down hop routing device.
Described down hop routing device sends an ARP request message to described source routing equipment 80, described receiver 83 receives the ARP request message that described down hop routing device sends, and then described source routing equipment 80 sends the first arp reply message to described down hop routing device.
Optionally, described source routing equipment and described down hop routing device be based on Intermediate System-to-Intermediate System ISIS agreement, and the second address mapping relation information that described processor 82 obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that receive described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device.
IP address according to described down hop routing device sends described the 2nd ARP request message to described down hop routing device.
Receive the second arp reply message that described down hop routing device sends, described the second arp reply message carries the MAC Address of described down hop routing device, so that described source routing equipment 80 obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
In the ISIS agreement, described the second neighbours set up request message also can be hello packet, and described hello packet has carried the IP address information of described down hop routing device.
After described down hop routing device is set up request message to the second neighbours of the IP address that carries described down hop routing device that described source routing equipment sends, trigger described source routing equipment and send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
After described down hop routing device receives the 2nd ARP request message of described source routing equipment transmission, send the second arp reply message to described source routing equipment 80, carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
Optionally, described source routing equipment 80 and described down hop routing device be during based on ospf protocol, and the second address mapping relation information that described processor 82 obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment 80, send the 2nd ARP request message to described down hop routing device;
Receive the second arp reply message that described down hop routing device sends.
Described transmitter 81 sends the first neighbours to described down hop routing device and sets up request message, and after described down hop routing device was replied the first neighbours and set up response message, described source routing equipment 80 entered the ExStart state.
In ospf protocol, it is hello packet that described the first neighbours set up request message, has carried the IP address information of described source routing equipment in the described hello packet.
In ospf protocol, described source routing equipment enters the ExStart state and triggers the mac address information that described source routing equipment obtains described down hop routing device.
Then described source routing equipment 80 is set up the IP address information of the entrained down hop routing device of response message according to described the first neighbours, send the 2nd ARP request message to described down hop routing device, ask the mac address information of described down hop routing device.
Described down hop routing device sends the second arp reply message to described source routing equipment after receiving the 2nd ARP request message of described source routing equipment transmission, and described source routing equipment receives the second arp reply message that described down hop routing device sends.Carried the mac address information of described down hop routing device in described the second arp reply message.
Certainly, can carry ARP list item or the ND list item of described down hop routing device in described the second arp reply message, described ARP list item or ND list item have been stored the IP address of described down hop routing device and the second address mapping relation information of MAC Address.
Optionally, described source routing equipment and described down hop routing device are based on the ospf ospf protocol, the protocol massages that carries the MAC Address of described source routing equipment 80 is specially the first arp reply message, described source routing equipment 80 sends before described the first arp reply message to described down hop routing device, described transmitter 81, also be used for when described source routing equipment 80 enters the ExStart state, send Data Description (DD) packet to described down hop routing device, so that described down hop routing device sends an ARP request message to described source routing equipment 80.
Described receiver 83 also is used for receiving the ARP request message that described down hop routing device sends.
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment 80, described transmitter 81 sends Data Description (DD) packet to described down hop routing device, described down hop routing device enters first step e xStart state of setting up interaction mode with described source routing equipment after receiving the Data Description (DD) packet of described transmitter 81 transmissions.Because in ospf protocol, after described source routing equipment enters the ExStart state, send Data Description (DD) packet to described down hop routing device, make described down hop routing device enter the ExStart state, trigger the mac address information that described down hop routing device obtains described source routing equipment, institute asks the mac address information of described source routing equipment 80 so that described down hop routing device sends an ARP request message to described source routing equipment 80.
Optionally, the first address mapping relation information for fear of the described down hop routing device of described source routing equipment 80 repeated obtains, described processor 82, also be used for setting up process the neighbours of the router of described source routing equipment and described down hop, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, determines whether store described the second address mapping relation information in the described source routing equipment.
Described transmitter 81, store described the second address mapping relation information if be used for described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, directly described network traffics are transmitted to described down hop routing device.
Optionally, the ARP list item or the ND list item that comprise described source routing equipment in described the first arp reply message;
The ARP list item or the ND list item that comprise described down hop routing device in described the second arp reply message.
The embodiment of the invention provides a kind of source routing equipment, and described source routing equipment comprises transmitter and processor.Wherein, described transmitter sends the protocol massages of the MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first mapping relations information of the MAC Address of the IP address of described source routing equipment and described source routing equipment; Described processor obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device.After finishing neighbours' foundation between described like this source routing equipment and the described down hop routing device, described transmitter directly is transmitted to described network traffics described down hop routing device.
This device is set up the IP address that obtains in the process each other and the mapping relations information of MAC Address neighbours, so that after neighbours' foundation is finished, directly the transmission network flow is given described down hop routing device, thereby has accelerated the forwarding of network traffics, has reduced simultaneously abandoning of network traffics.
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, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (14)

1. the method transmitted of network traffics is characterized in that described method comprises:
Neighbours at source routing equipment and down hop routing device set up in the process, described source routing equipment sends the protocol massages of the medium access control MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the procotol IP address of described source routing equipment and described source routing equipment;
Described source routing equipment obtains the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device;
After finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
2. method according to claim 1 is characterized in that, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message;
Before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device, also comprise:
Described source routing equipment sends the first neighbours to described down hop routing device and sets up request message, described the first neighbours set up the IP address that carries described source routing equipment in the request message, so that described down hop routing device sends the first arp request message according to the IP address of described source routing equipment to described source routing equipment, ask the mac address information of described source routing equipment;
Described source routing equipment receives the first arp request message that described down hop routing device sends.
3. method according to claim 1 and 2 is characterized in that, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement;
The second address mapping relation information that described source routing equipment obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that described source routing equipment receives described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device;
Described source routing equipment sends described the second arp request message according to the IP address of described down hop routing device to described down hop routing device;
Described source routing equipment receives the second address resolution protocol response message that described down hop routing device sends, described the second address resolution response message carries the MAC Address of described down hop routing device, so that described source routing equipment obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
4. method according to claim 1 is characterized in that, described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The second address mapping relation information that described source routing equipment obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment, send the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends.
5. according to claim 1 or 4 described methods, it is characterized in that described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message, before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device, also comprises:
When described source routing equipment enters the ExStart attitude, send the database description Data Description (DD) packet to described down hop routing device, so that described down hop routing device sends the first arp request message to described source routing equipment;
Described source routing equipment receives the first arp request message that described down hop routing device sends.
6. each described method according to claim 1-5, it is characterized in that, neighbours at source routing equipment and down hop routing device set up in the process, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, also comprises:
Described source routing equipment determines whether store described the second address mapping relation information in the described source routing equipment;
If store described the second address mapping relation information in the described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, described source routing equipment directly is transmitted to described network traffics described down hop routing device.
7. method according to claim 6 is characterized in that, comprises ARP list item or the Neighbor Discovery list item of described source routing equipment in described the first address resolution protocol response message;
The ARP list item or the Neighbor Discovery list item that comprise described down hop routing device in described the second address resolution protocol response message.
8. a source routing equipment is characterized in that, described source routing equipment comprises transmitting element, acquiring unit;
Described transmitting element, be used for setting up process the neighbours of described source routing equipment and down hop routing device, send the protocol massages of the medium access control MAC Address that carries described source routing equipment to described down hop routing device, so that described down hop routing device obtains the first address mapping relation information of the MAC Address of the procotol IP address of described source routing equipment and described source routing equipment;
Described acquiring unit is used for obtaining the second address mapping relation information of the MAC Address of the IP address of described down hop routing device and described down hop routing device;
Described transmitting element also is used for directly described network traffics being transmitted to described down hop routing device after finishing neighbours' foundation between described source routing equipment and the described down hop routing device.
9. source routing equipment according to claim 8 is characterized in that, described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement, and described source routing equipment also comprises receiving element;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message;
Described transmitting element, also be used for before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device, send the first neighbours to described down hop routing device and set up request message, described the first neighbours set up the IP address that carries described source routing equipment in the request message, so that described down hop routing device sends the first arp request message according to the IP address of described source routing equipment to described source routing equipment, ask the mac address information of described source routing equipment;
Described receiving element is used for receiving the first arp request message that described down hop routing device sends before described source routing equipment sends described the first address resolution protocol response message to described down hop routing device.
10. according to claim 8 or 9 described source routing equipment, it is characterized in that described source routing equipment and described down hop routing device are based on Intermediate System-to-Intermediate System ISIS agreement;
The second address mapping relation information that described acquiring unit obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
The second neighbours that receive described down hop routing device transmission set up request message, and described the second neighbours set up the IP address that request message carries described down hop routing device;
IP address according to described down hop routing device sends described the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends, described the second address resolution response message carries the MAC Address of described down hop routing device, so that described source routing equipment obtains the second address mapping relation of the MAC Address of the IP address of described down hop routing device and described down hop routing device.
11. source routing equipment according to claim 8 is characterized in that, described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The second address mapping relation information that described acquiring unit obtains the MAC Address of the IP address of described down hop routing device and described down hop routing device specifically comprises:
Enter when setting up first step e xStart state of interaction mode with described down hop routing device at described source routing equipment, send the second arp request message to described down hop routing device;
Receive the second address resolution protocol response message that described down hop routing device sends.
12. according to claim 8 or 9 described source routing equipment, it is characterized in that described source routing equipment and described down hop routing device are based on the ospf ospf protocol;
The protocol massages that carries the MAC Address of described source routing equipment is specially the first address resolution protocol response message, and described source routing equipment sends to described down hop routing device before described the first address resolution protocol response message,
Described transmitting element, also be used for when described source routing equipment enters the ExStart state, send the database description packet Data Description (DD) packet to described down hop routing device, so that described down hop routing device sends the first arp request message to described source routing equipment;
Described receiving element also is used for receiving the first arp request message that described down hop routing device sends.
13. each described source routing equipment is characterized in that according to claim 8-12, described source routing equipment also comprises determining unit;
Described determining unit, be used for setting up process the neighbours of the router of described source routing equipment and described down hop, described down hop routing device obtains described the first address mapping relation information and described source routing equipment obtains before described the second address mapping relation information, determines whether store described the second address mapping relation information in the described source routing equipment;
Described transmitting element, store described the second address mapping relation information if be used for described source routing equipment, after finishing neighbours' foundation between described source routing equipment and the described down hop routing device, directly described network traffics are transmitted to described down hop routing device.
14. source routing equipment according to claim 13 is characterized in that, comprises ARP list item or the Neighbor Discovery list item of described source routing equipment in described the first address resolution protocol response message;
The ARP list item or the Neighbor Discovery list item that comprise described down hop routing device in described the second address resolution protocol response message.
CN2012104438957A 2012-11-08 2012-11-08 Network traffic forwarding method and source routing equipment Pending CN102916894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104438957A CN102916894A (en) 2012-11-08 2012-11-08 Network traffic forwarding method and source routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104438957A CN102916894A (en) 2012-11-08 2012-11-08 Network traffic forwarding method and source routing equipment

Publications (1)

Publication Number Publication Date
CN102916894A true CN102916894A (en) 2013-02-06

Family

ID=47615130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104438957A Pending CN102916894A (en) 2012-11-08 2012-11-08 Network traffic forwarding method and source routing equipment

Country Status (1)

Country Link
CN (1) CN102916894A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929357A (en) * 2013-01-11 2014-07-16 浙江大华技术股份有限公司 Data transmission method and network equipment
CN106105130A (en) * 2013-12-20 2016-11-09 华为技术有限公司 Carry the source routing of entropy head

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856967A (en) * 2003-09-18 2006-11-01 联想(新加坡)私人有限公司 Automatic switching of setting associated with network
CN102158407A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Address resolution protocol (ARP) table entry configuration method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856967A (en) * 2003-09-18 2006-11-01 联想(新加坡)私人有限公司 Automatic switching of setting associated with network
CN102158407A (en) * 2011-03-31 2011-08-17 华为技术有限公司 Address resolution protocol (ARP) table entry configuration method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929357A (en) * 2013-01-11 2014-07-16 浙江大华技术股份有限公司 Data transmission method and network equipment
CN106105130A (en) * 2013-12-20 2016-11-09 华为技术有限公司 Carry the source routing of entropy head
CN106105130B (en) * 2013-12-20 2019-04-19 华为技术有限公司 It is a kind of to provide the method and apparatus of entropy source in the routing of source

Similar Documents

Publication Publication Date Title
KR20040000633A (en) Apparatus and method for searching DNS server on outer net
EP3110087B1 (en) Processing method and related device for host route in virtual sub-network, and communication system
CN102035745B (en) Policy routing realizing method, device and network equipment
CN101800742B (en) Method for updating and processing upstream information of routing device, routing devices and network system
TWI599201B (en) Network system and method for establishing data connection
US9614749B2 (en) Data processing system and method for changing a transmission table
CN103312571A (en) Method and device for finding equipment
EP3806404A1 (en) Communication method, device and system for avoiding loop
CN104618243A (en) Routing method, device and system, and gateway scheduling method and device
CN104580025A (en) Method for establishing in-band connection in open flow network and switch
CN103117930A (en) Method and device for detecting static route configuration
CN102025522A (en) Method for realizing multicast between different IP domains and boundary gateway router
JP2020521388A (en) Packet transmission method and apparatus
CN102143164A (en) Message relaying method, message relaying device and base station
CN103037361A (en) Internet protocol (IP) distribution system in wireless Mesh network based on Ad-hoc and IP distribution method in the wireless Mesh network based on the Ad-hoc
EP2439876A1 (en) Method and device for requesting multicasting, processing multicasting requests and assisting in the aforementioned process
CN102025797A (en) Address prefix processing method, device, system and network equipment
CN102916894A (en) Network traffic forwarding method and source routing equipment
JP2007181056A (en) Path selection method
CN111556179B (en) ARP (Address resolution protocol) table entry updating method and device
CN114430391A (en) Method, network system, device and storage medium for creating network domain
CN103701952A (en) Downlink transmission method of business data and grouped data gateway
JP2018061148A (en) Communication device, relay device, communication system, and communication method
CN114448789A (en) Node control method, network system, device and storage medium
CN108632198B (en) Equipment management 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130206