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

Support RFC 8925 (IPv6-Only Preferred Option for DHCPv4) dhcp option 108

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • NetworkManager-1.51.90-2.el9
    • None
    • FutureFeature
    • rhel-net-mgmt
    • ssg_networking
    • 26
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Hide

      Given a System Administrator is configuring a network to prioritize IPv6 usage in a dual stack v4/v6 environment using the NetworkManager's DHCP client,
      When they enable the RFC 8925 (IPv6-Only Preferred Option for DHCPv4) dhcp option 108 and initiate a network connection,
      Then during the DHCP DISCOVER process, the IPv6-mostly option should be sent to the server, and if the server responds affirmatively, IPv4 should not be enabled on the client. A retry for IPv4 should only occur after the server-defined period, while ensuring uninterrupted IPv6 connectivity.

      Definition of done:

      • The implementation meets the acceptance criteria
      • Unit tests and integration tests are written and pass
      • The code is part of a downstream build attached to an errata
      • The initial text for this enhancement in the feature-reason-result format (More details here)
      Show
      Given a System Administrator is configuring a network to prioritize IPv6 usage in a dual stack v4/v6 environment using the NetworkManager's DHCP client, When they enable the RFC 8925 (IPv6-Only Preferred Option for DHCPv4) dhcp option 108 and initiate a network connection, Then during the DHCP DISCOVER process, the IPv6-mostly option should be sent to the server, and if the server responds affirmatively, IPv4 should not be enabled on the client. A retry for IPv4 should only occur after the server-defined period, while ensuring uninterrupted IPv6 connectivity. Definition of done: The implementation meets the acceptance criteria Unit tests and integration tests are written and pass The code is part of a downstream build attached to an errata The initial text for this enhancement in the feature-reason-result format (More details here )
    • Pass
    • None
    • Enhancement
    • Hide
      .NetworkManager DHCP Client supports IPv6-only preferred option for DHCPv4

      With this enhancement, the IPv6-only preferred option for DHCPv4 is available for NetworkManager clients for the supported DHCP server. You can use this option in two ways: globally and locally. If enabled globally, this option allows and prioritizes only IPv6 addresses in dual networks that support both IPv4 and IPv6. If enabled locally by setting the `ipv6.method disabled` option, IPv4 addresses assigned manually are prioritized over DHCP addresses.
      Show
      .NetworkManager DHCP Client supports IPv6-only preferred option for DHCPv4 With this enhancement, the IPv6-only preferred option for DHCPv4 is available for NetworkManager clients for the supported DHCP server. You can use this option in two ways: globally and locally. If enabled globally, this option allows and prioritizes only IPv6 addresses in dual networks that support both IPv4 and IPv6. If enabled locally by setting the `ipv6.method disabled` option, IPv4 addresses assigned manually are prioritized over DHCP addresses.
    • Done
    • None

      From upstream issue: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1298

      Add support for (https://www.rfc-editor.org/rfc/rfc8925.html) IPv6-mostly AKA dhcp option 108. This is primarily a client side option so it would be implemented in the NM dhcp client.

      It allows the use/prioritization of IPv6 on a network that supports dual stack v4/v6. It allows the use of pure IPv6 in a dual stack v4/v6 network. Option 108 is already supported on Android/iOS/MacOS.

      More details in this RIPE presentation: https://www.ipv6.org.uk/wp-content/uploads/2023/02/08_UKIPv6-Deploying_IPv6_mostly.pdf

      It doesn't seem complicated: client sends a DISCOVER with the IPv6-mostly option. If the server responds affirmative, IPv4 is not enabled and it's retried again after the period of time defined by the server.

              rhn-engineering-vbenes Vladimir Benes
              ihuguet@redhat.com Inigo Huguet
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Mayur Patil Mayur Patil
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: