Harish,

To shut down the interface immediately: ifconfig eth0:0 down
To remove the interface permanently: rm /etc/sysconfig/network-scripts/ifcfg-eth0:0
To disable the interface at boot time: edit ifcfg-eth0:0 and change onboot=yes to onboot=no

-Jeff

At 08:38 AM 10/24/02, you wrote:
Hi list,

How do I remove/deactivate a sub-interface?
I have created an interface eth0:0 using...

# ifconfig eth0:0 192.168.100.2 netmask 255.255.255.0

My eth0 has the IP add 192.168.100.1/24. I do not want to reboot
the machine.

Thanks in advance
Rgds
--
Harish K



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to