Why when mentioning "BOOTPROTO=static" in interface configuration file, gives error in Red Hat Enterprise Linux 7 ?

Solution Verified - Updated -

Issue

  • When BOOTPROTO=static is mentioned in interface configuration files and then activating that particular interface results in errors like below:
[root@user network-scripts]# ifdown ens12
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
[root@user network-scripts]#

[root@user network-scripts]# ifup ens12
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-ens12'
[root@user network-scripts]#

Environment

  • Red Hat Enterprise Linux 7.0

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