Pre
SFD |
O-DMAC
|
O-SMAC
|
Type
|
LSP
Label |
RSVP Label
|
VPN
Label |
IP
20 bytes |
TCP
20 bytes |
Payload / Data
6-1460 |
CRC
FCS |
IFG
|
|
8
|
6
|
6
|
2
|
4
|
4
|
4
|
1500
|
4
|
12
|
|||
IP MTU
|
||||||||||||
MPLS MTU
|
||||||||||||
ETHERNET MTU
|
Encapsulation overhead calculator
PDU size:
Notes
PDU (Protocol Data Unit) is a general term for frames, packets, segments etc.
Examples
GRE over IPv4, encapsulates IPv4. We want tunnel MTU, parent interface MTU is 1500
Parent interface MTU is maximum size of IPv4 packets it can transmit, not counting Ethernet frame headers.
So we only need to care about IPv4 and GRE, and we add IPv4 (20 bytes) and GRE (4 bytes). Tunnel MTU is 1476,
which means maximum size of encapsulated IPv4 packet must not exceed 1476 if we don't want it to be fragmented
MSS for the above example.
To get MSS, we need to add IPv4 and TCP after those IPv4 and GRE. MSS will be 1436 (1476 - 20 - 20), which means
TCP payload must not exceed 1436.
No comments: