1Z0-100 · Question #24
What is the purpose of setting ONPARENT = no in an Interface configuration file located in /etc/sysconfig/network-scripts?
The correct answer is C. To prevent an alias network interface from being brought up during system startup. The ONBOOT directive tells the network initialization scripts not to start a given interface. If you need to stop a virtual interface from starting when the network interfaces are initialized, you need to set ONPARENT instead of ONBOOT to no. Keep IP Aliases from Starting at Boot
Question
What is the purpose of setting ONPARENT = no in an Interface configuration file located in /etc/sysconfig/network-scripts?
Options
- ATo prevent a network interface from being brought up during system startup
- BTo prevent a slave network interface from being brought up during system startup
- CTo prevent an alias network interface from being brought up during system startup
- DTo prevent a master network interface from being brought up during system startup
How the community answered
(25 responses)- A12% (3)
- B4% (1)
- C80% (20)
- D4% (1)
Explanation
The ONBOOT directive tells the network initialization scripts not to start a given interface. If you need to stop a virtual interface from starting when the network interfaces are initialized, you need to set ONPARENT instead of ONBOOT to no. Keep IP Aliases from Starting at Boot
Topics
Community Discussion
No community discussion yet for this question.