ifconfig eth0 unplumb equivalent

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 10-29-2012
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 .
# 3  
Old 10-29-2012
Unfortunately, this is not as easy in Linux as it is in Solaris. Look here or here for a short overview.
# 4  
Old 11-01-2012
Code:
ifdown eth0

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

Code:
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.
# 5  
Old 11-01-2012
Quote:
Originally Posted by Tommyk
Personally i no longer use ifconfig on Linux.
Code:
$ 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.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Eth0 not running in redhat 6.4 cjashu Red Hat 3 10-29-2013 03:08 AM
iptables On for eth0 and off for other interfaces landossa IP Networking 4 06-06-2013 11:53 PM
[HELP] How to create a NIC eth0 in CentOs 6.3. ilinux9 Debian 1 11-25-2012 09:18 AM
Eth0 Limitations Duffs22 Red Hat 12 05-18-2012 07:10 AM
VMBox not Recognizing eth0 on RH. NelsonC Red Hat 4 11-03-2011 02:55 PM
Device eth0 issue Duffs22 Red Hat 18 08-05-2011 09:21 AM
Forwarding the IP packet from tun0 to/from eth0 johnniealan IP Networking 5 07-10-2009 10:32 PM
how can I find which one is eth0? samnyc UNIX for Dummies Questions & Answers 2 03-06-2009 06:08 PM
Trying to config eth0 - Ubuntu jroberson Ubuntu 2 08-13-2008 10:16 AM
ifcfg-eth0 and eth1 is N/A kenshinhimura Red Hat 2 03-12-2008 06:14 PM
what is "unplumb" tommy_cs IP Networking 1 02-15-2008 09:29 AM
ifconfig eth0 and awk and grep carlvernon UNIX for Dummies Questions & Answers 1 06-01-2006 12:17 PM
Adding an IP to eth0 D-Lexy IP Networking 1 12-30-2003 05:15 PM
Linux eth0 incative gusla IP Networking 1 09-18-2002 11:29 AM
ins mod error on eth0 alam UNIX for Dummies Questions & Answers 1 09-17-2001 02:07 PM