Restarting NetworkManager makes a connection down that has a static route.

Solution Verified - Updated -

Issue

  • Restarting NetworkManager makes a connection down that has a static route.
# nmcli c add con-name test-net type ethernet ifname ens9 ip4 192.x.x.2/24
Connection 'test-net' (exxxxxxx-axxx-4xxx-bxxx-0xxxxxxxxxxx) successfully added.
# nmcli c modify test-net ipv4.routes "10.x.x.0/24 192.x.x.1"
# nmcli c s
NAME      UUID                                  TYPE            DEVICE 
ens3-nm   9xxxxxxx-fxxx-4xxx-8xxx-bxxxxxxxxxxx   802-3-ethernet  ens3   
test-net  exxxxxxx-axxx-4xxx-bxxx-0xxxxxxxxxxx   802-3-ethernet  ens9   
# systemctl restart NetworkManager
# nmcli c s
NAME      UUID                                  TYPE            DEVICE 
ens9      fxxxxxxx-0xxx-4xxx-bxxx-3xxxxxxxxxxx  802-3-ethernet  ens9    <== an unmanaged connection shows up
ens3-nm   9xxxxxxx-fxxx-4xxx-8xxx-bxxxxxxxxxxx  802-3-ethernet  ens3   
test-net  exxxxxxx-axxx-4xxx-bxxx-0xxxxxxxxxxx  802-3-ethernet  --   <== down

Environment

  • Red Hat Enterprise Linux 7.
  • NetworkManager-1.0.6-27.el7.x86_64.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.