Why when mentioning "BOOTPROTO=static" in interface configuration file, gives error in Red Hat Enterprise Linux 7 ?
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.