RHEL 8: ifup fails with "Error: unknown connection '/etc/sysconfig/network-scripts/ifcfg-ensX'"

Solution Verified - Updated -

Issue

  • If use NM_CONTROLLED=no in ifcfg file, unable to bring up interfaces with 'ifup' command.
  • ifup commands fails with below error when try to bring up ens3 interface.
# ifup ens3
Error: unknown connection '/etc/sysconfig/network-scripts/ifcfg-ens3'. 

Environment

  • Red Hat Enterprise Linux 8

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