WO2016050177A1 - Procédé de détermination de pmtu, dispositif et système de réseau - Google Patents

Procédé de détermination de pmtu, dispositif et système de réseau Download PDF

Info

Publication number
WO2016050177A1
WO2016050177A1 PCT/CN2015/090786 CN2015090786W WO2016050177A1 WO 2016050177 A1 WO2016050177 A1 WO 2016050177A1 CN 2015090786 W CN2015090786 W CN 2015090786W WO 2016050177 A1 WO2016050177 A1 WO 2016050177A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
node
mtu
value
receiving node
Prior art date
Application number
PCT/CN2015/090786
Other languages
English (en)
Chinese (zh)
Inventor
陈亘
郑立君
杨登国
谭伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016050177A1 publication Critical patent/WO2016050177A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, a network device, and a system for determining a maximum transmission unit of a tunnel.
  • the Maximum Transmission Unit is the maximum packet size (in bytes) that can pass over a layer of a communication protocol. Maximum transmission unit This parameter is usually related to the communication interface (network interface card, serial port, etc.).
  • the tunnel maximum transmission unit is defined on the basis of the MTU, which is the minimum value of the maximum transmission unit (MTU) of all network protocol IP hops on an Internet transmission tunnel from the source address to the destination address. In other words, the maximum value of the largest transmission unit that can pass through this "tunnel" without further fragmentation.
  • the Internet Protocol allows for IP fragmentation so that the datagram packet can be divided into sufficiently small segments to pass those links whose maximum transmission unit is smaller than the original size of the datagram. Specifically, if the original data packet exceeds the MTU of the sending interface, the packet is fragmented. If the IP fragment passes through the smaller interface MTU on the tunnel, the second fragmentation is performed. After the fragment arrives at the destination, the packet ID + source IP + destination IP + protocol type is used as the reorganization of the same packet. The fragment of the packet is fragmented and the Fragment offset is used to locate the current fragment in the entire IP packet. .
  • This fragmentation process takes place at the IP layer (the third layer of the Open Systems Interconnection OSI model, the network layer), which uses the value of the maximum transmission unit of the network interface that sends the packet to the link.
  • the fragments of the original packet are tagged so that the destination host's IP layer can reassemble the packet into the original datagram.
  • the tunnel entry may be fragmented at the tunnel entry location because the data packet size is larger than the interface MTU of the tunnel entry device.
  • the tunnel exit is reorganized in pieces.
  • the MTU of the intermediate node of the tunnel is smaller than the MTU of the start of the tunnel, the data packet needs to be fragmented twice, and if the data packet is first fragmented and then encapsulated, the risk of reorganization is also caused, that is, if the tunnel is in the tunnel.
  • the tunnel end point fails to reassemble the fragment.
  • the method, the network device, and the system for determining the maximum transmission unit of the tunnel provided by the embodiment of the present invention solve the problem that the data packet needs to be re-segmented when the data packet is transmitted on the tunnel, and the data packet reassembly caused by the second fragmentation fails.
  • the problem solve the problem that the data packet needs to be re-segmented when the data packet is transmitted on the tunnel, and the data packet reassembly caused by the second fragmentation fails. The problem.
  • a first aspect of the embodiments of the present invention provides a method for determining a MTU value of a maximum transmission unit of a tunnel, where the method is applied to a tunnel from an ingress node to an egress node, including: the ingress node to the tunnel
  • the receiving node sends a first extended bidirectional forwarding detection BFD control message, where the first extended BFD control message includes an MTU flag bit, and the MTU flag bit is used to instruct the receiving node to return the Receiving an MTU value of an interface of the node on the tunnel, the receiving node is all nodes on the tunnel except the ingress node; and the ingress node receives a second extended BFD control returned by the receiving node a packet, the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel; and the interface of the receiving node that is returned by the ingress node from the receiving node on the tunnel
  • the MTU flag is identified by a bit in a Diag field of the diagnostic code of the first extended BFD control packet, or a reserved value identifier of the Diag field. .
  • the method further includes: the second extended BFD control packet includes an MTU type length value TLV, An interface MTU value for carrying the receiving node on the tunnel.
  • the method further includes: the MTU TLV specifically includes: a type Type, a length Length, and a value Value,
  • the Type indicates that the type of the Value is an MTU, the Length indicates the length of the MTU TLV, and the Value is an interface MTU value of the receiving node on the tunnel; the MTU TLV is located at the first Extend the tail of the BFD control packet.
  • the method further includes: the ingress node sends the first extended BFD to the receiving node Controlling, by the ingress node, the first extended BFD control packet is sent to the tunnel by setting a lifetime TTL value in the tunnel packet that carries the first extended BFD control packet On the specified receiving node.
  • the method further includes: if the receiving node is the egress node And the MTU value of the interface on the receiving node is an MTU value of the inbound interface of the tunnel at the egress node on the tunnel; and/or, if the receiving node is the ingress node on the tunnel To an intermediate node between the egress nodes, an interface MTU value on the receiving node is a minimum value of an inbound interface MTU value and an outbound interface MTU value of the tunnel passing through the receiving node.
  • a second aspect of the embodiments of the present invention provides a method for transmitting a maximum transmission unit MTU, where the method is applied to a tunnel from an ingress node to an egress node, the method comprising: receiving, by the receiving node, the ingress node And sending, by the first extended bidirectional forwarding, the BFD control packet, where the first extended BFD control packet includes an MTU flag, where the MTU flag is used to indicate that the receiving node returns the receiving node to the ingress node An interface MTU value on the tunnel; the receiving node acquires an interface MTU value of the receiving node on the tunnel; the receiving node returns a second extended BFD control packet to the ingress node, the second extension The BFD control packet carries the interface MTU value of the receiving node on the tunnel.
  • the method includes: the MTU flag bit is identified by one bit in a Diagnosing Code Diag field of the first extended BFD control message, or a reservation of the Diag field Value identifier.
  • the second extended BFD control packet specifically includes: an MTU type length value TLV, And carrying an interface MTU value of the receiving node on the tunnel.
  • the MTU TLV includes: a Type Type, a Length Length, and a Value Value, the Type indicates that the Type of the Value is an MTU, the Length indicates a length of the MTU TLV, and the Value is the receiving node.
  • the method further includes: if the receiving node is the egress node And the MTU value of the interface on the receiving node is an MTU value of the inbound interface of the tunnel at the egress node on the tunnel; and/or, if the receiving node is the ingress node on the tunnel To an intermediate node between the egress nodes, an interface MTU value on the receiving node is a minimum value of an inbound interface MTU value and an outbound interface MTU value of the tunnel passing through the receiving node.
  • the receiving node receives the first After the extended bidirectional forwarding detects the BFD control packet, the method further includes: the receiving node parsing the TTL value of the lifetime time in the tunnel packet carrying the first extended BFD control packet, and if the TTL value is equal to 1, Transmitting, by the ingress node, an interface MTU value of the receiving node on the tunnel.
  • a third aspect of the embodiments of the present invention provides a network device, configured to determine a maximum transmission unit MTU value of a tunnel, where the network device is applied to a tunnel from an ingress node to an egress node, including: a sending unit, Transmitting, by the receiving node on the tunnel, a first extended bidirectional forwarding detection BFD control packet, where the first extended BFD control packet includes an MTU flag bit, where the MTU flag bit is used to indicate that the receiving node is to the
  • the ingress node returns an MTU value of the interface of the receiving node on the tunnel, the receiving node is all nodes on the tunnel except the ingress node, and the receiving unit is configured to receive the receiving node to return a second extended BFD control packet, where the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel; and a determining unit, configured to receive the receiving node from the receiving node The interface MTU value on the tunnel and the interface MTU value of the
  • the method further includes: a TTL setting unit, configured to set a time-to-live TTL value in the tunnel packet that carries the first extended BFD control packet, And completing the sending of the first extended BFD control message to a designated receiving node on the tunnel.
  • a TTL setting unit configured to set a time-to-live TTL value in the tunnel packet that carries the first extended BFD control packet, And completing the sending of the first extended BFD control message to a designated receiving node on the tunnel.
  • a fourth aspect of the embodiments of the present invention provides a network device, configured to send a maximum transmission unit MTU value of a tunnel, where the network device is applied to a tunnel from an ingress node to an egress node, including: a receiving unit, And receiving, by the ingress node, a first extended bidirectional forwarding detection BFD control packet, where the first extended BFD control packet includes an MTU flag bit, where the MTU flag bit is used to indicate the receiving node to the portal Returning, by the node, the interface MTU value of the receiving node on the tunnel; the acquiring unit, configured to acquire the interface MTU value of the receiving node on the tunnel; and the sending unit, configured to return the second extended BFD control to the ingress node And the second extended BFD control packet carries the interface MTU value of the receiving node on the tunnel.
  • a fifth aspect of the embodiments of the present invention provides a system for determining a maximum transmission unit MTU value of a tunnel, comprising: the network device of the foregoing third aspect, and the network device of the fourth aspect.
  • the tunnel MTU is accurately determined, which helps reduce the number of times of fragmentation and the second fragmentation. Reorganization failure problem.
  • FIG. 1 is a schematic flowchart of a method for determining a tunnel MTU according to an embodiment of the present invention
  • 2-1 is a schematic diagram of an extended BFD control packet Diag field in the embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for sending a message according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another network device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a system for determining a tunnel MTU according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another network device according to an embodiment of the present invention.
  • any of the ingress nodes, nodes, intermediate nodes, and egress nodes mentioned in this application may be routers, switches, or network devices having similar functions.
  • the size of the data packet is larger than the interface MTU of the tunnel ingress device, and the received packet larger than the interface MTU is fragmented at the tunnel entry location.
  • the data packet such as an IP packet
  • the packet is encapsulated on the tunnel header (such as GRE).
  • the GRE tunnel of the tunnel is configured to send the GRE packet to the tunnel egress. If the MTU of the interface of the intermediate device is smaller than the MTU of the tunnel entry device, the GRE tunnel needs to continue to be based on the GRE tunnel.
  • the second fragmentation of the packet so that the GRE tunnel encapsulation and the reassembly of the GRE packet are performed at the tunnel exit, because the second fragmentation of the GRE packet is performed and the data packet is performed.
  • the first fragmentation is in a different level, that is, the first fragmentation of the data packet is based on an IP packet header, and the second fragmentation of the GRE packet is based on a GRE tunnel.
  • the message will cause the tunnel exit to proceed. The problem of fragmentation reorganization failed.
  • the tunnel may be a three-layer tunnel.
  • the tunnel may be a Generic Routing Encapsulation (GRE) tunnel or an Internet Protocol Security (IPSec) tunnel.
  • the tunnel may also be a two-layer tunnel.
  • the tunnel may be Multi-Protocol Label Switching (MPLS). Tunnel or Resource Reservation Protocol-Traffic Engineering (RSVP-TE) tunnel or Point to Point Tunneling Protocol (PPTP) tunnel or Layer 2 Tunneling (Layer Two Tunneling) Protocol, L2TP) tunnel.
  • GRE Generic Routing Encapsulation
  • IPSec Internet Protocol Security
  • MPLS Multi-Protocol Label Switching
  • RSVP-TE Resource Reservation Protocol-Traffic Engineering
  • PPTP Point to Point Tunneling Protocol
  • Layer 2 Tunneling Layer 2 Tunneling Protocol
  • the ingress node, the intermediate node, and the egress node mentioned in the embodiments of the present invention may be routers, switches, or network devices having similar functions.
  • FIG. 1 a schematic flowchart of a method for determining a tunnel MTU according to an embodiment of the present invention is shown, where the method is applied to a tunnel from an ingress node to an egress node.
  • the method includes:
  • the ingress node sends a first extended bidirectional forwarding detection BFD (Bidirectional Forwarding Detection) control packet to the receiving node on the tunnel, where the first extended BFD control packet includes an MTU flag bit, and the MTU flag bit And indicating that the receiving node returns, to the ingress node, an MTU value of an interface of the receiving node on the tunnel, where the receiving node is all nodes on the tunnel except the ingress node.
  • BFD Bidirectional Forwarding Detection
  • the MTU flag bit may be identified by using a Diagnostic Code Diag field in the extended BFD control message.
  • the MTU flag bit is identified by using the Diagnostic Code Diag field in the extended BFD control packet. There are two ways:
  • Manner 1 The MTU flag bit is identified by using a reserved value of the Diag field.
  • the diagnostic code Diag field of the BFD control packet format is defined as the reason for the latest change of the local system for the BFD session state.
  • the diagnostic code values defined by the IETF standard RFC5880 include:
  • 3 - neighbor signaling indicates that the session is down
  • a reserved value (such as 9) is selected from the diagnostic code reserved value (9-31) as the MTU flag.
  • the MTU flag bit is identified by one bit in the Diag field, and the code defined by RFC 5880 is sufficient to represent the diagnostic code by using 4 bits, and BFD can be used to control 1 bit in the diagnostic code field of the message.
  • the MTU flag bit the Diag field occupies the 3rd to 7th bits as shown in FIG. 2-1.
  • the 3rd bit or the 7th bit can be used as the MTU flag bit.
  • the manner in which the ingress node sends the first extended BFD control packet to the receiving node may be: the ingress node sets the tunnel report that carries the first extended BFD control packet The time-to-live TTL value in the text is used to complete sending the first extended BFD control packet to a designated receiving node on the tunnel.
  • node A is an ingress node
  • node B and node C are intermediate nodes
  • node D is an egress node.
  • the TTL value of the lifetime time in the tunnel packet is set to 1; when the node A sends the first extended BFD control packet to the node C.
  • the time-to-live TTL value in the tunnel packet is set to 2; when the node A sends the first extended BFD control packet to the node D, the lifetime TTL value in the tunnel packet is set to Optionally, when the node A sends the first extended BFD control packet to the node D, the TTL value may not be set (the TTL value is 255 by default), and only the forwarding and forwarding according to the destination address of the tunnel are performed.
  • the first extended BFD control packet may be sent to the node D, and the control plane of the node D may parse the first extended BFD control packet.
  • a method for setting a TTL value in the tunnel packet is exemplified.
  • a TTL value is set in a delivery header (Delivery Header) of the outer layer of the GRE packet header.
  • the transport header is an IP packet header. Setting the TTL is to set the TTL field in the IP packet header. If the tunnel is an MPLS tunnel, setting the TTL is to set the TTL field in the MPLS packet header.
  • the ingress node receives a second extended BFD control packet returned by the receiving node, where the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel.
  • the second extended BFD control packet specifically includes: an MTU type length value TLV, configured to carry an interface MTU value of the receiving node on the tunnel.
  • the MTU TLV can be added as the second extended BFD control packet by extending the BFD control packet.
  • the MTU TLV specifically includes: a type Type, a length Length, and a value Value, the Type indicates that the type of the Value is an MTU, the Length indicates a length of the MTU TLV, and the Value is that the receiving node is in the The interface MTU value on the tunnel; in addition, optionally, the definition of Length can also be used to indicate the length of the Value.
  • the MTU TLV is located at the end of the extended BFD control message.
  • the second extended BFD control packet carries the MTU value of the interface of the receiving node on the tunnel, and may be:
  • the interface MTU value on the receiving node is an MTU value of the inbound interface of the tunnel at the egress node on the tunnel;
  • the interface MTU value on the receiving node is an inbound interface MTU value of the tunnel passing through the receiving node. And the minimum value of the outbound interface MTU value.
  • the ingress node returns an MTU value of the interface on the tunnel and an interface MTU value of the tunnel on the ingress node of the receiving node that is returned by the receiving node, and selects a minimum MTU value.
  • the tunnel MTU value The tunnel MTU value.
  • the ingress node receives an interface MTU value of the egress node, and obtains an MTU value of the outbound interface of the tunnel. From the MTU values of all the above interfaces, select a minimum value as the tunnel MTU value.
  • the ingress node receives an interface MTU value of all intermediate nodes and an interface MTU value of the egress node, and obtains the tunnel.
  • the MTU value of the outbound interface of the ingress node, the MTU value of the interface from all intermediate nodes, the MTU value of the interface of the egress node, and the outgoing node of the ingress node on the tunnel Among the MTU values of the port, a minimum value is selected as the tunnel MTU value.
  • the “second” in the “first” and the second extended BFD packet in the first extended BFD packet in the embodiment of the present invention is only used to indicate that two packets are distinguished, and the two extensions are used.
  • the BFD packets have the same format and are based on existing BFD packets.
  • the use of the Diag field and the addition of the MTU TLV are extended.
  • the tunnel MTU value determination mode of the unidirectional tunnel (for example, from the node A to the node D direction) is illustrated, and the tunnel MTU value of the reverse tunnel can also be performed by using the extended BFD control packet.
  • the determination (for example, from node D to node A), that is, through the extended BFD control message, can determine the tunnel MTU value of the bidirectional tunnel simultaneously or at different times.
  • the method for determining a tunnel MTU the first extended BFD control packet is sent to the receiving node on the tunnel by the ingress node, and the second extended BFD control packet returned by the receiving node is received. Determining, by the receiving node, the interface MTU value on the tunnel and the interface MTU value of the tunnel on the ingress node, selecting a minimum MTU value as the tunnel MTU value, thereby accurately Determining the tunnel MTU helps to reduce the number of shards and avoid reorganization failures caused by secondary sharding.
  • FIG. 3 a schematic flowchart of a method for transmitting an MTU according to an embodiment of the present invention is shown, which is applied to a tunnel formed by an ingress node to an egress node.
  • Specific methods include:
  • the receiving node receives a first extended bidirectional forwarding detection BFD control packet sent by the ingress node, where the first extended BFD control packet includes an MTU flag bit, where the MTU flag bit is used to indicate that the receiving node is Returning, by the ingress node, an interface MTU value of the receiving node on the tunnel;
  • the receiving node parses a time-to-live TTL value in the tunnel packet that carries the first extended BFD control packet, and if the TTL value is equal to 1, sends the receiving to the ingress node.
  • the interface MTU value of the node on the tunnel Specifically, if the TTL value is equal to 1
  • the first extended BFD control packet is sent to the control plane of the receiving node for processing.
  • the receiving node acquires an interface MTU value of the receiving node on the tunnel.
  • the second extended BFD control packet carries the MTU value of the interface of the receiving node on the tunnel, and may be:
  • the interface MTU value on the receiving node is an MTU value of the inbound interface of the tunnel at the egress node on the tunnel;
  • the interface MTU value on the receiving node is an inbound interface MTU value of the tunnel passing through the receiving node. And the minimum value of the outbound interface MTU value.
  • the receiving node returns a second extended BFD control packet to the ingress node, where the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel.
  • the second extended BFD control packet specifically includes: an MTU type length value TLV, configured to carry an interface MTU value of the receiving node on the tunnel.
  • the receiving node receives the first extended bidirectional forwarding detection BFD control packet sent by the ingress node, and obtains the MTU value of the interface of the receiving node on the tunnel, which will carry The second extended BFD control message of the interface MTU value is returned to the ingress node, so that the interface MTU value of the receiving node is sent to the ingress node.
  • the embodiments of the present invention help to accurately determine the tunnel MTU, help to reduce the number of slices and avoid the problem of reassembly failure caused by secondary fragmentation.
  • an embodiment of the present invention provides a network device 400, which is used to determine a tunnel maximum transmission unit MTU value, and the network device 400 is applied to a tunnel from an ingress node to an egress node.
  • the network device 400 includes:
  • the sending unit 401 is configured to send, by the receiving node on the tunnel, a first extended bidirectional forwarding detection BFD control packet, where the first extended BFD control packet includes an MTU flag, and the MTU flag
  • the locator is used to instruct the receiving node to return an MTU value of the interface of the receiving node on the tunnel to the ingress node, where the receiving node is all nodes on the tunnel except the ingress node;
  • the receiving unit 402 is configured to receive a second extended BFD control packet returned by the receiving node, where the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel;
  • a determining unit 403 configured to select, from the receiving node, the interface MTU value on the tunnel and the interface MTU value of the tunnel on the ingress node, select a minimum MTU value, as the The tunnel MTU value.
  • the interface MTU value of the tunnel on the ingress node may be the interface MTU value of the outbound interface of the ingress node through which the tunnel passes.
  • the network device 400 can be located on the ingress node.
  • the network device 400 may be separately configured.
  • the network device 400 further includes an acquiring unit, where the acquiring unit is configured to acquire an interface MTU of the outbound interface of the ingress node on the tunnel. a value, the determining unit 403 selects, from the receiving node, the interface MTU value on the tunnel and the interface MTU value of the tunnel on the ingress node, and selects a minimum MTU value as The tunnel MTU value.
  • the network device 400 further includes:
  • the TTL setting unit 404 is configured to set a time-to-live TTL value in the tunnel packet that carries the first extended BFD control packet, to complete sending the first extended BFD control packet to the tunnel. On the specified receiving node.
  • the functional units of the network device 400 provided by the third embodiment of the present invention are based on the specific implementation of the method provided in the first embodiment. The definition of the term and the solution to the problem are consistent with the first embodiment. No longer.
  • the network device 400 of the third embodiment of the present invention sends a first extended bidirectional forwarding detection BFD control message to the receiving node on the tunnel by the sending unit 401, and receives the second extended BFD returned by the receiving node by the receiving unit 402. Controlling the message; selecting, by the determining unit 403, the interface MTU value of the receiving node from the receiving node on the tunnel and the interface MTU value of the tunnel on the ingress node, selecting a minimum MTU value, As the tunnel MTU value.
  • an embodiment of the present invention provides a network device 500 for transmitting a maximum transmission unit MTU value of a node on a tunnel, where the network device 500 is applied to a tunnel from an ingress node to an egress node.
  • the network device 500 includes:
  • the receiving unit 501 is configured to receive a first extended bidirectional forwarding detection BFD control packet sent by the ingress node, where the first extended BFD control packet includes an MTU flag bit, where the MTU flag bit is used to indicate that the receiving node is Returning, by the ingress node, an interface MTU value of the receiving node on the tunnel;
  • the obtaining unit 502 is configured to obtain an interface MTU value of the receiving node on the tunnel;
  • the sending unit 503 is configured to return a second extended BFD control packet to the ingress node, where the second extended BFD control packet carries an interface MTU value of the receiving node on the tunnel.
  • the network device 500 may be located on the receiving device or separately.
  • the network device 500 of the fourth embodiment of the present invention receives the first extended bidirectional forwarding detection BFD control packet sent by the ingress node by using the receiving unit 501, and acquires the receiving node by using the acquiring unit 502.
  • the MTU value of the interface on the tunnel is returned by the sending unit 503 to the ingress node to send a second extended BFD control packet, so that the interface MTU value of the receiving node is sent to the ingress node.
  • the embodiments of the present invention help to accurately determine the tunnel MTU, and help to reduce the number of fragmentation and reassembly failure problems caused by secondary fragmentation.
  • an embodiment of the present invention provides a system 600 for determining a maximum transmission unit MTU value of a tunnel, which is applied to a tunnel from an ingress node to an egress node, where the system 600 includes: a first network device 601 and a second network device. 602;
  • the first network device 601 includes:
  • the network device 400 described in the third embodiment is the network device 400 described in the third embodiment.
  • the second network device 602 includes:
  • the functional units of the first network device and the second network device provided by the fifth embodiment of the present invention are based on the specific implementation of the methods provided in Embodiments 1 to 2 and the third to fourth network devices.
  • the combination of the terms, the definition of the terms, and the problems solved are consistent with the first to fourth embodiments, and are not described herein again.
  • the system provided in Embodiment 5 of the present invention through the combination of the network device described in Embodiment 3 and the network device described in Embodiment 4, expands the BFD control packet, collects the MTU value of each network device on the tunnel, and selects the network interface.
  • the MTU value of the interface with the smallest value is the tunnel MTU, so that the tunnel MTU can be accurately determined, which helps to reduce the number of fragmentation and the reorganization failure caused by the second fragmentation.
  • an embodiment of the present invention provides a network device 700, which may be a microprocessor computer.
  • the network device 700 can be one of a portable device such as a general purpose computer, a custom machine, a mobile phone terminal, or a tablet.
  • the network device 700 includes a processor 704, a memory 706, a communication interface 702, and a bus 708.
  • the processor 704, the memory 706, and the communication interface 702 are connected by bus 708 and complete communication with each other.
  • the bus 708 may be an Industry Standard Architecture (ISA) bus or a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA). Bus, etc.
  • the bus may include one or more of an address bus, a data bus, and a control bus. For convenience of representation, only one thick line is shown in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • Memory 706 is for storing executable program code, the program code including computer operating instructions.
  • the program code is used to complete steps 101-103 of the third embodiment.
  • the memory 706 can include a high speed RAM (Ramdom Access Memory) memory.
  • the memory 706 may also include a non-volatile memory.
  • memory 706 can include disk storage.
  • the processor 704 may be a central processing unit (CPU), or the processor 704 may be an Application Specific Integrated Circuit (ASIC), or the processor 704 may be configured to implement the present invention. One or more integrated circuits of an embodiment.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the communication interface 702 is configured to perform the operations of sending the first extended bidirectional forwarding detection BFD control message to the receiving node on the tunnel and receiving the second extended BFD control message returned by the receiving node in the third embodiment.
  • the processor 704 is configured to read an instruction stored in the memory 706, so as to perform an interface MTU value of the receiving node on the tunnel returned from the receiving node in Embodiment 3, and the tunnel is at the ingress node.
  • the interface MTU values the smallest MTU value is selected as the operation of the tunnel MTU value.
  • the interface MTU value of the tunnel on the ingress node may be the interface MTU value of the outbound interface of the ingress node through which the tunnel passes.
  • the network device may be located on the ingress node.
  • the network device may be separately configured.
  • the network device is further configured to obtain an interface MTU value of the outbound interface of the ingress node on the tunnel, and return from the receiving node.
  • the receiving node selects a minimum MTU value as the tunnel MTU value among the interface MTU value on the tunnel and the interface MTU value of the tunnel on the ingress node.
  • the network device provided in the sixth embodiment of the present invention sends a first extended bidirectional forwarding detection BFD control packet to the receiving node on the tunnel, and receives a second extended BFD control packet returned by the receiving node, and receives the second extended BFD control packet from the receiving node. And determining, by the receiving node, the interface MTU value on the tunnel and the interface MTU value of the tunnel on the ingress node, selecting a minimum MTU value as the tunnel MTU value.
  • the tunnel MTU is accurately determined, which helps to reduce the number of shards and avoid the problem of reassembly failure caused by the second shard.
  • an embodiment of the present invention provides a network device 800, which may be a microprocessor computer.
  • the network device 700 can be one of a portable device such as a general purpose computer, a custom machine, a mobile phone terminal, or a tablet.
  • the network device 800 includes a processor 804, a memory 806, a communication interface 802, and a bus 808.
  • Processor 804, memory 806, and communication interface 802 are connected by bus 808 and complete communication with one another.
  • the bus 808 may be an Industry Standard Architecture (ISA) bus or a Peripheral Component (PCI) bus. Or extend the Industrial Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Industrial Standard Architecture
  • the bus can be divided into one or more of an address bus, a data bus, and a control bus. For ease of representation, only one thick line is shown in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • Memory 806 is for storing executable program code, the program code including computer operating instructions.
  • the program code is used to complete steps 301-303 of the third embodiment.
  • the memory 806 can include a high speed RAM (Ramdom Access Memory) memory.
  • the memory 806 may further include a non-volatile memory.
  • memory 806 can include disk storage.
  • the processor 804 may be a central processing unit (CPU), or the processor 804 may be an application specific integrated circuit (ASIC), or the processor 804 may be configured to implement the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the communication interface 802 is configured to perform the operations of receiving the first extended bidirectional forwarding detection BFD control message sent by the ingress node and returning the second extended BFD control message to the ingress node in the fourth embodiment.
  • the processor 804 is configured to read the instruction stored in the memory 806, so as to perform the operation of obtaining the interface MTU value of the receiving node on the tunnel in Embodiment 4.
  • the network device may be located on the receiving device or separately.
  • the network device provided in Embodiment 7 of the present invention obtains the MTU value of the interface of the receiving node on the tunnel by receiving the first extended bidirectional forwarding detection BFD control packet sent by the ingress node, and returns the MTU value of the interface of the receiving node to the ingress node. 2.
  • the BFD control packet is extended, so that the interface MTU value of the receiving node is sent to the ingress node.
  • the embodiments of the present invention help to accurately determine the tunnel MTU, and help to reduce the number of fragmentation and reassembly failure problems caused by secondary fragmentation.
  • inventive arrangements may be described in the general context of computer-executable instructions executed by a computer, such as a program element.
  • program units include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • inventive arrangements can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program elements can be located in a storage device In local and remote computer storage media.
  • the various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

Landscapes

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

Abstract

Un mode de réalisation de la présente invention concerne un procédé de détermination de valeur PMTU, un dispositif et un système de réseau utilisés sur un chemin d'un noeud d'entrée à un noeud de sortie, le procédé comprenant : un noeud d'entrée qui transmet à un noeud de réception sur le chemin un premier paquet de commande de protocole de détection de transmission bidirectionnelle (BFD) à extension, ledit premier paquet comprenant un binaire indicateur de MTU; le nœud d'entrée reçoit un second paquet de commande de protocole BFD à extension renvoyé par le nœud de réception, ledit second paquet de commande acheminant une valeur MTU d'interface du nœud de réception sur le chemin ; et le noeud d'entrée sélectionne une valeur MTU minimum à partir de la valeur MTU d'interface du noeud de réception sur le chemin renvoyée par le nœud de réception et la valeur MTU d'interface du chemin sur le nœud d'entrée afin de servir de valeur PMTU. Le procédé facilite la détermination précise de la valeur PMTU sur le chemin, ce qui réduit le nombre de fois où se produit une fragmentation, et atténue le problème de défaillance de défragmentation provoqué par une fragmentation secondaire.
PCT/CN2015/090786 2014-09-30 2015-09-25 Procédé de détermination de pmtu, dispositif et système de réseau WO2016050177A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410525848.6 2014-09-30
CN201410525848.6A CN105530193B (zh) 2014-09-30 2014-09-30 确定隧道最大传输单元的方法、网络设备和***

Publications (1)

Publication Number Publication Date
WO2016050177A1 true WO2016050177A1 (fr) 2016-04-07

Family

ID=55629436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090786 WO2016050177A1 (fr) 2014-09-30 2015-09-25 Procédé de détermination de pmtu, dispositif et système de réseau

Country Status (2)

Country Link
CN (1) CN105530193B (fr)
WO (1) WO2016050177A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112688879A (zh) * 2020-12-29 2021-04-20 联想未来通信科技(重庆)有限公司 一种数据限值确定方法及装置
CN113162866A (zh) * 2020-01-22 2021-07-23 ***通信有限公司研究院 一种报文传输方法、通信设备及介质
CN114095479A (zh) * 2020-07-29 2022-02-25 武汉神州数码云科网络技术有限公司 一种IGMPv3/MLDv2成员报告报文的处理方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10608947B2 (en) * 2018-02-26 2020-03-31 Qualcomm Incorporated Per-flow jumbo MTU in NR systems
CN110191066B (zh) * 2019-06-14 2022-05-20 迈普通信技术股份有限公司 一种确定最大传输单元pmtu的方法、设备及***
CN110351207B (zh) * 2019-07-19 2022-05-17 迈普通信技术股份有限公司 最大传输单元确定方法、装置、电子设备及可读存储介质
CN112565054A (zh) * 2020-12-15 2021-03-26 安徽皖通邮电股份有限公司 一种利用cfm确定隧道最大传输单元mtu值的方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101010409B1 (ko) * 2008-09-01 2011-01-24 주식회사 세아네트웍스 터널링 기반 네트워크에서 ip 패킷 전송 방법 및 장치
CN102457404A (zh) * 2010-10-15 2012-05-16 中兴通讯股份有限公司 检测通信路径mtu的方法、装置和***
CN103262606A (zh) * 2010-12-21 2013-08-21 瑞典爱立信有限公司 对gtp隧道中的ip分片的改进

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400085A (zh) * 2007-09-30 2009-04-01 华为技术有限公司 一种协商路径最大传输单元值的方法、装置及***
CN101924689A (zh) * 2009-06-16 2010-12-22 中兴通讯股份有限公司 最大分段参数的协商方法及网络转发设备
CN101827031A (zh) * 2010-04-22 2010-09-08 中兴通讯股份有限公司 一种用户数据包协议udp隧道中传输报文的方法及装置
CN102882867A (zh) * 2012-09-20 2013-01-16 北京傲天动联技术有限公司 基于以太网上的点对点协议的最大接收单元协商方法
CN103297348A (zh) * 2013-05-10 2013-09-11 汉柏科技有限公司 防止esp/ah报文分片的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101010409B1 (ko) * 2008-09-01 2011-01-24 주식회사 세아네트웍스 터널링 기반 네트워크에서 ip 패킷 전송 방법 및 장치
CN102457404A (zh) * 2010-10-15 2012-05-16 中兴通讯股份有限公司 检测通信路径mtu的方法、装置和***
CN103262606A (zh) * 2010-12-21 2013-08-21 瑞典爱立信有限公司 对gtp隧道中的ip分片的改进

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162866A (zh) * 2020-01-22 2021-07-23 ***通信有限公司研究院 一种报文传输方法、通信设备及介质
CN113162866B (zh) * 2020-01-22 2023-08-01 ***通信有限公司研究院 一种报文传输方法、通信设备及介质
CN114095479A (zh) * 2020-07-29 2022-02-25 武汉神州数码云科网络技术有限公司 一种IGMPv3/MLDv2成员报告报文的处理方法
CN114095479B (zh) * 2020-07-29 2024-04-30 武汉神州数码云科网络技术有限公司 一种IGMPv3/MLDv2成员报告报文的处理方法
CN112688879A (zh) * 2020-12-29 2021-04-20 联想未来通信科技(重庆)有限公司 一种数据限值确定方法及装置
CN112688879B (zh) * 2020-12-29 2023-08-22 联想未来通信科技(重庆)有限公司 一种数据限值确定方法及装置

Also Published As

Publication number Publication date
CN105530193B (zh) 2019-06-07
CN105530193A (zh) 2016-04-27

Similar Documents

Publication Publication Date Title
WO2016050177A1 (fr) Procédé de détermination de pmtu, dispositif et système de réseau
CN108234235B (zh) 用于数据监控的方法、网络设备以及计算机可读存储介质
WO2016058245A1 (fr) Procédé et appareil de traitement pour un message d'exploitation, d'administration et d'entretien (oam)
EP3713162A1 (fr) Procédé et appareil de traitement de route, et appareil et procédé de transmission de données
US10554536B2 (en) Method for obtaining path information and apparatus
US9497107B1 (en) Seamless path monitoring and rapid fault isolation using bidirectional forwarding detection in a network environment
CN105657748B (zh) 基于隧道绑定的通信方法和网络设备
EP3637693A1 (fr) Procédé et appareil de détection de chemin
EP3331205B1 (fr) Procédé de transmission de paquet de données utilisé dans un réseau ipv6 et dispositif l'utilisant
CN113411834B (zh) 报文处理方法、装置、设备及存储介质
JP2018503303A5 (fr)
EP3979576A1 (fr) Procédé de transfert de paquet, dispositif, et support de stockage lisible par ordinateur
WO2013071801A1 (fr) Procédé, dispositif et système pour détecter un réseau en anneau à commutation multiprotocole par étiquette
JP7124206B2 (ja) パケット処理方法およびゲートウェイ・デバイス
WO2015184771A1 (fr) Procédé et dispositif de nœud pour l'exploitation, l'administration et la maintenance d'un chaînage de fonctions de service
CN103580894A (zh) 操作、管理和维护oam配置的方法、设备及***
EP3681112A1 (fr) Procédé, appareil, et système de transmission de message de multidiffusion
CN113055293B (zh) 软件定义广域网中的选路方法及装置、通信***
CN110959272A (zh) Ip/mpls网络隧道中的缺陷检测
CN113055294A (zh) 报文封装、解封装方法、装置、存储介质及电子装置
WO2019165803A1 (fr) Procédé et appareil de traitement de message, et procédé, appareil et système d'encapsulation de message
CN103036984B (zh) 一种单向流量的检测方法及网络设备
WO2020249033A1 (fr) Procédé de notification d'erreur binaire et dispositif associé
CN107317753B (zh) 双向转发检测bfd会话建立的方法、装置和***
CN101150510B (zh) 一种实现GRE协议兼容IPinIP协议的方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15848066

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15848066

Country of ref document: EP

Kind code of ref document: A1