A packet incoming to a network device may be smaller than the MTU, but if it gets encapsulated by the device and the new total packet size exceeds the MTU of the outgoing interface, the device may fragment the packet into two smaller packets before forwarding the data.įor example, an IPv4 router will fragment and forward packets that exceed the MTU, but also send back an ICMP message-too-big error message to tell the source device that it should use a smaller MTU. ![]() Routers can fragment packets to cut them down to fit smaller MTUs, but this is not optimal. A packet may originate as a standard IPv4 packet with a designated MTU of 1500 bytes, but depending on its destination it may pass through encapsulation that pushes its size over the MTU. There are many other situations where protocol encapsulation occurs, so you must be aware when this happens and take steps to accommodate it. LISP adds 36 bytes for IPv4 and 56 bytes for IPv6 encapsulation.IEEE 802.1Q tag adds 4 bytes (Q-in-Q would add 8 bytes).MPLS adds 4 bytes for each label in the stack.IPsec encryption performed by the DMVPN adds 73 bytes for ESP-AES-256 and ESP-SHA-HMAC overhead (overhead depends on transport or tunnel mode and the encryption/authentication algorithm and HMAC).Any time you add another outer IPv4 header adds 20 bytes.6in4 encapsulation (IP Protocol 41, RFC 4213) adds 20 bytes.GRE (IP Protocol 47) ( RFC 2784) adds 24 bytes (20 byte IPv4 header, 4 byte GRE header).The number of bytes encapsulation adds varies by type of protocol: Encapsulation adds a protocol header, so any packets that are created at 1500 bytes and are then encapsulated will exceed MTU the network can handle. When one protocol's packets or frames are encapsulated within another protocol, it increases the overall frame size. Other communications media have different MTU sizes. Ethernet II networks have a standard frame size of 1518 bytes, which includes a 14-byte Ethernet II header and a four-byte frame-check sequence (FCS). For most Ethernet networks this is 1500 bytes, and this size is used almost universally on access networks. Historically, network media were slower and more prone to error, so MTU sizes were set to be relatively small. The size of an MTU is governed by the physical properties of the communications media. If encapsulation of Ethernet in MPLS pushes the size of the MPLS frame past the MTU of the MPLS edge switches, the switches will drop it. In that case the size of the Ethernet frames must be taken into consideration. For instance, a device on an Ethernet LAN might want to send a payload to a device on an Ethernet LAN in another city and have to cross an MPLS connection on the way. MTU size also comes in to play when, for a frame to get from its source to its destination, it may have to cross a network that use a different protocol than that used by the source and destination networks. The intent is for the source device resend the payload in smaller packets, but it might not be configured to support this. An alternative is that the router drops the packet but sends the source device an internet control-message protocol (ICMP) packet-too-big message.
0 Comments
Leave a Reply. |