Re: Weird behaviour of ifcfg scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/02/2012 03:03 PM, thus Reindl Harald spake:
>
> Am 02.10.2012 15:00, schrieb Timo Schoeler:
>> Hi,
>>
>> I accidentally found that the existence of a file e.g. named
>> ifcfg-eth1:1 put in /etc/sysconfig/network-scripts/ leads to the
>> appropriate interface being created even with the option 'ONBOOT' set to
>> 'no':
>>
>> DEVICE="eth1:1"
>> BOOTPROTO="static"
>> NM_CONTROLLED="no"
>> ONBOOT="no"
>> TYPE="Ethernet"
>> IPADDR=12.34.56.78
>> NETMASK=255.255.255.0
>>
>> Is that intended behaviour?
>
> yes because what you want is ONPARENT since it
> is a pseudo device to assign more than one IP
> to a physical NIC

*facepalm

Thanks, yes.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux