CN101635685A - Method and device for acquiring PMTU by learning - Google Patents

Method and device for acquiring PMTU by learning Download PDF

Info

Publication number
CN101635685A
CN101635685A CN200910168214A CN200910168214A CN101635685A CN 101635685 A CN101635685 A CN 101635685A CN 200910168214 A CN200910168214 A CN 200910168214A CN 200910168214 A CN200910168214 A CN 200910168214A CN 101635685 A CN101635685 A CN 101635685A
Authority
CN
China
Prior art keywords
pmtu
message
link
gateway device
destination
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
CN200910168214A
Other languages
Chinese (zh)
Other versions
CN101635685B (en
Inventor
崔晓会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009101682149A priority Critical patent/CN101635685B/en
Publication of CN101635685A publication Critical patent/CN101635685A/en
Application granted granted Critical
Publication of CN101635685B publication Critical patent/CN101635685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for acquiring a PMTU by learning, which is applied to an IPv6 network comprising source end equipment, destination end equipment, gateway equipment and at least one forwarding link. The method comprises the following steps: the gateway equipment acquires a PMTU sent to a message forwarding link of the destination end equipment and establishes a PMTU list item which comprises the forwarding link and corresponds to the PMTU. The method improves the access speed of the IPv6 and reduces the unnecessary flow of the network.

Description

A kind of method of acquiring PMTU by learning and device
Technical field
The present invention relates to communication technical field, relate in particular to the method and the device of a kind of acquiring PMTU by learning (Path MTU, path mtu).
Background technology
In the IPv6 Network Transmission, in order to strengthen forward efficiency, do not allow forwarding unit that message is carried out burst, message size can only be determined by source end equipment.According to the RFC1981 agreement, when forwarding unit E-Packets, if message length surpasses MTU (the Maximum Transmission Unit of transmission interface, MTU) value, this message can be dropped, and no longer transmits, and forwarding unit can be to source end device replied ICMP (Internet Control Messages Protocol simultaneously, ICMP) wraps the super large message, contain the MTU value of this forwarding unit transmission interface in this message.When source end equipment is received from the ICMP bag super large message of forwarding unit, can change the size that sends message, resend according to the MTU value of carrying in the message.Before source end equipment and destination equipment were finished big packet communication, the largest unit length that needs the transmission of hop-by-hop detection network to allow was promptly learnt path P MTU like this.
The PMTU learning process comprises as shown in Figure 1:
Step 101, source end equipment sends message to forwarding unit A, as the message length foundation, sets up the PMTU list item with the MTU value on the end equipment outgoing interface of source (for example 3000 bytes), and this message length is 3000 bytes;
Step 102, forwarding unit A receives that the length from source end equipment is the message of 3000 bytes, when preparation is transmitted, find that the MTU value that forwarding unit A outgoing interface allows is 2000 bytes, less than length to be E-Packeted, then with this packet loss, forwarding unit A is to source end device replied bag super large message, and the MTU that tells source end device forwards device A to allow is 2000;
Step 103, source end equipment are received the bag super large message from forwarding unit A, revise the PMTU list item of source end equipment, resend message, and message length is 2000;
Step 104, forwarding unit A will be 2000 message from source end device length, successfully be forwarded to forwarding unit B, the MTU of the outgoing interface of forwarding unit B is 3000 bytes, greater than 2000 bytes, then can success finish forwarding, with text delivery to destination equipment.
Study to the PMTU list item at present needs hop-by-hop to survey, suppose that the MTU value hop-by-hop that the forwarding unit outgoing interface allows in the conversion link successively decreases, as shown in Figure 2, then end equipment in source needs constantly to revise own PMTU list item and just can finish PMTU and learn, just can with the destination devices communicating; And pace of learning is slow, and the learning outcome great majority are recorded on the client computer (source end equipment), and forwarding unit does not carry out record, can not share the PMTU list item between the client computer yet, cause message such in the network many, increased network traffics, wasted the network bandwidth.
Summary of the invention
The invention provides a kind of method and device of acquiring PMTU by learning, carry out the PMTU study of conversion link by gateway device, learning outcome is realized sharing in whole local area network.
The invention provides a kind of method of acquiring PMTU by learning, be applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one conversion link, said method comprising the steps of:
Described gateway device obtains to mail to the PMTU of destination equipment message conversion link, sets up the PMTU list item that comprises conversion link and corresponding PMTU.
Described gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that described gateway device is learnt link synchronously, specifically comprises:
The message that described gateway device sends described source end equipment is to the destination device forwards;
If receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message;
Repeat above-mentioned steps, arrive described destination equipment up to described message.
Described gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that described gateway device is initiatively learnt link, comprising:
After for the first time receiving the message that mails to destination device, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link;
The overlength error message that described gateway device monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.
Also comprise:
Described gateway device receives the message that client sends;
If the conversion link PMTU that judges described message arrival destination equipment then returns to described client device with described link PMTU in local PMTU list item, it is revised according to described PMTU send message.
Also comprise:
Described gateway device client device in local area network (LAN) is broadcasted described conversion link PMTU, makes described client send to the message of described destination device according to described conversion link PMTU structure.
Also comprise:
In Preset Time, do not receive the message of certain destination equipment of arrival, then deletion arrives the conversion link PMTU of described destination equipment; Or
Link is surveyed, when the result who detects and current record PMTU are not inconsistent, upgraded current record PMTU.
The present invention also provides a kind of device of acquiring PMTU by learning, be applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one forwarding unit, described gateway device arrives and has at least one link between the described destination equipment, and described device comprises:
The PMTU acquisition module is used to obtain to mail to the PMTU of destination equipment message conversion link;
The PMTU list item is set up module, is connected with described PMTU acquisition module, is used to set up the PMTU list item that comprises conversion link and corresponding PMTU.
Described PMTU acquisition module, specifically be used for learning synchronously the PMTU of link: the message that described gateway device sends described source end equipment is to the destination device forwards, if receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message, repeat above-mentioned steps, arrive described destination equipment up to described message.
Described PMTU acquisition module specifically is used for initiatively learning the PMTU of link: after receiving the message that mails to destination device for the first time, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link; The overlength error message that the monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.
Described PMTU acquisition module specifically is used for the PMTU of passive learning link: the overlength error message that monitoring forwarding unit from the different links returns obtains the PMTU list item according to the PMTU that carries in the described overlength error message.
Also comprise:
Notification module, setting up module with described PMTU list item is connected, be used to receive the message that client sends, arrive the conversion link PMTU of destination equipment in local PMTU list item if judge described message, then described link PMTU is returned to described client device, it is revised according to described PMTU send message; Or client device is broadcasted described conversion link PMTU in local area network (LAN), makes described client send to the message of described destination device according to described conversion link PMTU structure.
Also comprise:
PMTU list item maintenance module is set up module with described PMTU list item and is connected, and is used in Preset Time, does not receive the message of certain destination equipment of arrival, and then deletion arrives the conversion link PMTU of described destination equipment; Or link surveyed, when the result who detects and current record PMTU are not inconsistent, upgrade current record PMTU.
Compared with prior art, the present invention has the following advantages:
Among the present invention, carry out the PMTU study of conversion link by gateway device, learning outcome is realized sharing in whole local area network, and user one jumps study PMTU in the local area network (LAN), improves host ip v6 access speed, reduces the network unnecessary flow; In addition, only need the software of a reception of client installation gateway PMTU issue message in local area network (LAN), can realize that 0 jumps PMTU study.Therefore, the present invention as the multipath selection factor, improves PMTU the broadband network utilance, and only needs gateway device to support this technology, and other equipment do not have specific (special) requirements in the network.
Description of drawings
Fig. 1 is a PMTU learning process schematic diagram in the prior art;
Fig. 2 is an another kind of IPv6PMTU learning process schematic diagram in the prior art;
Fig. 3 is the method flow diagram of a kind of IPv6PMTU of study among the present invention;
Fig. 4 is the process schematic diagram that gateway device is learnt IPv6PMTU synchronously among the present invention;
Fig. 5 is the process schematic diagram that gateway device is initiatively learnt IPv6PMTU among the present invention;
Fig. 6 realizes among the present invention that 1 jumps study IPv6PMTU schematic diagram;
Fig. 7 realizes among the present invention that 0 jumps study IPv6PMTU schematic diagram;
Fig. 8 is the structure drawing of device of a kind of IPv6PMTU of study among the present invention.
Embodiment
Core thinking of the present invention is: carry out the PMTU study of conversion link by gateway device, learning outcome is realized sharing in whole local area network, improves host ip v6 access speed, reduces the network unnecessary flow.
For user in the local area network (LAN), the network address of visit often has certain stationarity, can carry out PMTU study by gateway device, outcome record is arrived the PMTU list item, and the PMTU list item is safeguarded, the PMTU list item can be shared in whole local area network.
The invention provides a kind of method of acquiring PMTU by learning, be applied to comprise that described method may further comprise the steps as shown in Figure 3 in the IPv6 network of source end equipment, destination equipment, gateway device and at least one conversion link:
Step 301, described gateway device obtains to mail to the PMTU of destination equipment message conversion link;
Step 302, described gateway device is set up the PMTU list item that comprises conversion link and corresponding PMTU.
Described gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that described gateway device is learnt link synchronously, specifically comprises: the message that described gateway device sends described source end equipment is to the destination device forwards; If receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message; Repeat above-mentioned steps, arrive described destination equipment up to described message.
The PMTU of the link of destination equipment message forwarding is mail in described gateway device acquisition, be specially described gateway device and initiatively learn the PMTU of link, comprise: after receiving the message that mails to destination device for the first time, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link; The overlength error message that described gateway device monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.Be specially,, then can not return the overlength error message in the Preset Time, safeguard this PMTU in the PMTU list item when the PMTU of gateway device outbound port has been the minimum PMTU of whole link; As the PMTU of gateway device outbound port is not the minimum PMTU of whole link, can receive the overlength error message, revise message length according to the PMTU that carries in the overlength error message, and resend, up to arriving described destination equipment, safeguard the last PMTU that uses in the PMTU list item.
After gateway device adopts study synchronously or active mode of learning to learn PMTU among the present invention, when follow-up LAN subscriber is visited outer net, can realize that 1 jumps study PMTU, described gateway device receives the message that client sends; If the conversion link PMTU that judges described message arrival destination equipment then returns to described client device with described link PMTU in local PMTU list item, it is revised according to described PMTU send message.
Among the present invention, can be in the client install software, realize that 0 jumps study PMTU, broadcast described conversion link PMTU, make described client send to the message of described destination device according to described conversion link PMTU structure by described gateway device client device in local area network (LAN).
Among the present invention, for the PMTU list item that reduces gateway device is safeguarded pressure, need the PMTU of long-time link of not visiting be worn out, described gateway device is in Preset Time, do not receive the message of certain destination equipment of arrival, then deletion arrives the conversion link PMTU of described destination equipment;
Among the present invention, network topology after changing, original link PMTU may change, and in order to respond this variation, need survey link, when the result who detects and current record PMTU are not inconsistent, upgrades current record PMTU.
As shown in Figure 4, gateway device monitoring client computer IPv6 PMTU learning process may further comprise the steps:
Step 401, source end equipment (as pc client) visit destination equipment (as Web server sohu.com), source end equipment sends message 1 to gateway device; Gateway device judges to the message 1 that receives whether size exceeds the transmission interface MTU of gateway device, if exceed, then abandon this message, to source end device replied ICMPv6 packet overlength error message (message 2), the MTU of notification source end device gateway equipment outgoing interface;
Step 402, source end equipment is received message 2, PMTU according to the gateway device feedback revises message length, send message 3 once more, gateway device is forwarded to forwarding unit 1 with message 3, if the MTU of the outgoing interface of forwarding unit 1 is still less than the length of message 3, then forwarding unit 1 also can dropping packets 3, to source end device replied ICMPv6 packet overlength error message (message 4), carry the MTU value of the outgoing interface of forwarding unit 1 in the message 4, when message 4 arrives gateway device, gateway device analytic message 4, the PMTU that record arrives destination equipment is this value, and message 4 is transmitted to source end equipment;
Step 403, source end equipment is received message 4, and the PMTU modification message length according to the gateway device feedback sends message (message 5) once more, and gateway device is forwarded to forwarding unit 1 with message 5, and forwarding unit 1 is transmitted to forwarding unit 2 with message 5;
Step 404, if the MTU of the outgoing interface of forwarding unit 2 is still less than the length of message 5, then forwarding unit 2 also can dropping packets 5, to source end device replied ICMPv6 packet overlength error message (message 6), carry the MTU value of the outgoing interface of forwarding unit 2 in the message 6, when message 6 arrives gateway device, gateway device analytic message 6, revising the PMTU that arrives destination equipment is this value;
Step 405, source end equipment is received message 6, revises message length according to the PMTU of gateway feedback, sends message 7 once more, the PMTU study of entire path is finished, the message end equipment that can achieve the goal.
Follow the PMTU that source end learning equipment has arrived destination equipment sohu.com by the said process gateway device, when follow-up transmission message, can be with this PMTU modification message length that exceeds.
As shown in Figure 5, the gateway device process of initiatively learning IPv6PMTU may further comprise the steps:
Step 501, source end equipment (as pc client) visit destination equipment (as Web server sohu.com), source end equipment sends message 1 to gateway device; Gateway device inquires about whether there is the PMTU that arrives destination equipment in the local PMTU list item, if there is no, (type of message can be ICMP Request or other protocol massages then to construct message 2, message length is the MTU of local outgoing interface correspondence, destination address sohu.com, source address is a gateway device), send to forwarding unit 1;
Step 502, if the MTU of the outgoing interface of forwarding unit 1 less than the length of message 2, then forwarding unit 1 can dropping packets 2, replys the MTU value of carrying the outgoing interface of forwarding unit 1 in ICMPv6 packet overlength error message (message 3) message 3 to gateway device;
Step 503, when message 3 arrived gateway device, gateway device was resolved this message, and the PMTU that record arrives destination equipment is this value, and revises message length according to this value, sends message 4 once more, and forwarding unit 1 is transmitted to forwarding unit 2 with message 4;
Step 504, if the MTU of the outgoing interface of forwarding unit 2 still less than the length of message 4, then forwarding unit 2 can dropping packets 4, reply the MTU value of carrying the outgoing interface of forwarding unit 2 in ICMPv6 packet overlength error message (message 5) message 5 to gateway;
Step 505, when message 5 arrives gateway device, gateway device is resolved this message, and revising the PMTU that arrives destination equipment is this value, according to the PMTU modification message length of gateway feedback, send message 6 once more, the PMTU of entire path study is finished, the message 6 end equipment that can achieve the goal, and destination equipment can be replied (message 7) to message 6, gateway device is received response message 7, can think to survey and finish.
When source end equipment is visited destination equipment for the first time, initiatively learnt to arrive the PMTU of destination equipment by the said process gateway device.
If gateway device monitors and arrives same destination equipment a plurality of links (a plurality of next jumping) are arranged, gateway device can be preserved PMTU on a plurality of links to the PMTU that arrives same destination equipment according to the link establishment list item.For example, gateway device arrives destination equipment and has three links: link 1 arrives forwarding unit 2 to destination equipment for gateway device to forwarding unit 1, and PMTU is 2000 bytes; Link 2 arrives forwarding unit 4 to destination equipment for gateway device to forwarding unit 3, and PMTU is 3000 bytes; Link 3 arrives forwarding unit 6 to destination equipment for gateway device to forwarding unit 5, and PMTU is 4000 bytes.Learn the use of a plurality of list items and can on each link, do load balancing, make the bigger link of PMTU pass through bigger flow with the PMTU value as the link weight.
Gateway device need be safeguarded learning outcome after adopting above-mentioned synchronous mode of learning or active mode of learning to learn PMTU, safeguard to relate generally to following operation:
Upgrade: network topology after changing, original link PMTU may change, in order to respond this variations, gateway device need be monitored the ICMP bag super large message information that forwarding unit returns from the different links, according to the PMTU of this information modification respective links; Or regularly different links are surveyed, find the situation that PMTU changes, when monitoring or the result that detects are not inconsistent with gateway device current record PMTU, need renewal gateway device current record PMTU.
In addition, for the PMTU list item that reduces gateway device is safeguarded pressure, need the PMTU of long-time link of not visiting be worn out, promptly at certain time intervals in, do not arrive the flow of certain destination equipment, then can no longer safeguard the PMTU of this destination equipment of arrival, otherwise list item is not aging.
After gateway device adopts study synchronously or active mode of learning to learn IPv6PMTU, when follow-up LAN subscriber is visited outer net, realize that 1 jumps study PMTU, process may further comprise the steps as shown in Figure 6:
Step 601, other client-access sohu.com in the net, when gateway device sends message 1, gateway device carries out route selection to the message 1 that receives, and determines to arrive the PMTU of sohu.com, judges whether message size exceeds path P MTU, if exceed, then dropping packets 1, replys ICMPv6 packet overlength error message (message 2) for this client, notifies this client to arrive the path P MTU of destination address;
Step 602, client are received message 2, and the PMTU modification message length according to the gateway device feedback sends message 3, once more because message 3 sizes have met entire path PMTU, so message 3 can arrive sohu.com smoothly.
In this scheme, user learning PMTU only needs message to send to gateway one to jump and can finish, do not have message flow to public network in the whole learning process, saved public-network bandwidth.
The present invention can also realize that 0 jumps study PMTU, as shown in Figure 7 in the client install software.After client was being learnt path P MTU by gateway device, client was broadcasted in local area network (LAN), can be so that the client message can learn to arrive the PMTU of website commonly used before not having communication, i.e. and 0 jumping can be learnt PMTU.
The invention provides a kind of device of acquiring PMTU by learning, be applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one forwarding unit, described gateway device arrives and has at least one link between the described destination equipment, described device comprises as shown in Figure 8:
PMTU acquisition module 810 is used to obtain to mail to the PMTU of destination equipment message conversion link;
The PMTU list item is set up module 820, is connected with PMTU acquisition module 810, is used to set up the PMTU list item that comprises conversion link and corresponding PMTU.
PMTU acquisition module 810, specifically be used for learning synchronously the PMTU of link: the message that described gateway device sends described source end equipment is to the destination device forwards, if receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message, repeat above-mentioned steps, arrive described destination equipment up to described message.
PMTU acquisition module 810, specifically be used for initiatively learning the PMTU of link: after receiving the message of destination device for the first time, after for the first time receiving the message that mails to destination device, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link; The overlength error message that the monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.
PMTU acquisition module 810 specifically is used for the PMTU of passive learning link: the overlength error message that monitoring forwarding unit from the different links returns obtains the PMTU list item according to the PMTU that carries in the described overlength error message.
Notification module 830, setting up module 820 with the PMTU list item is connected, be used to receive the message that client sends, arrive the conversion link PMTU of destination equipment in local PMTU list item if judge described message, then described link PMTU is returned to described client device, it is revised according to described PMTU send message; Or client device is broadcasted described conversion link PMTU in local area network (LAN), makes described client send to the message of destination device according to described conversion link PMTU structure.
PMTU list item maintenance module 840 is set up module 820 with the PMTU list item and is connected, and is used in Preset Time, does not receive the message of certain destination equipment of arrival, and then deletion arrives the conversion link PMTU of described destination equipment; Or link surveyed, when the result who detects and current record PMTU are not inconsistent, upgrade current record PMTU.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (11)

1, a kind of method of acquiring PMTU by learning is applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one conversion link, it is characterized in that, said method comprising the steps of:
Described gateway device obtains to mail to the PMTU of destination equipment message conversion link, sets up the PMTU list item that comprises conversion link and corresponding PMTU.
2, the method for claim 1 is characterized in that, described gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that described gateway device is learnt link synchronously, specifically comprises:
The message that described gateway device sends described source end equipment is to the destination device forwards;
If receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message;
Repeat above-mentioned steps, arrive described destination equipment up to described message.
3, the method for claim 1 is characterized in that, described gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that described gateway device is initiatively learnt link, comprising:
After for the first time receiving the message that mails to destination device, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link;
The overlength error message that described gateway device monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.Revise message length, and resend, up to arriving described destination equipment.
4, as each described method in the claim 1 to 3, it is characterized in that, also comprise:
Described gateway device receives the message that client sends;
If the conversion link PMTU that judges described message arrival destination equipment then returns to described client device with described link PMTU in local PMTU list item, it is revised according to described PMTU send message.
5, as each described method in the claim 1 to 3, it is characterized in that, also comprise:
Described gateway device client device in local area network (LAN) is broadcasted described conversion link PMTU, makes described client send to the message of described destination device according to described conversion link PMTU structure.
6, as each described method in the claim 1 to 3, it is characterized in that, also comprise:
In Preset Time, do not receive the message of certain destination equipment of arrival, then deletion arrives the conversion link PMTU of described destination equipment; Or
Link is surveyed, when the result who detects and current record PMTU are not inconsistent, upgraded current record PMTU.
7, a kind of device of acquiring PMTU by learning, it is characterized in that, be applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one forwarding unit, described gateway device arrives and has at least one link between the described destination equipment, it is characterized in that described device comprises:
The PMTU acquisition module is used to obtain to mail to the PMTU of destination equipment message conversion link;
The PMTU list item is set up module, is connected with described PMTU acquisition module, is used to set up the PMTU list item that comprises conversion link and corresponding PMTU.
8, device as claimed in claim 7, it is characterized in that, described PMTU acquisition module, specifically be used for learning synchronously the PMTU of link: the message that described gateway device sends described source end equipment is to the destination device forwards, if receive the overlength error message that described conversion link returns, described gateway device is transmitted to described source end equipment with described overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the described overlength error message, repeat above-mentioned steps, arrive described destination equipment up to described message.
9, device as claimed in claim 7, it is characterized in that, described PMTU acquisition module specifically is used for initiatively learning the PMTU of link: after receiving the message that mails to destination device for the first time, described gateway device determines to transmit at least one link according to the destination device address of described message; The described gateway device structure message corresponding with described number of links sends to described destination equipment place link; The overlength error message that the monitoring forwarding unit returns, and, receive that mailing to destination device message PMTU determines the PMTU list item with the minimum value that receives the PMTU that carries in the overlength error message that forwarding unit returns on the described link according to the MTU of described gateway device outbound port.
10, device as claimed in claim 7 is characterized in that, also comprises:
Notification module, setting up module with described PMTU list item is connected, be used to receive the message that client sends, arrive the conversion link PMTU of destination equipment in local PMTU list item if judge described message, then described link PMTU is returned to described client device, it is revised according to described PMTU send message; Or client device is broadcasted described conversion link PMTU in local area network (LAN), makes described client send to the message of described destination device according to described conversion link PMTU structure.
11, device as claimed in claim 7 is characterized in that, also comprises:
PMTU list item maintenance module is set up module with described PMTU list item and is connected, and is used in Preset Time, does not receive the message of certain destination equipment of arrival, and then deletion arrives the conversion link PMTU of described destination equipment; Or link surveyed, when the result who detects and current record PMTU are not inconsistent, upgrade current record PMTU.
CN2009101682149A 2009-08-14 2009-08-14 Method and device for acquiring PMTU by learning Active CN101635685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101682149A CN101635685B (en) 2009-08-14 2009-08-14 Method and device for acquiring PMTU by learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101682149A CN101635685B (en) 2009-08-14 2009-08-14 Method and device for acquiring PMTU by learning

Publications (2)

Publication Number Publication Date
CN101635685A true CN101635685A (en) 2010-01-27
CN101635685B CN101635685B (en) 2012-07-11

Family

ID=41594748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101682149A Active CN101635685B (en) 2009-08-14 2009-08-14 Method and device for acquiring PMTU by learning

Country Status (1)

Country Link
CN (1) CN101635685B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594677A (en) * 2012-02-15 2012-07-18 杭州华三通信技术有限公司 Method and device for path maximum transmission unit (PMTU) learning
CN103023777A (en) * 2012-11-27 2013-04-03 杭州华三通信技术有限公司 Method and equipment for obtaining global minimum and maximum transmission unit values
CN104601469A (en) * 2015-01-12 2015-05-06 杭州华三通信技术有限公司 Multicast message forwarding method and device
CN106789714A (en) * 2016-04-07 2017-05-31 新华三技术有限公司 A kind of message processing method and device
CN110191066A (en) * 2019-06-14 2019-08-30 迈普通信技术股份有限公司 A kind of method, equipment and the system of determining maximum transmission unit PMTU

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100561971C (en) * 2006-05-30 2009-11-18 杭州华三通信技术有限公司 The list item method for rapidly converging reaches according to this list item and realizes packet fast forwarding method
CN101022419B (en) * 2007-03-27 2011-04-06 杭州华三通信技术有限公司 Path maximum transmission unit item establishing method and message transmitting method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594677A (en) * 2012-02-15 2012-07-18 杭州华三通信技术有限公司 Method and device for path maximum transmission unit (PMTU) learning
CN103023777A (en) * 2012-11-27 2013-04-03 杭州华三通信技术有限公司 Method and equipment for obtaining global minimum and maximum transmission unit values
CN103023777B (en) * 2012-11-27 2015-11-25 杭州华三通信技术有限公司 A kind of method and apparatus obtaining universe minimax transmission unit value
CN104601469A (en) * 2015-01-12 2015-05-06 杭州华三通信技术有限公司 Multicast message forwarding method and device
CN104601469B (en) * 2015-01-12 2018-01-12 新华三技术有限公司 Method for forwarding multicast message and equipment
CN106789714A (en) * 2016-04-07 2017-05-31 新华三技术有限公司 A kind of message processing method and device
CN106789714B (en) * 2016-04-07 2021-04-09 新华三技术有限公司 Message processing method and device
CN110191066A (en) * 2019-06-14 2019-08-30 迈普通信技术股份有限公司 A kind of method, equipment and the system of determining maximum transmission unit PMTU

Also Published As

Publication number Publication date
CN101635685B (en) 2012-07-11

Similar Documents

Publication Publication Date Title
US9438496B2 (en) Monitoring link quality between network devices
CN101573927B (en) Path MTU discovery in network system
US7778220B2 (en) Method to loadbalance among mobile IPv6 home agents
CN101009662B (en) Message processing method, system and device based on the load balance technology
US20040236855A1 (en) Multi-link tunneling
CN101258713A (en) System and method of scheduling delivery of packets
CN101635685B (en) Method and device for acquiring PMTU by learning
CN104052684A (en) Dynamic maximum transmission unit size adaption
CN102131239B (en) Business processing unit and method, business control gateway and load balancing method
CN101982951B (en) Data transmission control method and intermediate node
CN101488902A (en) Dynamic establishing method and device for GRE tunnel
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
JP2011525064A (en) Method and system for transmission of fragmented packets over packet-based communication networks
CN101640645A (en) Message transmission method and system
CN104168212A (en) Method and device for message sending
Abdelfadeel et al. Dynamic context for static context header compression in LPWANs
Tsai et al. Effect of data aggregation in M2M networks
EP2477356B1 (en) Tracking packet sequence numbers
US7787496B1 (en) Packet fragmentation techniques for multiple T-1 lines
KR102601348B1 (en) Data transmission method, transmission device, data reception method and receiving device
EP3316559B1 (en) Router advertisement caching
JP2003283567A (en) Data communication system and method, server device, client device, repeater, and program
EP4135288A1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture
US11956328B1 (en) Avoiding stuck subscriber sessions on a disaggregated broadband network gateway
CN103685021A (en) Data transmission method and device

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address