Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1978773

Summary: [Network] RFE: Support ignoring default gateway retrieved by DHCP/IPv6-RA
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Zhiqian Guan <zhguan>
Severity: medium Docs Contact: Mayur Patil <maypatil>
Priority: unspecified    
Version: 9.0CC: djez, fge, jharuda, maypatil, nhosoi, rmeggins, spetrosi, till, zhguan
Target Milestone: rcKeywords: FutureFeature, RFE, Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard: role:network
Fixed In Version: rhel-system-roles-1.11.0-1.el9 Doc Type: Enhancement
Doc Text:
.A new option `auto_gateway` controls the default route behavior Previously, the `DEFROUTE` parameter was not configurable with configuration files but only manually configurable by naming every route. This update adds a new `auto_gateway` option in the `ip` configuration section for connections, with which you can control the default route behavior. You can configure `auto_gateway` in the following ways: * If set to `true`, default gateway settings apply to a default route. * If set to `false`, the default route is removed. * If unspecified, the `network` role uses the default behavior of the selected `network_provider`.
Story Points: ---
Clone Of: 1897565 Environment:
Last Closed: 2022-05-17 13:02:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1897565, 1993384    
Bug Blocks:    

Comment 1 Zhiqian Guan 2021-10-11 03:59:40 UTC
Hi Rich,
Would you mind set a DTM for this bz? thanks!

Comment 3 Zhiqian Guan 2021-11-15 10:38:28 UTC
:: [ 05:11:09 ] :: [   PASS   ] :: Test network/tests_auto_gateway_initscripts.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_initscripts.yml) with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0)
:: [ 05:11:30 ] :: [   PASS   ] :: Test network/tests_auto_gateway_nm.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_nm.yml) with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0)
: [ 05:19:49 ] :: [   PASS   ] :: Test network/tests_auto_gateway_initscripts.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_initscripts.yml) with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 05:20:33 ] :: [   PASS   ] :: Test network/tests_auto_gateway_nm.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_nm.yml) with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 05:24:15 ] :: [   PASS   ] :: Test network/tests_auto_gateway_initscripts.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_initscripts.yml) with ANSIBLE-2.9 against RHEL_8_4_0_GA (Expected 0, got 0)
:: [ 05:26:12 ] :: [   PASS   ] :: Test network/tests_auto_gateway_nm.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_nm.yml) with ANSIBLE-2.9 against RHEL_8_4_0_GA (Expected 0, got 0)
:: [ 05:29:36 ] :: [   PASS   ] :: Test network/tests_auto_gateway_initscripts.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_initscripts.yml) with ANSIBLE-2.9 against RHEL_8_5_0_TESTING (Expected 0, got 0)
:: [ 05:30:53 ] :: [   PASS   ] :: Test network/tests_auto_gateway_nm.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_nm.yml) with ANSIBLE-2.9 against RHEL_8_5_0_TESTING (Expected 0, got 0)
:: [ 05:35:37 ] :: [   PASS   ] :: Test network/tests_auto_gateway_initscripts.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_initscripts.yml) with ANSIBLE-2.9 against RHEL_9_TESTING (Expected 0, got 0)
:: [ 05:36:28 ] :: [   PASS   ] :: Test network/tests_auto_gateway_nm.yml (roles/rhel-system-roles.network/tests/tests_auto_gateway_nm.yml) with ANSIBLE-2.9 against RHEL_9_TESTING (Expected 0, got 0)

[root@netqe4 Upstream-testsuite]# rpm -q rhel-system-roles
rhel-system-roles-1.10.0-0.1.el9.noarch
[root@netqe4 Upstream-testsuite]#

results look good, set this to verified: tested

Comment 9 errata-xmlrpc 2022-05-17 13:02:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: rhel-system-roles), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2443