After enabling jumbo frames (MTU 9001) on EC2, traffic to on-prem over VPN breaks for large transfers.
IntermediateTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → Jumbo frames work inside a VPC but VPN, IGW, peering across regions and Transit Gateway paths have smaller MTUs (VPN ~1399 effective), and PMTUD depends on ICMP being allowed.
Diagnose →
tracepath <onprem-ip>
ping -M do -s 1372 <onprem-ip>
Fix → Allow ICMP "fragmentation needed" in security groups, or set MTU 1500 on instances that talk across these paths.
Prevent → Only use jumbo frames on intra-VPC paths that you've tested end to end.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.Intermediate`ping: local error: message too long, mtu=1500`BeginnerPods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.Intermediate