[CentOS] IP aliases Centos 6.x

Alexander Dalloz ad+lists at uni-x.org
Mon Mar 3 23:34:27 UTC 2014


Am 04.03.2014 00:24, schrieb Les Mikesell:
> 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

Alexander




More information about the CentOS mailing list