2nd IP address on an interface

Andre Speelmans fedora-list at cosiso.nl
Fri Aug 29 05:12:40 UTC 2014


On Thu, Aug 28, 2014 at 10:35 PM, Lars E. Pettersson <lars at homer.se> wrote:
>
> On 08/28/14 22:16, Robert Moskowitz wrote:
>>
>> # cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
>> [snipped]
>> ONBOOT="yes"

> I think you need to add
> ONPARENT=yes
> to make it start when its parent does.

ONPARENT=yes is indeed the parameter instead of ONBOOT for aliases. It
would not matter here, as "yes" is the default value.
As far as I am aware the suggestion from Tom Horsley with things like
IPADDR2, NETMASK2 in the file of the parent is cuurently the preferred
method. (Not my preferred method, but then perhaps I am just stuck
with old stuff that I know.) :)

-- 
Kind regards,

André


More information about the users mailing list