ifconfig eth0 unplumb equivalent

ifconfig eth0 unplumb will perfectly work on solaris , but linux dont support unplumb option ..what is the correct way to remove the interface , forgive me if this topic is already discussed ..

i tried this

rename /etc/sysconfig/network-scripts/ifcfg-eth0 & restart the network service .. but is not helping .

unplumb (or unbinding) NICs on Linux | www.oaktable.net

Unfortunately, this is not as easy in Linux as it is in Solaris. Look here or here for a short overview.

ifdown eth0

and then change the line in the ifcfg-eth0 to be as follows

ONBOOT=no

this willl stop the interface and then prevent it from starting during service or machine startup.

Personally i no longer use ifconfig on Linux.

$ man ifdown
No manual entry for ifdown
$ ifdown
-bash: ifdown: command not found
$ whereis ifdown
ifdown:
$

All RedHat is Linux, but not all Linux is RedHat.