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

Method and device for acquiring PMTU by learning Download PDF

Info

Publication number
CN101635685B
CN101635685B CN2009101682149A CN200910168214A CN101635685B CN 101635685 B CN101635685 B CN 101635685B CN 2009101682149 A CN2009101682149 A CN 2009101682149A CN 200910168214 A CN200910168214 A CN 200910168214A CN 101635685 B CN101635685 B CN 101635685B
Authority
CN
China
Prior art keywords
pmtu
message
path
gateway device
destination 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.)
Active
Application number
CN2009101682149A
Other languages
Chinese (zh)
Other versions
CN101635685A (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 of sending message, resend according to the MTU value of carrying in the message.Before source end equipment and destination equipment were accomplished 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 is as shown in Figure 1, comprising:
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 preparing to transmit, finds 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, and the MTU of the outgoing interface of forwarding unit B is 3000 bytes, and greater than 2000 bytes, completion that then can be successful is transmitted, and destination equipment is arrived in text delivery.
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 accomplish 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 forward-path 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 forward-path, said method comprising the steps of:
Said gateway device obtains to mail to the PMTU of destination equipment message forward-path, sets up the PMTU list item that comprises forward-path and corresponding PMTU;
Said gateway device is the said forward-path PMTU of said source end device broadcasts in local area network (LAN), makes said source end equipment send to the message of said destination equipment according to said forward-path PMTU structure.
Said gateway device obtains to mail to the PMTU of destination equipment message forward-path, is specially the PMTU that said gateway device is learnt the path synchronously, specifically comprises:
The message that said gateway device sends said source end equipment is to the destination device forwards;
If receive the overlength error message that said forward-path returns; Said gateway device is transmitted to said source end equipment with said overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message;
Repeat above-mentioned steps, arrive said destination equipment up to said message.
Said gateway device obtains to mail to the PMTU of destination equipment message forward-path, is specially the PMTU that said gateway device is initiatively learnt the path, comprising:
After for the first time receiving the message that mails to destination equipment, said gateway device is confirmed at least one forward-path according to the destination device address of said message; The said gateway device structure message corresponding with number of path sends to path, said destination equipment place;
The overlength error message that said gateway device monitoring forwarding unit returns; And, receive that mailing to destination equipment message PMTU confirms 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 said path according to the MTU of said gateway device outbound port.
Also comprise:
In Preset Time, do not receive the message of certain destination equipment of arrival, then deletion arrives the forward-path PMTU of said destination equipment; Or
The path 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; Said gateway device arrives and has at least one path between the said destination equipment, and said device comprises:
The PMTU acquisition module is used to obtain to mail to the PMTU of destination equipment message forward-path;
The PMTU list item is set up module, is connected with said PMTU acquisition module, is used to set up the PMTU list item that comprises forward-path and corresponding PMTU;
Notification module is set up module with said PMTU list item and is connected, and is used for the said forward-path PMTU of said source end device broadcasts in local area network (LAN), makes said source end equipment send to the message of said destination equipment according to said forward-path PMTU structure.
Said PMTU acquisition module; Specifically be used for learning synchronously the PMTU in path: the message that said gateway device sends said source end equipment is to the destination device forwards; If receive the overlength error message that said forward-path returns; Said gateway device is transmitted to said source end equipment with said overlength error message; And the PMTU that record arrives destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message, repeats above-mentioned steps, arrives said destination equipment up to said message.
Said PMTU acquisition module specifically is used for initiatively learning the PMTU in path: after receiving the message that mails to destination equipment for the first time, said gateway device is confirmed at least one forward-path according to the destination device address of said message; The said gateway device structure message corresponding with number of path sends to path, said destination equipment place; The overlength error message that the monitoring forwarding unit returns; And, receive that mailing to destination device message PMTU confirms 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 said path according to the MTU of said gateway device outbound port.
Said PMTU acquisition module specifically is used for the PMTU in passive learning path: the overlength error message that monitoring is never returned with forwarding unit on the path obtains the PMTU list item according to the PMTU that carries in the said overlength error message.
Also comprise:
PMTU list item maintenance module is set up module with said 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 forward-path PMTU of said destination equipment; Or the path 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 the broadband network utilance with PMTU, and only needs the gateway device support should technology, and other equipment do not have specific (special) requirements in the network.
Description of drawings
Fig. 1 is a PMTU learning process sketch map in the prior art;
Fig. 2 is an another kind of IPv6PMTU learning process sketch map 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 sketch map that gateway device is learnt IPv6PMTU synchronously among the present invention;
Fig. 5 is the process sketch map that gateway device is initiatively learnt IPv6PMTU among the present invention;
Fig. 6 realizes among the present invention that 1 jumps study IPv6PMTU sketch map;
Fig. 7 realizes among the present invention that 0 jumps study IPv6PMTU sketch map;
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 said method is as shown in Figure 3, may further comprise the steps in the IPv6 network of source end equipment, destination equipment, gateway device and at least one conversion link:
Step 301, said gateway device obtains to mail to the PMTU of destination equipment message conversion link;
Step 302, said gateway device is set up the PMTU list item that comprises conversion link and corresponding PMTU.
Said gateway device obtains to mail to the PMTU of destination equipment message conversion link, is specially the PMTU that said gateway device is learnt link synchronously, specifically comprises: the message that said gateway device sends said source end equipment is to the destination device forwards; If receive the overlength error message that said conversion link returns; Said gateway device is transmitted to said source end equipment with said overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message; Repeat above-mentioned steps, arrive said destination equipment up to said message.
The PMTU of the link of destination equipment message forwarding is mail in said gateway device acquisition; Be specially said gateway device and initiatively learn the PMTU of link; Comprise: after receiving the message that mails to destination device for the first time, said gateway device confirms to transmit at least one link according to the destination device address of said message; The said gateway device structure message corresponding with said number of links, link sends to said destination equipment place; The overlength error message that said gateway device monitoring forwarding unit returns; And, receive that mailing to destination device message PMTU confirms 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 said link according to the MTU of said 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 said 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, said gateway device receives the message that client is sent; If the conversion link PMTU that judges said message arrival destination equipment then returns to said client device with said link PMTU in local PMTU list item, it is revised according to said PMTU send message.
Among the present invention; Can be in the client install software; Realize that 0 jumps study PMTU, broadcast said conversion link PMTU, make said client send to the message of said destination device according to said conversion link PMTU structure by said 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; Said gateway device is not received the message of certain destination equipment of arrival in Preset Time, then deletion arrives the conversion link PMTU of said destination equipment;
Among the present invention, network topology after changing, original link PMTU possibly 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 IPv6PMTU learning process may further comprise the steps:
Step 401, source end equipment (like pc client) visit destination equipment (like 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, according to the PMTU modification message length of gateway device feedback; 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), the MTU value of carrying 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 accomplished, the message end equipment that can achieve the goal.
Follow the PMTU that source end learning equipment has arrived destination equipment sohu.com through 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 process that gateway device is initiatively learnt IPv6PMTU may further comprise the steps:
Step 501, source end equipment (like pc client) visit destination equipment (like 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 do not exist; (type of message can be ICMP Request or other protocol massages, and message length is the corresponding MTU of local outgoing interface, destination address sohu.com then to construct message 2; 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 arrived gateway device, gateway device was resolved this message; Revising the PMTU that arrives destination equipment is this value, and the PMTU modification message length according to the gateway feedback sends message 6 once more; The PMTU of entire path study is accomplished, 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 accomplish.
When end equipment is visited destination equipment for the first time in the source through the said process gateway device, initiatively learnt to arrive the PMTU of destination equipment.
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 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 possibly 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 in the certain hour interval, 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 is as shown in Figure 6, may further comprise the steps:
Step 601, other client-access sohu.com in the net is when gateway device sends message 1; Gateway device carries out route selection to the message 1 that receives, and confirms 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 accomplish, 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 in the client install software, and is as shown in Figure 7.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; Said gateway device arrives and has at least one link between the said destination equipment; Said device is as shown in Figure 8, comprising:
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 said gateway device sends said source end equipment is to the destination device forwards; If receive the overlength error message that said conversion link returns; Said gateway device is transmitted to said source end equipment with said overlength error message; And the PMTU that record arrives destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message, repeats above-mentioned steps, arrives said destination equipment up to said 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, said gateway device confirms to transmit at least one link according to the destination device address of said message; The said gateway device structure message corresponding with said number of links, link sends to said destination equipment place; The overlength error message that the monitoring forwarding unit returns; And, receive that mailing to destination device message PMTU confirms 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 said link according to the MTU of said 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 said 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 is sent; If the conversion link PMTU that judges said message arrival destination equipment then returns to said client device with said link PMTU in local PMTU list item, it is revised according to said PMTU send message; Or client device is broadcasted said conversion link PMTU in local area network (LAN), makes said client send to the message of destination device according to said 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 said destination equipment; Or link surveyed, when the result who detects and current record PMTU are not inconsistent, upgrade current record PMTU.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through 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 be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, 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 sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of 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 disclosedly be merely 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 (4)

1. the method for an acquiring PMTU by learning is applied to comprise in the IPv6 network of source end equipment, destination equipment, gateway device and at least one forward-path, it is characterized in that, said method comprising the steps of:
Said gateway device obtains to mail to the PMTU of destination equipment message forward-path, sets up the PMTU list item that comprises forward-path and corresponding PMTU;
Said gateway device is the said forward-path PMTU of said source end device broadcasts in local area network (LAN), makes said source end equipment send to the message of said destination equipment according to said forward-path PMTU structure;
Wherein, said gateway device obtains to mail to the PMTU of destination equipment message forward-path, is specially the PMTU that said gateway device is learnt the path synchronously, specifically comprises: the message that said gateway device sends said source end equipment is to the destination device forwards; If receive the overlength error message that said forward-path returns; Said gateway device is transmitted to said source end equipment with said overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message; Repeat above-mentioned steps, arrive said destination equipment up to said message; Or,
Said gateway device obtains to mail to the PMTU of destination equipment message forward-path; Be specially said gateway device and initiatively learn the PMTU in path; Comprise: after receiving the message that mails to destination equipment for the first time, said gateway device is confirmed at least one forward-path according to the destination device address of said message; The said gateway device structure message corresponding with number of path sends to path, said destination equipment place; The overlength error message that said gateway device monitoring forwarding unit returns; And according to the MTU of said gateway device outbound port; Receive that mailing to destination equipment message PMTU confirms 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 said path; Revise message length, and resend, up to arriving said destination equipment.
2. the method for claim 1 is characterized in that, also comprises:
In Preset Time, do not receive the message of certain destination equipment of arrival, then deletion arrives the forward-path PMTU of said destination equipment; Or
The path is surveyed, when the result who detects and current record PMTU are not inconsistent, upgraded current record PMTU.
3. the device of an 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; Said gateway device arrives and has at least one path between the said destination equipment, it is characterized in that said device comprises:
The PMTU acquisition module is used to obtain to mail to the PMTU of destination equipment message forward-path;
The PMTU list item is set up module, is connected with said PMTU acquisition module, is used to set up the PMTU list item that comprises forward-path and corresponding PMTU;
Notification module is set up module with said PMTU list item and is connected, and is used for the said forward-path PMTU of said source end device broadcasts in local area network (LAN), makes said source end equipment send to the message of said destination equipment according to said forward-path PMTU structure;
Wherein, Said PMTU acquisition module; Specifically be used for learning synchronously the PMTU in path: the message that said gateway device sends said source end equipment is to the destination device forwards; If receive the overlength error message that said forward-path returns, said gateway device is transmitted to said source end equipment with said overlength error message, and the PMTU of record arrival destination equipment is the PMTU that carries current arrival forwarding unit in the said overlength error message; Repeat above-mentioned steps, arrive said destination equipment up to said message; Or,
Said PMTU acquisition module specifically is used for initiatively learning the PMTU in path: after receiving the message that mails to destination equipment for the first time, said gateway device is confirmed at least one forward-path according to the destination device address of said message; The said gateway device structure message corresponding with number of path sends to path, said destination equipment place; The overlength error message that the monitoring forwarding unit returns; And, receive that mailing to destination equipment message PMTU confirms 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 said path according to the MTU of said gateway device outbound port.
4. device as claimed in claim 3 is characterized in that, also comprises:
PMTU list item maintenance module is set up module with said 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 forward-path PMTU of said destination equipment; Or the path 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 CN101635685A (en) 2010-01-27
CN101635685B true 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)

Families Citing this family (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
CN103023777B (en) * 2012-11-27 2015-11-25 杭州华三通信技术有限公司 A kind of method and apparatus obtaining universe minimax transmission unit value
CN104601469B (en) * 2015-01-12 2018-01-12 新华三技术有限公司 Method for forwarding multicast message and equipment
CN106789714B (en) * 2016-04-07 2021-04-09 新华三技术有限公司 Message processing method and device
CN110191066B (en) * 2019-06-14 2022-05-20 迈普通信技术股份有限公司 Method, equipment and system for determining maximum transmission unit (PMTU)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852221A (en) * 2006-05-30 2006-10-25 杭州华为三康技术有限公司 Entry quick convergence method and method for realizing message quick forwarding according to this entry
CN101022419A (en) * 2007-03-27 2007-08-22 杭州华为三康技术有限公司 Path maximum transmission unit item establishing method and message transmitting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852221A (en) * 2006-05-30 2006-10-25 杭州华为三康技术有限公司 Entry quick convergence method and method for realizing message quick forwarding according to this entry
CN101022419A (en) * 2007-03-27 2007-08-22 杭州华为三康技术有限公司 Path maximum transmission unit item establishing method and message transmitting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2007-174293A 2007.07.05

Also Published As

Publication number Publication date
CN101635685A (en) 2010-01-27

Similar Documents

Publication Publication Date Title
CN101573927B (en) Path MTU discovery in network system
US9438496B2 (en) Monitoring link quality between network devices
US9467895B2 (en) Increasing access point throughput by exceeding A-MPDU buffer size limitation in a 802.11 compliant station
US7346015B2 (en) Method and apparatus for routing data with support for changing mobility requirements
EP2659623B1 (en) Methods and systems for transmission of data over computer networks
US20080107070A1 (en) Method to loadbalance among mobile IPv6 home agents
JP5529117B2 (en) Method and system for transmission of fragmented packets over packet-based communication networks
CN101635685B (en) Method and device for acquiring PMTU by learning
Wang et al. SDUDP: A reliable UDP-Based transmission protocol over SDN
CN104052684A (en) Dynamic maximum transmission unit size adaption
CN101982951B (en) Data transmission control method and intermediate node
KR101808732B1 (en) Transmitting data over a plurality of different networks
CN101640645A (en) Message transmission method and system
CN102131239A (en) Business processing unit and method, business control gateway and load balancing method
Karamitsios et al. Efficient IoT data aggregation for connected health applications
Abdelfadeel et al. Dynamic context for static context header compression in LPWANs
US7359358B2 (en) Method and apparatus for routing data
Betzler et al. Experimental evaluation of congestion control for CoAP communications without end-to-end reliability
Gao et al. Emulation-based performance evaluation of the delay tolerant networking (DTN) in dynamic network topologies
US8451847B2 (en) Intermediate node device, method of controlling intermediate node device, and network system
KR102601348B1 (en) Data transmission method, transmission device, data reception method and receiving device
Rohrer et al. DTN hybrid networks for vehicular communications
EP3316559A1 (en) Router advertisement caching
US11956328B1 (en) Avoiding stuck subscriber sessions on a disaggregated broadband network gateway
EP4135288A1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.