CN102209034A - Layer 2 path maximum transmission unit discovery method and node - Google Patents

Layer 2 path maximum transmission unit discovery method and node Download PDF

Info

Publication number
CN102209034A
CN102209034A CN2011101353327A CN201110135332A CN102209034A CN 102209034 A CN102209034 A CN 102209034A CN 2011101353327 A CN2011101353327 A CN 2011101353327A CN 201110135332 A CN201110135332 A CN 201110135332A CN 102209034 A CN102209034 A CN 102209034A
Authority
CN
China
Prior art keywords
pmtu
message
layers
mac
mtu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101353327A
Other languages
Chinese (zh)
Other versions
CN102209034B (en
Inventor
李洪涛
吴涛
于海燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110135332.7A priority Critical patent/CN102209034B/en
Publication of CN102209034A publication Critical patent/CN102209034A/en
Priority to PCT/CN2012/071023 priority patent/WO2012159461A1/en
Application granted granted Critical
Publication of CN102209034B publication Critical patent/CN102209034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Landscapes

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

Abstract

The invention provides a layer 2 path maximum transmission unit discovery method, which comprises that: a source node transmits a linktrace message to target media access control (MAC), and establishes a layer 2 path maximum transmission unit (PMTU) of which an initial value is an output interface MTU value of the source node; when receiving the linktrace message, intermediate nodes forward the message, return linktrace reply messages to the source node, and carry the output interface MTU values; and when receiving the linktrace reply messages returned by each intermediate node, the source node determines the layer 2 PMTU from the source node to the target MAC according to the output interface MTU values carried in the linktrace reply messages. The invention also provides a node. By the method and the node, an Ethernet operation, administration and maintenance protocol is effectively supplemented, and the operational reliability and maintainability of the Ethernet are improved.

Description

A kind of two layers of PMTU discover method and node
Technical field
The present invention relates to data communication field, particularly two layers of PMTU (Path Maximum Transmission Unit, discover method PMTU) and node.
Background technology
On the network equipment, each interface all have a MTU (Maximum Transmission Unit, MTU), when just message sends out from this interface, if message length greater than the MTU of this interface, message will send failure.In network, carry out always having some messages because length greater than the MTU that transfers interface, causes packet loss, retransmission failure in the message forwarding.Original this problem is not obvious in the time performance of two layers of forwarding, now along with development of technology, the data cell that can transmit on the network is increasing, particularly adopt in the environment of the network node of new hardware technology and the network node hybrid junction that adopts old hardware technology at some, just performance is more outstanding.Such as old Ethernet, maximum can be transmitted the message of 1526 bytes, can transmit the message of 9k size now.
At this problem, the notion of PMTU has been proposed at the IP layer at present.So-called PMTU is exactly the IP packet when the source end sends, and length of data package must be less than the MTU of entire path, like this message pass through intermediate node the time just without burst, improved the message forward efficiency of the network equipment.The realization principle of PMTU as shown in Figure 1, when message sends from source node, MTU burst (route default mtu value is exactly the MTU of outgoing interface) according to route, when intermediate node is transmitted, if find that outgoing interface MTU is littler than message length, dropping packets then, and send ICMP (the Internet Internet Control Message Protocol) error message that bag is excessive to source node, carry out the MTU value of interface.After source node was received the excessive message of bag, if there is no the address of host route of clauses and subclauses was created a main frame route with the destination address of giving out a contract for a project, and the MTU value of route is exactly the MTU value of carrying in the message; There is such route, just directly revises the MTU value of route.Takes turns alternately through several, just may learn the minimum MTU of entire path, promptly PMTU when transmitting messages literary composition again, will carry out burst according to PMTU next time, has guaranteed intermediate node burst not as far as possible, to improve the message forward efficiency.
Two layers forwarding environment more complicated, transmission link has multiple, ether, POS (Packet over SONET/SDH are arranged, packet data package on synchronous optical network/SDH (Synchronous Digital Hierarchy)), ATM (Asynchronous Transfer Mode, asynchronous transfer mode) etc., POS link, atm link transmit insensitive for interface mtu in fact, so the present invention mainly is applicable to Ethernet link.If source node is given out a contract for a project according to 1526 MTU of old hardware in the Ethernet link, and hardware bandwidth has then been wasted in the bigger MTU transmission of physical link support, has reduced actual data forwarding efficient; If according to new MTU transmission, might cause two layer message to be transmitted because MTU problem and packet loss.
Problem mainly as shown in Figure 2 at present, in the message transmission procedure, if through two layers of switched environment, as L2 VPN (Layer 2 Virtual Private Network, two-layer virtual private network) tunnel etc., because these equipment can not handled the message of its transparent transmission, so the three layers of IP message that source node sends out is when carrying out the forwarding of L2VPN tunnel, if message length is greater than the MTU of outgoing interface, just can not continue to transmit by burst for the IPv4 message, can not trigger path mtu study; Can not trigger path mtu study for the IPv6 message; For two-layer protocol message, message is not transmitted yet.Message will be dropped, and also can not respond any error message to source node.Under this situation, what message did not stop is dropped, and causes actual forwarding obstructed, but the source node perception also sends message, the difficult location of network failure less than this point endlessly.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of two layers of PMTU discover method and node, avoids in two layers of repeating process of message because the too little packet loss of outgoing interface MTU.
In order to address the above problem, the invention provides a kind of two layers of PMTU discover method, comprising:
Source node sends to the link trace message packet of target medium access control (MAC), sets up the two layer PMTU (PMTU) of described source node to described Destination MAC, and its initial value is source node outgoing interface MTU (MTU) value;
When intermediate node receives described link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message and give described source node, and described link trace is replied in the message and carried out the interface mtu value;
Described source node receives link trace that each intermediate node returns when replying message, replys the outgoing interface MTU value of carrying in the message according to described link trace and determines that described source node arrives two layers of PMTU of described Destination MAC.
Further, said method also can have following characteristics, carry described outgoing interface MTU value in the following way: described link trace is replied message increases by a MTU option, carries described outgoing interface MTU value by described MTU option, and described MTU option is type length data (TLV) structure.
Further, said method also can have following characteristics, and described source node is replied the outgoing interface MTU value of carrying in the message according to described link trace and determined that described source node comprises to two layers of PMTU of described Destination MAC:
Described source node receives after link trace that described intermediate node returns replys message, take out the MTU value in the described link trace answer message, search two layers of corresponding PMTU, when the MTU of described taking-up value during less than described two layers of PMTU, MTU value with described taking-up is replaced described two layers of PMTU, otherwise does not handle.
Further, said method also can have following characteristics, described method also comprises, when the node of described Destination MAC correspondence receives the link trace message packet of intermediate node forwarding, return link is followed the tracks of and is replied message to described source node, it is a designated value that described link trace is replied the MTU value of carrying in the message, this designated value is different from normal MTU value, described source node receives described link trace when replying message, if it is described designated value that described link trace is replied the MTU value of carrying in the message, then ignores this link trace and reply message.
Further, said method also can have following characteristics, the newly-increased described two layers of PMTU of MAC entry record that described source node uses MAC to transmit, and the aging described two layers of PMTU of aging mechanism that transmit according to described MAC.
Further, said method also can have following characteristics, when described source node sends the IP message, described two layers of PMTU are converted to three layers of PMTU after, according to described three layers of PMTU transmission that packages;
Describedly three layers of PMTU be converted to three layers of PMTU comprise:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU.
The present invention also provides a kind of node, comprising: ether operation management maintain module, MAC administration module and transmitting-receiving bag module, wherein:
Described ether operation management maintain module is used for: during as source node, produce the link trace message packet that sends to target medium access control (MAC) at described node, send to transmitting-receiving bag module; And, handle the link trace answer message that transmitting-receiving bag module receives, take out described link trace and reply the outgoing interface MTU value of carrying in the message, send to the MAC administration module;
Described MAC administration module is used for: set up the two layer PMTU (PMTU) of described source node to described Destination MAC, its initial value is source node outgoing interface MTU (MTU) value; And, determine the two layer PMTU (PMTU) of described node according to each the outgoing interface MTU value that receives from described ether operation management maintain module to described Destination MAC;
Described transmitting-receiving bag module is used for: link trace message packet to be sent encapsulated the back sends, and, receive the link trace answer message that intermediate node returns, carry out sending to described ether operation management maintain module after the decapsulation.
Further, above-mentioned node also can have following characteristics, and described MAC administration module is to be used for:
According to the MTU value in the described link trace answer message, search two layers of corresponding PMTU, when described link trace is replied MTU value in the message less than described two layers of PMTU,, otherwise do not handle with the described two layers of PMTU of MTU value replacement in the described link trace answer message.
Further, above-mentioned node also can have following characteristics, the newly-increased described two layers of PMTU of MAC entry record that described MAC administration module also is used to use MAC to transmit, and the aging described two layers of PMTU of aging mechanism that transmit according to described MAC.
Further, above-mentioned node also can have following characteristics, and described MAC administration module also is used for: with described three layers of PMTU are converted to three layers of PMTU according to following mode:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU;
Described transmitting-receiving bag module is used for: the described three layers of PMTU that are converted to according to described two layers of PMTU package and send the IP message.
Further, above-mentioned node also can have following characteristics, described transmitting-receiving bag module also is used for: when described node is intermediate node, when receiving the link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message to source node, and described link trace is replied the MTU value that carries out interface in the message.
The present invention has carried out effectively replenishing to the Ethernet OAM agreement, has improved the reliability and maintainability of ether Operation Network, has guaranteed intermediate node no matter be two layers of switched environment or three exchange environment, packet loss not.
Description of drawings
Fig. 1 is the path mtu discovery schematic diagram;
Fig. 2 is present two layers and transmits the existing problems schematic diagram;
Fig. 3 is the inventive method schematic diagram;
Fig. 4 is that source node is received LTR message process chart;
Fig. 5 is MTU option figure;
Fig. 6 is the IP message transmission flow figure through two layers of environment;
Fig. 7 is a node structure block diagram of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment among the application and the feature among the embodiment be combination in any mutually.
The present invention is by means of ether OAM (Operation Administration and Maintenance, operation management maintain) LTM (Linktrace Message in, link trace message) message and LTR (Linktrace Reply, link trace is replied) message is realized.
The invention provides a kind of two layers of PMTU discover method, comprising:
Source node sends to the link trace message packet of target medium access control (MAC), sets up the two layer PMTU of described source node to described Destination MAC, and its initial value is described source node outgoing interface MTU value;
When intermediate node receives described link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message and give described source node, and described link trace is replied in the message and carried out the interface mtu value;
Described source node receives link trace that each intermediate node returns when replying message, replys the outgoing interface MTU value of carrying in the message according to described link trace and determines that described source node arrives two layers of PMTU of described Destination MAC.
Wherein, described link trace is replied message increases by a MTU option, carries described outgoing interface MTU value by described MTU option, and described MTU option is type length data (TLV) structure.Form of MTU option as shown in Figure 5, the type of 1 byte, the length of 2 bytes, 5 bytes of back are preserved data (MTU value), in order to align the 4th byte reservation.
Wherein, described source node determines that according to the outgoing interface MTU value of carrying in the described link trace answer message described source node comprises to two layers of PMTU of described Destination MAC:
Described source node receives after link trace that described intermediate node returns replys message, take out the MTU value in the described link trace answer message, search two layers of corresponding PMTU, when the MTU of described taking-up value less than described two layers of PMTU, then replace described two layers of PMTU, otherwise do not handle with the MTU value of described taking-up.
Wherein, described method also comprises, when the node of described Destination MAC correspondence receives the link trace message packet of intermediate node forwarding, return link is followed the tracks of and is replied message to described source node, described link trace is replied and carried MTU value in the message is a designated value, and this designated value is different from normal MTU value, when described source node receives described link trace answer message, if it is described designated value that described link trace is replied the MTU value of carrying in the message, then ignores this link trace and reply message.
Wherein, the newly-increased described two layers of PMTU of MAC entry record that described source node uses MAC to transmit consider that two layers of MTU and physical property relation is tightr, and two layers of PMTU are not aging separately, the attribute that two layers of PMTU transmit as MAC, aging together with the MAC clauses and subclauses.The MTU option adopts TLV (Type, Length, Value, type, length, numerical value) structure, and type is got one from the TLV Retention Type of present ether OAM, such as being 8, can get other retentions as required.Can show in user interface and transmit two layers of PMTU by MAC.Certainly, if desired, two layers of PMTU also can wear out separately.
Wherein, when described source node sends two-layer protocol message, according to described two layers of PMTU transmission that packages; When described source node sends the IP message, described two layers of PMTU are converted to three layers of PMTU after, according to described three layers of PMTU transmission that packages.
Wherein, describedly three layers of PMTU be converted to three layers of PMTU comprise:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU.
Further specify the present invention below by a specific embodiment.
Two layers of PMTU discover method provided by the invention may further comprise the steps:
Step 1: source node configuration ether OAM order, send LTM message at Destination MAC, be established to two layers of PMTU of Destination MAC, the initial value of these two layers of PMTU is a source node outgoing interface MTU value.Wherein, MAC clauses and subclauses transmitting as MAC of these two layers of PMTU.
The LTM message carries information such as ttl value, Destination MAC.
Step 2: intermediate node returns a LTR message that carries the MTU option of redetermination when transmitting the LTM message, carry out the MTU value of interface in this MTU option.
Step 3: source node is received the LTR message, and analytic message takes out Destination MAC and MTU.
Step 4: source node is according to the result who resolves the LTR message, find MAC to transmit middle corresponding MAC clauses and subclauses, relatively return the MTU value of LTR message the inside and two layers of PMTU value of MAC clauses and subclauses the inside, if the MTU in the LTR message does not then process more than or equal to two layers of PMTU of MAC clauses and subclauses; If less than two layers of PMTU of MAC clauses and subclauses, then replace two layers of PMTU of MAC clauses and subclauses, as two layers of new PMTU result with the MTU in the LTR message.
Step 5: when source node sends two-layer protocol message, send according to two layers of PMTU size groups bag; When sending the IP message, the value according to two layers of PMTU produces three layers of PMTU earlier, sends the IP message according to three layers of PMTU burst then.
As shown in Figure 3, comprising:
Source node sends the LTM message at the MAC that will learn.The LTM message carries information such as ttl value, Destination MAC.Newly-increased two layers of PMTU of a MAC entry record during MAC transmits, default value is the MTU of outgoing interface, if carried out two layers of PMTU study follow-up, the PMTU value that arrives of recording learning then.
Message has arrived first forward node, TTL subtracts one, forward node continues to E-Packet according to Destination MAC, return a LTR message to source node simultaneously, the ttl value that ttl value equals to E-Packet, Destination MAC is the source MAC that carries in the LTM message, message also will carry the MTU option of an outgoing interface, the MTU value of record outgoing interface is (for the two-layer VPN tunnel, this outgoing interface MTU is the MTU of tunnel outgoing interface, just physics outgoing interface MTU deducts two layers of head length degree of outer ether), follow-up other forward node are handled with first similar.
The MTU value of carrying MTU option the inside in the LTR message that Destination MAC place node returns is a designated value, and this designated value is different from normal MTU value, such as 0 or 0xffffffff etc., represents that this value is meaningless, ignores it after source node is received.Also can not carry the MTU option in the LTR message that Destination MAC place node returns; Perhaps, carry an indication information, indicating this LTR message is the LTR message that destination node returns.
After source node is received the LTR message, parse the MTU option content of LTR message, transmit, judge MTU in the LTR message existing MTU of MAC clauses and subclauses in whether transmitting less than MAC according to the information searching MAC such as source MAC of LTR message, less than then replacing existing MTU, more than or equal to not handling; As shown in Figure 4.Through such message interaction process, source node has just been learnt two layers of PMTU of Destination MAC.
Learn after two layers of PMTU, when sending message, for two-layer protocol message, MAC transmits according to the Destination MAC information searching, gives out a contract for a project according to the size of two layers of PMTU that find; For the IP message, need earlier two layers of PMTU to be converted to three layers of PMTU, and then send according to three layers of PMTU burst.The conversion method of two layers of PMTU to three layer of PMTU is as follows: search the forwarding route according to the destination address of IP message earlier, find outgoing interface and next jumping, according to these two information searching ARP (address resolution protocol) clauses and subclauses, find arp entry, take out the next-hop mac address that arp entry is preserved, remove to search MAC with this MAC then and transmit, take out the value of two layers of PMTU, deduct Layer 2 data frame package length,, and this PMTU is recorded in the forwarding route entry as three layers of PMTU.
The source node and the destination node of two layers of PMTU study all must be to have the conversion that three layer functions could be supported two layers of PMTU to three layer of PMTU.Need can in two layers of environment, carry out two layers of PMTU study earlier through two layers of switched environment if the IP message sends, and then the source node of study is converted to three layers of PMTU to two layers of PMTU and re-uses.
As shown in Figure 6, the IP message, is directly given out a contract for a project according to three layers of PMTU burst after the conversion if the IP message is given out a contract for a project from two layers of PMTU study source node R1 through two layers of switched environment; Give out a contract for a project from the three-layer equipment R0 of two layers of PMTU study source node front, message is according to the outgoing interface burst of R0, arrived R1, search routing iinformation, find three layers of PMTU information of two layers of PMTU conversion, find that message length is greater than three layers of PMTU, then R1 returns an excessive message of bag to R0, message carries the MTU information of these three layers of PMTU, after R0 receives this message, the MTU information of carrying according to message produces a PMTU route, gives out a contract for a project once more and just gives out a contract for a project according to this PMTU, in fact whole two layers of PMTU study link has been used as three layers of forward node here.
The present invention also provides a kind of node, as shown in Figure 7, comprising: ether operation management maintain module, MAC administration module and transmitting-receiving bag module, wherein:
Described ether operation management maintain module is used for: during as source node, produce the link trace message packet that sends to target medium access control (MAC) at described node, send to transmitting-receiving bag module; And, handle the link trace answer message that transmitting-receiving bag module receives, take out described link trace and reply the outgoing interface MTU value of carrying in the message, send to the MAC administration module;
Described MAC administration module is used for: set up the two layer PMTU (PMTU) of described source node to described Destination MAC, its initial value is source node outgoing interface MTU (MTU) value; And, determine the two layer PMTU (PMTU) of described node according to each the outgoing interface MTU value that receives from described ether operation management maintain module to described Destination MAC;
Described transmitting-receiving bag module is used for: link trace message packet to be sent encapsulated the back sends, and, receive the link trace answer message that intermediate node returns, carry out sending to ether operation management maintain module after the decapsulation.
Wherein, described MAC administration module is to be used for:
According to the MTU value in the described link trace answer message, search two layers of corresponding PMTU, MTU value in described link trace answer message is less than described two layers of PMTU, and then the MTU value of replying in the message with described link trace is replaced described two layers of PMTU, otherwise does not handle.
Wherein, the newly-increased described two layers of PMTU of MAC entry record that described MAC administration module also is used to use MAC to transmit, and the aging described two layers of PMTU of aging mechanism that transmit according to described MAC.
Wherein, described MAC administration module also is used for: with described three layers of PMTU are converted to three layers of PMTU according to following mode:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU;
Described transmitting-receiving bag module is used for: the described three layers of PMTU that are converted to according to described two layers of PMTU package and send the IP message.
Wherein, described transmitting-receiving bag module also is used for: when described node is intermediate node, when receiving the link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message to source node, and described link trace is replied the MTU value that carries out interface in the message.
The present invention has carried out effectively replenishing to the Ethernet OAM agreement, has improved the reliability and maintainability of ether Operation Network, has guaranteed intermediate node no matter be two layers of switched environment or three exchange environment, packet loss not.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.

Claims (11)

1. two layers of PMTU discover method is characterized in that, comprising:
Source node sends to the link trace message packet of target medium access control (MAC), sets up the two layer PMTU (PMTU) of described source node to described Destination MAC, and its initial value is source node outgoing interface MTU (MTU) value;
When intermediate node receives described link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message and give described source node, and described link trace is replied in the message and carried out the interface mtu value;
Described source node receives link trace that each intermediate node returns when replying message, replys the outgoing interface MTU value of carrying in the message according to described link trace and determines that described source node arrives two layers of PMTU of described Destination MAC.
2. the method for claim 1, it is characterized in that, carry described outgoing interface MTU value in the following way: described link trace is replied message increases by a MTU option, carries described outgoing interface MTU value by described MTU option, and described MTU option is type length data (TLV) structure.
3. the method for claim 1 is characterized in that, described source node is replied the outgoing interface MTU value of carrying in the message according to described link trace and determined that described source node comprises to two layers of PMTU of described Destination MAC:
Described source node receives after link trace that described intermediate node returns replys message, take out the MTU value in the described link trace answer message, search two layers of corresponding PMTU, when the MTU of described taking-up value during less than described two layers of PMTU, MTU value with described taking-up is replaced described two layers of PMTU, otherwise does not handle.
4. the method for claim 1, it is characterized in that, described method also comprises, when the node of described Destination MAC correspondence receives the link trace message packet of intermediate node forwarding, return link is followed the tracks of and is replied message to described source node, it is a designated value that described link trace is replied the MTU value of carrying in the message, this designated value is different from normal MTU value, described source node receives described link trace when replying message, if it is described designated value that described link trace is replied the MTU value of carrying in the message, then ignores this link trace and reply message.
5. the method for claim 1 is characterized in that, the newly-increased described two layers of PMTU of MAC entry record that described source node uses MAC to transmit, and the aging described two layers of PMTU of aging mechanism that transmit according to described MAC.
6. as the arbitrary described method of claim 1 to 5, it is characterized in that, when described source node sends the IP message, described two layers of PMTU are converted to three layers of PMTU after, according to described three layers of PMTU transmission that packages;
Describedly three layers of PMTU be converted to three layers of PMTU comprise:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU.
7. a node is characterized in that, comprising: ether operation management maintain module, MAC administration module and transmitting-receiving bag module, wherein:
Described ether operation management maintain module is used for: during as source node, produce the link trace message packet that sends to target medium access control (MAC) at described node, send to transmitting-receiving bag module; And, handle the link trace answer message that transmitting-receiving bag module receives, take out described link trace and reply the outgoing interface MTU value of carrying in the message, send to the MAC administration module;
Described MAC administration module is used for: set up the two layer PMTU (PMTU) of described source node to described Destination MAC, its initial value is source node outgoing interface MTU (MTU) value; And, determine the two layer PMTU (PMTU) of described node according to each the outgoing interface MTU value that receives from described ether operation management maintain module to described Destination MAC;
Described transmitting-receiving bag module is used for: link trace message packet to be sent encapsulated the back sends, and, receive the link trace answer message that intermediate node returns, carry out sending to described ether operation management maintain module after the decapsulation.
8. node as claimed in claim 7 is characterized in that, described MAC administration module is to be used for:
According to the MTU value in the described link trace answer message, search two layers of corresponding PMTU, when described link trace is replied MTU value in the message less than described two layers of PMTU,, otherwise do not handle with the described two layers of PMTU of MTU value replacement in the described link trace answer message.
9. node as claimed in claim 7 is characterized in that, the newly-increased described two layers of PMTU of MAC entry record that described MAC administration module also is used to use MAC to transmit, and the aging described two layers of PMTU of aging mechanism that transmit according to described MAC.
10. as the arbitrary described node of claim 7 to 9, it is characterized in that,
Described MAC administration module also is used for: with described three layers of PMTU are converted to three layers of PMTU according to following mode:
Search the forwarding route according to the destination address of described IP message, find outgoing interface and next jumping, search the address resolution protocol clauses and subclauses according to described outgoing interface and next jumping, take out the next-hop mac address that the address resolution clauses and subclauses are preserved, search two layers of corresponding PMTU according to this next-hop mac address, two layers of PMTU that find are deducted Layer 2 data frame package length, as three layers of PMTU;
Described transmitting-receiving bag module is used for: the described three layers of PMTU that are converted to according to described two layers of PMTU package and send the IP message.
11. as the arbitrary described node of claim 7 to 9, it is characterized in that, described transmitting-receiving bag module also is used for: when described node is intermediate node, when receiving the link trace message packet, transmit described link trace message packet, return link is followed the tracks of and is replied message to source node, and described link trace is replied the MTU value that carries out interface in the message.
CN201110135332.7A 2011-05-24 2011-05-24 A kind of two layers of PMTU find method and node Active CN102209034B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110135332.7A CN102209034B (en) 2011-05-24 2011-05-24 A kind of two layers of PMTU find method and node
PCT/CN2012/071023 WO2012159461A1 (en) 2011-05-24 2012-02-10 Layer-2 path maximum transmission unit discovery method and node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110135332.7A CN102209034B (en) 2011-05-24 2011-05-24 A kind of two layers of PMTU find method and node

Publications (2)

Publication Number Publication Date
CN102209034A true CN102209034A (en) 2011-10-05
CN102209034B CN102209034B (en) 2018-02-16

Family

ID=44697703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110135332.7A Active CN102209034B (en) 2011-05-24 2011-05-24 A kind of two layers of PMTU find method and node

Country Status (2)

Country Link
CN (1) CN102209034B (en)
WO (1) WO2012159461A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159461A1 (en) * 2011-05-24 2012-11-29 中兴通讯股份有限公司 Layer-2 path maximum transmission unit discovery method and node
CN103944832A (en) * 2014-04-18 2014-07-23 杭州华三通信技术有限公司 PMTU value determining method, device and system
CN105099937A (en) * 2015-06-17 2015-11-25 杭州华三通信技术有限公司 Method and equipment for determining PMTU
CN109219944A (en) * 2016-06-24 2019-01-15 华为技术有限公司 System and method for reducing MTU size in packet network
CN110351197A (en) * 2018-04-04 2019-10-18 华为技术有限公司 Data transmission method and relevant apparatus
CN113660167A (en) * 2021-09-18 2021-11-16 中国电信股份有限公司 Method, device and storage medium for preventing invalid message forwarding

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134271B (en) * 2021-03-22 2023-07-25 湖南智领通信科技有限公司 Fault detection method and device for IP transparent transmission ad hoc network and computer equipment
CN115314555B (en) * 2021-05-06 2024-06-11 腾讯科技(深圳)有限公司 Method and related device for determining data slicing based on data transmission

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262088C (en) * 2002-07-09 2006-06-28 株式会社Ntt都科摩 Package communication system and path MTU finding-out method
CN1909503A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for detecting maximal transmission unit of path

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100506529B1 (en) * 2003-08-06 2005-08-03 삼성전자주식회사 Apparatus, system and method for path mtu discovery in data communication network
CN100505673C (en) * 2006-09-15 2009-06-24 华为数字技术有限公司 Method and system for detecting path maximal transmission unit
CN102209034B (en) * 2011-05-24 2018-02-16 中兴通讯股份有限公司 A kind of two layers of PMTU find method and node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1262088C (en) * 2002-07-09 2006-06-28 株式会社Ntt都科摩 Package communication system and path MTU finding-out method
CN1909503A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for detecting maximal transmission unit of path
CN100459576C (en) * 2005-08-05 2009-02-04 华为技术有限公司 Method for detecting maximal transmission unit of path

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159461A1 (en) * 2011-05-24 2012-11-29 中兴通讯股份有限公司 Layer-2 path maximum transmission unit discovery method and node
CN103944832A (en) * 2014-04-18 2014-07-23 杭州华三通信技术有限公司 PMTU value determining method, device and system
CN103944832B (en) * 2014-04-18 2018-05-15 新华三技术有限公司 A kind of definite method, apparatus and system of PMTU values
CN105099937A (en) * 2015-06-17 2015-11-25 杭州华三通信技术有限公司 Method and equipment for determining PMTU
CN105099937B (en) * 2015-06-17 2018-10-26 新华三技术有限公司 A kind of determination method and apparatus of PMTU
CN109219944A (en) * 2016-06-24 2019-01-15 华为技术有限公司 System and method for reducing MTU size in packet network
CN109219944B (en) * 2016-06-24 2020-08-14 华为技术有限公司 System and method for reducing MTU size in packet networks
CN110351197A (en) * 2018-04-04 2019-10-18 华为技术有限公司 Data transmission method and relevant apparatus
CN113660167A (en) * 2021-09-18 2021-11-16 中国电信股份有限公司 Method, device and storage medium for preventing invalid message forwarding

Also Published As

Publication number Publication date
CN102209034B (en) 2018-02-16
WO2012159461A1 (en) 2012-11-29

Similar Documents

Publication Publication Date Title
CN102209034A (en) Layer 2 path maximum transmission unit discovery method and node
CN1625176B (en) Realization method of edge to edge pseudo-line simulation protocol
US7619987B2 (en) Node device
EP2577911B1 (en) Communication available transport network bandwidth to l2 ethernet nodes
US7634582B2 (en) Method and architecture for optical networking between server and storage area networks
CN100571202C (en) A kind of transfer approach and transfer system that carries the data of routing iinformation
JP4933542B2 (en) How to extend the physical reach of an InfiniBand network
US8681805B2 (en) Method, device and system for interconnecting a multi-protocol label switching network and an ethernet
EP2341661B1 (en) Neighbour discovery for ethernet private line on user network interfaces
CN100563215C (en) A kind of packet routing switch device and method thereof
MXPA05011310A (en) Embedded management channel for sonet path terminating equipment connectivity.
CN112583718B (en) SRv6 message transmission method, system, equipment and medium in SRoU scene
US7213178B1 (en) Method and system for transporting faults across a network
CN106302166A (en) A kind of data transmission method and device
CN115665272A (en) IPv6 over AOS space communication system based on NDP protocol
US8767736B2 (en) Communication device, communication method, and recording medium for recording communication program
CN101453412A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN113438182A (en) Flow control system and flow control method based on credit
CN102714612A (en) Increasing the real-time capability of Ethernet networks
CN100563241C (en) The method that a kind of network transition inserts
CN111786718A (en) Satellite optical network management and control plane signaling transmission method based on AoS insertion service
CN114629843A (en) Message processing method and device
KR101038811B1 (en) Method of connection-oriented and connectionless transferring frame by using dynamic address combining technology in interconnected bridge network
JP5853758B2 (en) Communication apparatus and bandwidth control method
Sheeshia et al. Supporting Ethernet in optical-burst-switched networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant