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 2013587

Summary: [RFE] Add blackhole routing as a supported routing type in NetworkManager
Product: Red Hat Enterprise Linux 8 Reporter: Vojtěch Bůbela <vbubela>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Matej Berezny <mberezny>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: high    
Version: ---CC: bgalvani, fge, lrintel, mberezny, redhat-bugzilla, rkhan, robert.scheck, sferguso, sukulkar, thaller, till, vbenes
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.36.0-0.8.el8 Doc Type: No Doc Update
Doc Text:
The release note is in BZ#1996617.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:54:14 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:    
Bug Blocks: 1937823    

Description Vojtěch Bůbela 2021-10-13 10:02:34 UTC
Add support for route type blackhole.

Comment 2 Thomas Haller 2021-11-09 09:06:06 UTC
blackhole routes don't have a device. That makes them different from unicast (and most other route types).

It also means, they are more like routing rules. That is, when we activate profiles that configure blackhole routes, then these routes are not per-ifindex, instead they are global. that means, we need a global manager that handles whether to configure a blackhole routes. Like done for routing rules, where we have nmp-rules-manager.h.

Also note that NMPlatform (and NMPlatformIP[46]Route) currently always expect that a route has an ifindex. To support blackhole routes, that needs to be adjusted *first*.

Comment 3 Thomas Haller 2021-11-09 09:08:42 UTC
systemd-networkd supports Type=blackhole. I'd check how that is implemented...

Comment 10 errata-xmlrpc 2022-05-10 14:54:14 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 (NetworkManager 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/RHEA-2022:1985