Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-59444

Traceroute defaults to IPv4 instead of IPv6 [rhel-9]

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.6
    • rhel-9.4
    • traceroute
    • None
    • traceroute-2.1.0-19.el9
    • No
    • Low
    • ZStream
    • rhel-plumbers
    • ssg_core_services
    • 26
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Bug Fix
    • Hide
      .The `traceroute` utility supports IPv6 preference via an environment variable

      Previously, the `traceroute` utility did not support favoring IPv6 addresses when both IPv4 and IPv6 addresses were available.

      With this enhancement, the behavior of `traceroute` has been updated to support preference for IPv6 addresses if they are available.

      As a result, you can set the `TRACEROUTE_USE_RFC3484` variable to enable IPv6 preference. If this variable is set, `traceroute` follows RFC 3484 selection rules and defaults to IPv6 when available. If the environment variable is not set, `traceroute` continues to default to IPv4.
      Show
      .The `traceroute` utility supports IPv6 preference via an environment variable Previously, the `traceroute` utility did not support favoring IPv6 addresses when both IPv4 and IPv6 addresses were available. With this enhancement, the behavior of `traceroute` has been updated to support preference for IPv6 addresses if they are available. As a result, you can set the `TRACEROUTE_USE_RFC3484` variable to enable IPv6 preference. If this variable is set, `traceroute` follows RFC 3484 selection rules and defaults to IPv6 when available. If the environment variable is not set, `traceroute` continues to default to IPv4.
    • Done
    • Done
    • Done
    • None

      This is a clone of issue RHEL-58449 to use for version rhel-9.6

      Original description:
      Traceroute defaults to IPv4 addresses even when IPv6  addresses are available. While there is the traceroute6 option, The RFC below appears to indicate that this should not be the case. 

      RFC-3484 - Default Address Selection for Internet Protocol version 6 (IPv6) https://www.rfc-editor.org/info/rfc3484

       

      Traceroute outputs from RHEL 9 system:

      [root@Kombat9 ~]# traceroute kernel.org
      traceroute to kernel.org (139.178.84.217), 30 hops max, 60 byte packets
      [root@R9 ~]# traceroute6 kernel.org
      traceroute to kernel.org (2604:1380:4641:c500::1), 30 hops max, 80 byte packets
      

      Ping output showing default to IPv6

      [root@R9 ~]# ping  kernel.org
      PING kernel.org(dfw.source.kernel.org (2604:1380:4641:c500::1)) 56 data bytes

       

              jamacku@redhat.com Jan Macku
              watson-automation Watson Automation
              Jan Macku Jan Macku
              Jan Macku Jan Macku
              Mugdha Soni Mugdha Soni
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: