LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help on virtual interface eth0:1 disable at boot time (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-on-virtual-interface-eth0-1-disable-at-boot-time-788172/)

ravibhure 02-10-2010 04:28 AM

Need help on virtual interface eth0:1 disable at boot time
 
Hi,
I have set 'ONBOOT=no' in interface script '/etc/sysconfig/network-scripts/ifcfg-eth0:2' but my interface bring up at boot time, what is the problem , I have checked it 3 or 4 diff os/machine but the same issue. Can anyone please help me to disable virtual IP's at boot time that network script make it up every boot time.

backtolinux 02-10-2010 07:19 AM

not beautyfull :
disable it in the rc.local init file ifdown eth0:2

ravibhure 02-10-2010 10:38 AM

Not the way to resolve I need to make it possible through the network-script or set into the interface config (ifcfg-eth0:2)

Tinkster 02-10-2010 11:06 AM

Which distribution(s) versions did you try this with?

For aliased sub-interfaces ONBOOT is the wrong option,
anyway, it should say ONPARENT.

backtolinux 02-11-2010 03:12 AM

verify in /etc/modprobe* or /etc/modules if there is a reference for your card. delete them if exist


All times are GMT -5. The time now is 10:47 PM.