[lkml]   [2001]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Problem with PMTU discovery on ICMP packets
> From: David S. Miller []

> But I first want to know the real story behind this reboot anomaly.
> Then we will fix any new bug we discover, and apply the icmp patch as
> well.

I've done a bit more testing. The behaviour doesn't change across reboots.
Instead, it seems to be the case that:
If the packet fits within the MTU of the outgoing interface, DF is set.
If the packet doesn't fit, and thus gets fragmented, DF is clear on all
Does this make sense?

I think the reason it looked like it changed across reboots might be caused
by the fact that it was influenced by a FreeS/WAN tunnel, which, after a
reboot, didn't always get started successfully.
If the tunnel was down, the packets (2 kB pings) would go out eth0 fragmented
and with DF clear.
If the tunnel was up, they would get routed through the ipsec0 interface
(with a MTU of 16kB) unfragmented and with DF set.

In the latter (normal) case, after arrival and decapsulation at the endpoint
of the tunnel, the packet is doomed because it needs fragmentation to travel
further, but DF is set.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.063 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site