Re: Disabling one NIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




In /etc/sysconfig/network-scripts

you will see the scripts for starting your  network interfaces, ifcfg-eth*

in ifcfg-eth1 the line ONBOOT should be set to no, so it won't start on a reboot (or rather when networking is restarted).

Then take the interface down with ifdown eth1

John

On Mon, 10 Apr 2006, Padiyath Sreekumaran wrote:


 Hello,
  I have 2 NICs in my RedHat OS 3 server. I have configured one and
using only 1 for the
  time being. How can I disable the second(I donot want to remove it)
  with a SW command(ifdown eth1?)

 ifconfig -a output:
-----------------------
cipsec0   Link encap:Ethernet  HWaddr 00:0B:FC:F8:01:8F
         NOARP  MTU:1356  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:F0:91:2C:E5:B6
         inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx
Mask:255.255.255.0
         inet6 addr: bc80::2e0:71ff:fe2b:e3f0/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:59188871 errors:0 dropped:0 overruns:0 frame:0
         TX packets:127812924 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:4921604534 (4.5 GiB)  TX bytes:191591664439 (178.4
GiB)
         Interrupt:11

  Thanks in advance.
  Regards,
  Kumar

------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath@xxxxxx
AIT                      |   Office: WHGA/U132
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     |
Switzerland              |
-----------------------------------------------------------------

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


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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux