What is the purpose of setting ONPARENT = no in an Interface configuration file located in
/etc/sysconfig/network-scripts?
A.
To prevent a network interface from being brought up during system startup
B.
To prevent a slave network interface from being brought up during system startup
C.
To prevent an alias network interface from being brought up during system startup
D.
To prevent a master network interface from being brought up during system startup
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.-Reference: Keep IP Aliases from Starting at Boot
C
C
C
I think it’s A.
ONPARENT doesn’t prevent an alias interface from coming up, it just says “wait for the parent interface”. Without ONPARENT, the parent interface is forced up, allowing the virtual interface to also come up. So, really, ONPARENT is preventing the parent interface (a physical interface) from being forced up.