Why when mentioning "BOOTPROTO=static" in interface configuration file, gives error in Red Hat Enterprise Linux 7 ?
Issue
- When
BOOTPROTO=staticis 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
