RHEL3, RHEL4, OEL4: traceroute Fails with -F (do not fragment bit) Argument (Doc ID 752844.1)

Last updated on JULY 01, 2009

Applies to:

Linux Kernel - Version: 3.0 to 5.3
Linux Itanium
Linux x86-64
traceroute-1.4a12-XX

Symptoms

With traceroute-1.4a12-XX (provided by RHEL3, RHEL4, OEL4) the -F argument is used to avoid intra-switch fragmentation. From traceroute(8) manpage:
       ...
       -F     Set the "don’t fragment" bit.
       ...

When '-F'  is specified the traceroute fails to get connected. Even with localhost:
# traceroute -r -F 127.0.0.1
traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 46 byte packets
 1  * * *
 2  * * *
 3  * * *
 ...
 ...

Without '-F' it works just fine:
# traceroute -r 127.0.0.1
traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 46 byte packets
 1  localhost.localdomain (127.0.0.1)  0.629 ms  0.032 ms  0.021 ms
#

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms