[CentOS] IP aliases Centos 6.x

Tue Mar 4 00:07:44 UTC 2014
Les Mikesell <lesmikesell at gmail.com>

On Mon, Mar 3, 2014 at 5:34 PM, Alexander Dalloz <ad+lists at uni-x.org> wrote:

>> What's the right way to assign an IP alias to an ethernet interface
>> that you want to bring up and down manually, not on boot?
>>
>> I tried the old way of making an ifcfg-eth3:0 file and it does work
>> with the ifup, ifdown commands, but even though I specified onboot=no,
>> it activated at boot-up.
>
> /usr/share/doc/initscripts-9.03.40/sysconfig.txt
>
>     ONBOOT=yes|no (not valid for alias devices; use ONPARENT)
>     ONPARENT=yes|no
>       Whether to bring up the device when the parent device is brought
>       up.
>       Default: yes
>

That worked, thanks!   I was trying to find it in the RedHat online
docs but it was mostly about NetworkManger.

-- 
   Les Mikesell
     lesmikesell at gmail.com