Skip to content
Contents
GuidesOpenWrt

Measure path MTU when only some sites stall over PPPoE

When small packets work but web page images hang, first separate the MTU issue from DNS resolution.

When small packets work but web page images hang, first separate the MTU issue from DNS resolution. Use a wired computer to perform repeated tests against a controllable remote endpoint, then check if a stable threshold appears at a specific length.

Measure size by direction

Start from a common PPPoE MTU of 1492 bytes. On a Linux client, try ping -4 -M do -s 1464 <远端> with the placeholder replaced by the remote test host. The 1464-byte payload plus the basic IPv4 and ICMP headers uses 28 more bytes. Decrease the payload until the probe works, then increase it gradually to find the boundary. Test IPv6 separately, watching for ICMPv6 Packet Too Big and counting 48 bytes for the basic IPv6 and ICMPv6 headers.

Determine the Size Boundary of PPPoE Paths with the Same Destination

In the terminal, send DF probes with different loads, record whether fragmentation is needed or timeout occurs, then establish a new HTTPS connection to transmit a large file.

On OpenWrt, view the MTU of PPP devices and the MSS adjustment in the firewall. When retrying HTTPS or large TCP file transfers to the same destination, apply the RFC 4638 scheme only if there's a complete Layer 2 path and peer support for 1500. On rollback, restore the original WAN MTU and firewall zone settings.

Set MTU or TCP throttling based on actual bottleneck and retain path ICMP. After adjustment, validate with IPv6 and UDP.

Reference

Reference screenshot · Path MTU Discovery
Reference screenshot · Path MTU Discovery
Reference screenshot · Path MTU Discovery Open the original image

IETF RFC 1191 · IETF Trust Legal Provisions © IETF Trust and the RFC authors.

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments