Translated message

A translation of this page exists in English.

如何将 "blackhole" 或 "unreachable" 或 "prohibit" 路由添加到 NetworkManager 中?

Solution In Progress - Updated -

Issue

  • 如何将 "blackhole" 或 "unreachable" 或 "prohibit" 路由添加到 NetworkManager 中?
  • initscripts 中,我们使用了路由类型 unreachable ,如何将其添加到 NetworkManager 连接中,以使其持久存在?
  • 无法在 RHEL 8 中配置 blackhole 路由
  • 我们的 RHEL 盒子被配置为路由器,并需要 blackhole 路由类型来确保完整的功能。NetworkManager 不支持这个路由类型,即使内核和 iproute2 支持。

Environment

  • Red Hat Enterprise Linux 7 或更高版本
  • NetworkManager
  • black hole, unrechable, 或 prohibited IP 路由

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content