Red Hat Bugzilla – Bug 219363
must check for ONBOOT option for aliases
Last modified: 2012-10-02 09:40:18 EDT
Description of problem:
RHEL4 does not support the ONBOOT for IP aliases. The setting of ONBOOT=no in an
alias config file (for example ifcfg-eth0:0) is ignored during boot time. This
control is important for HA NFS.
Set the option ONBOOT=no in an IP alias file like ifcfg-eth0:0. reboot the
machine or just run 'ifup eth0 boot' and using ifconfig you can see that the
eth0:0 is up.
Attached is a possible fix.
Created attachment 143432 [details]
just check for ONBOOT even for aliases
does anyone at redhat monitor this bugzilla ?
Having tried to do the same thing I think I found the answer.
Just double checked this on EL4,EL5 and FC2...
I think you're using the wrong variable, couldn't find the following in the docs, but stumbled across it in the script
seems to do the job.
Non-obvious, but the docs for the ifcfg-<dev> scripts do seem a little lacking. Apparently we're not supposed to modify them by hand and use the guis instead.