Translated message

A translation of this page exists in English.

NetworkManager を再起動すると静的ルートを持つ接続がダウンする

Solution Unverified - Updated -

Issue

  • NetworkManager を再起動すると、静的ルートを持つ接続がダウンします。

以下は、ログのサンプルとなります。

[root@host /]# nmcli c add con-name test-net type ethernet ifname ens9 ip4 172.16.1.102/24
Connection 'test-net' (e5396bd5-a522-4900-b35d-07ad630083b5) successfully added.
[root@host /]# nmcli c modify test-net ipv4.routes "10.1.1.0/24 172.16.1.1"
[root@host /]# nmcli c s
NAME      UUID                                  TYPE            DEVICE 
ens3-nm   90e6b706-f77c-489c-8302-b994af27aeb9  802-3-ethernet  ens3   
test-net  e5396bd5-a522-4900-b35d-07ad630083b5  802-3-ethernet  ens9   
[root@host /]# systemctl restart NetworkManager
[root@host /]# nmcli c s
NAME      UUID                                  TYPE            DEVICE 
ens9      f2c3635d-0a56-4ab4-bdbe-347cc1d0c2d8  802-3-ethernet  ens9    <== an unmanaged connection shows up
ens3-nm   90e6b706-f77c-489c-8302-b994af27aeb9  802-3-ethernet  ens3   
test-net  e5396bd5-a522-4900-b35d-07ad630083b5  802-3-ethernet  --      <== down
[root@host /]# 

Environment

  • Red Hat Enterprise Linux 7

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