LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Deactive lan card on boot (https://www.linuxquestions.org/questions/linux-server-73/deactive-lan-card-on-boot-772051/)

vishesh 11-28-2009 02:22 AM

Deactive lan card on boot
 
I am using rhel 5.2. I want to disable my virtual ethernet interface eth0:1 on booting
my interface is eth0:1
Now in /etc/sysconfig/network-scripts/ifcfg-eth0:1 , with other entries i included

ONBOOT:no


But this doesn't solve my problem, eth0:1 become active on booting. So what should i do to disable eth0:1 on booting


Thanks

tanveer 11-28-2009 04:38 AM

You can just add an entry in /etc/rc.d/rc.local as ifdown eth0:1

vishesh 11-29-2009 09:08 PM

Thanks tanveer for suggestion, but i want to disable using /etc/syconfig/network-scripts/ifcfg-eth0:1 , is there any parameter that help me in this.


Thanks


All times are GMT -5. The time now is 08:12 AM.