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

Add support for per-interface IP forwarding in NetworkManager

    • rhel-sst-network-management
    • ssg_networking
    • 5
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Hide

      Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1),

      When the system administrator sets ipvX.forwarding to yes in the NetworkManager profile for that interface,

      Then NetworkManager should apply the sysctl setting net.ipvX.conf.eth1.forward=1, enabling IP forwarding for that interface

      Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1),

      When the system administrator sets ipvX.forwarding to no in the NetworkManager profile for that interface,

      Then NetworkManager should apply the sysctl setting net.ipvX.conf.eth1.forward=0, disabling IP forwarding for that interface

       

      Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1),

      When the system administrator sets ipvX.forwarding to auto in the NetworkManager profile for that interface,

      Then NetworkManager should set the forwarding only if sharing is enabled with the connection. 

       

      Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1),

      When the system administrator sets ipvX.forwarding to auto in the NetworkManager profile for that interface,

      Then NetworkManager should not modify the current forwarding configuration for that interface.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and pass 
      • The code is part of a downstream build attached to an errata
      Show
      Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1), When the system administrator sets ipvX.forwarding to yes in the NetworkManager profile for that interface, Then NetworkManager should apply the sysctl setting net.ipvX.conf.eth1.forward=1, enabling IP forwarding for that interface Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1), When the system administrator sets ipvX.forwarding to no in the NetworkManager profile for that interface, Then NetworkManager should apply the sysctl setting net.ipvX.conf.eth1.forward=0, disabling IP forwarding for that interface   Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1), When the system administrator sets ipvX.forwarding to auto in the NetworkManager profile for that interface, Then NetworkManager should set the forwarding only if sharing is enabled with the connection.    Given a system administrator has configured a NetworkManager connection profile for an Ethernet interface (e.g., eth1), When the system administrator sets ipvX.forwarding to auto in the NetworkManager profile for that interface, Then NetworkManager should not modify the current forwarding configuration for that interface. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and pass  The code is part of a downstream build attached to an errata
    • None
    • None
    • Enhancement
    • None

      To meet the needs of users configuring multi-interface nodes (OCP) and enable forwarding per interface (See RHEL-36429), NetworkManager should support configuring sysctl settings for IPv4 forwarding.

      Specifically, the setting net.ipv4.conf.<interface>.forward=1 should be configurable via NetworkManager profiles. This will allow specific interfaces to enable forwarding, such as for use cases like Metallb load balancing, without requiring global ip_forward=1 settings.

       

       

              rh-ee-sfaye Stanislas Faye
              rh-ee-sfaye Stanislas Faye
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: