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 1897565 - [Network] RFE: Support ignoring default gateway retrieved by DHCP/IPv6-RA
Summary: [Network] RFE: Support ignoring default gateway retrieved by DHCP/IPv6-RA
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.6
Assignee: Gris Ge
QA Contact: Zhiqian Guan
Mayur Patil
URL:
Whiteboard: role:network
Depends On:
Blocks: 1978773 1993384
TreeView+ depends on / blocked
 
Reported: 2020-11-13 13:01 UTC by Gris Ge
Modified: 2022-05-10 14:38 UTC (History)
5 users (show)

Fixed In Version: rhel-system-roles-1.11.0-1.el8
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`.
Clone Of:
: 1978773 1993384 (view as bug list)
Environment:
Last Closed: 2022-05-10 14:12:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network pull 309 0 None closed Add 'defroute' option 2021-06-23 15:45:22 UTC
Red Hat Product Errata RHBA-2022:1896 0 None None None 2022-05-10 14:12:31 UTC

Description Gris Ge 2020-11-13 13:01:08 UTC
Description of problem:

Please allowing configure a connection to use DHCP/IPv6-RA with
default gateway ignored.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Pavel Cahyna 2020-11-13 14:20:27 UTC
What does it have to do with storage?

Comment 2 Gris Ge 2021-01-27 14:28:28 UTC
It's wrongly set. Fixed.

Comment 6 Rich Megginson 2021-06-23 14:50:48 UTC
@fge is this fixed by https://github.com/linux-system-roles/network/pull/309 "Add 'defroute' option"?

Comment 7 Gris Ge 2021-06-23 15:37:43 UTC
Yes. It does.

Comment 8 Rich Megginson 2021-06-23 15:46:56 UTC
(In reply to Gris Ge from comment #7)
> Yes. It does.

And this is still targeted for 8.6?  You don't want to release this in 8.5?

Comment 9 Rich Megginson 2021-07-08 22:29:20 UTC
NOTE: This fix will be included in rhel 8.5.0 as part of the network role rebase, but this fix will not be tested, supported, and documented until rhel 8.6

Comment 10 Zhiqian Guan 2021-10-11 04:36:44 UTC
Hi Gris,
Would you mind set a DTM for this bz? thanks!

Comment 11 Gris Ge 2021-10-13 06:49:18 UTC
Sure. All set.

Comment 12 Zhiqian Guan 2021-10-13 07:46:37 UTC
(In reply to Gris Ge from comment #11)
> Sure. All set.

so as the RHEL9 bz for the feature, thanks~
https://bugzilla.redhat.com/show_bug.cgi?id=1978773

Comment 14 Zhiqian Guan 2021-11-16 05:12:58 UTC
:: [ 23:02:30 ] :: [   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)
:: [ 23:02:51 ] :: [   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)
:: [ 23:06:04 ] :: [   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)
:: [ 23:06:48 ] :: [   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)
:: [ 23:12: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_8_4_0_GA (Expected 0, got 0)
:: [ 23:12: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_8_4_0_GA (Expected 0, got 0)
:: [ 23:17:53 ] :: [   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)
:: [ 23:19:07 ] :: [   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)
:: [ 23:21:55 ] :: [   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)
:: [ 23:22:48 ] :: [   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@netqe1 Upstream-testsuite]# rpm -q rhel-system-roles
rhel-system-roles-1.10.0-0.1.el8.noarch
[root@netqe1 Upstream-testsuite]#

results look good, set this to verified: tested

Comment 22 errata-xmlrpc 2022-05-10 14:12:08 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 (rhel-system-roles bug fix and enhancement update), 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:1896


Note You need to log in before you can comment on or make changes to this bug.