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?
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.
On 2.10.2012 15:00, Timo Schoeler wrote:> 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?I think so. See http://lists.centos.org/pipermail/centos/2012-March/124152.html -- Kind Regards, Markus Falb -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 304 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20121002/15b46328/attachment-0005.sig>