[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Hot swapping Ethernet Cards



On Sun, Dec 19, 1999 at 02:18:55PM +0530, skhader@xxxxxxxxxx wrote:
> hi Folks,
> We have a netfinity 5k server here with IBM 10/100 fault tolerant ethernet
> Card
> and normal Ethernet Card. The situation is like this. The normal Ethernet
> Card is configured
> as eth0 and the fault tolerant card is eth1. Now, when eth0 goes down, we
> need to bring eth1 up.

How about 

ping -c 1 <ip for eth0>
if [ $? -eq 1 ]; then
	# Bring eth1 up
fi

	-Arun
	
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.